summaryrefslogtreecommitdiff
path: root/src/roster.py
AgeCommit message (Collapse)Author
2012-08-31Fix a traceback when a group has no name and a crash when dns gets interruptedmathieui
- http://pastebin.archlinux.fr/449676
2012-08-07Take care of the race condition "node@groupchat_server is now online/offline"mathieui
- get rid of the ugly blacklist thing that didn’t work sometimes
2012-08-06Add a common.safeJID function, and use it everywheremathieui
2012-08-01Various changes to the roster sortingmathieui
- Change the separator from _ to : - Move the functions away in another module to avoir cluttering the roster code - Add a case-sensitive sort (“sname”)
2012-08-01Add an "online" contact sorting methodmathieui
- put the online contacts at the beginning of the list - allows, e.g. jid_reverse_online_reverse, to put offline contacts at the start of the group, in alphabetical order
2012-08-01Sort the unavailable contacts at the end of the contact listmathieui
2012-08-01Add a roster_group_sort option, which works like roster_sortmathieui
- defaults to "name" (sort by group name) - document it - also, micro-optimize get_nb_connected_contacts()
2012-07-31Add a roster_sort option to sort the contacts inside the roster groupsmathieui
- defaults to jid_show (which means that they are sorted into sub-groups by show and are sorted by JID inside those) - See the default config file or the documentation for details
2012-07-31Also sort the contacts alphabeticallymathieui
Contacts are first sorted alphabetically, and then sorted again depending on their show; since the python sorts are stable, the order will remain and the sub-groups (corresponding to one show type) will be sorted alphabetically too.
2012-07-31Sort the contacts in the roster groups by show (xa/away/…)mathieui
2012-05-21Docstrings, and small cleanupmathieui
2012-05-16Prevent the rooms from going “offline”mathieui
Add a blacklist inside the roster that contains the bare JIDs of all the rooms ever joined in this session, so that no JID using this server will ever be shown as getting “offline”. If there is a cleaner way to do that (discriminating JIDs), I welcome it.
2012-05-08Fix some roster length issues with group foldingmathieui
2012-04-27Prevent some iteration problemsmathieui
2012-04-27Remove some debug infomathieui
2012-04-27New Roster class and new RosterGroup classmathieui
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__()
2011-11-09-get -set +@property +@property.settermathieui
2011-11-06Code cleanup (unused import, variables, undefined names, etc…)mathieui
2011-10-01More contact management commandsTodd Eisenberger
2011-09-11Change license to zlib (MIT sucks :()Florent Le Coz
2011-09-06Change license to MITFlorent Le Coz
2011-06-18Empty roster on disconnectFlorent Le Coz
2011-05-24fixes #2187 (import/export)mathieui
2011-03-10use config.get() only once instead of doing it at each iterationFlorent Le Coz
2011-02-02fixed #2115mathieui
2011-01-12Avoid a traceback on remove_contact:Florent Le Coz
2011-01-12/add and /remove commands, yayFlorent Le Coz
2011-01-11/accept and /deny commandsFlorent Le Coz
User can now decide to accept or deny a subscription, in the roster
2011-01-01update copyright datelouiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
2010-12-18hop, fixed #2068louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
2010-12-17fixed #1892 save folded rosters and info_win_height in the config filelouiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
2010-11-10ConversationTab interfacelouiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
2010-10-31Basic search in the roster (based on contact JIDs)louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
2010-10-27Command mode in roster tab, toggle offline contacts with 'o' and sort ↵louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
contacts by show
2010-10-17Multi-resource. Handling <presence /> stanzas. But the normal conversation ↵louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
window is broken :^). Fixed #1888
2010-10-04update e-mail address and READMElouiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
2010-09-27fold groups, display-name, focus the tab if user tries to open an already ↵louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
opened conversation (on /join too !), and nicer roster
2010-09-26group 'none' doesn't need to be createdlouiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
2010-09-26open conversation only if a message has a body. And use the group 'none' for ↵louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
contacts in no groups
2010-09-26Basic implementation of the roster and one to one conversationslouiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
2010-09-16LALALALALALALALALAlouiz@4325f9fc-e183-4c21-96ce-0ab188b42d13