Age | Commit message (Collapse) | Author | |
---|---|---|---|
2012-07-25 | Fix initializing plugins in stanzas with a language set. | Lance Stout | |
2012-07-24 | Add support for using CDATA for escaping. | Lance Stout | |
CDATA escaping is disabled by default, but may be enabled by setting: self.use_cdata = True Closes issue #114 | |||
2012-07-24 | Standardize importing of queue class. | Lance Stout | |
This will make it easier to enable gevent support. | |||
2012-07-24 | Add backwards compatibility shim for the old jid.py location. | Lance Stout | |
2012-07-24 | Add validation for JIDs. | Lance Stout | |
2012-07-19 | Fix issue of roster data being split across multiple rosters. | Lance Stout | |
Resolved by always normalizing JIDs to bare form, regardless of if they are JID objects or strings. Also simplified related code to prefer use of JID objects instead of strings so they don't need to be parsed multiple times. | |||
2012-07-16 | Add a warning log if dnspython is not found for SRV lookup. | Lance Stout | |
Closes issue #183 | |||
2012-07-10 | Add method to remove a filter. | Lance Stout | |
2012-07-09 | Prevent None from being added to the schedule from a timing issue. | Lance Stout | |
2012-07-05 | only log cert errors if not handled by user | Jay Farrimond | |
2012-06-22 | Resolve xml:lang issue with duplicated elements depending on ordering. | Lance Stout | |
2012-06-20 | Fix issue with setting subelements values with default langs. | Lance Stout | |
2012-06-20 | Fix setting IPv6 default configuration option. | Lance Stout | |
2012-06-20 | Make the use of IPv6 configurable. | Lance Stout | |
Set self.use_ipv6 = False before connecting. Fixes issue #175 | |||
2012-06-19 | Allow message and presence stanzas to be embedded as substanzas. | Lance Stout | |
2012-06-19 | Remove usage of deprecated getchildren() method. | Lance Stout | |
2012-06-19 | PEP8 formatting updates. | Lance Stout | |
2012-06-19 | Properly handle certs with no extensions. | Lance Stout | |
2012-06-18 | Enable using xml:lang with normal interfaces. | Lance Stout | |
Using the special language value '*' will return a dictionary of all such elements keyed by language. >>> msg = Message() >>> msg['body'] = 'Hi!' >>> msg['body|sv'] = 'Hej!' >>> print(msg) '<message xmlns="jabber:client"> <body>Hi!</body> <body xml:lang="sv">Hej!</body> </message>' >>> print(msg['body|*']) OrderedDict( ('', 'Hi!'), ('sv', 'Hej!')) Remaining items: - Stanza path matching does not support language specifiers for normal interfaces, only for plugins. | |||
2012-06-18 | Add initial support for xml:lang for streams and stanza plugins. | Lance Stout | |
Remaining items are suitable default actions for language supporting interfaces. | |||
2012-06-15 | Ensure that ssl_invalid_cert returns PEM formatted certifcate data. | Lance Stout | |
2012-06-13 | Prevent duplicate certificate expiration timers. | Lance Stout | |
2012-06-09 | Add extra check for the cert in the expiration handler. | Lance Stout | |
2012-06-09 | Fix SSL handshake handling when not using legacy SSL. | Lance Stout | |
Fixes issue #172 | |||
2012-06-09 | Ensure that all SSL cert error handling is overridable using event handlers. | Lance Stout | |
Relevant events: ssl_invalid_cert ssl_invalid_chain ssl_expired_cert | |||
2012-06-04 | Don't add cert expiration timer if no certs are being used. | Lance Stout | |
2012-06-01 | Fix syntax error in line continuation. | Lance Stout | |
2012-06-01 | Check that the session is still alive before sending data. | Lance Stout | |
Fixes issue #168 | |||
2012-05-31 | Preemptively mark threads as exited if calling disconnect(). | Lance Stout | |
2012-05-27 | Handle not being able to connect using IPv6 if the host does not support it. | Lance Stout | |
2012-05-22 | Add better certificate handling. | Lance Stout | |
Certificate host names are now matched (using DNS, SRV, XMPPAddr, and Common Name), along with expiration check. Scheduled event to reset the stream once the server's cert expires. Handle invalid cert trust chains gracefully now. | |||
2012-05-17 | Remove unused xmlstream test client. | Lance Stout | |
It's in the repo history if we need it later. | |||
2012-05-10 | Make the error message better regarding hanged threads. | Lance Stout | |
All event handlers which call disconnect() MUST be registered using `add_event_handler(..., threaded=True)` in order to prevent temporarily deadlocking until a timeout occurs. This is required because disconnect() waits for the main threads to exit before returning, including the event processing thread. Since handlers registered without `threaded=True` run in the event processing thread, the disconnect() call will deadlock. | |||
2012-05-06 | Windows doesn't support inet_pton. | Lance Stout | |
2012-05-05 | Tidy up and add tests for multi_attrib plugins. | Lance Stout | |
2012-04-30 | added multifactory and support for it to register_stanza_plugin | Erik Larsson | |
2012-04-29 | Add logging note about potential cause of disconnect() deadlock. | Lance Stout | |
2012-04-29 | Set a timeout when waiting for threads. | Lance Stout | |
If calling disconnect() from a non-threaded event handler, deadlock can happen as disconnect() is waiting for threads to close, but the event runner is blocked by a handler waiting for disconnect() to return. It is best to specify threaded=True for event handlers which may call disconnect(). | |||
2012-04-25 | Use provided stanza ID. | Lance Stout | |
2012-04-24 | Ensure that SSL errors are handled in Py3.3 | Lance Stout | |
2012-04-22 | Track threads to ensure all have exited when disconnecting. | Lance Stout | |
2012-04-21 | Count and track the main threads, so we can delay disconnecting until all ↵ | Lance Stout | |
have quit. | |||
2012-04-20 | Add _use_daemons flag to XMLStream to run all threads in daemon mode. | Lance Stout | |
This WILL make the Python interpreter produce exceptions on shutdown. | |||
2012-04-14 | Handle using provided weakrefs as stanza parent references. | Lance Stout | |
Fixes issue #159 | |||
2012-04-13 | Check for the stop event more aggressively in the send thread. | Lance Stout | |
2012-04-10 | Fix DNS resolution results for IP literals. | Lance Stout | |
2012-04-08 | Add a prefix to stanza ID values to ensure that they are unique per client. | Lance Stout | |
2012-04-06 | Correct the statemachine's ensure_any method. | Lance Stout | |
It had not been updated to use the new condition instead of the old threading event. | |||
2012-04-06 | Add default mapping of localhost to ::1 and 127.0.0.1 | Lance Stout | |
2012-04-01 | Display IPv6 literal addresses in brackets. | Lance Stout | |