summaryrefslogtreecommitdiff
path: root/sleekxmpp/plugins/xep_0030/disco.py
AgeCommit message (Collapse)Author
2012-04-08Ensure that wrapped disco results retain requesting iq id.Lance Stout
2012-04-06Simplify registering API handler defaults.Lance Stout
2012-04-06Begin experiment with a centralized API callback registry.Lance Stout
The API registry generalizes the node handler system from the xep_0030 plugin so that other plugins can use it.
2012-03-12Tidy up disco plugin.Lance Stout
2012-03-12Moving backwards compatibility shims to __init__ files.Lance Stout
2012-03-12Update XEP-0030 and XEP-0059 to new system.Lance Stout
2012-02-18Fix instances of using undefined variables.Lance Stout
2012-01-14Fix xep_0030 reference warning.Lance Stout
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*
2011-12-30Add 'supports' and 'has_identity' node handlers.Lance Stout
2011-12-30Automatically use local disco based on the JID.Lance Stout
2011-12-30Be more lenient on required arguments to disco node handlers.Lance Stout
2011-12-30Make the disco logs nicer.Lance Stout
2011-12-28Add set_info disco handler.Lance Stout
2011-12-28Fix caching for clients.Lance Stout
2011-12-28Add caching support to xep_0030.Lance Stout
New plugin configuration options: use_cache - Enable caching disco info results. Defaults to True wrap_results - Always return disco results in an Iq stanza. Defaults to False Node handler changes: Handlers now take four arguments: jid, node, ifrom, data Most older style handlers will still work, depending on if they raise a TypeError for incorrect number of arguments. Handlers that used *args may not work. New get_info options: cached - Passing cached=True to get_info() will attempt to load results from the cache. If nothing is found, a query will be sent as normal. If set to False, the cache will be skipped, even if it contains results. New method: supports() - Given a JID/node pair and a feature, return True if the feature is supported, False if not, and None if there was a timeout. By default, the search will use the cache.
2011-12-12Allow disco info/items handlers to return full Iq stanzas.Lance Stout
Only allowing handlers to return a DiscoInfo/DiscoItem stanza works for the majority of cases, but does not allow for the addition of an RSM stanza, or other extensions. An Iq stanza returned by a handler must already be configured as a reply.
2011-12-12Pass the Iq stanza to disco item handlers.Lance Stout
2011-11-19Tidy up logging calls.Lance Stout
2011-03-22Updated XEP-0128 plugin to work with the new XEP-0030 plugin.Lance Stout
Required fixing a few bugs in StanzaBase related to iterable substanzas.
2011-02-24Remove the occasional warning about XEP-0059 not loaded.Lance Stout
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-09Fix same error for get_info default behaviour.Lance Stout
2011-02-09Fix get_items default behaviour.Lance Stout
2011-01-19Fix disco add_item.Lance Stout
If no JID is specified for the item, use xmpp.boundjid.full.
2011-01-19Fix error in disco add_item.Lance Stout
None values were not being treated properly.
2011-01-15Fix how disco plugin looks up info and items for clients.Lance Stout
2011-01-09Need to run post_init properly.Lance Stout
2011-01-08Add support for XEP-0059 to XEP-0030 plugin.Lance Stout
2011-01-04More clarification in docs for XEP-0030 plugin.Lance Stout
2011-01-04Clarify docs for disco.get_info.Lance Stout
2010-12-28Make the new XEP-30 plugin retain older API signatures.Lance Stout
2010-12-21More documentation for XEP-0030 plugin.Lance Stout
2010-12-16Almost done with xep-30; added more docs.Lance Stout
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.