summaryrefslogtreecommitdiff
path: root/sleekxmpp/roster/single.py
AgeCommit message (Collapse)Author
2012-03-07Add support for roster versioning.Lance Stout
This was XEP-0237, but is now part of RFC 6121. Roster backends should now expose two additional methods: version(jid): Return the version of the given JID's roster. set_version(jid, version): Update the version of the given JID's roster. A new state field will be passed to the backend if an item has been marked for removal. This is 'removed' which will be set to True.
2012-03-05Propagate save option when setting a roster backend.Lance Stout
2012-03-05Prevent excess loading from the roster db.Lance Stout
Fixes issue #148
2012-01-17Fix roster key issue for non-JID keys.Lance Stout
2012-01-16Use jid.bare as a key instead of a JID instance.Rodolfo Henrique Carvalho
2012-01-11update_caps() can now do presence broadcasting.Lance Stout
As part of adding this feature: - fixed bug in update_caps() not assigning verstrings - fixed xep_0004 typo - can now use None as a roster key which will map to boundjid.bare - fixed using JID objects in disco node handlers - fixed failing test related to get_roster Several of these bugs I've fixed before, so I either didn't push them earlier, or I clobbered something when merging. *shrug*
2012-01-10Make the roster easier to inspect.Lance Stout
The __repr__ version now looks like a regular dictionary.
2011-10-07Fix typos in the roster update method.Lance Stout
2011-08-18Add some convenience methods to rosters.Lance Stout
Can now use len(self.client_roster) to get the number of JIDs in the roster, and self.client_roster.groups() to get a dict of groups and the JIDs in those groups.
2011-08-17Update plugins that use Iq stanzas to work with new exceptions.Lance Stout
2011-06-18Need to store unavailable presence as last sent if broadcasted.Lance Stout
2011-06-16Integrate roster with ClientXMPP.Lance Stout
Roster updates are now passed through to the roster when using self.update_roster, etc.
2011-06-16Integrate roster with BaseXMPP.Lance Stout
Last sent stanzas are saved regardless of if the roster is used directly or self.send_presence
2011-06-16Split roster.py into a directory.Lance Stout