Link Mauve
2585764b46
Merge branch 'type-plugins' into 'master'
...
basexmpp: type self.plugins in a more useful manner
See merge request poezio/slixmpp!114
2021-02-03 21:56:10 +01:00
mathieui
a16792e990
basexmpp: type self.plugins in a more useful manner
2021-02-03 21:53:43 +01:00
mathieui
6448d09c30
Merge branch 'docs-change-theme' into 'master'
...
docs: change theme to furo
See merge request poezio/slixmpp!113
2021-01-31 20:41:46 +01:00
mathieui
a85e5225f9
docs: change theme to furo
...
it looks better, and has a dark mode
2021-01-31 20:37:33 +01:00
mathieui
3c19f69c25
Merge branch 'join-wait-timeout-none' into 'master'
...
XEP-0045: make the join_muc_wait timeout parameter optional
See merge request poezio/slixmpp!112
2021-01-31 19:41:40 +01:00
mathieui
846c42e386
XEP-0045: make the join_muc_wait timeout parameter optional
2021-01-31 19:39:12 +01:00
mathieui
1f97462391
Merge branch 'muc-sync-join' into 'master'
...
XEP-0045: Add new directed events and a join_muc_wait function
See merge request poezio/slixmpp!111
2021-01-31 18:17:54 +01:00
mathieui
c7d87a27e1
XEP-0045: Add a join_muc_wait function
...
Which is async, raises on timeout or error, and returns when
joined.
2021-01-31 17:15:47 +01:00
mathieui
a8113dca49
XEP-0045: Add a specific handler for MUC presence errors
2021-01-31 17:15:47 +01:00
mathieui
eda692d1c6
XEP-0045: add a directed event for self-presence
2021-01-31 17:02:51 +01:00
mathieui
7932a03378
xmlstream: add a simple contextmanager for temporary events
2021-01-31 17:01:41 +01:00
mathieui
e9b07e32bb
exceptions: add a PresenceError exception
2021-01-31 17:00:42 +01:00
mathieui
8689212602
Merge branch 'mix-additions' into 'master'
...
MIX additions: handle MIX-PAM with roster and new events
See merge request poezio/slixmpp!108
2021-01-31 12:48:44 +01:00
mathieui
68649d0089
Merge branch 'update-doc-xep-titles' into 'master'
...
doc: update XEP titles
See merge request poezio/slixmpp!110
2021-01-30 19:04:11 +01:00
mathieui
473575d276
doc: update XEP titles
2021-01-30 19:01:38 +01:00
mathieui
ab9b7115de
Merge branch 'fix-xep-descriptions' into 'master'
...
xeps: fix description for the newer plugins
See merge request poezio/slixmpp!109
2021-01-30 18:55:20 +01:00
mathieui
58f4ccf5c7
xeps: fix description for the newer plugins
2021-01-30 18:52:54 +01:00
mathieui
f41fd7cce4
examples: add an example MIX bot
...
(does the same as the current MUC bot)
2021-01-30 18:39:28 +01:00
mathieui
04a3f609e2
XEP-0405: Manage MIX Roster items
2021-01-30 18:17:12 +01:00
mathieui
119f59ecbe
XEP-0369: Add events for channel/participants
2021-01-30 17:42:20 +01:00
mathieui
ee671dfb29
Merge branch 'next-version-1.7.0' into 'master'
...
Increment version to 1.7.0
See merge request poezio/slixmpp!107
2021-01-29 21:57:26 +01:00
mathieui
d954283fb6
version: update to 1.7.0
2021-01-29 21:50:43 +01:00
mathieui
ed2c03fade
DOAP: add an 1.7.0 entry
...
also remove some duplicate description tags
2021-01-29 21:50:22 +01:00
Link Mauve
a381267d21
Merge branch 'connect-basic-itests' into 'master'
...
tests: add basic reconnect/connect integration tests
See merge request poezio/slixmpp!106
2021-01-29 16:51:05 +01:00
mathieui
1e1576473b
tests: add basic reconnect/connect integration tests
2021-01-29 16:48:30 +01:00
Link Mauve
dbcd0c6050
Merge branch 'reconnect-logic-doomed' into 'master'
...
fix reconnect logic
See merge request poezio/slixmpp!104
2021-01-29 16:11:29 +01:00
mathieui
f93af07882
XEP-0198: do not send acks when disconnected
2021-01-29 16:07:44 +01:00
mathieui
3f739e513b
xmlstream: keep value of "end_session_on_disconnect"
...
That value should be set statically. Worst case is we fail to resume the
session.
2021-01-29 15:33:44 +01:00
mathieui
fc7d7b4eb7
XEP-0198: Enable SM even if we failed resuming the session
...
And trigger session_end only after we fail the resuming.
2021-01-29 15:33:44 +01:00
mathieui
3642e2c7f4
xmlstream: ensure slow futures are scheduled on this loop
2021-01-29 15:33:44 +01:00
mathieui
f15311bda8
xmlstream: Make the reconnect handler a coroutine
2021-01-29 15:33:44 +01:00
mathieui
b2dfb4c1f3
xmlstream: do not touch connection state on abort()
...
leave it to the connection_lost handler
2021-01-29 15:33:44 +01:00
mathieui
d227579d56
xmlstream: set disconnected future on event
2021-01-29 15:33:44 +01:00
mathieui
571774edb4
xmlstream: end the parser when the stream has ended
2021-01-29 15:33:44 +01:00
mathieui
456dff0b61
xmlstream: rename run_filters
2021-01-29 15:33:44 +01:00
mathieui
a0b6bfcefe
xmlstream: change the connection logic
...
* use asyncio wait_for to wait for a disconnected event
* abort the connection if the timeout is not enough
2021-01-29 15:33:44 +01:00
mathieui
9fbd40578c
xmlstream: purge send queue and pending tasks on session end
...
and keep track of slow tasks
2021-01-29 15:33:44 +01:00
mathieui
8700f8d162
xmlstream: do not cancel the send filter task
...
it does not make sense to cancel it, it does not do anything when the
sending queue is empty, and clients should not fill the send queue when
not connected anyway.
2021-01-28 17:54:40 +01:00
mathieui
efdcd396d8
xmlstream: fix race conditions on handlers
2021-01-28 17:54:40 +01:00
mathieui
0eed84d0b2
xmlstream: handle done tasks in wait_until
...
and handle other loops properly
2021-01-28 17:54:40 +01:00
mathieui
370abb1d98
Merge branch 'block-threaded-examples-docs' into 'master'
...
Remove the remaining block and threaded from examples
See merge request poezio/slixmpp!105
2021-01-27 00:20:31 +01:00
mathieui
51866f0d46
docs: update the tutorials a bit
2021-01-27 00:16:56 +01:00
mathieui
9390794401
examples: updates to reflect asyncio
2021-01-27 00:09:26 +01:00
mathieui
70b5081018
Merge branch 'xep-0382-spoiler-messages' into 'master'
...
XEP-0382: Spoiler Messages
See merge request poezio/slixmpp!100
2021-01-27 00:07:36 +01:00
mathieui
4cb679ae2a
Merge branch 'fix-emoji-update' into 'master'
...
XEP-0444: Fix emoji detection
See merge request poezio/slixmpp!103
2021-01-24 11:33:57 +01:00
mathieui
ab280b44cc
XEP-0444: Fix emoji detection
...
the emoji lib just released a major release after 5 years, which breaks
the API. This new code is compatible with both.
2021-01-24 11:31:17 +01:00
mathieui
0193667ace
Merge branch 'ping-cancel-iqs-on-session-end' into 'master'
...
Cancel 0199 pings on session end
See merge request poezio/slixmpp!102
2021-01-24 11:30:51 +01:00
mathieui
9cb5131f1c
XEP-0199: Fix handler default parameter, add typing
...
Clear futures when disabling the keepalive, and do it on every
disconnect instead of only at session end.
2021-01-24 11:20:43 +01:00
mathieui
0bf1b96859
Merge branch 'handle-connection-errors-in-starttls' into 'master'
...
Handle connection errors in start_tls (fix #3449 )
Closes #3449
See merge request poezio/slixmpp!101
2021-01-24 10:30:45 +01:00
mathieui
c6a0da63ae
XEP-0199: cancel ongoing handlers on session end
...
and keep track of them but be careful to not store too many
fix for #3442
2021-01-22 22:57:15 +01:00