summaryrefslogtreecommitdiff
path: root/slixmpp
AgeCommit message (Collapse)Author
2018-08-12Release slixmpp 1.4.0slix-1.4.0mathieui
2018-08-08Fix compatibility with python 3.5 and 3.6mathieui
which do not have loop.start_tls and require the old ssl implementation.
2018-08-08xep_0092: Return <service-unavailable/> instead. Fixes #3415.Emmanuel Gil Peyrot
2018-08-08xep_0092: Send a <forbidden/> error if we don’t want to send our version. ↵Emmanuel Gil Peyrot
(thanks lovetox!)
2018-08-07features/starttls: handle the case where the socket is an sslobjectmathieui
Thanks pep.
2018-08-07Fix TLS with python 3.7mathieui
Use the "new" sslproto API instead of the deprecated TLS API. Also remove the unused "socket" parameter in XMLStream.__init__.
2018-08-07xep-0054: XMPP clients should not reply to vcard "get" requestsmathieui
2018-07-29XEP-0323: Display the requested time in addition to the current time on error.Emmanuel Gil Peyrot
2018-07-24XEP-0009: Fix invalid function name under Python 3.7.Emmanuel Gil Peyrot
2018-07-22Merge branch 'factor_find_identities' into 'master'Link Mauve
Factor find identities See merge request poezio/slixmpp!2
2018-07-02Fix missing async def in function.Emmanuel Gil Peyrot
2018-07-01Switch from @asyncio.coroutine to async def everywhere.Emmanuel Gil Peyrot
2018-07-01xep_0030: rename find_identities; return all domain infos and let caller ↵Maxime “pep” Buquet
filter itself Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2018-07-01xep_0030: Add callback parameter to find_identitiesMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2018-07-01xep_0030: Add cached parameter to find_identities, defaults to TrueMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2018-07-01xep_0030: Pass kwargs down in find_identitiesMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2018-07-01xep_0030: Use self directly as we're already in discoMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2018-07-01Factor out fetching of identities in xep_0363 to xep_0030Maxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2018-07-01xep_0363: Remove unused parameters to find_upload_servicesMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2018-06-23XEP-0153: Prevent a panic when the BINVAL is invalid.Emmanuel Gil Peyrot
2018-05-13Revert "XEP-0060: Add support for node configuration."Emmanuel Gil Peyrot
This reverts commit dd7f67d10d32dadd12a841847f438b457d662b1e.
2018-05-13XEP-0060: Add support for node configuration.Emmanuel Gil Peyrot
2018-03-31slixmpp is Python 3.4.4+, remove check for channel binding.Emmanuel Gil Peyrot
2018-03-31util.cache: Let the user select the bare JID or not.Emmanuel Gil Peyrot
2018-03-31util.cache: Support None for encode and decode.Emmanuel Gil Peyrot
2018-03-31XEP-0115: Use the new cache system.Emmanuel Gil Peyrot
2018-03-31util.cache: New module handling both in-memory and on-file system caching.Emmanuel Gil Peyrot
2018-03-14session: Also fire the session_start event.Emmanuel Gil Peyrot
2018-03-14session: Don’t bind if it is optional.Emmanuel Gil Peyrot
See https://tools.ietf.org/html/draft-cridland-xmpp-session-01
2018-03-14Rearm an iq callback if it was addressed to ourself.Emmanuel Gil Peyrot
2018-03-14Carry the node attribute to the disco#info result.Emmanuel Gil Peyrot
Fixes #3323.
2018-03-11xep_0363: Only send the basename() of the filename to the server.Emmanuel Gil Peyrot
2018-03-11xep_0363: Simplify Content-Type guessing.Emmanuel Gil Peyrot
2018-03-11xep_0363: Fix max_file_size variable name.Emmanuel Gil Peyrot
2018-03-08Simplify usage of HTTP File Upload plugin.Emmanuel Gil Peyrot
This makes it usable only on Python 3.5, as documented.
2018-03-08Add an HTTP File Upload plugin.Emmanuel Gil Peyrot
2018-02-11asyncio.async has been scheduled for removal for a long time nowmathieui
move to asyncio.ensure_future
2018-02-11Fix usage of the 0004 plugin interfacemathieui
form['fields'] is an ordered list of fields while most plugins expect a dict there. Fixes, among other things, a caps bug.
2018-01-10Fix typos, thanks `codespell`!Emmanuel Gil Peyrot
2018-01-05XEP-0115: Fix typo.Emmanuel Gil Peyrot
2017-12-27stringprep: Make pure-Python punycode() return bytes.Emmanuel Gil Peyrot
Fixes #3366.
2017-11-28Release slixmpp 1.3.0slix-1.3.0mathieui
2017-11-23Add a Markup plugin.Emmanuel Gil Peyrot
2017-11-23Record the current connection attempt in a future and allow cancellationmathieui
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-10-08xep_0054: Fix parsing BINVAL element.Emmanuel Gil Peyrot
2017-09-24Update the MAM plugin for asyncio & new namespacemathieui
And add an example
2017-07-21Update RSM for asynciomathieui
- Use an async iterator - Add a "recv_interface" parameter in order to differenciate the stanza we send from the stanza we receive (required for MAM) - Add a pre_cb to run before sending the query stanza - Add a post_cb to run after receiving the result stanza
2017-07-17XEP-0030: Optimise add_node usage a bit.Emmanuel Gil Peyrot
2017-07-17XEP-0319: Use the correct timezone.Emmanuel Gil Peyrot
This fixes a specification violation, XEP-0082 says that a date MUST have a timezone, but we were sending the *local* time without any timezone information.
2017-07-17xmlstream: Remove pygments dumping.Emmanuel Gil Peyrot
It’s slow and makes the debug logs difficult to parse.