summaryrefslogtreecommitdiff
path: root/sleekxmpp/plugins
AgeCommit message (Collapse)Author
2012-02-03Fix infinite callback loop.Lance Stout
2012-02-03Merge remote-tracking branch 'whooo/master' into developLance Stout
2012-02-03Added fritzy to the copyright for xep_0184Erik Larsson
2012-02-02Fix data stanza based on test results.Lance Stout
2012-02-02Initial, mostly working XEP-0047 plugin.Lance Stout
This is inspired by the version from macdiesel and tomstrummer, but their version was heavily linked with XEP-0096 and focused solely on file transfer. This version is a more generic implementation.
2012-02-02Added plugin for XEP-0184Erik Larsson
2012-01-19Add basic start for a client side XEP-0077 plugin.Lance Stout
2012-01-18Fix detecting end of result set paging.Lance Stout
2012-01-15Tidy up and update the plugin __init__ file.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*
2012-01-05Merge branch 'develop-1.1' into developLance Stout
2012-01-02Merge pull request #132 from rhcarvalho/masterLance Stout
Fix a typo in several files.
2012-01-02Fix a typo in several files.Rodolfo Carvalho
This fixes several instances of "intial" for "initial".
2011-12-31Fix handing caps in Python3, allow update_caps() call before process()Lance Stout
2011-12-31Fix a few holes in caps.Lance Stout
Protip: Don't test using a custom disco handler that always returns the same feature set :p
2011-12-30Enable caps stream feature.Lance Stout
2011-12-30Add XEP-0115 plugin.Lance Stout
Finally
2011-12-30Add option to disable condensing and converting form values.Lance Stout
XEP-0115 needs to use the raw XML character data.
2011-12-30Add option for disabling identity and feature deduplication.Lance Stout
XEP-0115 requires detecting duplicates, so we can't always silently ignore them.
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-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