mathieui
0b6326e1cc
XEP-0012: API changes.
2021-02-26 00:08:56 +01:00
mathieui
d51c4e307d
api: make run() always return a Future
...
plugins must be modified to make use of this, but this keeps synchronous
code synchrouns while allowing coroutine in api, which makes sense.
2021-02-26 00:08:56 +01:00
mathieui
8da5310ea6
xmlstream: add a wrap() method for ensure_future
2021-02-26 00:08:56 +01:00
mathieui
5f9ab45a5e
Merge branch 'stream-features-sync-event' into 'master'
...
Allow "sync" events to be processed in-order
See merge request poezio/slixmpp!129
2021-02-24 20:59:12 +01:00
mathieui
6d241be789
XEP-0077: Fix "register" event on stream features.
2021-02-24 20:50:05 +01:00
mathieui
babd98dac7
xmlstream: add event_async() for events that need in-order processing
...
Essentially stream feature handlers which can then make sure the feature
has been process correctly (e.g. 0077).
This is the same approach as slixmpp!4.
2021-02-24 20:50:05 +01:00
mathieui
b8b57960f1
Merge branch 'httpupload-add-oob' into 'master'
...
examples: add oob to httpupload example
See merge request poezio/slixmpp!140
2021-02-24 20:47:45 +01:00
mathieui
5764ef7ff7
examples: add oob to httpupload example
...
many people ask how to do this, might as well do this by default
2021-02-24 20:43:21 +01:00
mathieui
7381460556
Merge branch 'collections-abc-warning' into 'master'
...
Collections abc warning
See merge request poezio/slixmpp!139
2021-02-22 18:18:33 +01:00
Nicolas Cedilnik
8b7648502b
Fix deprecation warning
2021-02-22 13:09:39 +01:00
mathieui
17a663b0fd
Merge branch 'test-run-coro-return-value' into 'master'
...
tests: return the coroutine result in run_coro
See merge request poezio/slixmpp!138
2021-02-20 12:58:52 +01:00
mathieui
9270d1e538
tests: return the coroutine result in run_coro
2021-02-20 12:56:14 +01:00
mathieui
35c68738a7
Merge branch 'remove-loop-wait-for' into 'master'
...
xmlstream: remove loop parameter to wait_for
See merge request poezio/slixmpp!137
2021-02-20 12:42:34 +01:00
mathieui
751987e2b0
xmlstream: remove loop parameter to wait_for
...
Deprecated in 3.8, removed in 3.10
2021-02-20 12:39:51 +01:00
mathieui
35a9526a4c
Merge branch 'enable-debug-on-run-tests' into 'master'
...
run_tests: add a command-line option to enable debug logs
See merge request poezio/slixmpp!136
2021-02-20 11:58:30 +01:00
mathieui
7e3e056e6b
slixtest: add more shortcuts for asyncio workflow
2021-02-20 11:55:46 +01:00
mathieui
94700de7a3
run_tests: add a command-line option to enable debug logs
2021-02-20 11:53:30 +01:00
mathieui
2f0660c6ff
Merge branch 'fix-slixtest-default-ns-component' into 'master'
...
slixtest: use the default stream ns instead of jabber:client
See merge request poezio/slixmpp!133
2021-02-20 11:27:33 +01:00
mathieui
ba7e5e417f
slixtest: use the default stream ns instead of jabber:client
2021-02-20 11:24:43 +01:00
mathieui
2ba89727a6
Merge branch 'fix-test-order-race' into 'master'
...
tests: fix prerequisites for stanza tests
See merge request poezio/slixmpp!134
2021-02-19 19:06:41 +01:00
mathieui
a397cc3a7d
tests: fix prerequisites for stanza tests
2021-02-19 19:03:46 +01:00
mathieui
626bf5ff8a
Merge branch 'component-registration' into 'master'
...
Add registration to components
See merge request poezio/slixmpp!130
2021-02-18 20:05:25 +01:00
Nicoco K
cef7b5cf05
Add registration to components
2021-02-18 20:05:25 +01:00
mathieui
8d92027d01
Merge branch 'privilege' into 'master'
...
Privileged entities (XEP-0356)
See merge request poezio/slixmpp!131
2021-02-18 20:03:22 +01:00
Nicoco K
dcab3de1b4
Privileged entities (XEP-0356)
2021-02-18 20:03:22 +01:00
mathieui
3453ebf0c5
Merge branch 'fix-origin-id-no-stream' into 'master'
...
stanzabase: Fix a bug when setting id for streamless messages
See merge request poezio/slixmpp!132
2021-02-17 19:42:58 +01:00
mathieui
699a2620b7
stanzabase: Fix a bug when setting id for streamless messages
2021-02-17 19:29:52 +01:00
Link Mauve
5d7918b122
Merge branch 'vcard-fix-handler' into 'master'
...
XEP-0054: fix component handling of vcard requests
See merge request poezio/slixmpp!127
2021-02-13 22:02:31 +01:00
mathieui
3eeef6b4b6
XEP-0054: fix component handling of vcard requests
...
Fetching the local vcard for the JID from which the stanza originates
does not make sense.
2021-02-13 21:58:13 +01:00
Link Mauve
f50dfd6644
Merge branch 'remove-more-extra-args' into 'master'
...
More cleanup of extra args, types, docs, and API
See merge request poezio/slixmpp!126
2021-02-13 20:25:57 +01:00
mathieui
bbcc977d1d
tests: update 0047 tests to reflect new API
2021-02-13 20:23:21 +01:00
mathieui
3668e79fbc
itets: Add tests for 0222 and 0223
2021-02-13 20:23:21 +01:00
mathieui
febfb6d6ca
XEP-0280: More typing and docs, new kwargs
2021-02-13 20:23:21 +01:00
mathieui
3b43d8eb7f
XEP-0223: Add more types and docs, and switch to new kwargs
2021-02-13 20:23:21 +01:00
mathieui
6520376977
XEP-0222: Add more types and docs, and use new-style kwargs
2021-02-13 20:23:21 +01:00
mathieui
8b5776faec
itests: add an httpupload test
2021-02-13 20:23:21 +01:00
mathieui
ea2d851a93
XEP-0363: Types, docs, and new-style kwargs
2021-02-13 20:23:21 +01:00
mathieui
a7d690813c
itets: Add a BOB test
2021-02-13 20:23:20 +01:00
mathieui
02262679e9
XEP-0231: Add typing, docs, and new-style kwargs
...
Also add content deletion scheduling if specified.
2021-02-13 20:23:20 +01:00
mathieui
654178b960
itests: add IBB test
2021-02-13 20:23:20 +01:00
mathieui
02e0afbf0f
XEP-0047: Better typing, docs, coroutine.
...
- Add a gather() shortcut to buffer all data received in a stream
- Fix a bug in sendall that happens if the data is above the block
size.
2021-02-13 20:23:20 +01:00
Link Mauve
ace82c9bc4
Merge branch 'defusedxml-usage' into 'master'
...
global: use defusedxml if it is available
See merge request poezio/slixmpp!125
2021-02-11 20:27:32 +01:00
mathieui
53dc9847e2
global: use defusedxml if it is available
2021-02-11 20:23:11 +01:00
Link Mauve
bfbc433c8d
Merge branch 'remove-old-python-workaround' into 'master'
...
slixmpp: remove asyncio hack for older python versions
See merge request poezio/slixmpp!124
2021-02-11 20:21:37 +01:00
mathieui
ba7c7f4bb9
slixmpp: remove asyncio hack for older python versions
2021-02-11 20:18:00 +01:00
mathieui
7cde0db4aa
docs: update requirements
2021-02-10 12:47:11 +01:00
mathieui
1c4e06d510
Merge branch 'muc-improvements-reloaded' into 'master'
...
Muc improvements reloaded
See merge request poezio/slixmpp!123
2021-02-08 23:11:08 +01:00
mathieui
80ee551acd
docs: fix links to stanza doc
2021-02-08 23:08:31 +01:00
mathieui
f0601cdb84
docs: fill and update the event index
2021-02-08 23:08:31 +01:00
mathieui
0978f66736
docs: fix copyright footer
2021-02-08 23:08:31 +01:00