summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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-18Update stream features stanza to work with new plugin keys.Lance Stout
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-15Bump version to 1.1.5sleek-1.1.51.1.5Lance Stout
2012-06-15Ensure that ssl_invalid_cert returns PEM formatted certifcate data.Lance Stout
2012-06-13Bump version to 1.1.4sleek-1.1.41.1.4Lance Stout
2012-06-13Prevent duplicate certificate expiration timers.Lance Stout
2012-06-13Fix loading cached disco identity data.Lance Stout
2012-06-09Bump version for 1.1.3sleek-1.1.31.1.3Lance Stout
2012-06-09Add extra check for the cert in the expiration handler.Lance Stout
2012-06-09Use False for use_tls for components.Lance Stout
A log message is shown for those who try to set it to True. Fixes issue #171
2012-06-09Default use_tls to False for components.Lance Stout
Issue #171
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-06Add 'presence' event, raised for all incoming presence stanzas.Lance Stout
2012-06-06Bump version to 1.1.2sleek-1.1.21.1.2Lance Stout
2012-06-06Don't request registration forms unless the register event is handled.Lance Stout
Some servers end the stream if registration can not be completed in-band, which means always requesting the form can prevent regular login.
2012-06-04Bump version for 1.1.1 minor release.sleek-1.1.11.1.1Lance Stout
2012-06-04Include the default, unnamed group in self.client_roster.groups()Lance Stout
2012-06-04Don't add cert expiration timer if no certs are being used.Lance Stout
2012-06-01Update version and README for 1.1sleek-1.11.1Lance Stout
2012-06-01Fix syntax error in line continuation.Lance Stout
2012-06-01Check that the session is still alive before sending data.Lance Stout
Fixes issue #168
2012-05-31Update development version number to prepare for 1.1 release.Lance Stout
2012-05-31Preemptively mark threads as exited if calling disconnect().Lance Stout
2012-05-27Handle not being able to connect using IPv6 if the host does not support it.Lance Stout
2012-05-25Fix X-FACEBOOK-PLATFORM mechanism to work with Python3.Lance Stout
2012-05-22Add 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-17Remove unused xmlstream test client.Lance Stout
It's in the repo history if we need it later.
2012-05-16Spell thirdparty correctly.Lance Stout
2012-05-16Prune unused conn_test code.Lance Stout
2012-05-15Add auth_success event.Lance Stout
The auth_success event is triggered upon successful SASL negotiation.
2012-05-14Use SASLPrepFailure as the exception name instead of UnicodeError.Lance Stout
2012-05-14Add an exception handler for SASLprep failures.Lance Stout
2012-05-14Remove extra connection info so that examples run without modification.Lance Stout
GTalk users may still need to change the connect() call if dnspython is not installed, as usual.
2012-05-14Add more documentation to the custom stanza examples.Lance Stout
2012-05-14Added custom_stanza exampleErick Pérez Castellanos
2012-05-14Add MUC events for room configuration changes.Lance Stout
New events: groupchat_config_status muc::[room JID]::config_status
2012-05-10Make 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-06Update other examples to use threaded mode for handlers that call disconnect()Lance Stout
2012-05-06Update send_client.py to call disconnect() from a threaded handler.Lance Stout
2012-05-06Windows doesn't support inet_pton.Lance Stout
2012-05-05Tidy up and add tests for multi_attrib plugins.Lance Stout
2012-05-05Merge pull request #163 from whooo/masterLance Stout
factory for recurring substanzas
2012-05-04Fix loading plugins from custom modules when passing the module itself.Lance Stout
Loading plugins from custom modules when passed as a string still works.
2012-04-30added multifactory and support for it to register_stanza_pluginErik Larsson
2012-04-30Collapse initial payload to a single stanza instead of a list if only one ↵Lance Stout
stanza is found.
2012-04-30Add full support for initial payloads with adhoc commands, plus test.Lance Stout
2012-04-30Allow providing initial payload to adhoc commands.Lance Stout
2012-04-29Add logging note about potential cause of disconnect() deadlock.Lance Stout