Age | Commit message (Collapse) | Author | |
---|---|---|---|
2011-12-30 | Automatically use local disco based on the JID. | Lance Stout | |
2011-12-30 | Be more lenient on required arguments to disco node handlers. | Lance Stout | |
2011-12-30 | Make the disco logs nicer. | Lance Stout | |
2011-12-30 | Fix docstring of a method of Message stanzas. | Rodolfo Carvalho | |
2011-12-28 | Add set_info disco handler. | Lance Stout | |
2011-12-28 | Fix caching for clients. | Lance Stout | |
2011-12-28 | Add 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-28 | Ensure that stanza plugins work as expected if the XML is appended. | Lance Stout | |
2011-12-27 | Merge branch 'develop' into develop-1.1 | Lance Stout | |
2011-12-27 | Merge branch 'develop' of github.com:fritzy/SleekXMPP into develop | Lance Stout | |
2011-12-27 | Disconnect when a SyntaxError is found. | Lance Stout | |
This should resolve issue #102 | |||
2011-12-20 | XEP-0009: Updated tests to work in python 3 | Correl Roush | |
2011-12-20 | Add comma to fix pubsub error conditions. | Lance Stout | |
Fixes issue #127 | |||
2011-12-20 | XEP-0009: Updated RPC value conversion code | Correl 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-16 | Fixes Issue #123: Corrected boolean xml to python conversion | Correl Roush | |
2011-12-15 | Fixed Issue 93: ACL.check jid parameter should be a string value | Correl Roush | |
2011-12-15 | Allow XEP-0082 to return datetime objects without having to format and reparse. | Lance Stout | |
2011-12-14 | Log 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-13 | Merge branch 'develop' into develop-1.1 | Lance Stout | |
2011-12-13 | Use OrderedDicts instead of regular dictionaries when returning values from ↵ | Lance Stout | |
forms. | |||
2011-12-13 | Ensure 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-12 | Add parameter docs for add_filter. | Lance Stout | |
2011-12-12 | Add 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-12 | Allow 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-12 | Pass the Iq stanza to disco item handlers. | Lance Stout | |
2011-12-11 | Fix 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-09 | Use UTC for xep_0082.date. | Lance Stout | |
2011-12-09 | Allow 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-09 | Fix logging when loading plugins. | Lance Stout | |
2011-12-07 | Prevent hang when terminating during delayed connection. | Lance Stout | |
2011-12-05 | Updated last bit of core files to use new API format. | Lance Stout | |
2011-12-05 | More doc updates | Lance Stout | |
2011-12-04 | Update the API docs for XMLStream | Lance Stout | |
2011-12-04 | Add API docs for the scheduler | Lance Stout | |
2011-12-04 | Update api docs for handlers and matchers | Lance Stout | |
2011-12-04 | Update api docs for JID | Lance Stout | |
2011-12-04 | Ensure 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-28 | Ensure that saving a roster item includes the correct subscription value. | Lance Stout | |
Fixes issue #118 | |||
2011-11-25 | Send the encoded data (bytes) and not the str, on the socket. | Florent Le Coz | |
2011-11-23 | Experimental support for handling SSL write errors. | Lance Stout | |
2011-11-22 | Add docs for filesocket | Lance Stout | |
2011-11-22 | Update tostring docs, plus more doc cleanup | Lance Stout | |
2011-11-22 | Update docs for tostring | Lance Stout | |
2011-11-21 | Add more stanzabase docs | Lance Stout | |
2011-11-21 | Update stanzabase docs | Lance Stout | |
2011-11-20 | Ensure that reconnection happens properly after connection loss. | Lance Stout | |
Calling reconnect() simultaneously from multiple threads (like when using XEP-0199 keepalive) could break because the connection state can transition and break the state expectations in one of the reconnect() calls. | |||
2011-11-20 | Convert daemon threads back into normal threads. | Lance Stout | |
This may need to be reverted if CTRL-C handling breaks, but everything works fine so far in testing. Resolves issue #95. | |||
2011-11-19 | Tidy up logging some more | Lance Stout | |
2011-11-19 | Fix logging exceptions from formatting issues. | Lance Stout | |
2011-11-19 | Pass generic connection errors to XMLStream.exception() | Lance Stout | |