summaryrefslogtreecommitdiff
path: root/src/contact.py
AgeCommit message (Collapse)Author
2014-07-24Use slixmppFlorent Le Coz
2014-07-24The most important resource of a bare jid is the one with the highest priorityFlorent Le Coz
2014-04-04Remove unused importsmathieui
(thanks eijebong)
2013-06-14Fix #2320 (TB on /info with an off-roster contact)mathieui
2013-03-12Implement user gaming (xep-0196)mathieui
- configuration options - theming options - /gaming
2013-03-11Fix #1839 (User mood/activity)mathieui
- Added as always new theming variables: CHAR_ROSTER_MOOD, CHAR_ROSTER_ACTIVITY (a SNOWMAN!) COLOR_ROSTER_MOOD, COLOR_ROSTER_ACTIVITY - Added two new notification types in Theme.INFO_COLORS (mood/activity) - Added new configuration options: display_mood/activity/tune_notifications (those can be set for a specific JID) enable_user_tune/nick/activity/mood - Added /activity and /mood commands, with completions - Moved the old /activity to /last_activity - Details are show in the ContactInfoWin if there is room, or with "i" on a contact in the roster.
2013-03-11Fix #1841 (User nickname)mathieui
- add a use_pep_nick boolean option - use it as a nickname for roster contacts, but it does not supercede the user-defined handle - send a <nick/> at the beginning of a normal chat - not implemented in MUC (wontfix)
2013-03-11Implement XEP-0118 (Fix #1840)mathieui
- Add new theming options - Show the tune in the roster (both in contact line and infowin) - add an option to show tunes as info messages
2013-03-03Fix #2182 (show s2s errors)mathieui
- Add the theming options COLOR_ROSTER_ERROR, CHAR_ROSTER_ERRROR, and CHAR_ROSTER_ASKED
2013-02-03Fix the folding of contacts in multiple groupsmathieui
(add a defaultdict to keep the folded state in each group)
2013-01-21Break the ugly roster refresh loop into twomathieui
- The code is more understandable - The number of iterations may have slightly increased - Less things are done inside the lock, so the overall experience should be smoother
2012-10-14Should boost the roster speedmathieui
- use a generator instead of a listcomp - don’t use a JID for the resource
2012-08-06Add a common.safeJID function, and use it everywheremathieui
2012-08-01Do not generate invalid jids (e.g. localpart@domainpart/)mathieui
This is in prevision of a sleekxmpp update with JID validation. Also, comment the “server” option in the config file a bit better.
2012-08-01Sort resources from highest priority to lowestmathieui
- Previously it was from lowest to highest - Add the “Priority:” info to the “i” key in the roster
2012-07-31Sort the contacts in the roster groups by show (xa/away/…)mathieui
2012-05-21Docstrings, and small cleanupmathieui
2012-04-29Remover leftover unused 'resources' propertymathieui
2012-04-27Roster update: Merge branch 'master' of https://git.louiz.org/poeziomathieui
Conflicts: src/core.py src/tabs.py
2012-04-27Remove some debug infomathieui
2012-04-27New Contact and Resource classmathieui
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-18Add a 'v' keybind on the roster to get the version of the selectedmathieui
resource-s
2011-11-09-get -set +@property +@property.settermathieui
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-04fix the display of the action 'emptying the status', and some few minor changesmathieui
2011-01-11Displays the subscription and Ask states in the rosterFlorent Le Coz
2011-01-01update copyright datelouiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
2010-11-15a few renamings, and some other stufflouiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
2010-11-10ConversationTab interfacelouiz@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-20fix an import issue (JID)louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
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-10-04contact information buffer in the roster tab (yet empty)louiz@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-26Basic implementation of the roster and one to one conversationslouiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
2010-09-16LALALALALALALALALAlouiz@4325f9fc-e183-4c21-96ce-0ab188b42d13