Florent Le Coz
|
744af2459d
|
Add three new events to modify a message JUST before we send it. It is NOT safe, and the doc says that pretty clearly. It is used to encrypt messages just before sending them (this way we can remove ALL potential in-clear bodies).
|
2011-11-12 03:42:07 +01:00 |
|
Florent Le Coz
|
3dda32ea5b
|
Do not ignore presence coming from a JID not in our roster.
|
2011-11-12 02:46:44 +01:00 |
|
Florent Le Coz
|
0c7674efb1
|
New event: send_normal_presence
|
2011-11-12 02:40:24 +01:00 |
|
mathieui
|
4d5e2d21a4
|
/xhtml command, Fixes #2237
|
2011-11-12 00:00:17 +01:00 |
|
mathieui
|
632175b79f
|
Fix the xhtml parser (do not add wrong colors)
|
2011-11-11 23:55:31 +01:00 |
|
mathieui
|
1cca4b8a1f
|
/rawxml command
|
2011-11-11 22:58:48 +01:00 |
|
mathieui
|
101b20724f
|
Fix a refresh issue in the ConversationTab on status change
|
2011-11-11 22:45:44 +01:00 |
|
mathieui
|
b13f8786cf
|
Modify /presence
|
2011-11-11 22:36:43 +01:00 |
|
mathieui
|
e53446a7b2
|
Add a /presence command for directed presences
|
2011-11-11 22:15:04 +01:00 |
|
mathieui
|
0cfe87a9a6
|
Fix a (possible) traceback on /remove
|
2011-11-11 22:13:51 +01:00 |
|
mathieui
|
ea5692544a
|
Fixes presence handhake
|
2011-11-11 21:49:27 +01:00 |
|
mathieui
|
0cb9a5a61f
|
Fixes #2271
|
2011-11-10 21:12:33 +01:00 |
|
mathieui
|
fde8a8a1c9
|
Fixes #2231
|
2011-11-10 20:59:55 +01:00 |
|
mathieui
|
80edd248ec
|
Make custom_host and custom_port work better
|
2011-11-10 17:20:25 +01:00 |
|
mathieui
|
bd2d1caa0a
|
Autoload plugins in session_start instead of core.__init__
|
2011-11-10 17:06:28 +01:00 |
|
mathieui
|
eaced10c16
|
Also, do not crash when receiving a message from someone who is not a
contact
|
2011-11-10 15:26:34 +01:00 |
|
mathieui
|
5c12216392
|
Also in the DataFormTab
|
2011-11-10 15:17:30 +01:00 |
|
mathieui
|
628ff3b0d9
|
Add per_tab_type commands for the plugins
|
2011-11-10 14:39:19 +01:00 |
|
mathieui
|
953dc36c47
|
typo
|
2011-11-10 11:45:23 +01:00 |
|
mathieui
|
138a0b78cd
|
Forgotten changes
|
2011-11-10 11:29:36 +01:00 |
|
mathieui
|
e467020e29
|
Add messages on plugin load/unload
|
2011-11-09 23:28:01 +01:00 |
|
mathieui
|
4e0c1b0820
|
New events in the plugins API
|
2011-11-09 23:17:00 +01:00 |
|
mathieui
|
f55a0c92f2
|
Do not send chatstates when the contact is offline
|
2011-11-09 22:34:16 +01:00 |
|
mathieui
|
1f5d104834
|
-get -set +@property +@property.setter
|
2011-11-09 22:00:38 +01:00 |
|
mathieui
|
e6663c317c
|
Do not display an empty message when only a chatstate is received
(again).
|
2011-11-09 21:02:37 +01:00 |
|
mathieui
|
a7ed473437
|
What.
|
2011-11-09 18:39:33 +01:00 |
|
mathieui
|
e8e4b0bb4c
|
Plugin docstrings
|
2011-11-09 18:38:56 +01:00 |
|
mathieui
|
0e10c04cce
|
Fixed a display bug (the info buffer popped even in the RosterInfoTab)
|
2011-11-09 17:55:43 +01:00 |
|
mathieui
|
aee7baab24
|
Same as previous commit, but with _say
|
2011-11-09 14:29:13 +01:00 |
|
mathieui
|
5e840e6437
|
Give the concerned tab to the _msg handlers
|
2011-11-09 14:23:38 +01:00 |
|
mathieui
|
cc7f010aed
|
Do not create a private tab when receiving only a chatstate
|
2011-11-09 14:07:10 +01:00 |
|
mathieui
|
98b9506983
|
Remove poezio_event_handler to keep only event_handler
|
2011-11-09 14:02:17 +01:00 |
|
Florent Le Coz
|
cfb074c178
|
Set version to 0.7.5 and update the changelog
|
2011-11-09 01:35:27 +01:00 |
|
Florent Le Coz
|
4a961c0dc6
|
Merge branch 'releases'
|
2011-11-09 01:34:48 +01:00 |
|
Florent Le Coz
|
23d81901e7
|
Merge remote-tracking branch 'origin/master'
|
2011-11-09 01:24:56 +01:00 |
|
Florent Le Coz
|
d3d7b397d0
|
Remove useless commands
|
2011-11-09 01:24:45 +01:00 |
|
Florent Le Coz
|
ad0b3b41ec
|
Merge branch 'plugins'
Conflicts:
README
src/core.py
src/tabs.py
|
2011-11-09 01:23:35 +01:00 |
|
mathieui
|
33b3c7e31a
|
Correct the firstrun message
|
2011-11-09 00:13:54 +01:00 |
|
Florent Le Coz
|
8fad2f464a
|
Update version to 0.7.2
|
2011-11-08 23:48:32 +01:00 |
|
mathieui
|
e61f496d29
|
Edited the help messages of the commands for clarity/consistency
|
2011-11-08 23:28:29 +01:00 |
|
mathieui
|
08349495af
|
Fix /kick with the optional message
|
2011-11-08 22:03:33 +01:00 |
|
mathieui
|
95dcaa7fec
|
Forgot those hardcoded values…
|
2011-11-08 20:51:48 +01:00 |
|
Florent Le Coz
|
d28b70ccd4
|
Some documentation improvements.
|
2011-11-08 19:39:52 +01:00 |
|
Florent Le Coz
|
d2c02174c8
|
/theme takes an optional argument to change the theme directly.
|
2011-11-08 19:56:46 +01:00 |
|
Florent Le Coz
|
cd0b2681e0
|
Fix new messages separator when it is a the top of the text window
|
2011-11-08 02:41:19 +01:00 |
|
Florent Le Coz
|
b3072bd261
|
Merge branch 'master' into plugins
Conflicts:
src/tabs.py
src/xhtml.py
|
2011-11-08 02:15:57 +01:00 |
|
Florent Le Coz
|
d83eda6fd4
|
escape <, > and & in xhtml-im bodies.
|
2011-11-08 02:07:40 +01:00 |
|
Florent Le Coz
|
1ccfd09552
|
poopt now handles correctly the size of the chars by jumping
the color attributes properly and ignoring their length.
|
2011-11-08 01:52:39 +01:00 |
|
Florent Le Coz
|
b8b54735c7
|
Merge remote-tracking branch 'origin/plugins' into plugins
|
2011-11-08 00:53:31 +01:00 |
|
mathieui
|
c2798ba8de
|
Display actual status message on contact connection instead of
unreadable status type
|
2011-11-08 00:47:56 +01:00 |
|
mathieui
|
1b06a7d48b
|
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-08 00:47:56 +01:00 |
|
mathieui
|
9c688795d1
|
Removed "WARNING" debug messages, because they are irrelevant
|
2011-11-08 00:47:56 +01:00 |
|
mathieui
|
f2b228e692
|
Refresh the RosterInfoTab on got_offline and got_online
|
2011-11-08 00:47:56 +01:00 |
|
mathieui
|
1f0ffa9253
|
Fix subscriptions (/add → /accept instead of /add → /accept → /accept)
|
2011-11-08 00:47:56 +01:00 |
|
mathieui
|
b3b5d0229e
|
Move a space (for perfectionnists)
|
2011-11-08 00:47:56 +01:00 |
|
mathieui
|
8c231287bd
|
Make private join/parts work properly
|
2011-11-08 00:47:56 +01:00 |
|
mathieui
|
51364f7bea
|
Code cleanup (unused import, variables, undefined names, etc…)
|
2011-11-08 00:47:56 +01:00 |
|
Florent Le Coz
|
9c5cab09d4
|
fix the last errors that are in another commit that I don’t want
to cherry-pick.
|
2011-11-08 00:41:32 +01:00 |
|
Florent Le Coz
|
52599f9b8c
|
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.
(cherry picked from commit 17e5411d8f )
Conflicts:
src/tabs.py
|
2011-11-08 00:31:11 +01:00 |
|
mathieui
|
7d6c92ffc6
|
Add a command /clear_infos
|
2011-11-08 00:30:53 +01:00 |
|
Florent Le Coz
|
4610a1d6e3
|
trigger events *_say BEFORE generating the xhtml, making it possible to add colors in the hook
Conflicts:
src/tabs.py
|
2011-11-08 00:19:31 +01:00 |
|
Florent Le Coz
|
f13d03c149
|
poezio_colors_to_html now takes full colors (\x19xxx}) to generate the xhtml code
(cherry picked from commit 2b9a43ce6a )
|
2011-11-08 00:16:35 +01:00 |
|
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
|
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 |
|
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
|
961cf5df85
|
New type of events to be used with the plugins
|
2011-11-06 23:46:00 +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
|
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
|
1a57fcc4fa
|
Actually, no, messages are in _text_buffer
|
2011-11-06 17:20:59 +01:00 |
|
Florent Le Coz
|
aa78a454fb
|
Merge branch 'master' of https://git.louiz.org/poezio
|
2011-11-06 17:11:55 +01:00 |
|
Florent Le Coz
|
200019574d
|
Use threads RLock to avoid crash on simultaneous refresh and resize.
fixes #2180
|
2011-11-06 17:08:40 +01:00 |
|
Florent Le Coz
|
b9c6f08a79
|
Wasn’t that already remove, like, TWICE?
|
2011-11-06 16:50:10 +01:00 |
|
mathieui
|
8b8128c416
|
Fixes #2286 (with /info)
|
2011-11-06 16:27:47 +01:00 |
|
Florent Le Coz
|
16854c39fd
|
Remove a tab._room reference in a plugin API.
|
2011-11-06 16:01:14 +01:00 |
|
Florent Le Coz
|
6597d83355
|
Merge branch 'master' into plugins
|
2011-11-06 16:00:41 +01:00 |
|
Florent Le Coz
|
7bf63c51e2
|
Fix a remaining crash from the Room class deletion.
|
2011-11-06 15:57:03 +01:00 |
|
mathieui
|
bf9857b782
|
Fixes mostly #2285 (no more crashes), but as for why we get an iqerror
when trying to get the version from a full jid……
|
2011-11-06 15:46:52 +01:00 |
|
mathieui
|
fc20de76ff
|
Should really fix #2284 and some other tbs
|
2011-11-06 14:38:00 +01:00 |
|
mathieui
|
fbb465a092
|
Fixes #2284
|
2011-11-06 14:18:45 +01:00 |
|
mathieui
|
12850ed062
|
Use Tab.state proxy everywhere, also, use the right color on private
message
|
2011-11-06 03:57:43 +01:00 |
|
Florent Le Coz
|
9ff6380149
|
fix variable name, and remove ALL tab._room references.
|
2011-11-06 03:34:39 +01:00 |
|
Florent Le Coz
|
e3477d7db8
|
Remove the Room class. fixes #2122
|
2011-11-06 03:31:47 +01:00 |
|
Florent Le Coz
|
3412c119a9
|
First part of the “remove the Room class” change
|
2011-11-06 03:27:56 +01:00 |
|
mathieui
|
e6797c29a5
|
Smaller means being insane, and even then, it should’nt bug too much
Fixes #2259
|
2011-11-06 00:15:38 +01:00 |
|
mathieui
|
af6e534578
|
More @property magic, for transparency
|
2011-11-05 22:12:55 +01:00 |
|
mathieui
|
25fb35d7e1
|
Things related to priority, fixes #2266 (imo)
|
2011-11-05 22:12:03 +01:00 |
|
mathieui
|
a49af71f7c
|
Fixes #2255 with some lambda fun
|
2011-11-05 21:25:17 +01:00 |
|
mathieui
|
3f08e235a1
|
Fix some chat states problems (e.g. /dnd sending inactive)
|
2011-11-05 21:10:16 +01:00 |
|
mathieui
|
038869d2f7
|
Fix the /kick command
|
2011-11-05 19:38:03 +01:00 |
|
mathieui
|
4a8ef77839
|
Partial fix to #2266 and #2255 (removes the idea of "color state" and
adds state, that are computed to the current theme color)
|
2011-11-05 19:35:24 +01:00 |
|
Florent Le Coz
|
458e853874
|
Merge branch 'master' of https://git.louiz.org/poezio into plugins
|
2011-11-05 01:42:50 +01:00 |
|
mathieui
|
a603f46906
|
Fix a typo that causes a curses TB
|
2011-11-03 08:57:21 +01:00 |
|
Emmanuel Gil Peyrot
|
dac8a12abf
|
Add a config option that display the nick in join/part/status
change/etc. in that user color. Fixes #2282.
|
2011-11-01 17:14:43 +01:00 |
|
mathieui
|
ecf3685db6
|
Fixed #2281
|
2011-11-01 12:17:17 +01:00 |
|
mathieui
|
611acbeb2a
|
Fixes #2277
|
2011-10-30 23:18:47 +01:00 |
|
mathieui
|
9d64bd1398
|
Remove aliases to /status
|
2011-10-29 17:46:45 +02:00 |
|
Florent Le Coz
|
21f0c8f3f3
|
Fix the url matching in the link plugin
|
2011-10-29 17:20:18 +02:00 |
|
Florent Le Coz
|
db1e84d34e
|
Daemon now reads from a pipe and not in the fifo directly
|
2011-10-29 16:58:36 +02:00 |
|
Florent Le Coz
|
0451127ff8
|
Merge branch 'master' into plugins
|
2011-10-29 07:20:10 +02:00 |
|
Florent Le Coz
|
881de6a7c0
|
add get_conversation_messages for the plugin API
|
2011-10-29 07:05:19 +02:00 |
|
Florent Le Coz
|
a090b235d7
|
Make the PluginConfig class heritate the poezio Config
We can use the nice and safe get() method
|
2011-10-29 07:04:32 +02:00 |
|
Florent Le Coz
|
cb2796abc5
|
Add a \n when writing the command to the fifo
|
2011-10-29 07:03:49 +02:00 |
|
Florent Le Coz
|
f8fcf6696d
|
Remove any mention of “coucou”
|
2011-10-29 05:14:05 +02:00 |
|
Florent Le Coz
|
1303919706
|
Add the daemon.
|
2011-10-29 05:13:12 +02:00 |
|
Florent Le Coz
|
7e16ffd9e0
|
Remote execution.
We can use a fifo to write command, and execute them on the local
machine by running a simple daemon.
|
2011-10-29 05:11:30 +02:00 |
|
mathieui
|
6d436f570a
|
Fixed a TB on /kick
|
2011-10-27 21:20:26 +02:00 |
|
Florent Le Coz
|
aa6738800d
|
Fix crash on completion of recent words containing xhtml-im attributes
fixes #2278
|
2011-10-20 21:55:24 +02:00 |
|
mathieui
|
b29f11ce19
|
/affiliation command
(without the 'outcast' affiliation ATM)
|
2011-10-17 21:30:36 +02:00 |
|
mathieui
|
69c6b38894
|
remove /visitor /participant /moderator and replace them with /role
|
2011-10-17 21:29:39 +02:00 |
|
Mathieu Pasquet
|
7d392c6093
|
Typo
|
2011-10-17 19:07:53 +02:00 |
|
mathieui
|
ad45e89ded
|
User role management in MUC (ie /visitor /particpant /moderator)
|
2011-10-14 01:32:14 +02:00 |
|
mathieui
|
14702b1806
|
Fixed some typos
|
2011-10-11 23:04:40 +02:00 |
|
mathieui
|
2479201b30
|
Fix the data forms
|
2011-10-11 23:00:29 +02:00 |
|
mathieui
|
be2d66f8a2
|
Fixed #2268
|
2011-10-09 19:54:13 +02:00 |
|
Florent Le Coz
|
e35bf19aed
|
fixes #2263
|
2011-10-04 18:56:02 +02:00 |
|
Florent Le Coz
|
bfcf20f301
|
By default, log only critical messages. This avoid
warnings to be displayed on stdout if no debug file was
specified
|
2011-10-02 21:18:25 +02:00 |
|
Florent Le Coz
|
5ae665b253
|
Fix completion case-sensitiveness
|
2011-10-02 17:39:18 +02:00 |
|
mathieui
|
d589896599
|
Adds a way to delete the commands without reloading the plugin
|
2011-10-02 13:21:51 +02:00 |
|
Todd Eisenberger
|
b7279678df
|
Frumious hacks to make plugins less likely to kill a client
|
2011-10-02 00:09:50 -07:00 |
|
mathieui
|
ed87f26db7
|
Added a connect() function to the plugins API, for internal event
|
2011-10-01 23:48:42 +02:00 |
|
Florent Le Coz
|
4dfe2229da
|
remove white from the nick colors
|
2011-10-01 22:47:47 +02:00 |
|