Commit graph

1300 commits

Author SHA1 Message Date
Florent Le Coz
2404358689 Fix the curses -> html color conversion
(cherry picked from commit 689f17cfd7)
2011-11-08 00:15:41 +01:00
Florent Le Coz
f271ef0620 Add a function to convert ncurses colors to HTML color code.
(cherry picked from commit 04f103b9e6)
2011-11-08 00:15:27 +01:00
mathieui
33997e4356 Should fix day_change plugin 2011-11-08 00:14:44 +01:00
Florent Le Coz
2c9cbc9f58 avoid a crash on invalid colors
(cherry picked from commit 15780364cf)
2011-11-08 00:14:24 +01:00
Florent Le Coz
32a75fd5c7 Trigger conversation_say and private_say only once,
and fix the place where we add the message to the window (before
removing the colors)
2011-11-07 23:49:24 +01:00
mathieui
934006e2e9 Activate figlet plugin in private and conversation tabs 2011-11-07 23:37:16 +01:00
mathieui
d8865bcd45 Typo 2011-11-07 23:32:21 +01:00
mathieui
27f28f2624 Display actual status message on contact connection instead of
unreadable status type
2011-11-07 23:07:32 +01:00
mathieui
0bfabab834 Merge branch 'plugins' of https://git.louiz.org/poezio into plugins 2011-11-07 21:08:30 +01:00
mathieui
f4201bf754 Add a /plugins command that lists the plugins currently in use 2011-11-07 21:05:41 +01:00
Florent Le Coz
305e5ed40d Add a funny rainbow plugin, mainly to test some plugin hooks. 2011-11-07 19:59:12 +01:00
mathieui
7e78353621 Add a warning in case of theme not found, and now unsetting 'theme',
setting it to 'default' or a number of spaces has the same effect
2011-11-07 19:56:59 +01:00
Florent Le Coz
2b9a43ce6a poezio_colors_to_html now takes full colors (\x19xxx}) to generate the xhtml code 2011-11-07 19:56:03 +01:00
Florent Le Coz
60b58301d3 Little cleanup 2011-11-07 19:55:40 +01:00
Florent Le Coz
689f17cfd7 Fix the curses -> html color conversion 2011-11-07 19:55:16 +01:00
Florent Le Coz
36cd91dc9c trigger events *_say BEFORE generating the xhtml, making it possible to add colors in the hook 2011-11-07 19:54:45 +01:00
Florent Le Coz
15780364cf avoid a crash on invalid colors 2011-11-07 19:54:12 +01:00
Florent Le Coz
cd16403cb4 typo 2011-11-07 19:57:16 +01:00
mathieui
153137e5d2 Removed "WARNING" debug messages, because they are irrelevant 2011-11-07 19:38:37 +01:00
mathieui
70a809a7b4 Refresh the RosterInfoTab on got_offline and got_online 2011-11-07 19:28:12 +01:00
Florent Le Coz
953783c200 Merge branch 'plugins' of https://git.louiz.org/poezio into plugins 2011-11-07 15:15:34 +01:00
mathieui
d6b8ca50f2 Remove first&last and only use "position" in plugins events 2011-11-07 15:09:39 +01:00
Florent Le Coz
41b5497330 Merge branch 'plugins' of https://git.louiz.org/poezio into plugins 2011-11-07 14:57:13 +01:00
Florent Le Coz
54962e6796 Merge branch 'plugins' of /home/louiz/git/poezio into plugins
Conflicts:
	src/core.py
2011-11-07 19:48:16 +01:00
Florent Le Coz
17e5411d8f use only full color mode when sending messages. Simple color mode should never
be used in any part of the code except inside the input.
2011-11-07 19:47:16 +01:00
Florent Le Coz
04f103b9e6 Add a function to convert ncurses colors to HTML color code. 2011-11-07 19:43:13 +01:00
mathieui
1f3fafe155 Add somme triggers 2011-11-07 14:45:08 +01:00
mathieui
10fe12086d Fix subscriptions (/add → /accept instead of /add → /accept → /accept) 2011-11-07 14:33:37 +01:00
mathieui
78174a6eae Move a space (for perfectionnists) 2011-11-07 13:47:23 +01:00
mathieui
452f62ecf4 Actually add the events.py file 2011-11-07 13:06:57 +01:00
Florent Le Coz
8911f85a42 Merge branch 'master' into plugins
Conflicts:
	src/core.py
2011-11-07 01:02:03 +01:00
mathieui
b7027e5347 Super-useful figlet plugin 2011-11-06 23:46:35 +01:00
mathieui
961cf5df85 New type of events to be used with the plugins 2011-11-06 23:46:00 +01:00
Florent Le Coz
1e1d977942 Merge branch 'plugins' of http://git.louiz.org/poezio into plugins 2011-11-06 21:37:11 +01:00
Florent Le Coz
840acd3bd4 Actually use the port option for the port… 2011-11-06 21:36:43 +01:00
mathieui
14c05b2dee Make private join/parts work properly 2011-11-06 21:22:59 +01:00
mathieui
c3c67b5e0a Code cleanup (unused import, variables, undefined names, etc…) 2011-11-06 21:10:09 +01:00
Florent Le Coz
3f4def1037 Merge branch 'plugins' of http://git.louiz.org/poezio into plugins 2011-11-06 20:42:37 +01:00
Florent Le Coz
46ccf6a966 do not catch errors, actually, since there’s a bug in the mpd lib with python3 that makes it impossible to catch. 2011-11-06 20:41:42 +01:00
Florent Le Coz
5111f59fb6 Merge branch 'plugins' of http://git.louiz.org/poezio into plugins 2011-11-06 20:31:49 +01:00
Florent Le Coz
9cdfe38bcc typo 2011-11-06 20:31:19 +01:00
Florent Le Coz
8a8284ae06 Merge branch 'plugins' of http://git.louiz.org/poezio into plugins 2011-11-06 20:30:41 +01:00
Florent Le Coz
d62a3a1b1b mpd plugins now accepts a password and catches some errors. 2011-11-06 20:29:46 +01:00
Florent Le Coz
2a9484a680 add a mpd plugin 2011-11-06 20:25:30 +01:00
Florent Le Coz
6a0ac419c5 Merge branch 'master' into plugins 2011-11-06 19:24:37 +01:00
Florent Le Coz
0315b05f51 Fix the sending of colors in private.
fixes #2287
2011-11-06 19:22:20 +01:00
Florent Le Coz
07f9fab401 Merge branch 'master' into plugins
Conflicts:
	src/core.py
2011-11-06 17:54:05 +01:00
Florent Le Coz
7d861ee885 Fix another thing related to Room removale 2011-11-06 17:31:56 +01:00
Florent Le Coz
700a59df5c Merge branch 'plugins' of http://git.louiz.org/poezio into plugins 2011-11-06 17:22:07 +01:00
Florent Le Coz
1a57fcc4fa Actually, no, messages are in _text_buffer 2011-11-06 17:20:59 +01:00