summaryrefslogtreecommitdiff
path: root/sleekxmpp/xmlstream
AgeCommit message (Collapse)Author
2012-10-24Enable gevent support.Lance Stout
Closes issues #166 and #167 Thanks to @pvicent, @chason, and @gabriel-samfira
2012-10-18Recognize plugin stanzas when they're appended.Lance Stout
2012-10-15Prevent xmlns="" in stream output.Lance Stout
This was causing problems for HTML-IM because the HTML is parsed without a namespaced context. While xmlns="" technically can be valid, it's usually wrong, so this will work for now until the HTML-IM parsing is fixed.
2012-10-10Remove unneeded ssl_support checks.Lance Stout
2012-10-10Correct handling deleting plugins when xml:lang is active.Lance Stout
2012-10-02Unclobber connected event handler names.Lance Stout
Fixes issue #199
2012-09-30Expand warning for missing ASN1 parser to include pyasn1_modulesLance Stout
2012-09-25Add Collector stanza handler class.Lance Stout
This style of handler is necessary for capturing result sets from queries that use multiple messages to send the results instead of in a single result stanza. Notably, XEP-0313 (MAM).
2012-09-25Add support for XEP-0280 Message CarbonsLance Stout
2012-09-24Fix deleting non-existent stanza plugins.Lance Stout
2012-09-24Simplify stringifying XMLLance Stout
2012-09-18Remove race condition when aborting while connecting/reconnecting.Lance Stout
2012-09-13Don't break checking certs for localhost.Lance Stout
2012-08-23Fix certificate expiration schedulerFlorian Fieber
timedelta.seconds does not store the total seconds of a time span. Internally, seconds is the next smaller unit to days, hence timedelta.seconds will never exceed (or reach) the number of seconds in a day (60*60*24=86400)
2012-08-14Help prevent race condition dealing with auto_reconnectLance Stout
2012-08-10Add abort() method to kill the session and stop all processing without ↵Lance Stout
properly closing the stream.
2012-08-10Fix tracking service name for DIGEST-MD5Lance Stout
2012-08-07Re-add connection delay after exhausting DNS records.Lance Stout
2012-08-04Ensure self._der_cert exists even if no certs are used.Lance Stout
2012-08-04Prevent auto_reconnect interference when disconnecting.Lance Stout
2012-07-30Add fields for setting client cert and key for SASL EXTERNAL.Lance Stout
2012-07-29Don't wait to retry connection if out of DNS records.Lance Stout
2012-07-27Allow tasks to remove themselves during executionJonas Wielicki
The scheduler class is now capable with dealing with tasks which remove themselves from the scheduler during execution. Additionally, some optimizations were applied by use of iterators and some functions better suited for the purpose. Please peer-review, all tests pass.
2012-07-25Fix initializing plugins in stanzas with a language set.Lance Stout
2012-07-24Add 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-24Standardize importing of queue class.Lance Stout
This will make it easier to enable gevent support.
2012-07-24Add backwards compatibility shim for the old jid.py location.Lance Stout
2012-07-24Add validation for JIDs.Lance Stout
2012-07-19Fix 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-16Add a warning log if dnspython is not found for SRV lookup.Lance Stout
Closes issue #183
2012-07-10Add method to remove a filter.Lance Stout
2012-07-09Prevent None from being added to the schedule from a timing issue.Lance Stout
2012-07-05only log cert errors if not handled by userJay Farrimond
2012-06-22Resolve xml:lang issue with duplicated elements depending on ordering.Lance Stout
2012-06-20Fix issue with setting subelements values with default langs.Lance Stout
2012-06-20Fix setting IPv6 default configuration option.Lance Stout
2012-06-20Make the use of IPv6 configurable.Lance Stout
Set self.use_ipv6 = False before connecting. Fixes issue #175
2012-06-19Allow message and presence stanzas to be embedded as substanzas.Lance Stout
2012-06-19Remove usage of deprecated getchildren() method.Lance Stout
2012-06-19PEP8 formatting updates.Lance Stout
2012-06-19Properly handle certs with no extensions.Lance Stout
2012-06-18Enable 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-18Add initial support for xml:lang for streams and stanza plugins.Lance Stout
Remaining items are suitable default actions for language supporting interfaces.
2012-06-15Ensure that ssl_invalid_cert returns PEM formatted certifcate data.Lance Stout
2012-06-13Prevent duplicate certificate expiration timers.Lance Stout
2012-06-09Add extra check for the cert in the expiration handler.Lance Stout
2012-06-09Fix SSL handshake handling when not using legacy SSL.Lance Stout
Fixes issue #172
2012-06-09Ensure 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-04Don't add cert expiration timer if no certs are being used.Lance Stout
2012-06-01Fix syntax error in line continuation.Lance Stout