summaryrefslogtreecommitdiff
path: root/sleekxmpp
AgeCommit message (Collapse)Author
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-16Raise the event 'socket_error' when a socket error occurs.Lance Stout
Will be most useful for debugging and responding to failed connection attempts.
2011-01-15Make it easier to import OrderedDictLance Stout
2011-01-15Fix how disco plugin looks up info and items for clients.Lance Stout
2011-01-14Add a note for debug statement when running scheduled events.Lance Stout
Fixes the intermittent DEBUG ((),) messages that give no explanation. Will now show as: DEBUG Scheduled event: ((), )
2011-01-13Fix bug in JID class. Attribute .jid now works properly.Lance Stout
2011-01-13Merge branch 'develop' of github.com:fritzy/SleekXMPP into developLance Stout
2011-01-12Fix setup.py and old_0004.py typo bugs.Lance Stout
2011-01-12Fix ordering error in Iq._set_stanza_values.Lance Stout
If iq['query'] was set before a plugin that used the query element was set, then the query element was duplicated.
2011-01-11added plugin for xep-0249Te-je Rodgers
2011-01-09Need to run post_init properly.Lance Stout
2011-01-08Update the XEP-0092 plugin to the new style.Lance Stout
2011-01-09Allow XEP 0092 to send os informationFlorent Le Coz
Doesn't send these information by default, only if provided in the config dict (as the 'os' key)
2011-01-08Add support for XEP-0059 to XEP-0030 plugin.Lance Stout
2011-01-08Added new XEP-0059 plugin.Lance Stout
Contributed by Erik Reuterborg Larsson (who).
2011-01-07Add reattempt to ClientXMPP.connectLance Stout
2011-01-05Allow JID objects to be compared with strings.Lance Stout
Two JIDs match if they have the same full JID value.
2011-01-04More clarification in docs for XEP-0030 plugin.Lance Stout
2011-01-04Clarify docs for disco.get_info.Lance 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-28Make the new XEP-30 plugin retain older API signatures.Lance Stout
2010-12-21Added ordereddict implementation to thirdparty.Lance Stout
See http://pypi.python.org/pypi/ordereddict and http://code.activestate.com/recipes/576693/.
2010-12-21More documentation for XEP-0030 plugin.Lance Stout
2010-12-17Make tests pass for catching exceptions.Lance Stout
May now use sys.excepthook to catch exceptions from threaded handlers.
2010-12-17Merge branch 'develop' of github.com:fritzy/SleekXMPP into developLance Stout
2010-12-17RootStanza raises unexpected exceptionsFlorent Le Coz
We now raise the unexpected exceptions instead of sending them on the network. - avoids flood (sending a traceback on a MUC, for example…) and maybe some security issues. - lets you handle the traceback (catch it to handle it properly, or with except_hook, etc) - an exception cannot be raised without you knowing
2010-12-16Almost done with xep-30; added more docs.Lance Stout
2010-12-16Use daemon threads instead of signals.Lance Stout
Daemonized threads exit once the main program has quit, and the only threads left running are all daemon threads. Should fix hanging clients while not trampling over anyone else's signal handlers.
2010-12-16Updated the list of plugins in sleekxmpp.plugins.__init__Lance Stout
2010-12-16Fixed specifying 'from' values in XEP-0045 plugin.Lance Stout
Methods now accept either an ifrom or mfrom parameter to specify a 'from' value. Client connections should not need to use these, but component connections must use them.
2010-12-16Added support for using SSL CA certificates.Lance Stout
Originally provided by Brian Beggs (macdiesel) and Thom Nichols (tomstrummer).
2010-12-16Added MUC invite handler to XEP-0045 plugin.Lance Stout
Originally contributed by damium/romeira, with some modifications. Also, converted tabs to spaces to prepare for future cleanup.
2010-12-16Use boundjid in plugins instead of the deprecated accessors.Lance Stout
Originally contributed by skinkie, with a few modifications.
2010-12-16Some Python 3.1+ compatibility fixes.Lance Stout
Originally contributed by filipegiusti.
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-15Implement a few more static node handlers.Lance Stout
2010-12-15And some more docs.Lance Stout
2010-12-15The documentation effort continues.Lance Stout
Also, need to start working on a replacement for the XEP-30 page in the wiki since the API has changed significantly.
2010-12-13Update some docs.Lance Stout
2010-12-09First pass at a new XEP-0030 plugin.Lance Stout
Now with dynamic node handling goodness. Some things are not quite working yet, in particular: set_items set_info set_identities set_features And still need more unit tests to round things out.
2010-12-07Add support for using xml:lang values.Lance Stout
Support is only for adding literal XML content to stanzas. Full support for things like multiple message bodies with different xml:lang values is still in the works.
2010-12-07Fix several errors in SleekTest.Lance Stout
Notably, not sending an expected stanza will not silently pass.
2010-12-07Actually make the Iq callbacks work for real.Lance Stout
2010-12-07Added option for iq.send to accept a callhandler.Lance Stout
The callback will be a stream level handler, and will not execute in its own thread. If you must have a thread, have the callback function raise a custom event, which can be processed by another event handler, which may run in an individual thread, like so: def handle_reply(self, iq): self.event('custom_event', iq) def do_long_operation_in_thread(self, iq): ... self.add_event_handler('custom_event', self.do_long_operation_in_thread) ...take out already prepared iq stanza... iq.send(callback=self.handle_reply)
2010-11-18Fixed typoLance Stout
2010-11-18Adding stream tests for XEP-0030.Lance Stout
Fixed some errors when responding to disco requests.
2010-11-18XEP-0030 bug fixes.Lance Stout
2010-11-18Add rename_node method to disco plugin.Lance Stout