Commit graph

545 commits

Author SHA1 Message Date
Florent Le Coz
6a0346a12a Fix a little issue on the default values of text-multi 2011-01-25 21:17:11 +01:00
Florent Le Coz
cc0449f73b data-forms: text-multi and jid-multi support 2011-01-25 21:15:46 +01:00
Florent Le Coz
716b8be04f data-forms: temporary text-multi support 2011-01-25 18:09:40 +01:00
Florent Le Coz
90c003f975 data-forms: list-multi support 2011-01-25 18:07:47 +01:00
Florent Le Coz
f9cf0ac76d /status also changes your presence in MUCs 2011-01-24 17:02:46 +01:00
Florent Le Coz
33421513c9 fixed #2109. HUGE DIFF OMG 2011-01-23 23:08:44 +01:00
Florent Le Coz
4a84691228 Handle correctly the banning of a muc participant
Fixed #2112
2011-01-23 23:01:53 +01:00
Florent Le Coz
333b80b5df /status command. fixed #2110 2011-01-23 22:49:58 +01:00
Florent Le Coz
28460d2f6f Fix a crash on unknown role 2011-01-23 18:38:49 +01:00
Florent Le Coz
a84769890b fix get_output_of_command. fixed #2018 2011-01-22 15:03:54 +01:00
Florent Le Coz
7c531eeec1 Fix on_user_join issue, and displays the jid if available on /info 2011-01-21 19:39:41 +01:00
Florent Le Coz
d8f92a67e4 Avoid traceback when configuration is forbidden… 2011-01-21 04:54:01 +01:00
Florent Le Coz
1b995e4bf0 Data form support.
supported yet:
text-single, text-private, list-single, boolean

The interface is really ugly, but, well, it works
2011-01-21 04:46:21 +01:00
Florent Le Coz
33c69df12b /info command (to see user's affiliation, role, etc) 2011-01-17 16:25:15 +01:00
Florent Le Coz
1fe6160cfc /join @server.tld now works. fixed #2038 2011-01-17 15:54:11 +01:00
Florent Le Coz
6154872444 /win's arg can be a part of the tab's name 2011-01-17 12:17:37 +01:00
Florent Le Coz
a14c2ad2da Version 0.7 2011-01-13 23:59:14 +01:00
Florent Le Coz
baf65fed2e Fix copy of default config file 2011-01-13 23:37:30 +01:00
Florent Le Coz
7509fb0002 Prompt password if no password is provided in config file 2011-01-13 23:20:17 +01:00
Florent Le Coz
c94be4761a Restaure the display of the kick's reason if available 2011-01-13 22:02:35 +01:00
Florent Le Coz
7994507bc3 Fix /bookmark command on non-MUC tabs 2011-01-13 20:34:17 +01:00
Florent Le Coz
086cc82e1e /close command closes MucListTab 2011-01-13 00:25:43 +01:00
Florent Le Coz
7b5407b7b7 Correctly refresh the screen on ^G on roster commands 2011-01-12 21:27:43 +01:00
Florent Le Coz
b10fd0d229 Update CHANGELOG and s/codingteam.net/dev.louiz.org/ 2011-01-12 21:23:03 +01:00
Florent Le Coz
7a9b9edee8 Fix // 2011-01-12 21:08:17 +01:00
Florent Le Coz
9d0d8b88b9 Fix the size of nicks in user_list window 2011-01-12 20:37:57 +01:00
Florent Le Coz
9237f79490 Have a notification when someone wants to suscribe to your presence 2011-01-12 20:37:28 +01:00
Florent Le Coz
28b2dbcc84 Fix InfoTab 2011-01-12 20:18:34 +01:00
Florent Le Coz
6d4e5c069e Finish the two default themes
And remove the automatic copy of the config files
2011-01-12 20:09:48 +01:00
Florent Le Coz
ce1fc18e10 Log messages from normal and private conversations as well 2011-01-12 18:34:04 +01:00
Florent Le Coz
22ad96e7aa Clean up the on_enter methods. fixed #2101 2011-01-12 17:19:14 +01:00
Florent Le Coz
2aa799fc26 fixed #2100 2011-01-12 17:12:25 +01:00
Florent Le Coz
621048dede Cleanly reset curses, so the term is never messed up after an exit 2011-01-12 16:53:07 +01:00
Florent Le Coz
7f6957b906 Avoid various crashes by denying the resize AND the refresh on too small size 2011-01-12 16:45:40 +01:00
Florent Le Coz
9f514d8c7d Avoid a traceback on remove_contact: 2011-01-12 07:50:12 +01:00
Florent Le Coz
1a44819269 Also, fix C-w 2011-01-12 07:18:17 +01:00
Florent Le Coz
fce9a60f9a Fix M-b and M-f, fixed #2102 2011-01-12 07:13:02 +01:00
Florent Le Coz
469bbd2900 /add and /remove commands, yay 2011-01-12 06:49:33 +01:00
Florent Le Coz
e016305c2b And fix the on_enter again (for commands) 2011-01-11 19:56:40 +01:00
Florent Le Coz
a8630190fd Avoid traceback on Enter in ChatTabs 2011-01-11 19:50:47 +01:00
Florent Le Coz
26b38c8107 Limit nick size to the user list width 2011-01-11 13:42:14 +01:00
Florent Le Coz
749933fc16 /accept and /deny commands
User can now decide to accept or deny a subscription, in
the roster
2011-01-11 06:43:31 +01:00
Florent Le Coz
6bb94cdf0b Displays the subscription and Ask states in the roster 2011-01-11 03:41:06 +01:00
Florent Le Coz
f7102ae33d And also that 2011-01-11 02:53:45 +01:00
Florent Le Coz
6b3fdec468 Fix // on roster 2011-01-11 02:52:00 +01:00
Florent Le Coz
5d4b0a9e2b Move the Contact Window in the left part of the roster tab 2011-01-11 02:49:43 +01:00
Florent Le Coz
9a81b923e6 Do not automatically reconnect. Ever 2011-01-10 19:28:17 +01:00
Florent Le Coz
63d2b8f06f Avoid traceback on text_win refresh 2011-01-10 18:59:34 +01:00
Florent Le Coz
97ee65fcb8 use fast search by default (s), and possibly use slow search (S) 2011-01-10 18:54:21 +01:00
Florent Le Coz
cb96bf4280 Handle correctly disconnections
When we are disconnected from the server and we reconnect,
do not reopen the MUCs in double.
2011-01-10 17:40:07 +01:00
Florent Le Coz
8e7b678506 Fix an error in textwin.refresh
a \n was added when the line was exactly the same width as the
window, so the next nick was one line too low
2011-01-10 17:24:37 +01:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
1e17eeb7ea avoid a traceback on subject, whatever 2011-01-09 15:34:06 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
02a805679c remove the separator when it is at the bottom (unles the user maid M-v) 2011-01-09 02:23:04 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
3ef50faf76 Handle subject with no nick. And avoid duplicates 2011-01-09 01:54:36 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
cfc3309009 restaure software version and local time 2011-01-09 00:09:51 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
8017b2d9f1 Handle authentication and connection errors. fixed #1994 2011-01-08 23:20:27 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
af651cbc46 MessageInput now have a 'draft' option. When you're typing a new message, ↑ and ↓ will keep the unfinished (and unsent) message in the history. fixed #1852 2011-01-06 20:46:38 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
c2344d0d33 Fix input history, and avoid consecutive duplicates. fixed #1851 2011-01-06 19:57:31 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
850bde1655 remove useless debug 2011-01-05 14:19:17 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
2c840b6bf8 correctly refresh the screen on got_offline/online 2011-01-05 02:02:53 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
828ed2991b also displays a message in ConversationTabs when a resource goes online 2011-01-05 01:59:26 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
98c32b05e8 same thing, but nicer code 2011-01-05 01:46:19 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
1f2959d96e correctly displays a message in ConversationTabs when a resource goes offline 2011-01-05 01:41:19 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
6de2673c8f fix ConversationTab's nicks when a contact has no name 2011-01-05 01:14:30 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
4ace901909 fix the refresh of textwin when there's no message yet 2011-01-05 01:06:25 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
2e285cf426 fix a crash on resize of size 0×0 2011-01-05 00:28:26 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
073972a5c0 ask for NO history message when using /cycle 2011-01-04 03:36:04 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
81e71fee30 use the argument of /cycle as the part message 2011-01-04 03:08:44 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
ea7fe6bb96 /cycle command 2011-01-04 03:05:49 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
a1b609e0c4 displays message in ConversationTabs when a resource goes offline 2011-01-04 02:59:42 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
59195ffaff display the 'nickname' instead of the JID 2011-01-03 15:07:32 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
ab85a3dc21 fix the log of MUC messages in files 2011-01-02 16:58:40 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
c29cc8b15f also fix /join completion (using xep 30), and add a timeout 2011-01-02 16:00:47 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
1135716518 fix /list with new SleekXMPP xep_0030 version. Also add some error handling and a '(loading)' information while waiting for the answer 2011-01-02 15:50:01 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
15f7340661 fixed #1901 Alt-U and Alt-Y scrolls the participant-list in MUCs 2011-01-01 15:37:35 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
ea3e606d47 fix /recolor with the new nick_color method 2011-01-01 14:47:29 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
d712d2e1c9 update copyright date 2011-01-01 13:27:07 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
94f44a5254 show_inactive_tabs lets the other chose if she wants to display ALL tabs or just those with activity 2011-01-01 13:17:54 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
61245f40eb fix InfoTab, fixed #2087 2010-12-31 13:05:06 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
c3597c4257 use the theme color 2010-12-31 11:31:09 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
b815cbf055 fix some stuff, maybe 2010-12-31 11:23:56 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
3b2d28e6ee remote nickname is colored in ConversationTab 2010-12-31 10:52:15 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
9f4474be20 fixed #2072, fix TextWin refresh 2010-12-26 21:44:49 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
cdb8128d32 fixed #1988 Traceback handler 2010-12-26 20:51:14 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
133cda1912 fix a traceback 2010-12-22 01:03:55 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
cb9ec92655 little fix 2010-12-21 07:02:22 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
dc7910570c improve performances a little more. And avoid a very rare crash, too 2010-12-21 06:28:35 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
ac3e0f7099 datetime.strftime seems (according to cProfile) to be VERY slow. Improve the refresh performances by reducing A LOT the number of call of this method 2010-12-21 05:43:57 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
1c923fcdcc hop, fixed #2068 2010-12-18 18:54:55 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
c7b021c55d stupid… 2010-12-17 21:09:37 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
acd047863c ^L now works 2010-12-17 21:06:59 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
e07f631609 fix the Enter key on roster search 2010-12-17 18:58:07 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
a41b036155 Also catch errors on config save 2010-12-17 14:48:31 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
c7515605a7 correctly differentiate private and normal messages 2010-12-17 14:47:18 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
80a1fac0fe syntax 2010-12-17 14:40:08 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
e6afe9d691 fix typo and catch NoSectionError in config 2010-12-17 14:39:44 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
c77842e1be fixed #1892 save folded rosters and info_win_height in the config file 2010-12-17 14:36:14 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
a13d768e0d config file can now have various section 2010-12-15 22:24:48 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
56dee2c7ee fix the issue of first private message received 2010-12-15 22:13:38 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
23aa5542b2 fixed #2037 2010-12-15 21:21:33 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
7401c8ba57 do not complete our own nickname. fixed #2061 2010-12-15 19:32:51 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
289f5e65b8 fixed #2058 2010-12-15 17:26:34 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
c38cb65080 fix print_scroll_position for private and conversation tabs 2010-12-15 17:15:46 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
883c0ec812 fix the /recolor command 2010-12-15 17:05:52 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
ff24960b6a fix the ---- that I just broke 2010-12-15 16:10:53 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
0db8bf7d46 HUGE performance improvement on refresh. fixed #1855 2010-12-15 15:40:43 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
24d6894b64 enter in MucListTab does like 'j' 2010-12-07 19:45:08 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
190fc0a1f7 fix 'j' on MucListTab when row number 0 is selected 2010-12-07 19:37:30 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
9671db5980 fixed #2036 (ctrl+l) 2010-12-07 16:37:19 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
62427ff401 (link mauve) fixed #2041 use JID class everywhere 2010-12-07 16:31:30 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
d837ce2381 /list command, can join the room with J (cannot sort, search or filter yet, and lacks some information) 2010-12-07 16:20:30 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
2b58f653b7 fix default config path 2010-12-06 19:17:12 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
a96188385f can now complete with NOTHING in the node 2010-11-29 18:54:30 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
cbcec6a798 completion of the jid's node when doing /join ro@some.server.fr/[TAB](it completes the 'ro' part \o/. Also a begining of /list command, but that does nothing 2010-11-29 18:36:54 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
69e335c0ad fix last_words_completion 2010-11-27 02:41:45 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
956a33f0d0 fix // 2010-11-25 03:20:01 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
435bdd6e85 command completion. Also completion for command's arguments. (try it to complete the server of the muc with /join test@kiko[TAB] for example 2010-11-25 03:04:03 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
c1a62ac897 fix the comment, too 2010-11-24 06:03:51 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
e1ed45ae5f error are also displayed in non-muc rooms. fixed #2028 2010-11-24 05:55:36 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
d3dc3ef251 Global commands AND tab-specific commands. fixed #2027 2010-11-24 05:41:06 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
d0cfb69b02 fix ctrl+F on roster 2010-11-23 15:25:18 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
0648da85bc fasten the refresh of Private and Normal tabs, on input 2010-11-23 13:46:19 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
d803d5f95a fix the crash on '/' in the roster 2010-11-22 02:48:24 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
6ffafadbdd re-use the resize_timer and better handle the size of the term to decide if we refresh. Everything seems fine on refresh now \o/ 2010-11-22 02:39:56 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
0eeb6a871d Clean a lot the __init__ of Wins 2010-11-22 02:25:15 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
c8d7f803c7 \t does not complete anymore 2010-11-22 02:01:22 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
7aaac85900 ChatTab, for derived tab containg a chat. 2010-11-22 02:00:03 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
30405d1fbb rename again buffers→windows and Alt+←→ to switch tabs 2010-11-22 01:39:37 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
a1c4b35b57 do not pass stdscr everywhere. Fix crashes on F7-8 2010-11-19 16:27:20 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
229e209dd8 Recent-completion now uses emacs keyboard shortcut 2010-11-19 03:45:13 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
61cc03b3d2 better use sleekxmpp in muc.py 2010-11-19 03:44:43 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
eb2663c2db remove some debug 2010-11-15 13:22:04 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
0216ac29db Do not refresh the screen on each input 2010-11-15 13:16:30 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
f4d4a205f1 a few renamings, and some other stuff 2010-11-15 11:59:09 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
de7c007a22 Inputs are more modulable (they also have a common history and clipboard). Search is now fully functional, and some other stuff 2010-11-11 20:44:14 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
8bdab49145 roster search now uses difflib 2010-11-11 05:24:43 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
d502f4a525 fix the new-subject message and the /part command 2010-11-11 04:37:48 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
f9b386d27f Better choose the tab to use when receiving a normal message. Better closing of tabs 2010-11-11 04:22:37 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
58a82f170b fix some issues with recent-words completion, make the ConversationTabs closable with /unquery and ignore the keyboard shortcuts not handled. fixed #1941 2010-11-11 03:39:39 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
f729e79aad add M-i shortcut for completion 2010-11-11 00:00:06 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
545902be7d ConversationTab interface 2010-11-10 21:15:08 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
0f39961a5d correctly receive the subjects from the MUCs 2010-11-09 22:41:31 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
7fd6153720 fix some little issues. Rename gui to core, use logging lib instead of the custom debug option. Add a -d option 2010-11-09 20:37:39 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
df6d2fc2d3 use custom_port and custom_host if advanced configuration is needed. Else it will use SRV DNS resolution if dnspython is installed 2010-11-08 01:33:36 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
38e290fdef link mauve (and me): use // to send a message beginning be '/' 2010-10-31 19:11:51 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
4ecda478ec link mauve: fix a incoherence on '/help show' message 2010-10-31 19:03:49 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
6f274225b6 link mauve: Fixed a crash on /help help help 2010-10-31 19:02:57 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
6fab04a6dc Basic search in the roster (based on contact JIDs) 2010-10-31 18:57:48 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
2863eebda4 New and better keyboard shortcuts 2010-10-27 23:11:35 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
c091e0c16f Command mode in roster tab, toggle offline contacts with 'o' and sort contacts by show 2010-10-27 22:49:52 +00:00