summaryrefslogtreecommitdiff
path: root/sleekxmpp/plugins
AgeCommit message (Collapse)Author
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-27Merge branch 'develop' of github.com:fritzy/SleekXMPP into developLance Stout
2011-12-20XEP-0009: Updated tests to work in python 3Correl Roush
2011-12-20Add comma to fix pubsub error conditions.Lance Stout
Fixes issue #127
2011-12-20XEP-0009: Updated RPC value conversion codeCorrel Roush
Updated the XML-RPC value conversion to correctly apply namespaces, and fixed an error uncovered by the tests in the XML -> Python conversion of dateTime values.
2011-12-16Fixes Issue #123: Corrected boolean xml to python conversionCorrel Roush
2011-12-15Fixed Issue 93: ACL.check jid parameter should be a string valueCorrel Roush
2011-12-15Allow XEP-0082 to return datetime objects without having to format and reparse.Lance Stout
2011-12-13Use OrderedDicts instead of regular dictionaries when returning values from ↵Lance Stout
forms.
2011-12-13Ensure that item fields have the proper type.Lance Stout
The item fields were not setting their type based on the reported field's type attribute, so values were not being encoded properly. Fixes issue #121
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-12-09Use UTC for xep_0082.date.Lance Stout
2011-12-04Ensure that adhoc command clients have form plugin registered.Lance Stout
The form plugin was being registered on first use for providers, but not for clients receiving the form. NOTE: Use of non-form payloads will have this issue - adhoc command clients will need to have an expectation beforehand of what the command payload will be to properly load stanza plugins.
2011-11-19Tidy up logging calls.Lance Stout
2011-11-20This change stops sleekxmpp from spending huge amounts of time unnecessarily ↵Vijay Pandurangan
computing logging data that may never be used. This is a HUGE performance improvement; in some of my test runs, unnecessary string creation was accounting for > 60% of all CPU time. Note that using % in a string will _always_ perform the sting substitutions, because the strings are constructed before the function is called. So log.debug('%s' % expensiveoperation()) will take about the same CPU time whether or not the logging level is DEBUG or INFO. if you use , no substitutions are performed unless the string is actually logged
2011-10-11Update the docs for XEP-0060 publish method.Lance Stout
2011-10-10Fix MUC methods to optionally specify the sending JID.Lance Stout
Should fix issue #107
2011-10-05XEP-0009 will likely be updated to use <base64 /> instead of <Base64 />Lance Stout
Both are supported when reading, but <base64 /> will be used for output.
2011-10-04Merge branch 'develop' of github.com:fritzy/SleekXMPP into developLance Stout
2011-10-04Fix missing import statement.Lance Stout
Fixes issue #105
2011-10-03Make RPC events threadedCorrel Roush
Allows, for example, an RPC service to make remote RPC calls with its own connection without blocking its own thread waiting for the result.
2011-09-02Make get_node_config block by default.Lance Stout
2011-09-01remove ping schedule on disconnectNathan Fritz
2011-09-01Mark pubsub state stanzas as non-standard.Lance Stout
2011-09-01More stanza cleanup for pubsub.Lance Stout
2011-09-01Some more minor cleanup.Lance Stout
2011-09-01Clean up pubsub#event stanzas.Lance Stout
2011-09-01Clean up pubsub#owner stanzas.Lance Stout
2011-09-01Add support for notify attribute when retracting an item.Lance Stout
2011-09-01Add ability to get global/node default subscription options.Lance Stout
2011-09-01Clean up pubsub stanzas.Lance Stout
2011-09-01Owners can modify subscriptions/affiliations. With tests.Lance Stout
94% coverage for the main pubsub plugin! (91% including stanzas)
2011-09-01Users can retrieve their affiliations now, with tests.Lance Stout
2011-09-01Add ability for a user to get retrieve subscriptions, with tests.Lance Stout
2011-09-01Add tests for pubsub subscription options.Lance Stout
2011-09-01Add tests for retrieving pubsub items.Lance Stout
2011-08-31XEP-0060 v1.13 dictates publishing/retracting one item at a time.Lance Stout
2011-08-31Add test for purging a pubsub node.Lance Stout
2011-08-31Retract stanzas are behaving oddly when using stanza values.Lance Stout
2011-08-31Test publishng an item with options.Lance Stout
2011-08-31Test publishing a single item.Lance Stout
2011-08-31More pubsub unit tests!Lance Stout
2011-08-31Fix pubsub get_items.Lance Stout
- item_ids checked for None - pubsub node is set
2011-08-31Fix requesting pubsub node configuration, and add tests.Lance Stout
- <default /> doesn't have a type attribute in the XEP - <configure /> isn't used anymore for requesting default configuration
2011-08-31Added pubsub error stanza.Lance Stout
iq['error']['pubsub']['condition'] iq['error']['pubsub']['unsupported']
2011-08-30Merge branch 'develop' of github.com:fritzy/SleekXMPP into developLance Stout