summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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-30Update examples to use the block'' argument instead of the deprecated ↵Rodolfo Carvalho
threaded''.
2011-12-30Fix docstring of a method of Message stanzas.Rodolfo Carvalho
2011-12-30Replace pydns with dnspython in the comments of the examples.Rodolfo Carvalho
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-28Ensure that stanza plugins work as expected if the XML is appended.Lance Stout
2011-12-27Merge branch 'develop-1.1' of github.com:fritzy/SleekXMPP into develop-1.1Lance Stout
2011-12-27Merge branch 'develop' into develop-1.1Lance Stout
2011-12-27Merge branch 'develop' of github.com:fritzy/SleekXMPP into developLance Stout
2011-12-27Merge pull request #128 from correl/rpc_value_conversion_fixLance Stout
XEP-0009 tests updated for Python3
2011-12-27Disconnect when a SyntaxError is found.Lance Stout
This should resolve issue #102
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-20Merge pull request #125 from correl/rpc_value_conversion_fixLance Stout
XEP-0009 XML-RPC value conversion fixes and unit tests
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-20XEP-0009: Added value conversion unit testsCorrel Roush
Added tests for bidirectional conversion of all XML-RPC data types
2011-12-16Fixes Issue #123: Corrected boolean xml to python conversionCorrel Roush
2011-12-15Merge pull request #122 from correl/acl_check_fixLance Stout
XEP-0009: ACL.check fix
2011-12-15Fixed Issue 93: ACL.check jid parameter should be a string valueCorrel Roush
2011-12-15Merge branch 'develop-1.1' of github.com:fritzy/SleekXMPP into develop-1.1Lance Stout
2011-12-15Merge branch 'develop' into develop-1.1Lance Stout
2011-12-15Allow XEP-0082 to return datetime objects without having to format and reparse.Lance Stout
2011-12-14Log received data AFTER filtering.Lance Stout
This allows applications to filter out sensitive information, such as passwords, so that it won't appear in the logs. It does mean that the debug logs will not show the actual received data, and there will be no indication of tampering, unless the filter author explicitly logs and notes that a change was made.
2011-12-13Add tests for filters.Lance Stout
2011-12-13Merge branch 'develop' into develop-1.1Lance 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-12Add parameter docs for add_filter.Lance Stout
2011-12-12Add support for incoming/outgoing filters.Lance Stout
A filter accepts and returns a stanza, but potentially modified. To prevent sending/receiving a stanza, a filter may return None. Incoming: self.add_filter('in', in_filter) Outgoing: self.add_filter('out', out_filter) Filters are applied in the order thay are added. However, you may add an order parameter, which is the place in the list to insert the filter: self.add_filter('in', in_filter, order=0)
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-11Fix iterable substanzas when added as normal plugin.Lance Stout
If an iterable plugin was an enabled, it wasn't added to the iterables list.
2011-12-09Use UTC for xep_0082.date.Lance Stout
2011-12-09Allow sending stanzas on session_end.Lance Stout
May set self.disconnect_wait=True so that all disconnect calls wait for the send queue to empty, unless explicitly overridden with wait=False. The session_end now fires before closing the socket so that final stanzas may be sent, such as unavailable presences for components.
2011-12-09Fix logging when loading plugins.Lance Stout
2011-12-07Prevent hang when terminating during delayed connection.Lance Stout
2011-12-05Updated last bit of core files to use new API format.Lance Stout
2011-12-05Fix example boilerplate code syntax.Lance Stout
2011-12-05More doc updatesLance Stout
2011-12-04Update the API docs for XMLStreamLance Stout
2011-12-04Add API docs for the schedulerLance Stout
2011-12-04Update api docs for handlers and matchersLance Stout