mathieui
|
86a2f280d2
|
Document that slixmpp is now 3.5+ only
|
2018-08-08 23:42:22 +02:00 |
|
mathieui
|
490f15b8fc
|
Fix compatibility with python 3.5 and 3.6
which do not have loop.start_tls and require the old ssl implementation.
|
2018-08-08 23:35:33 +02:00 |
|
Emmanuel Gil Peyrot
|
62661ee04f
|
xep_0092: Return <service-unavailable/> instead. Fixes #3415.
|
2018-08-08 16:52:40 +02:00 |
|
Emmanuel Gil Peyrot
|
37d1f2a6b0
|
xep_0092: Send a <forbidden/> error if we don’t want to send our version. (thanks lovetox!)
|
2018-08-08 16:49:16 +02:00 |
|
mathieui
|
20107ad516
|
features/starttls: handle the case where the socket is an sslobject
Thanks pep.
|
2018-08-07 23:30:41 +02:00 |
|
mathieui
|
7738a01311
|
Fix TLS with python 3.7
Use the "new" sslproto API instead of the deprecated TLS API.
Also remove the unused "socket" parameter in XMLStream.__init__.
|
2018-08-07 23:20:38 +02:00 |
|
mathieui
|
a9abed6151
|
xep-0054: XMPP clients should not reply to vcard "get" requests
|
2018-08-07 21:30:13 +02:00 |
|
Emmanuel Gil Peyrot
|
0f690d4005
|
tests: Fix the XEP-0323 stream test, broken since 59d4420739 .
Thanks debacle!
|
2018-08-02 21:27:19 +02:00 |
|
Emmanuel Gil Peyrot
|
59d4420739
|
XEP-0323: Display the requested time in addition to the current time on error.
|
2018-07-29 10:37:28 +02:00 |
|
Emmanuel Gil Peyrot
|
a88f317bbf
|
XEP-0009: Fix invalid function name under Python 3.7.
|
2018-07-24 18:21:03 +02:00 |
|
Link Mauve
|
2fc2a88970
|
Merge branch 'factor_find_identities' into 'master'
Factor find identities
See merge request poezio/slixmpp!2
|
2018-07-22 12:49:37 +02:00 |
|
Emmanuel Gil Peyrot
|
c55e9279ac
|
Fix missing async def in function.
|
2018-07-02 14:33:21 +02:00 |
|
Emmanuel Gil Peyrot
|
3502480384
|
Switch from @asyncio.coroutine to async def everywhere.
|
2018-07-01 18:46:33 +02:00 |
|
|
caae713dd6
|
xep_0030: rename find_identities; return all domain infos and let caller filter itself
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
|
2018-07-01 01:36:26 +01:00 |
|
|
df0198abfe
|
xep_0030: Add callback parameter to find_identities
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
|
2018-07-01 01:32:00 +01:00 |
|
|
c20f4bf5fa
|
xep_0030: Add cached parameter to find_identities, defaults to True
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
|
2018-07-01 01:29:31 +01:00 |
|
|
9740e93aeb
|
xep_0030: Pass kwargs down in find_identities
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
|
2018-07-01 01:29:31 +01:00 |
|
|
e7872aaa29
|
xep_0030: Use self directly as we're already in disco
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
|
2018-07-01 01:29:31 +01:00 |
|
|
037706552c
|
Factor out fetching of identities in xep_0363 to xep_0030
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
|
2018-07-01 01:29:31 +01:00 |
|
|
b881c6729b
|
xep_0363: Remove unused parameters to find_upload_services
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
|
2018-07-01 01:29:31 +01:00 |
|
Emmanuel Gil Peyrot
|
66909aafb3
|
XEP-0153: Prevent a panic when the BINVAL is invalid.
|
2018-06-23 14:34:24 +02:00 |
|
louiz’
|
cdfb5d56fc
|
apt install gpg before running the ci tests
|
2018-06-10 21:40:56 +02:00 |
|
Emmanuel Gil Peyrot
|
d146ce9fb6
|
examples: Display only the form, and not the entire stanza.
|
2018-05-13 21:26:47 +02:00 |
|
Emmanuel Gil Peyrot
|
cb59d60034
|
examples: Display the actual cause for a failed command.
|
2018-05-13 21:21:06 +02:00 |
|
Emmanuel Gil Peyrot
|
1d9fe3553e
|
examples: Use the existing get_node_config function.
|
2018-05-13 21:13:22 +02:00 |
|
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 |
|