Commit graph

1208 commits

Author SHA1 Message Date
mathieui
e86ecb3a52 Fix the “/bookmark{,_local} *” behaviour 2012-05-14 00:01:19 +02:00
mathieui
ecc40fdc5e Catch a possible exception when trying to retrieve the rgb value in curses
Fixes #2354
2012-05-13 19:01:27 +02:00
mathieui
28c15a889e Add the ignore_private and private_auto_response options
MUC-specific options.
private_auto_response is empty by default.
+ new event ignored_private
2012-05-12 20:44:38 +02:00
mathieui
5498ad37c8 Prevent iq errors & timeouts on /join completion 2012-05-10 18:22:10 +02:00
mathieui
c0c0b16218 Fixes #2358 2012-05-10 13:22:37 +02:00
mathieui
dfa8f33c67 Fix the usr join/rejoin when someone gets kicked or banned 2012-05-10 11:00:34 +02:00
mathieui
3dc5c5e5b5 Add a way to execute a custom command with a custom key binding
(+doc)
2012-05-10 01:26:35 +02:00
mathieui
70a724c127 Add new status & bookmarks actions 2012-05-10 01:07:59 +02:00
mathieui
5c327ef232 Allow a config to be set & created directly 2012-05-09 19:17:53 +02:00
mathieui
600af6d5a7 Fix the size of the XMLTab 2012-05-09 00:13:50 +02:00
mathieui
61d23e6da3 Add the possibility to map keys on 'actions' 2012-05-08 19:09:05 +02:00
mathieui
f2377f747b Fix some roster length issues with group folding 2012-05-08 16:14:51 +02:00
mathieui
784e608f66 Fix the duplicate messages when talking to an offline gmail contact 2012-05-07 17:09:32 +02:00
mathieui
1a81466a09 Fix some completions 2012-05-05 19:46:01 +02:00
mathieui
5670304b17 Use COLOR_OWN_NICK whenever possile (Fixes #2318) 2012-05-05 17:32:13 +02:00
mathieui
fcdf98eda2 Add a /ban command, and fix completion & parameters for /kick 2012-05-05 02:07:48 +02:00
mathieui
18ba25fa6b Fix /groupmove 2012-05-04 23:05:36 +02:00
mathieui
91ab569e52 Do not quote the JID for /remove completion 2012-05-04 19:41:59 +02:00
mathieui
7778ad9216 0030 query now says 'Poezio' or nothing for the client’s identity
(Fixes #2273)
2012-05-04 18:52:36 +02:00
mathieui
8fc6e53661 Make the visitor’s color readable (Fixes #2342) 2012-05-04 18:31:36 +02:00
mathieui
3c3750098c Remover leftover unused 'resources' property 2012-04-29 19:17:38 +02:00
mathieui
ffae7e7eb8 Trigger only the 'normal_presence' event if the contact is in the roster 2012-04-28 00:01:35 +02:00
mathieui
24341c8429 Prevent some iteration problems 2012-04-27 23:42:22 +02:00
mathieui
de63a1affd Roster update: Merge branch 'master' of https://git.louiz.org/poezio
Conflicts:
	src/core.py
	src/tabs.py
2012-04-27 23:09:26 +02:00
mathieui
2488216fba Update the ConversationTab 2012-04-27 22:54:11 +02:00
mathieui
3bd893e6b4 Update group commands 2012-04-27 22:53:58 +02:00
mathieui
f71e2a9cb1 Update commmand_add, command_remove, command_accept, and command_deny 2012-04-27 22:41:16 +02:00
mathieui
7c8fe132eb Update the roster search functions 2012-04-27 22:36:58 +02:00
mathieui
2957cded91 Fix the completion for all commands manipulating the roster 2012-04-27 22:34:12 +02:00
mathieui
6743bb5d94 Add the new subscription handlers and update on_message() and disconnect() 2012-04-27 22:30:01 +02:00
mathieui
2c09dcf6b4 Update the got_online, got_offline, and presence handlers 2012-04-27 22:27:34 +02:00
mathieui
02ad8d4f1c New roster attributes and new subscription events 2012-04-27 22:17:32 +02:00
mathieui
774ed40e74 Necessary modifications for the API change 2012-04-27 21:58:31 +02:00
mathieui
725a2245f3 Remove some debug info 2012-04-27 21:09:26 +02:00
mathieui
8c5faa91f2 New Contact and Resource class
Changed from Resource:
    - __init__() takes as a parameter a reference to the sleek dict
    - No more setters, information is directly taken from the sleek
      roster

Changed from Contact:
    - __init__() takes a sleek RosterItem for the contact
    - add_resource() → Ø
    - remove_resource() → Ø
    - get_resource_by_fulljid() → Ø
    - get_nb_resources() → __len__()
    - get_resource_by_fulljid() → __getitem__() or get()
    - No more setters, information is directly taken from the sleek
      roster
2012-04-27 20:50:00 +02:00
mathieui
527e582fb0 New Roster class and new RosterGroup class
Removes for Roster:
    - empty() → Ø
    - get_contact_len() → Ø
    - remove_contact_from_group() → Ø
    - add_contact_to_group() → Ø
    - add_contact() → add()
    - remove_contact() → __delitem__()
    - get_contact_by_jid() → __getitem__()
    - edit_groups_of_contact() → update_contact_groups()

Removes for RosterGroup:
    - has_contact() → __contains__()
    - add_contact() → add()
    - remove_contact() → remove()
    - is_empty() → __len__()
2012-04-27 20:30:05 +02:00
Florent Le Coz
2a3434b1f8 Fix the get_nick issue correctly this time. 2012-04-27 19:40:39 +02:00
Florent Le Coz
4ee3566a74 Avoid a traceback when getting the nick of a converstation with someone not in our roster. fixes #2356 2012-04-26 01:57:46 +02:00
mathieui
2f78a5f2dd Add an autofill for /name in the roster when 'n' is pressed 2012-04-19 17:37:53 +02:00
mathieui
5a1a7a567d Do not quote the plugins on completion 2012-04-19 13:08:35 +02:00
mathieui
46c197ef7f Fixes #2355 2012-04-19 01:33:16 +02:00
mathieui
abe8c0ab71 Add a show_roster_jids option 2012-04-19 00:20:03 +02:00
mathieui
9ddd2481c7 Show the current status in the ContactInfoWin 2012-04-19 00:12:41 +02:00
mathieui
80b1e835b7 Show the contact info in the roster when 'i' is pressed 2012-04-19 00:12:22 +02:00
mathieui
71596ec10b Add a 'v' keybind on the roster to get the version of the selected
resource-s
2012-04-18 23:45:16 +02:00
mathieui
bdcddf56e1 Load xep_0092 even if send_poezio_info is false 2012-04-18 23:07:28 +02:00
mathieui
cc00f44e77 Add a /groupmove command. Fixes #2352
(based on a patch from gio)
2012-04-18 19:42:37 +02:00
mathieui
37e3c1ea29 Fix a small mistake 2012-04-18 19:42:04 +02:00
mathieui
b3c4dd93eb Add new options use_tab_nicks, show_tab_numbers, and show_tab_names
(thanks gio)
2012-04-18 15:55:24 +02:00
mathieui
384f6939cb Add a get_nick method to the tabs 2012-04-18 15:54:52 +02:00