Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-08-26 | Remove a block of compatibility code | mathieui | |
even if the user makes that mistake, it does not cause problems down the line. | |||
2019-07-13 | Make generated stanza id truly random | Maxime “pep” Buquet | |
Fix long-standing security issues where stanza @id be predictable. Signed-off-by: Maxime “pep” Buquet <pep@bouah.net> | |||
2019-07-03 | xmlstream.disconnect: add compat behaviour, set wait to default `2.0` when ↵ | Maxime “pep” Buquet | |
True is passed. Update documentation Signed-off-by: Maxime “pep” Buquet <pep@bouah.net> | |||
2019-04-24 | xmlstream.disconnect: fix frenchism in docstring | Maxime “pep” Buquet | |
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net> | |||
2019-04-24 | xmlstream.disconnect: typing hints | Maxime “pep” Buquet | |
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net> | |||
2019-03-26 | mark end-of-stream as session-ending event | Georg Lukas | |
2019-03-26 | Do not directly enqueue connect() as event handler, parameter mismatch | Georg Lukas | |
2019-03-26 | Do not close stream on 0-timeout disconnect, allows 0198 resume | Georg Lukas | |
2019-03-26 | Propagate disconnect() reason into 'disconnected' event | Georg Lukas | |
2019-02-22 | Fix slixmpp.ClientXMPP.cancel_connection_attempt() | ehendrix23 | |
2018-10-15 | fixing deprecation warnings for pytest | Florian Klien | |
2018-10-09 | Add the loop parameters at places where it has been forgotten | mathieui | |
2018-08-08 | Fix compatibility with python 3.5 and 3.6 | mathieui | |
which do not have loop.start_tls and require the old ssl implementation. | |||
2018-08-07 | Fix TLS with python 3.7 | mathieui | |
Use the "new" sslproto API instead of the deprecated TLS API. Also remove the unused "socket" parameter in XMLStream.__init__. | |||
2018-07-01 | Switch from @asyncio.coroutine to async def everywhere. | Emmanuel Gil Peyrot | |
2018-02-11 | asyncio.async has been scheduled for removal for a long time now | mathieui | |
move to asyncio.ensure_future | |||
2018-01-10 | Fix typos, thanks `codespell`! | Emmanuel Gil Peyrot | |
2017-11-23 | Record the current connection attempt in a future and allow cancellation | mathieui | |
It does not make sense to have competing connection attempts, as the XMLStream class is not designed for this. On slow and unpredictable networks, it means we could have two c2s connections opened, leading to mayhem. | |||
2017-07-17 | xmlstream: Remove pygments dumping. | Emmanuel Gil Peyrot | |
It’s slow and makes the debug logs difficult to parse. | |||
2017-05-24 | always define ssl_context | Mathias Ertl | |
2017-05-24 | pass SSL context to TLS connections | Mathias Ertl | |
2017-05-24 | add function to explicitly get the ssl context | Mathias Ertl | |
2017-05-16 | Merge remote-tracking branch 'samwhited/sslsocket_workaround' | louiz’ | |
2017-05-08 | Fixes port being set to 0 when connecting via hostname. | Tom Wambold | |
This seems to be the same issue as: https://dev.louiz.org/issues/3164 Using their suggested fix, if the DNS lookup doesn't return a port, use the one passed in instead. | |||
2017-02-16 | xmlstream: Warn when the parser is None when data is received. | Emmanuel Gil Peyrot | |
2016-12-29 | Check for XML parsing errors and disconnect in that case.WIP | Emmanuel Gil Peyrot | |
2016-12-29 | XMLStream: Break a long line to make it more readable. | Emmanuel Gil Peyrot | |
2016-10-06 | Fix fetching the SSL socket for Python 3.4 and 3.5 | Sam Whited | |
2016-10-05 | Remove monkeypatching hack on the event loop | mathieui | |
This allowed us to schedule events in-order later in the event loop, but was detrimental to using other event loops and debugging. | |||
2016-09-30 | Fix #3226 (unicity of scheduled event names) | mathieui | |
Thanks tchiroux for raising the issue and providing the fix as well. | |||
2016-09-30 | Minor documentation fixes | Sam Whited | |
2016-08-12 | Provide domain name to loop.create_connection if using SSL. | Gasper Zejn | |
2015-09-25 | Reset the DNS answers after a connection is made succesfully | mathieui | |
2015-09-19 | Fix connecting to a custom host/port | mathieui | |
2015-09-14 | (Temporary) fix for python 3.5 | mathieui | |
This will work until the old ssl implementation is finally deprecated. Hopefully, new features to painlessy implement starttls will be around by then. | |||
2015-08-08 | Reset the connect future after a disconnect | mathieui | |
2015-07-21 | Add a waiting time before reconnecting automatically | mathieui | |
Punishing a server for being down by sending more traffic is not a nice thing to do. Taking 100% of the CPU is not nice either. | |||
2015-05-12 | Allow the use of a custom loop instead of asyncio.get_event_loop() | mathieui | |
2015-05-06 | Make syntax highlighting for XML lazy, to only call pygments when debug logs ↵ | Emmanuel Gil Peyrot | |
are enabled. Makes poezio about 11% faster when sending/receiving messages. | |||
2015-04-04 | XMLStream: add a forever parameter to process(), defaulting to True, to ↵ | Emmanuel Gil Peyrot | |
select whether we want to stop the event loop after a disconnection | |||
2015-03-02 | XMLStream: factorize the highlight function so it can be used in tests as well | Emmanuel Gil Peyrot | |
2015-02-28 | Set XMLStream.socket after the SSL connection is made too | mathieui | |
Fixes SCRAM-SHA-1-PLUS. | |||
2015-02-23 | Add back stanza-specific exception handlers | mathieui | |
(fixes the test suite too) | |||
2015-02-22 | Use CallbackCoroutine with Iq callbacks too | mathieui | |
2015-02-22 | Allow event handlers to be coroutine functions | mathieui | |
And do not copy data when running events with XMLStream.event() | |||
2015-02-17 | Check that ciphers have been initialized | mathieui | |
(if not, python will use the system default) | |||
2015-02-04 | XMLStream must provide the BaseProtocol interface | Florent Le Coz | |
2015-01-03 | Do not copy the stanza before calling each handlerexp_idle_call | Florent Le Coz | |
2015-01-03 | Delay the handling of stanza for when the process is not busy | Florent Le Coz | |
We use some dirty monkey-patching to add a idle_call() function to the asyncio module. We then use that method to handle each received stanza only when the event loop is not busy with some other IO (mainly, the standard input) | |||
2014-12-17 | Make the ca_certs option useful again (CA-based cert validation) | mathieui | |
It was broken since the fork. |