mathieui
2dac77e680
Merge branch 'docs-dedfault' into 'master'
...
docs: fix a typo (dedfault)
See merge request poezio/slixmpp!142
2021-02-27 21:07:11 +01:00
mathieui
0726b79345
docs: fix a typo (dedfault)
2021-02-27 21:02:55 +01:00
mathieui
9f1ded7f5f
Merge branch 'more-tests' into 'master'
...
Add some more tests for MIX, and fix a small bug
See merge request poezio/slixmpp!141
2021-02-27 21:02:03 +01:00
mathieui
bea2669907
XEP-0403: Add stanza tests
2021-02-27 13:21:13 +01:00
mathieui
a288094b64
XEP-0405: add stream tests
2021-02-27 13:21:13 +01:00
mathieui
f12b04bd0b
XEP-0405: Fix a bug in nodes returned by join_channel
...
Yay tests!
2021-02-27 13:21:13 +01:00
mathieui
059cb290d8
Merge branch 'async-interal-api-break-everything' into 'master'
...
Make the internal "api" async
See merge request poezio/slixmpp!128
2021-02-27 13:16:18 +01:00
mathieui
3cdec464a5
docs: document the "internal API" with reference & howto
2021-02-26 00:09:56 +01:00
mathieui
9927e69435
docs: add references to API docs
2021-02-26 00:08:56 +01:00
mathieui
8e388df8e0
XEP-0231: do not crash if max-age is None
...
it is only RECOMMENDED
2021-02-26 00:08:56 +01:00
mathieui
8eee559d39
api: update docstrings/typing
2021-02-26 00:08:56 +01:00
mathieui
2fed9f9ad2
XEP-0319: API changes
...
- ``idle`` and ``active`` are now coroutines.
2021-02-26 00:08:56 +01:00
mathieui
9947d3db85
XEP-0231: API changes
...
- ``get_bob`` and ``set_bob`` are now coroutines.
- ``del_bob`` returns a Future.
2021-02-26 00:08:56 +01:00
mathieui
ab87b25030
XEP-0153: API changes
2021-02-26 00:08:56 +01:00
mathieui
e24e2f58d4
XEP-0128: API changes
...
- ``set_extended_info``, ``add_extended_info`` and ``del_extended_info`` return Futures.
2021-02-26 00:08:56 +01:00
mathieui
4960cffcb4
XEP-0115: API changes
...
- ``get_verstring``, ``get_caps`` are now coroutines.
- ``assign_verstring``, ``cache_caps`` now return a Future.
side-effect: fix supports() and has_identity() broken since forever
2021-02-26 00:08:56 +01:00
mathieui
f0aec1614f
XEP-0095: API changes
...
- ``accept`` and ``decline`` are now coroutines.
2021-02-26 00:08:56 +01:00
mathieui
504067d5a8
XEP-0077: API changes
2021-02-26 00:08:56 +01:00
mathieui
0b3233a6e8
XEP-0065: API changes
2021-02-26 00:08:56 +01:00
mathieui
f7ecce42ac
XEP-0054: API changes
...
- ``get_vcard``, ``publish_vcard`` are now coroutines.
2021-02-26 00:08:56 +01:00
mathieui
d17967f58e
XEP-0047: API changes
...
and fix unit tests broken for years.
2021-02-26 00:08:56 +01:00
mathieui
13de36baa1
XEP-0030: API changes
...
- ``supports``, ``has_identity``, ``get_info``, ``get_items`` are now coroutines
- ``set_info````set_items``, ``del_items``, ``add_item``, ``add_identity``,
``del_identity``, ``set_identities``, ``del_identities``, ``add_feature``,
``del_feature``, ``set_feature``, ``set_features``, ``del_features``
now return a Future
also fix has_identity and supports which have been broken in forever
2021-02-26 00:08:56 +01:00
mathieui
7772e26a8c
XEP-0027: API changes
...
- ``get_keyids`` and ``get_keyid`` are now coroutines.
- ``set_keyid`` and ``del_keyid`` now return a Future.
2021-02-26 00:08:56 +01:00
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