Commit graph

1788 commits

Author SHA1 Message Date
mathieui
1a81466a09 Fix some completions 2012-05-05 19:46:01 +02:00
mathieui
c8728b31d5 Add /mute to the admin plugin 2012-05-05 19:45:45 +02:00
mathieui
bfa6008495 Add simple_notify in the plugin index 2012-05-05 18:31:33 +02:00
mathieui
55edb64438 Remove useless stuff from the simple_notify plugin 2012-05-05 18:26:54 +02:00
mathieui
5670304b17 Use COLOR_OWN_NICK whenever possile (Fixes #2318) 2012-05-05 17:32:13 +02:00
mathieui
88345b1e36 Add a plugin index in the documentation 2012-05-05 15:47:40 +02:00
mathieui
e1975dd1ce Complete a bit the themes documentation 2012-05-05 15:47:13 +02:00
mathieui
794da2a6f2 Use add_tab_command in the mpd client plugin 2012-05-05 15:45:26 +02:00
mathieui
6ff2f2acc6 Add an "Admin" plug-in that add several shortcuts for room administration 2012-05-05 02:08:35 +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
2ad7416a6d Document the /groupmove command 2012-04-18 19:44:37 +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
25a9a36201 Document the new options 2012-04-18 15:57:43 +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
mathieui
6b01e71462 Adda config.getl to return a lowercase value 2012-04-18 15:54:16 +02:00
mathieui
26a9876ae8 Document the command/quote behaviour 2012-04-18 00:42:31 +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