Commit graph

454 commits

Author SHA1 Message Date
mathieui
384f6939cb Add a get_nick method to the tabs 2012-04-18 15:54:52 +02:00
mathieui
d52f5ba40f Do not quotify completions where it is not allowed 2012-04-18 00:35:24 +02:00
mathieui
609f55a4d7 Quote everything that is completed by default, except commands 2012-04-18 00:23:28 +02:00
mathieui
c2e122d873 Do not split on command_accept as it is unneeded 2012-04-18 00:22:30 +02:00
mathieui
5c06af299e Fix some completions accordingly (name/groupadd/groupremove) 2012-04-18 00:21:53 +02:00
mathieui
1fdb91a983 Split correctly on command_groupremove 2012-04-18 00:18:18 +02:00
mathieui
abd8d30990 Split correctly on command_name 2012-04-18 00:17:46 +02:00
mathieui
3a1a1dcc6d Do not split on command_deny as it is unneeded 2012-04-18 00:17:16 +02:00
mathieui
3138240150 Do not split on command_unignore as it is unnecessary 2012-04-18 00:16:44 +02:00
mathieui
e934d8b513 Do not split on command_ignore as it is unnecessary 2012-04-18 00:16:00 +02:00
mathieui
4ab6a591cf Remove a if not len(list) in command_kick 2012-04-18 00:14:56 +02:00
mathieui
1c18c6e2b5 Do not split on command_part as it is unnecessary 2012-04-18 00:14:08 +02:00
mathieui
d0e0be2dd6 Do not split on command_nick as it is unnecessary 2012-04-18 00:13:44 +02:00
mathieui
dd751ea14d Do not split on command_version as it is unnecessary 2012-04-18 00:13:09 +02:00
mathieui
13a9811cf6 Do not split on command_recolor as it is unneeded 2012-04-18 00:11:58 +02:00
mathieui
d049ea7534 Do not split args in command_info as it is not needed 2012-04-18 00:10:57 +02:00
mathieui
4cf1acd9e4 Fixes #2349 2012-04-02 17:09:11 +02:00
mathieui
b1cbbc62c8 Remove some useless refreshs 2012-03-26 15:26:03 +02:00
mathieui
418b800ad7 Do not add stanzas to the xml_tab buffer unless there an is active one 2012-03-25 14:37:40 +02:00
mathieui
5ce8105ec6 Fix /affiliation 2012-03-13 21:31:36 +01:00
mathieui
4f423f1e3a Fixes #2339 2012-03-09 22:45:41 +01:00
mathieui
232bc999d8 Fixes #2341 (also for /server_cycle) 2012-03-07 17:36:40 +01:00
mathieui
c04d194ad0 Fix a crash on completion_affiliation 2012-03-01 19:37:09 +01:00
mathieui
63805e59f6 Fixes #2327 (used "seconds" instead) 2012-02-29 20:31:46 +01:00
mathieui
73c8206cc7 Fourth of #2336 (fixes #2336) 2012-02-25 18:58:33 +01:00
mathieui
a1cc350f77 Second and third of #2336 2012-02-25 02:53:16 +01:00
mathieui
a98cb42cf0 First of #2336 2012-02-25 02:52:48 +01:00
mathieui
b7cbe7d392 Fixes #2334 2012-02-24 02:22:02 +01:00
mathieui
ce1c6e4ec6 Fixes #2333 2012-02-24 01:38:51 +01:00
mathieui
762bd953cb Add some new events for the plugins 2012-02-16 02:24:54 +01:00
mathieui
55788f6127 Add half-page scrolling (C-u / C-d) 2012-02-16 00:24:18 +01:00
mathieui
8478641ad0 Add shortcuts to browse the history one line at a time
(C-b / C-f)
2012-02-16 00:04:59 +01:00
mathieui
6f34260d89 Disconnected tabs remain visible until closed or rejoined
Fixes #2314
2012-02-15 22:18:18 +01:00
mathieui
a78fb1f62d Do not show joined tabs on startup
and put 0 priority to disconnected tabs
2012-02-15 21:47:09 +01:00
mathieui
0f5ba0a711 Fixes #2310 2012-02-14 02:53:31 +01:00
mathieui
560390793d Add 'joined' tab state, and rewrite the function handling the priorities 2012-02-14 00:33:29 +01:00
mathieui
af11058129 Fix a traceback when in debug mode 2012-02-13 20:01:11 +01:00
mathieui
ed4f74faf1 Allow setting the affiliation of a JID, and add outcast affiliation
(also, remove the reason of the affiliation change for the time being)
2012-02-12 00:51:01 +01:00
mathieui
f76959c78c Restrict nick change for gmail users because gmail.com is buggy 2012-02-09 17:45:28 +01:00
mathieui
42c8deb9e1 Remove some debugging prints 2012-02-09 11:08:14 +01:00
mathieui
5593fabe6c Log the private messages sent 2012-02-05 16:38:40 +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
fc6db466f5 New participant list. Displaying the nick color, the affiliation, role, chatstate and status! 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
5924cd4a13 Remove all the .replace('"', '\\"') which are useless since the new
way to express colors in messages.
2012-01-26 10:05:36 +01:00
mathieui
3d7d7425ee Do not quotify topic completion 2012-01-26 10:05:36 +01:00
mathieui
2240916efe Fixes #2319 2012-01-26 10:05:36 +01:00
Florent Le Coz
83abd9f196 Add a simple_notify plugin
And also fix some issues, like the split of the exec_command arguments.
And the doc for the plugin, too.
2012-01-26 10:05:35 +01:00
mathieui
adf3cfe694 Fix a little incoherence in /query 2012-01-26 10:05:35 +01:00
Florent Le Coz
fe00f0eb23 ALWAYS display affiliation or role changes, in MucTabs. fixes #2309 2012-01-26 10:05:34 +01:00
Florent Le Coz
edf2392fcf Avoid a traceback on focusing a PrivateTab from a MucTab we already left. fixed #2308 2012-01-26 10:05:34 +01:00
mathieui
0d5b96fd8d Improve /names command 2012-01-26 10:05:34 +01:00
Florent Le Coz
ef72674102 Add manfraid to thanks section. 2012-01-26 10:05:33 +01:00
Florent Le Coz
cf1cdd1834 Fix sorting columns when a room has no name. (we use '' instead of None) 2012-01-26 10:05:33 +01:00
Florent Le Coz
5fe3c49d40 /recolor random works correctly. 2012-01-26 10:05:33 +01:00
manfraid
73e9d83711 Fixe 2104 2012-01-26 10:05:33 +01:00
Florent Le Coz
94140aba91 Fix a crash on empty command in muclisttab 2012-01-26 10:05:33 +01:00
mathieui
80047cdebe Fixes #2241 2012-01-26 10:05:33 +01:00
mathieui
4d7a11e238 Add an XML tab (/xml_tab) to view incoming/outgoing stanzas
Fixes #2074
2012-01-26 10:05:32 +01:00
Florent Le Coz
8e2e1fcd4e We can now configure each conversation independently, for some options.
Fixed #2039.
2012-01-26 10:05:32 +01:00
mathieui
17fdd5d606 Fixes #2316 2012-01-25 18:14:07 +01:00
Florent Le Coz
561af013b1 New participant list. Displaying the nick color, the affiliation, role, chatstate and status! 2012-01-24 17:07:04 +01:00
Florent Le Coz
99a16f2b86 Make the color for information messages themable 2012-01-24 15:46:51 +01:00
Florent Le Coz
1f7db8cfaa Remove all the .replace('"', '\\"') which are useless since the new
way to express colors in messages.
2012-01-24 15:18:08 +01:00
mathieui
d4ec0ba442 Do not quotify topic completion 2012-01-21 00:06:18 +01:00
mathieui
1f9a6f5883 Fixes #2319 2012-01-15 16:40:49 +01:00
Florent Le Coz
5fee56440c Add a simple_notify plugin
And also fix some issues, like the split of the exec_command arguments.
And the doc for the plugin, too.
2012-01-10 16:30:59 +01:00
mathieui
4c5c3101a2 Fix a little incoherence in /query 2011-12-19 17:19:18 +01:00
Florent Le Coz
a6b1a1d4d8 ALWAYS display affiliation or role changes, in MucTabs. fixes #2309 2011-12-12 20:31:05 +01:00
Florent Le Coz
df6a8a0cc3 Avoid a traceback on focusing a PrivateTab from a MucTab we already left. fixed #2308 2011-12-12 20:04:39 +01:00
mathieui
1b30cd09a7 Improve /names command 2011-12-10 16:36:18 +01:00
Florent Le Coz
3958b112ad Add manfraid to thanks section. 2011-12-09 14:06:57 +01:00
Florent Le Coz
a25b39777c Fix sorting columns when a room has no name. (we use '' instead of None) 2011-12-09 13:56:55 +01:00
Florent Le Coz
77ecd70274 /recolor random works correctly. 2011-12-09 13:56:55 +01:00
manfraid
02099123b0 Fixe 2104 2011-12-09 13:56:55 +01:00
Florent Le Coz
67419b4a7f Fix split of args for /groupadd 2011-11-25 21:54:40 +01:00
Florent Le Coz
bbda0b7481 Fix /me in history messages in a better way. 2011-11-25 12:07:22 +01:00
Florent Le Coz
b7f05a8aaf /recolor now reloads OWN_NICK_COLOR from the theme, and also add an
option to make /recolor choose random colors for others’ nicks.
2011-11-25 11:54:15 +01:00
Florent Le Coz
bb22b39d55 /me now works in all chatabs
fixes #2302
2011-11-25 11:42:50 +01:00
Florent Le Coz
72c634aaea fixes #2270 2011-11-25 11:42:50 +01:00
mathieui
a360588fa0 Fixes #2301 2011-11-24 14:28:34 +01:00
mathieui
c48e9ff582 Fixes #2299 2011-11-24 13:36:54 +01:00
mathieui
0206920a10 Fixes #2298 2011-11-24 13:30:48 +01:00
Florent Le Coz
8918163609 Nick completion doesn’t add a space after 2011-11-23 19:48:19 +01:00
Florent Le Coz
97f7877ddb May improve some performance, but should be unnoticeable. 2011-11-20 00:42:13 +01:00
Florent Le Coz
2d4d8e3f1c Restaure the enter key on contacts in the roster.
Don’t know why I broke that…
2011-11-18 20:03:16 +01:00
Florent Le Coz
7dd8691f8c Pasting text is now handled has one single big key.
This avoids looping over each char we are pasting, making it
a lot faster (actually, should be instant).
2011-11-18 19:14:07 +01:00
Florent Le Coz
18dbc880e1 Do not try to interpret keys as key shortcuts when pasting text.
Avoiding, for example, nickname completions when pasting a text containing
the \t char. Also, pasting is a little because it doesn’t search an associated
command for each pasted char. AWESOME.
2011-11-18 18:28:07 +01:00
Florent Le Coz
c5b15c8119 Disable horizontal tab list when vertical one is enabled. 2011-11-16 03:10:37 +01:00
Florent Le Coz
d67ec3278a Add an optional vertical tab list. 2011-11-16 02:09:30 +01:00
mathieui
e8837e252f Fixes #2292 2011-11-15 19:15:06 +01:00
mathieui
0fe7061eb5 Fixes #2294 2011-11-15 18:48:09 +01:00
mathieui
e4634b9095 Completion for /version 2011-11-14 20:05:41 +01:00
mathieui
e4dccc8d8f Fix priority for command completion
(tab command > core command)
2011-11-14 20:05:13 +01:00
mathieui
338a4b5717 Add a way for a plugin to add a keybind only for a type of tab 2011-11-13 20:17:33 +01:00
mathieui
ba7ee1d76c Tweak auto_completion in order to add quotes only when needed 2011-11-13 18:45:44 +01:00
mathieui
34511797a9 Completion for /nick 2011-11-13 17:36:16 +01:00
mathieui
6af593f44b Completion for /info 2011-11-13 16:31:03 +01:00
mathieui
ed53ab4edf Completion for /query (re-uses /ignore) 2011-11-13 16:29:36 +01:00
mathieui
552c504559 Completion for /affiliation 2011-11-13 16:28:11 +01:00
mathieui
3ddbac5e47 Completion for /role 2011-11-13 16:25:11 +01:00
mathieui
23f5ee5e11 Fix /kick with nicks with spaces in it 2011-11-13 16:21:27 +01:00
mathieui
33f8efd772 Completion for /kick 2011-11-13 16:21:15 +01:00
mathieui
283b258d4e Completion for /ignore 2011-11-13 16:15:34 +01:00
mathieui
8f826388f0 Completion for /export and /import 2011-11-13 16:11:39 +01:00
mathieui
30b9827a27 Move /clear to the chattab instead of the muctab 2011-11-13 14:31:11 +01:00
mathieui
4b02b1a812 Fix add_tab_command (and remove) 2011-11-13 00:25:30 +01:00
Florent Le Coz
9e8706a2e8 a plugin can now add informations in ConversationTab’s InfoWin. And the GPG plugin does that. 2011-11-12 05:48:29 +01:00
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
mathieui
4d5e2d21a4 /xhtml command, Fixes #2237 2011-11-12 00:00:17 +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
fde8a8a1c9 Fixes #2231 2011-11-10 20:59:55 +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
628ff3b0d9 Add per_tab_type commands for the plugins 2011-11-10 14:39:19 +01:00
mathieui
138a0b78cd Forgotten changes 2011-11-10 11:29:36 +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
a7ed473437 What. 2011-11-09 18:39:33 +01:00
mathieui
aee7baab24 Same as previous commit, but with _say 2011-11-09 14:29:13 +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
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
Florent Le Coz
b8b54735c7 Merge remote-tracking branch 'origin/plugins' into plugins 2011-11-08 00:53:31 +01:00
mathieui
9c688795d1 Removed "WARNING" debug messages, because they are irrelevant 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
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
mathieui
33997e4356 Should fix day_change plugin 2011-11-08 00:14:44 +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
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
mathieui
153137e5d2 Removed "WARNING" debug messages, because they are irrelevant 2011-11-07 19:38:37 +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
mathieui
10fe12086d Fix subscriptions (/add → /accept instead of /add → /accept → /accept) 2011-11-07 14:33:37 +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
a0404f3077 Fix a crash on empty command in muclisttab 2011-11-06 20:30:41 +01:00
mathieui
fcbe84e5a6 Fixes #2241 2011-12-03 17:51:22 +01:00
mathieui
f92e875611 Add an XML tab (/xml_tab) to view incoming/outgoing stanzas
Fixes #2074
2011-11-29 00:00:47 +01:00
Florent Le Coz
122d700ac3 We can now configure each conversation independently, for some options.
Fixed #2039.
2011-11-28 22:32:44 +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
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