Emmanuel Gil Peyrot
fe66c022ad
Revert "XEP-0060: Add support for node configuration."
...
This reverts commit dd7f67d10d
.
2018-05-13 21:12:46 +02:00
Emmanuel Gil Peyrot
92ea131721
examples: Add support for node configuration to pubsub_client.
2018-05-13 20:57:48 +02:00
Emmanuel Gil Peyrot
dd7f67d10d
XEP-0060: Add support for node configuration.
2018-05-13 20:47:21 +02:00
Emmanuel Gil Peyrot
c1562b76b2
slixmpp is Python 3.4.4+, remove check for channel binding.
2018-03-31 02:22:53 +02:00
Emmanuel Gil Peyrot
32839f5252
util.cache: Let the user select the bare JID or not.
2018-03-31 00:44:53 +02:00
Emmanuel Gil Peyrot
80b7cf6ff8
util.cache: Support None for encode and decode.
2018-03-31 00:44:23 +02:00
Emmanuel Gil Peyrot
128cc2eeb4
XEP-0115: Use the new cache system.
2018-03-31 00:25:28 +02:00
Emmanuel Gil Peyrot
037912ee89
util.cache: New module handling both in-memory and on-file system caching.
2018-03-31 00:24:21 +02:00
Emmanuel Gil Peyrot
769bc6d3bf
session: Also fire the session_start event.
2018-03-14 19:39:01 +01:00
Emmanuel Gil Peyrot
084d6cb5d9
session: Don’t bind if it is optional.
...
See https://tools.ietf.org/html/draft-cridland-xmpp-session-01
2018-03-14 18:54:17 +01:00
Emmanuel Gil Peyrot
5184713356
Rearm an iq callback if it was addressed to ourself.
2018-03-14 17:37:55 +01:00
Emmanuel Gil Peyrot
2f1225bad3
Carry the node attribute to the disco#info result.
...
Fixes #3323 .
2018-03-14 16:25:21 +01:00
Emmanuel Gil Peyrot
841f5a5a5b
xep_0363: Only send the basename() of the filename to the server.
2018-03-11 19:40:15 +01:00
Emmanuel Gil Peyrot
0c6de5e972
xep_0363: Simplify Content-Type guessing.
2018-03-11 19:39:51 +01:00
Emmanuel Gil Peyrot
81dc61c55c
xep_0363: Fix max_file_size variable name.
2018-03-11 19:39:30 +01:00
Emmanuel Gil Peyrot
bd63b1ce70
Simplify usage of HTTP File Upload plugin.
...
This makes it usable only on Python 3.5, as documented.
2018-03-08 14:29:07 +01:00
Emmanuel Gil Peyrot
29faf114a7
Add max-file-size support to HTTP File Upload example.
2018-03-08 12:11:26 +01:00
Emmanuel Gil Peyrot
94ea8151d4
Add an HTTP File Upload example.
2018-03-08 03:39:23 +01:00
Emmanuel Gil Peyrot
66500ef5fb
Add an HTTP File Upload plugin.
2018-03-08 03:38:59 +01:00
mathieui
979396bb1e
asyncio.async has been scheduled for removal for a long time now
...
move to asyncio.ensure_future
2018-02-11 19:25:38 +01:00
mathieui
e177726387
Fix usage of the 0004 plugin interface
...
form['fields'] is an ordered list of fields while most plugins expect a
dict there. Fixes, among other things, a caps bug.
2018-02-11 16:42:59 +01:00
Emmanuel Gil Peyrot
20e88fda50
Fix typos, thanks codespell
!
2018-01-10 02:18:07 +01:00
Emmanuel Gil Peyrot
f252be9b6d
XEP-0115: Fix typo.
2018-01-05 18:03:42 +01:00
Emmanuel Gil Peyrot
ee98159586
Test all known python versions in travais
2017-12-27 15:49:52 +01:00
Emmanuel Gil Peyrot
c6443af29a
stringprep: Make pure-Python punycode() return bytes.
...
Fixes #3366 .
2017-12-27 15:48:42 +01:00
mathieui
d73f56a7af
Release slixmpp 1.3.0
2017-11-28 20:16:08 +01:00
Emmanuel Gil Peyrot
7c7f4308c5
Add a Markup plugin.
2017-11-23 12:18:01 +00:00
mathieui
eab8c265f4
Record the current connection attempt in a future and allow cancellation
...
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-11-23 00:00:37 +01:00
Emmanuel Gil Peyrot
80b9cd43b1
MAM example: Also display the timestamp.
2017-10-24 10:54:53 +01:00
Emmanuel Gil Peyrot
af1f9e08ad
Clean up the MAM example a bit.
2017-10-24 10:47:42 +01:00
Emmanuel Gil Peyrot
e3fd0af9c8
xep_0054: Fix parsing BINVAL element.
2017-10-08 15:42:48 +01:00
mathieui
27e23672c1
Update the MAM plugin for asyncio & new namespace
...
And add an example
2017-09-24 17:43:06 +02:00
mathieui
b38e229359
Update RSM for asyncio
...
- 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-21 15:01:13 +02:00
Emmanuel Gil Peyrot
9a563f1425
XEP-0030: Optimise add_node usage a bit.
2017-07-17 22:46:48 +01:00
Emmanuel Gil Peyrot
8b6f5953a7
XEP-0319: Use the correct timezone.
...
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-17 22:20:30 +01:00
Emmanuel Gil Peyrot
2d2a80c73d
xmlstream: Remove pygments dumping.
...
It’s slow and makes the debug logs difficult to parse.
2017-07-17 21:17:02 +01:00
Mathias Ertl
4dfdd5d8e3
always define ssl_context
2017-05-24 13:18:22 +02:00
Mathias Ertl
1994ed3025
pass SSL context to TLS connections
2017-05-24 11:31:13 +02:00
Mathias Ertl
aaa45846d3
add function to explicitly get the ssl context
2017-05-24 11:31:13 +02:00
louiz’
d7ffcb54eb
Merge remote-tracking branch 'samwhited/sslsocket_workaround'
2017-05-16 17:24:46 +02:00
Tom Wambold
c33749e57a
Fixes port being set to 0 when connecting via hostname.
...
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-05-08 15:58:28 -04:00
Emmanuel Gil Peyrot
e4107d8b4d
sasl: Merge two bytes instead of concatenating them at runtime.
2017-04-28 21:26:03 +01:00
mathieui
da5cb72d3a
Add XMPP classifier to setup.py
2017-04-10 02:24:14 +02:00
Emmanuel Gil Peyrot
c372bd5168
xmlstream: Warn when the parser is None when data is received.
2017-02-16 11:27:36 +00:00
mathieui
cabf623131
Fix the http over xmpp example
2017-02-14 01:04:38 +01:00
mathieui
ffc240d5b6
Fix the gtalk example
2017-02-14 01:04:27 +01:00
mathieui
cc4522d9cd
Fix custom stanza examples
2017-02-14 01:00:41 +01:00
mathieui
5bf69dca76
Return a Future on clientxmpp.get_roster()
2017-02-14 00:46:36 +01:00
Emmanuel Gil Peyrot
59dad12820
XEP-0300: Workaround for Python 3.5 or below.
2017-02-11 23:30:43 +00:00
Emmanuel Gil Peyrot
007c836296
XEP-0300: Add rudimentary tests.
2017-02-11 04:02:44 +00:00