summaryrefslogtreecommitdiff
path: root/sleekxmpp/roster
AgeCommit message (Collapse)Author
2013-07-26optimize importsJean-Philippe Caruana
2012-10-22Respond to probes when the subscription is 'from', not 'to'.Lance Stout
2012-07-19Fix issue of roster data being split across multiple rosters.Lance Stout
Resolved by always normalizing JIDs to bare form, regardless of if they are JID objects or strings. Also simplified related code to prefer use of JID objects instead of strings so they don't need to be parsed multiple times.
2012-06-19PEP8 formatting updates.Lance Stout
2012-06-18Simplify tracking last sent presence using outgoing filters.Lance Stout
2012-06-04Include the default, unnamed group in self.client_roster.groups()Lance Stout
2012-04-07Trigger got_online after resource information has been saved.Lance Stout
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-05Save existing roster content when setting a new 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-11-28Ensure that saving a roster item includes the correct subscription value.Lance Stout
Fixes issue #118
2011-11-18Also fire changed_status when the status text changes for a resource.Lance Stout
2011-11-18Fix changed_status eventLance Stout
Once again only fires when a resource's presence show value changes.
2011-11-06Fix a crash when removing a contact.Lance Stout
Original author: louiz
2011-11-06Restore original behaviour for auto_authorize and auto_subscribe.Lance Stout
The change to using the new roster broke the original auto_* values and used per-roster versions. The original auto_* values will now set the behaviour globally. Use the per-roster values to override for a specific JID.
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-18Store unavailable presence as last sent presence.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