Commit graph

2705 commits

Author SHA1 Message Date
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
mathieui
679432591e docs: do not order xep 0045 methods alphabetically 2021-02-08 23:08:31 +01:00
mathieui
bc04da256a XEP-0045: Types, visibility, and documentation
- Make all handlers private (_-prefixed)
- Reorder methods in a more thematic order
- Add docstrings to public methods
- Add types where they were missing
- Create new Literal types for closed enums
- Make join_muc a wrapper around join_muc_wait and return a Future
- Deprecate the current join_muc API
- Fix some mypy issues
2021-02-08 23:08:31 +01:00
mathieui
b9e479f213 Merge branch 'doc-stanza' into 'master'
Fill the stanza howto

See merge request poezio/slixmpp!122
2021-02-06 17:59:53 +01:00
mathieui
648ca16b4c docs: fill the stanza howto 2021-02-06 12:29:31 +01:00
mathieui
622cfd4ed7 basexmpp: add more typing, fix some docs 2021-02-06 12:29:14 +01:00
mathieui
d850b9a9f7 types: move pluginsdict to a dedicated file
And add some Literal types.
2021-02-06 12:28:32 +01:00
mathieui
fb74e46c35 Merge branch 'rewrite-copyright-notices' into 'master'
Rewrite copyright notices to use comments and not docstrings

See merge request poezio/slixmpp!121
2021-02-05 21:18:12 +01:00
mathieui
603cbccddd examples: rewrite copyright notices 2021-02-05 20:51:15 +01:00
mathieui
bbd351e9c1 global: rewrite copyright notice to use comments 2021-02-05 20:46:18 +01:00
mathieui
cff4588499 Merge branch 'updat-typing-and-generic-args' into 'master'
Update typing and generic args for plugins (step 1)

See merge request poezio/slixmpp!120
2021-02-05 20:14:41 +01:00
mathieui
89601289fe itests: add 0012, 0054, 0084, 0092, 0153, 0191 tests 2021-02-05 20:08:16 +01:00