Age | Commit message (Collapse) | Author |
|
XEP-0300: small fixes
See merge request poezio/slixmpp!151
|
|
|
|
- fix a typo in the default option (crash when hashing a file without
providing a function)
- Fix the plugin_end method (classical del_feature footgun)
|
|
MAM Update
See merge request poezio/slixmpp!149
|
|
|
|
|
|
Add a "results" interface to mam_fin, and fix some things in RSM
Items just received were not taken into account because:
- RSM code is checking iq['mam_fin']['results'], results were at
iq['mam']['results']
- RSM handler was run after checking the number
|
|
- add an iterate() method that makes this plugin more practical
- add a get_fields method to retrieve the available search fields
- add a get_archive_metadata method.
This is a big chunk because git refused to split it further.
|
|
|
|
|
|
XEP-0059 (RSM) - Some fixes
See merge request poezio/slixmpp!145
|
|
|
|
Not strictly required, but most XEPs use it like that for forms of
type='submit', and that makes it easier to write stanza tests.
|
|
|
|
|
|
Also:
- fix a typo in the plugin description (wrong number)
- add iq_options to make retrieval more flexible
|
|
XEP-0030: add typing and more docs
See merge request poezio/slixmpp!143
|
|
Remove usused prompt_future attribute
Add plugin_end
Update with mathieui's comments
Add option to transfer messages from unregistered users
XEP 0100 plugin
|
|
|
|
|
|
|
|
Yay tests!
|
|
it is only RECOMMENDED
|
|
- ``idle`` and ``active`` are now coroutines.
|
|
- ``get_bob`` and ``set_bob`` are now coroutines.
- ``del_bob`` returns a Future.
|
|
|
|
- ``set_extended_info``, ``add_extended_info`` and ``del_extended_info`` return Futures.
|
|
- ``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
|
|
- ``accept`` and ``decline`` are now coroutines.
|
|
|
|
|
|
- ``get_vcard``, ``publish_vcard`` are now coroutines.
|
|
and fix unit tests broken for years.
|
|
- ``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
|
|
- ``get_keyids`` and ``get_keyid`` are now coroutines.
- ``set_keyid`` and ``del_keyid`` now return a Future.
|
|
|
|
|
|
Add registration to components
See merge request poezio/slixmpp!130
|
|
|
|
|
|
Fetching the local vcard for the JID from which the stanza originates
does not make sense.
|
|
|
|
|
|
|
|
|
|
Also add content deletion scheduling if specified.
|
|
- 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.
|
|
- 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
|
|
|
|
|