Commit graph

2790 commits

Author SHA1 Message Date
mathieui
ccbba89cbd xmlstream: make dns_answers private 2021-02-04 19:22:13 +01:00
mathieui
d3063a0368 xmlstream: make connect_loop_wait private 2021-02-04 19:22:13 +01:00
mathieui
40196aefeb itests: add a command-line parameter to enable debug logs 2021-02-04 19:14:23 +01:00
mathieui
782dbdea65 docs: remove python 2 bug workaround explanations 2021-02-04 18:32:10 +01:00
mathieui
650e1a2ed5 docs/xmlstream: remove HTTP proxy references
It has been removed years ago.
2021-02-04 18:31:43 +01:00
Link Mauve
c486c0e821 Merge branch 'documentation-update' into 'master'
Documentation update

See merge request poezio/slixmpp!116
2021-02-03 23:23:38 +01:00
mathieui
f8c39bae60 docs: update the iq tutorial 2021-02-03 23:21:11 +01:00
mathieui
d9975aa4c0 docs: move things around for a cleaner toctree 2021-02-03 23:04:02 +01:00
mathieui
17f08929f9 docs: add slixmpp credits, move fork note to the bottom 2021-02-03 22:34:33 +01:00
Link Mauve
d8dbfaa37e Merge branch 'pep-xeps-fix-returns' into 'master'
Fix return values and improve typing in "user *" PEP XEPs

See merge request poezio/slixmpp!115
2021-02-03 22:29:00 +01:00
mathieui
cb3d9dd41c XEP-0196: Fix return values and typing 2021-02-03 22:24:40 +01:00
mathieui
e6e57f6e8c XEP-0172: Fix return values and typing 2021-02-03 22:24:24 +01:00
mathieui
64299d6a54 XEP-0118: Fix return values and typing 2021-02-03 22:24:03 +01:00
mathieui
f6761e513d XEP-0108: Fix return values and typing 2021-02-03 22:23:44 +01:00
mathieui
f2878e1764 XEP-0107: Fix return values and typing 2021-02-03 22:23:16 +01:00
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