summaryrefslogtreecommitdiff
path: root/src/theming.py
AgeCommit message (Collapse)Author
2015-08-31Remove 3 unused color options (COLOR_TIME_…)Florent Le Coz
2015-04-13Display error messages inside a conversationmathieui
if the error has the same id as a sent message, it will be displayed with a cross where there is usually a checkmark (ack), and the received error will be appended to the message, in red. if it does not have a know id, it will be added as another message to the conversation, without a nick, and in red.
2015-02-08Fix some docstring spellingmathieui
2014-12-20Remove the remaining pre-3.4 compatibility hacksmathieui
2014-12-07Fix #2570 (add /filter_jid to XMLTab, and syntax highlighting)mathieui
Also add /filter_from and /filter_to, and allow chaining filters.
2014-10-30Use a space instead of a cross while checking featuresmathieui
2014-10-25Make the features disco in chat more user-friendlymathieui
2014-10-20Remove the (sometimes wrong) default values in the config.get() callsmathieui
2014-05-18Use simple chars for PEP mood/activity/gamingmathieui
2014-05-05Make the theming module executablemathieui
2014-04-27Fix #2106 (implement message delivery receipts)mathieui
- two options request/ack_message_receipts - two new theme parameters : CHAR_ACK_RECEIVED and COLOR_CHAR_ACK - if a message has a receipt, the character is displayed between the timestamp and the nick, using the color
2014-04-24Improve src/theming.py (print the colors and do not pollute the terminal)mathieui
2014-04-24Update the themes dir during execution, and not at module levelmathieui
2014-04-16Change the formatting of join/part messagesmathieui
also remove some hardcoded stuff
2014-04-15Fix #2440 (highlight composing tabs)mathieui
- add a show_composing_tabs option, default value: "direct" - todo: find a nice different color for this
2014-04-09Fix #2497/#2498 (/theme should return an error when loading fails)mathieui
It was actually doing that for old python version but not recent onces
2014-04-07Fix #2354 (logs are badly colored with xhtml history)mathieui
- now it should work properly - add a COLOR_LOG_MSG theming option, used both for local and remote history
2014-04-06Code cleanupmathieui
fixes whitespace issues, some builtin overrides, and some enormous lines might make poezio run nanoseconds faster!
2014-04-02Fix #2340 (change tab priority when the input is not empty)mathieui
2014-03-23Fix formatting, some typos, and unused code, and add docstringsmathieui
- No idea why subclasses of ConversationTab were working before (info_header was overriden with None in __init__) - Or why the date parsing worked (“Exeception”) - Some more reformatting with pylint indications - Document each module in the tabs module
2014-02-17Documentation updatemathieui
ssl page (img & ref) theming (compile errors, format and typos)
2013-09-19Fix #2369 (black nick color)Mathieu Pasquet
2013-08-10Typomathieui
2013-08-10Fix potential issues with import pathsmathieui
2013-08-10Fix #2343mathieui
2013-08-10Fix #2337 (search the themes the same way than plugins)mathieui
- Load the themes from: 1 - The sources found in the directory ../data/themes/ (if it exists) 2 - The user-defined dir (or ~/.local/blah) 3 - The poezio_themes package if found - Also fix some potential issues with the plugins importer
2013-07-31Fix #2306 (none, to, and from subscriptions should be more visible)mathieui
Added a configuration option and some theme variables.
2013-06-19Revert 9eaffe1369f2be177576402f20edcd114a1eaa9d because of 3.1 compatmathieui
2013-06-09Fix the os.makedirs calls so that they don’t traceback for nothingmathieui
2013-06-08Add a way to format background colors in a stringmathieui
(also add colors to the /info command in MUCs)
2013-03-12Implement user gaming (xep-0196)mathieui
- configuration options - theming options - /gaming
2013-03-11Fix #1839 (User mood/activity)mathieui
- Added as always new theming variables: CHAR_ROSTER_MOOD, CHAR_ROSTER_ACTIVITY (a SNOWMAN!) COLOR_ROSTER_MOOD, COLOR_ROSTER_ACTIVITY - Added two new notification types in Theme.INFO_COLORS (mood/activity) - Added new configuration options: display_mood/activity/tune_notifications (those can be set for a specific JID) enable_user_tune/nick/activity/mood - Added /activity and /mood commands, with completions - Moved the old /activity to /last_activity - Details are show in the ContactInfoWin if there is room, or with "i" on a contact in the roster.
2013-03-11Implement XEP-0118 (Fix #1840)mathieui
- Add new theming options - Show the tune in the roster (both in contact line and infowin) - add an option to show tunes as info messages
2013-03-09Fix #2254mathieui
(add a new theming option, too)
2013-03-06Add a CHAR_NEW_TEXT_SEPARATOR theming optionmathieui
2013-03-03Fix #2182 (show s2s errors)mathieui
- Add the theming options COLOR_ROSTER_ERROR, CHAR_ROSTER_ERRROR, and CHAR_ROSTER_ASKED
2013-02-21Fix the background color of some messagesmathieui
2013-01-26Implement XEP 296 for locking resource in conversations.Florent Le Coz
With a few specific behaviours: When manually opening a conversation with a bare jid, we open a normal conversation that follows the XEP (locked and unlocked accordingly). If the user manually opens a conversation with a fulljid (by selecting a specific resource in the roster, or by specifying a fulljid to the /message command), we open a special tab that doesn’t follow the XEP (it is always locked to the same resource, and cannot be unlocked). When a message is received, unless a special tab has been manually opened by the other with that specific resource, we always send the messages to a uniq normal tab, unlocking or locking it according to the XEP. This means that only one tab can be opened with a given contact, unless the user specifically chooses to open a special tab for a specific resource. fixes #2159
2013-01-06Improve the help system (#1986)mathieui
TODO: change the plugin API to take advantage of this This change is backwards-compatible (as in “should not break anything”)
2013-01-02Add a default color for “Warning” messagesmathieui
2012-12-30Fix #2143 Fix #2056mathieui
Show headline messages in the info buffer, and show error messages (or other errors) with a special style.
2012-12-29Display the number of revisions of a corrected message.Emmanuel Gil Peyrot
2012-12-20Allow theming of the info buffer messagesmathieui
(only the left part)
2012-12-15Introduce a special "reverse" value for the COLOR_HIGHLIGHT_NICK theme option.Florent Le Coz
If COLOR_HIGHLIGHT_NICK = "reverse", the highlight nick will be in reverse mode. fix #2165
2012-12-15Do not use COLOR_HIGHLIGHT_NICK for things not related to highlighted nicks.Florent Le Coz
2012-07-03Add a new color to the theme, for the warning promptmathieui
- Currently only used by the SSL checking prompt - fg: black ; bg: red ; bold
2012-05-17Use a different theme variable for the /me messagemathieui
2012-05-04Make the visitor’s color readable (Fixes #2342)mathieui
2012-02-14Add 'joined' tab state, and rewrite the function handling the prioritiesmathieui
2012-01-27[Link Mauve] Add the ability to send and receive Attention (XEP-0224).Florent Le Coz