mathieui
1bd9f78fe6
Improve src/theming.py (print the colors and do not pollute the terminal)
2014-04-24 21:26:13 +02:00
mathieui
828f60fcb8
Update the themes dir during execution, and not at module level
2014-04-24 21:25:31 +02:00
mathieui
214904f199
Change the formatting of join/part messages
...
also remove some hardcoded stuff
2014-04-16 23:07:00 +02:00
mathieui
a784216196
Fix #2440 (highlight composing tabs)
...
- add a show_composing_tabs option, default value: "direct"
- todo: find a nice different color for this
2014-04-15 22:57:44 +02:00
mathieui
d1609b97e4
Fix #2497/#2498 (/theme should return an error when loading fails)
...
It was actually doing that for old python version but not recent onces
2014-04-09 20:10:07 +02:00
mathieui
1ce485c6fa
Fix #2354 (logs are badly colored with xhtml history)
...
- now it should work properly
- add a COLOR_LOG_MSG theming option, used both for local and remote
history
2014-04-07 01:25:30 +02:00
mathieui
e216fd2112
Code cleanup
...
fixes whitespace issues, some builtin overrides, and some enormous lines
might make poezio run nanoseconds faster!
2014-04-06 19:58:57 +02:00
mathieui
52e6334c8c
Fix #2340 (change tab priority when the input is not empty)
2014-04-02 21:33:17 +02:00
mathieui
186803d9a9
Fix formatting, some typos, and unused code, and add docstrings
...
- 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-03-23 00:15:01 +01:00
mathieui
4645bd7a2f
Documentation update
...
ssl page (img & ref)
theming (compile errors, format and typos)
2014-02-17 20:21:54 +01:00
Mathieu Pasquet
9c775da5f7
Fix #2369 (black nick color)
2013-09-19 00:28:11 +02:00
mathieui
a724be0e72
Typo
2013-08-10 23:24:35 +02:00
mathieui
74de91e2bf
Fix potential issues with import paths
2013-08-10 15:51:35 +02:00
mathieui
518f933fb8
Fix #2343
2013-08-10 01:50:03 +02:00
mathieui
64c1a09023
Fix #2337 (search the themes the same way than plugins)
...
- 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-08-10 00:24:27 +02:00
mathieui
19135d4a76
Fix #2306 (none, to, and from subscriptions should be more visible)
...
Added a configuration option and some theme variables.
2013-07-31 23:43:19 +02:00
mathieui
d269617788
Revert 9eaffe1369
because of 3.1 compat
2013-06-19 12:16:28 +02:00
mathieui
9eaffe1369
Fix the os.makedirs calls so that they don’t traceback for nothing
2013-06-09 03:45:10 +02:00
mathieui
26ea842cee
Add a way to format background colors in a string
...
(also add colors to the /info command in MUCs)
2013-06-08 17:36:02 +02:00
mathieui
d797b1fd65
Implement user gaming (xep-0196)
...
- configuration options
- theming options
- /gaming
2013-03-12 16:12:47 +01:00
mathieui
cec1151ecb
Fix #1839 (User mood/activity)
...
- 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-11 23:06:52 +01:00
mathieui
71c35eb279
Implement XEP-0118 ( Fix #1840 )
...
- 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-11 02:04:20 +01:00
mathieui
f00dd1b8fe
Fix #2254
...
(add a new theming option, too)
2013-03-09 22:38:31 +01:00
mathieui
3f71405efd
Add a CHAR_NEW_TEXT_SEPARATOR theming option
2013-03-06 22:34:41 +01:00
mathieui
3d98f48ba2
Fix #2182 (show s2s errors)
...
- Add the theming options COLOR_ROSTER_ERROR, CHAR_ROSTER_ERRROR, and
CHAR_ROSTER_ASKED
2013-03-03 13:13:15 +01:00
mathieui
f1831cc0ec
Fix the background color of some messages
2013-02-21 21:50:05 +01:00
Florent Le Coz
dd2a6d1d65
Implement XEP 296 for locking resource in conversations.
...
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-26 05:35:07 +01:00
mathieui
2ea8673a04
Improve the help system ( #1986 )
...
TODO: change the plugin API to take advantage of this
This change is backwards-compatible (as in “should not break anything”)
2013-01-06 17:36:14 +01:00
mathieui
c04fbadf2f
Add a default color for “Warning” messages
2013-01-02 01:48:55 +01:00
mathieui
7ec85ae328
Fix #2143 Fix #2056
...
Show headline messages in the info buffer, and show error messages (or
other errors) with a special style.
2012-12-30 17:40:27 +01:00
Emmanuel Gil Peyrot
65e097f410
Display the number of revisions of a corrected message.
2012-12-29 13:14:50 +01:00
mathieui
2a145abf9b
Allow theming of the info buffer messages
...
(only the left part)
2012-12-20 19:20:30 +01:00
Florent Le Coz
786f0e7222
Introduce a special "reverse" value for the COLOR_HIGHLIGHT_NICK theme option.
...
If COLOR_HIGHLIGHT_NICK = "reverse", the highlight nick will be in reverse
mode.
fix #2165
2012-12-15 02:42:30 +01:00
Florent Le Coz
fb8295c05f
Do not use COLOR_HIGHLIGHT_NICK for things not related to highlighted nicks.
2012-12-15 02:05:21 +01:00
mathieui
267be566cd
Add a new color to the theme, for the warning prompt
...
- Currently only used by the SSL checking prompt
- fg: black ; bg: red ; bold
2012-07-03 23:50:07 +02:00
mathieui
fb450a7138
Use a different theme variable for the /me message
2012-05-17 17:28:53 +02:00
mathieui
8fc6e53661
Make the visitor’s color readable ( Fixes #2342 )
2012-05-04 18:31:36 +02:00
mathieui
560390793d
Add 'joined' tab state, and rewrite the function handling the priorities
2012-02-14 00:33:29 +01:00
Florent Le Coz
c9c066ae33
[Link Mauve] Add the ability to send and receive Attention (XEP-0224).
2012-01-27 19:13:04 +01:00
Florent Le Coz
7433510470
Merge branch 'master' of https://git.louiz.org/poezio
...
Conflicts:
src/theming.py
src/windows.py
2012-01-26 10:08:43 +01:00
Florent Le Coz
d6989db025
Make /theme error more descriptive
2012-01-26 10:05:37 +01:00
Florent Le Coz
7512001612
Make the color for information messages themable
2012-01-26 10:05:37 +01:00
Florent Le Coz
7d5fa2a316
Fix the comments in the theming.py file
2012-01-26 10:05:36 +01:00
manfraid
73e9d83711
Fixe 2104
2012-01-26 10:05:33 +01:00
mathieui
7ba6061362
Add affiliation chars in the theme
2012-01-25 17:51:11 +01:00
Florent Le Coz
99a16f2b86
Make the color for information messages themable
2012-01-24 15:46:51 +01:00
Florent Le Coz
09f16804a3
Fix the comments in the theming.py file
2012-01-24 15:17:54 +01:00
manfraid
02099123b0
Fixe 2104
2011-12-09 13:56:55 +01:00
Florent Le Coz
fa9ea5d168
Use almost all available 256 colors for nick colors
...
(only colors that look too much like white or black are not used)
2011-11-23 09:08:02 +01:00
mathieui
24ba3b6ed9
Add CHAR_CHATSTATE_* to the available theme options
2011-11-16 11:25:20 +01:00