Commit graph

1289 commits

Author SHA1 Message Date
mathieui
43b28a1ab0 Replace arg.split with shell_split in command_message 2012-04-18 00:07:51 +02:00
mathieui
406e24dcff Remove if len(list) in command_help 2012-04-18 00:07:22 +02:00
mathieui
265702b150 Add a way to bookmark all the rooms at once
(/bookmark * or /bookmark_local *)
2012-04-15 23:55:50 +02:00
mathieui
941acdb612 Fixes #2350 (reloading static resources on SIGHUP) 2012-04-02 18:30:06 +02:00
mathieui
4cf1acd9e4 Fixes #2349 2012-04-02 17:09:11 +02:00
mathieui
a6187895c7 Do not show the traceback if unloading a plugin failed 2012-03-31 01:28:11 +02:00
mathieui
372b032380 Should fix the refresh issue 2012-03-30 15:57:43 +02:00
mathieui
791bcf19b1 Fixes #2347 2012-03-28 23:08:31 +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
3734304091 Fixes #2343 2012-03-17 13:33:00 +01:00
mathieui
c6e4358706 Fix bookmarks 2012-03-13 21:39:06 +01:00
mathieui
5ce8105ec6 Fix /affiliation 2012-03-13 21:31:36 +01:00
mathieui
27a7bfc92c Add a whitespace_interval option 2012-03-13 18:46:02 +01:00
mathieui
6d2af1116c Fix a bug in plugin unloading (commands/keys not deleted properly) 2012-03-09 23:24:29 +01:00
mathieui
4f423f1e3a Fixes #2339 2012-03-09 22:45:41 +01:00
mathieui
163efe809a Bring back /set completion 2012-03-09 22:01:28 +01:00
mathieui
5c412a66b8 Add a ca_cert_path option 2012-03-09 00:48:49 +01:00
mathieui
9d42ebdf2e Validate the SSL cert using the TOFU (Trust On First Use) model 2012-03-08 22:39:30 +01:00
mathieui
13a269d6b2 Fix a bug in the configuration writer 2012-03-08 22:38:26 +01:00
mathieui
0e18a7bc05 Fix the behaviour of /join 2012-03-07 18:07:29 +01:00
mathieui
b62940372f Fixes #2340 2012-03-07 17:46:11 +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
ae6fa61b84 Fixes #2332 2012-02-23 18:13:41 +01:00
mathieui
fb9767a803 ^S → half-screen up 2012-02-19 22:29:40 +01:00
mathieui
687b9106e7 Revert a regression on the conversation_msg event 2012-02-19 22:24:10 +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
c7da566f0a Fixes #2324 2012-02-15 23:01:50 +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
Florent Le Coz
695a7ebeba Merge branch 'master' of https://git.louiz.org/poezio 2012-02-15 20:10:00 +01:00
Florent Le Coz
28d790717f Add an option to configure the max nick length 2012-02-15 20:05:38 +01:00
mathieui
b89cd8fd83 Fixes #2303 (add user_list_sort option) 2012-02-14 11:49: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
be5ccce421 Useless option ssl=True (deprecated & unused) 2012-02-13 14:04:23 +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
f96c895a8d New unified /set command (fixes #2323) 2012-02-09 16:13:45 +01:00
mathieui
6df406b7c1 Config.write_in_file() now works as expected
(can add sections, add inexistant options, and edit in place)
2012-02-09 15:45:18 +01:00
mathieui
42c8deb9e1 Remove some debugging prints 2012-02-09 11:08:14 +01:00
mathieui
93c17f8ece Fixed #2328 2012-02-07 21:47:40 +01:00
mathieui
5593fabe6c Log the private messages sent 2012-02-05 16:38:40 +01:00
mathieui
e74a640fdd Do not crash when given a link without text
(e.g <a href="example.com"/>)
2012-01-30 01:10:41 +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
dde7875d2c Merge branch 'master' of https://git.louiz.org/poezio 2012-01-27 18:27:31 +01:00
Florent Le Coz
e8b0c302fe Typo. 2012-01-27 18:26:33 +01:00
mathieui
d77e79cd6b Fixes #2312 (delay element in normal conversations) 2012-01-26 21:23:14 +01:00
mathieui
bbcd9c631c Add an auto_reconnect option 2012-01-26 17:21:13 +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
a3344b11b2 Handle autojoin="1" for bookmarks. 2012-01-26 10:05:37 +01:00
Florent Le Coz
d6989db025 Make /theme error more descriptive 2012-01-26 10:05:37 +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
Florent Le Coz
7d5fa2a316 Fix the comments in the theming.py file 2012-01-26 10:05:36 +01:00
Florent Le Coz
e17b70e285 Display colors for /me messages in a better way. 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
mathieui
88f7e690bd Fix the alias plugin 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
13430de1f4 Fix the resize issues with the /configure tab 2012-01-26 10:05:35 +01:00
mathieui
765f1807a9 Fix various issues with the /configure tab
Vertical tab list, text not erased from previous tab
2012-01-26 10:05:35 +01:00
mathieui
adf3cfe694 Fix a little incoherence in /query 2012-01-26 10:05:35 +01:00
mathieui
91698b6f1b Fix the completion for /decline and /invite 2012-01-26 10:05:35 +01:00
mathieui
f1fae6b387 Add a /invites command 2012-01-26 10:05:34 +01:00
mathieui
825d5a6dd1 Beep when receiving a MUC invitation (by default) 2012-01-26 10:05:34 +01:00
Florent Le Coz
3d9193509e Make non-remote commands work. 2012-01-26 10:05:34 +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
Florent Le Coz
23fa1df9ed show_tab_names option lets you display the name of the tabs in the horizontal bar 2012-01-26 10:05:33 +01:00
mathieui
8eea23f7d7 Fix a traceback when using ^W with xhtml-im
(it does not work perfectly as it should, but it doesn’t crash anymore, at least)
2012-01-26 10:05:32 +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
mathieui
a1575237fd Python 3.0/.1 compatibility 2012-01-26 10:05:32 +01:00
mathieui
3d879a6677 Curses operations must operate within the lock 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
mathieui
7ba6061362 Add affiliation chars in the theme 2012-01-25 17:51:11 +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
Florent Le Coz
09f16804a3 Fix the comments in the theming.py file 2012-01-24 15:17:54 +01:00
Florent Le Coz
c1dd012b7a Merge branch 'master' of http://git.louiz.org/poezio 2012-01-24 14:49:58 +01:00
Florent Le Coz
7425231f47 Display colors for /me messages in a better way. 2012-01-24 14:49:03 +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
mathieui
92d96f3f36 Fix the alias plugin 2012-01-11 18:13:32 +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
62c4f67ea5 Fix the resize issues with the /configure tab 2011-12-29 18:55:43 +01:00
mathieui
3c4b2e9683 Fix various issues with the /configure tab
Vertical tab list, text not erased from previous tab
2011-12-28 23:32:23 +01:00
mathieui
4c5c3101a2 Fix a little incoherence in /query 2011-12-19 17:19:18 +01:00
mathieui
08b374cb29 Fix the completion for /decline and /invite 2011-12-18 20:43:40 +01:00
mathieui
2ed6b20594 Add a /invites command 2011-12-18 20:35:19 +01:00
mathieui
9e7842d014 Beep when receiving a MUC invitation (by default) 2011-12-18 20:16:19 +01:00
Florent Le Coz
0b2037a67c Make non-remote commands work. 2011-12-15 20:29:20 +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
mathieui
0954c12a07 Add a /remove_bookmark command 2011-11-28 16:28:44 +01:00
mathieui
5abf8ab3ae Add a /bookmarks command 2011-11-28 16:09:44 +01:00
mathieui
72eeba42a2 Fix the informations displayed on /bookmark and /bookmark_remote 2011-11-28 16:02:30 +01:00
mathieui
4bab9d4216 Some function rewriting and docstrings for bookmark.py 2011-11-27 20:24:44 +01:00
mathieui
a257681b9f Add a Bookmark.local() method for local bookmarks 2011-11-27 17:46:20 +01:00
mathieui
24b9931b8b It would be silly to erase the remote bookmarks when we just want not to use them 2011-11-27 17:38:01 +01:00
mathieui
96a9a88384 Add a new option 'use_remote_bookmarks' to force local bookmarks if
needed
2011-11-27 13:02:08 +01:00
mathieui
ea0f191555 Fix a tb in save_local() 2011-11-27 12:59:06 +01:00
mathieui
fe06d58e74 Completion for /bookmark and /bookmark_local 2011-11-26 23:29:39 +01:00
mathieui
f1a637f24b Add a new /bookmark_local command (that acts like the old one)
And modify the /bookmark command to send bookmarks online
2011-11-26 23:28:42 +01:00
mathieui
d2726c8892 Adapt the startup to the new bookmarks system 2011-11-26 23:27:42 +01:00
mathieui
4ce8721c3d Default to privatexml instead of pep for bookmarks storage
(since private xml sadly has a better support)
2011-11-26 23:26:15 +01:00
mathieui
97aaeb1d13 Load the XEP-0048 plugin on startup 2011-11-26 23:09:51 +01:00
mathieui
2ff8e40c22 Add stanza generators for the <storage/> element 2011-11-26 23:09:03 +01:00
mathieui
68c0ddeb29 Add save() methods to save bookmarks in every way 2011-11-26 23:08:41 +01:00
mathieui
1d5b331663 Add get_ methods to retrieve bookmarks locally/w/pubsub/privatexml 2011-11-26 23:07:31 +01:00
mathieui
2f5ecf24b7 Add a parser from xml Element to Bookmark 2011-11-26 23:06:11 +01:00
mathieui
64b8970d25 Enhance the Bookmark class 2011-11-26 23:05:09 +01:00
mathieui
2eaa540589 Add a Bookmark class 2011-11-26 15:47:41 +01:00
Florent Le Coz
bab0a143a3 Fix an error on data_forms tab 2011-11-25 22:13:20 +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
587bd44f9b Fix something with /me etc. 2011-11-25 12:02:03 +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
06156c3b77 Use the nick color for the “*” char in /me messages. 2011-11-25 11:42:50 +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
Florent Le Coz
ac2b71e1ed Add the F4 key to toggle the left panel. 2011-11-25 11:42:50 +01:00
mathieui
42e9e29845 Add a /decline command 2011-11-24 23:03:43 +01:00
mathieui
77b386d0f1 Handle invitations (and do not show them as a message) 2011-11-24 23:03:43 +01:00
mathieui
cd9684043f Add a /invite command 2011-11-24 23:03:43 +01:00
mathieui
5e05ede948 Increase the size of the information buffer (20 is not enough) 2011-11-24 20:34:12 +01:00
mathieui
aa342ca341 Add a way to scroll up and down the information buffer 2011-11-24 20:33:52 +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
52fd54d2ff Remove this usell ++-- from poopt 2011-11-23 19:48:12 +01:00
Florent Le Coz
592d4fa300 Plugin API: add a method to put text in the input. 2011-11-23 09:09:15 +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
Florent Le Coz
97f7877ddb May improve some performance, but should be unnoticeable. 2011-11-20 00:42:13 +01:00
Florent Le Coz
f895d4a2f9 Restaure try: except: on derwin 2011-11-19 18:23:58 +01:00
mathieui
9361b12ce2 Add a simple args parser for commands in common.py 2011-11-18 23:35:11 +01:00
mathieui
6ef488ae80 Add some __doc__ to the parse from/to str/secs methods 2011-11-18 23:34:38 +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
abcd05d74b Restaure Ctrl+Enter -> \n 2011-11-18 19:34:38 +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
27e587118b Merge branch 'master' of http://git.louiz.org/poezio 2011-11-16 20:43:17 +01:00
Florent Le Coz
b2c84055df Add a vertical separator between the vertical tab list and the rest 2011-11-16 20:42:33 +01:00
mathieui
24ba3b6ed9 Add CHAR_CHATSTATE_* to the available theme options 2011-11-16 11:25:20 +01:00
mathieui
75f7d71080 Use os.path.expanduser to interpret '~' for _dir config options 2011-11-16 09:46:09 +01:00
mathieui
f40f5cb6c2 Add a wrapper for RawConfigParser.options() in PluginConfig 2011-11-16 09:44: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
a40199d8ef Add an option to display vertical tabs from bottom to top. 2011-11-16 02:23:40 +01:00
Florent Le Coz
1777d7414d Document the two new options. 2011-11-16 02:09:30 +01:00
Florent Le Coz
d67ec3278a Add an optional vertical tab list. 2011-11-16 02:09:30 +01:00
mathieui
9a32229d0b Add the 's' modifier (allow a string to be "50s1d1d4m1s") 2011-11-15 21:37:04 +01:00
mathieui
d6ceb78c82 Also parse strings with only seconds properly 2011-11-15 21:25:28 +01:00
mathieui
50b4b4989a Some utility functions to go from/to seconds/strings 2011-11-15 21:21:01 +01:00
mathieui
5c47b735b3 Should avoir connecting on port -1.
Fixes #2289
2011-11-15 19:41:49 +01:00
mathieui
c7ba8fd5b6 Fixes #2264 2011-11-15 19:37:59 +01:00
mathieui
e8837e252f Fixes #2292 2011-11-15 19:15:06 +01:00
mathieui
68aa832a49 Use Theme.CHAR_STATUS whenever it is possible
Fixes #2293
2011-11-15 19:07:57 +01:00
mathieui
0fe7061eb5 Fixes #2294 2011-11-15 18:48:09 +01:00
mathieui
4208920f42 Fixes #2279 2011-11-15 01:42:24 +01:00
mathieui
6e35dcf612 Fix PluginConfig.set 2011-11-14 20:45:59 +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
a5f115a6e2 Fix Plugin.config.get to use the right section instead of Poezio 2011-11-14 00:45:15 +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
39fcd9a4f6 Allow a plugin to add a keybinding 2011-11-13 19:43:31 +01:00
mathieui
ba7ee1d76c Tweak auto_completion in order to add quotes only when needed 2011-11-13 18:45:44 +01:00
mathieui
587a74df6e Fix the completion with space-separated items
Fixes #2261
2011-11-13 18:37:17 +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