summaryrefslogtreecommitdiff
path: root/sleekxmpp/basexmpp.py
AgeCommit message (Collapse)Author
2011-06-15Fix another roster issue.Lance Stout
Caused by same issue of a JID being in the roster, but with an incomplete entry.
2011-06-14Merge branch 'develop' into rosterLance Stout
Conflicts: sleekxmpp/basexmpp.py
2011-06-14Merge branch 'develop' into stream_featuresLance Stout
2011-06-14Fix issue with components and roster.Lance Stout
If the roster contained a JID, but not any resource presence data, then an error would occur when accessing self.roster[jid]['presence'].
2011-04-14remove roster item state responsibility from clientsNathan Fritz
2011-02-14Merge branch 'develop' into stream_featuresLance Stout
Conflicts: sleekxmpp/xmlstream/stanzabase.py
2011-02-14Reset the roster on disconnect instead of replacing it.Lance Stout
2011-02-14Merge branch 'develop' into rosterLance Stout
Conflicts: sleekxmpp/clientxmpp.py
2011-02-14Remap old method names in a better way.Lance Stout
This should prevent some reference cycles that will cause garbage collection issues.
2011-02-02Merge branch 'develop' into rosterLance Stout
Conflicts: sleekxmpp/basexmpp.py
2011-01-27Update tostring methods.Lance Stout
Will now always show top-level namespace, unless it is the same as the stream's default namespace. Also added the XMPP stream namespace to the namespace map as 'stream'.
2011-01-16Add StreamError stanza and a stream_error event.Lance Stout
Note that the stream may automatically attempt to reconnect when a stream error is received.
2011-01-10Add self.client_roster to make things simpler for clients.Lance Stout
2011-01-05Merge branch 'develop' into rosterLance Stout
2010-12-29Keep things lined up.Lance Stout
2010-12-28Fixed typo in comment.Andrzej Bieniek
2010-12-28Fix some typos.Lance Stout
2010-12-16Merge branch 'develop' into rosterLance Stout
2010-12-16Added more options to the make_iq_* methods.Lance Stout
May include a to and from JID in make_iq_* calls. May pass an existing iq stanza to most of them instead of generating a new stanza. make_iq now accepts a 'to' value, 'type' value, and 'query' value to simplify things a bit more.
2010-12-13Merge branch 'develop' into rosterLance Stout
Conflicts: sleekxmpp/basexmpp.py
2010-11-18Adding stream tests for XEP-0030.Lance Stout
Fixed some errors when responding to disco requests.
2010-11-17Cleaned basexmpp.pyLance Stout
2010-11-17Cleaned up names.Lance Stout
2010-11-17First pass at integrating the new roster manager.Lance Stout
2010-11-09Doesn't fail if host has NO SRV recordFlorent Le Coz
Just catch an other exception type coming from the dns resolver that could be raised with hosts like "anon.example.com" which just don't have any SRV record.
2010-11-06Logging no longer uses root logger.Lance Stout
Each module should now log into its own logger.
2010-10-25Fixed bug in presence subscription handling.Lance Stout
Subscription requests and responses were not setting the correct 'to' attribute.
2010-10-24Fixed got_offline triggering bug.Lance Stout
2010-10-21presence no longer replies when exception is caught and tweaks to presence ↵Nathan Fritz
events
2010-10-20when disconnected, reset the rosterNathan Fritz
2010-10-17Underscore names by default.Lance Stout
Stanza objects now accept the use of underscored names. The CamelCase versions are still available for backwards compatibility, but are discouraged. The property stanza.values now maps to the old getStanzaValues and setStanzaValues, in addition to _set_stanza_values and _get_stanza_values.
2010-10-17Import plugins from string referenced modules.Lance Stout
2010-10-16Cleanup, restore PEP8.Lance Stout
2010-10-17Remove deprecation warningsFlorent Le Coz
Remove all the deprecation warnings by using only boundjid. And also fix a indentation error.
2010-10-14deprecated jid, fulljid, server, user, resource properties and added ↵Nathan Fritz
boundjid JID
2010-10-07Removed debug log statement.Lance Stout
2010-10-06Made first pass at cleaning up ClientXMPP.Lance Stout
Added self.stream_ns to BaseXMPP. Moved connected/disconnected events and logging to XMLStream.
2010-10-06Made a first pass at cleaning up ComponentXMPP.Lance Stout
2010-10-01Made first pass at cleaning BaseXMPP.Lance Stout
Have not intregrated the new JID class yet.
2010-10-01Moved event functions to XMLStream.Lance Stout
This is just a transplant, modifying event to use the main event queue has not been implemented yet.
2010-10-01Moved add_handler, send, and sendXML to XMLStream.Lance Stout
2010-10-01Moved getNewId and getId to XMLStream.Lance Stout
This prepares the way for moving add_handler to XMLStream. Since stanzas, matchers, and handlers in any XML stream will typically use unique IDs, XMLStream is a good place for these methods.
2010-08-27Updated the suite of handler classes with documentation.Lance Stout
Updated XMLStream to return True or False from removeHandler to indicate if the handler existed and was removed. Waiter handlers now unregister themselves after timing out.
2010-08-05Replaced the ToString class with a tostring function.Lance Stout
The sleekxmpp.xmlstream.tostring and sleekxmpp.xmlstream.tostring26 packages have been merged to sleekxmpp.xmlstream.tostring. The __init__.py file will import the appropriate tostring function depending on the Python version. The setup.py file has been updated with the package changes. ElementBase is now a direct descendent of object and does not subclass ToString. Stanza objects now return their XML contents for __repr__.
2010-07-20Please tab nanny.Lance Stout
2010-07-20Updated license notices to use the correct MIT format. Also corrected ↵Lance Stout
references to nonexistant license.txt to LICENSE.
2010-07-19Can now pass a name to add_handler so that the handler can be reliably ↵Lance Stout
removed later. Updated uses of add_handler to include a name.
2010-07-19stanza should not have setValues/getValues because that conflicts with ↵Nathan Fritz
attribute accessors
2010-07-19Condensed all of the stanzaPlugin functions into a single ↵Lance Stout
registerStanzaPlugin function. Updated plugins and tests to use new function.
2010-06-06Modified basexmpp.event() to pass a copy of the event data to each handler.Lance Stout