summaryrefslogtreecommitdiff
path: root/sleekxmpp/plugins/xep_0030.py
AgeCommit message (Collapse)Author
2010-07-20Updated license notices to use the correct MIT format. Also corrected ↵Lance Stout
references to nonexistant license.txt to LICENSE.
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-27Fixed typoLance Stout
2010-06-02Return result of iq.send() for disco requests. Events are still triggered, ↵Lance Stout
but now the caller can determine if there was a timeout.
2010-06-01Added additional parameter to xep_0030's getInfo and getItems methods.Lance stout
By using dfrom, a server component may send disco requests using any of its JIDS.
2010-05-31Make sure that the node is alway set in disco responses.Lance stout
2010-05-31Touched up the style of creating an Iq stanza.Lance stout
2010-05-31Updated the XEP-0030 plugin to work with stanza objects instead of ↵Lance Stout
manipulating XML directly. Four new events have been added: disco_info - A disco#info result has been received disco_info_request - A disco#info request has been received disco_items - A disco#items result has been received disco_items_request - A disco#items request has been received For disco_info_request and disco_items_request two default handlers are registered. These handlers will only run if they are the only handler for these two events so that multiple responses are not returned and cause errors. In your own handlers for these two events, you can call the default handlers to preserve the static node behaviour as so: self.plugin['xep_0030'].handle_disco_info(iq, True) The forwarded=True will disable the check for other registered handlers. Agents can now dynamically respond to disco requests by using these events. (cherry picked from commit 0fc3381492a8bd75e6a9858539a972334881d8ff)
2010-04-07replaced usage of deprecated iq result on send. Fixed old send result to use ↵Nathan Fritz
stanzas instead of ElementTree
2010-01-15xep 30 and 50 always reply from jid iq sent toNathan Fritz
2009-09-01* fixed some python3 transition bugsNathan Fritz
* added status options to muc joining
2009-08-31* converted sleekxmpp to Python 3.xNathan Fritz
* sleekxmpp no longer spawns threads for callback handlers -- there are now two threads: one for handlers and one for reading. callback handlers can get results from the read queue directly with the "wait" handler which is used in .send() for the reply catching argument.
2009-06-03moved seesmic branch to trunkNathan Fritz