Age | Commit message (Collapse) | Author | |
---|---|---|---|
2012-03-07 | Modify the cert event to provide the PEM encoded cert in all cases. | Lance Stout | |
2012-02-22 | Let disconnect() wait for its lock for a few seconds. | Lance Stout | |
This should eliminate most debug statements about not being able to acquire a lock during disconnect. | |||
2012-02-19 | Fix incompatibility with clearing an element between ElementTree and ↵ | Lance Stout | |
cElementTree | |||
2012-02-19 | xml.etree.ElementTree raises ExpatError instead of SyntaxError or ParseError. | Lance Stout | |
2012-02-18 | More pyflakes cleanup. | Lance Stout | |
2012-02-17 | Make last_xml usage a little more explict. | Lance Stout | |
2012-02-17 | Fix undeclared variable usage for reconnect. | Lance Stout | |
2012-02-16 | Fix fixing remove_stanza() | Lance Stout | |
Fixes issue #146 | |||
2012-02-16 | Don't retrieve cert until a connection is made. | Lance Stout | |
2012-02-16 | Fix remove_stanza(). | Lance Stout | |
Fixes issue #146 | |||
2012-02-10 | Don't shutdown completely after handling SyntaxError. | Lance Stout | |
The ``shutdown = True`` line was preventing the stream from reconnecting after handling the error. Fixes issues #101, #145 | |||
2012-02-10 | Fix undefined variable references when DNS timeouts. | Lance Stout | |
2012-02-10 | Fix IPv6 query logging. | Lance Stout | |
2012-02-09 | Add support for querying and connecting to IPv6 addresses. | Lance Stout | |
Tested using servers provided by Florian Jensen (flosoft.biz) during the 2012 FOSDEM XMPP Summit. Fixes issue #94. | |||
2012-02-04 | Add ssl_cert event (direct). | Lance Stout | |
The payload is a dictionary of parsed cert data, as provided by Python's getpeercert() socket method. It unfortunately does not provide much detail beyond basic info. | |||
2012-02-02 | Fix typo s/is_set/is_set() | Lance Stout | |
2012-01-28 | Make socket_error run as a direct event to ensure that it is handled. | Lance Stout | |
Socket errors that occur before stream processing begins could not be handled as the event loop would not be running yet. Resolves issue #142 | |||
2012-01-18 | Revert "Remove stream feature handlers on session_start." | Lance Stout | |
This reverts commit 4274f49ada77d709b931f65e34d3a64e75b81638. The SASL mech was choking on this, so let's send it back for some more refining. | |||
2012-01-17 | Hash JIDs based on full JID string. | Lance Stout | |
This makes JID objects equivalent to strings in dictionaries, etc. >>> j = JID('foo@example.com') >>> s = 'foo@example.com' >>> d = {j: 'yay'} >>> d[j] 'yay' >>> d[s] 'yay' >>> d[s] = 'yay!!' >>> d[j] 'yay!!' | |||
2012-01-17 | Pre-parse StanzaPath paths to speed up matching. | Lance Stout | |
The parsing and namespace cleaning isn't terribly expensive, but it does add up. It was adding an extra 5sec when processing 100,000 basic message stanzas. | |||
2012-01-17 | Remove stream feature handlers on session_start. | Lance Stout | |
Based on profiling, using around 35 stream handlers quarters the number of basic message stanzas that can be processed in a second, in comparison to only using the bare minimum of four handlers. To help, we can drop handlers for stream features once the session has started. So that we can re-enable these handlers when a stream must restart, the 'stream_start' event has been added which fires whenever a stream header is received. The 'stream_start' event is a more generic replacement for the existing start_stream_handler() method. | |||
2012-01-14 | Don't serialize XML unless we need to. | Lance Stout | |
2011-12-31 | Merge branch 'develop' into develop-1.1 | Lance Stout | |
2011-12-31 | Add docs on using Iq stanzas. | Lance Stout | |
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 | Disconnect when a SyntaxError is found. | Lance Stout | |
This should resolve issue #102 | |||
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-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-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 | 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-07 | Prevent hang when terminating during delayed connection. | 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-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 | |
2011-11-19 | Use a list comprehension instead of filter() to work with Python3. | Lance Stout | |