nicoco
a9fc955eda
fix: add default error type for "payment-required" condition
2025-01-27 16:36:07 +01:00
nicoco
2e736bc715
feat: support XEP-0492 (Chat Notification Settings)
2025-01-26 16:24:31 +00:00
nicoco
c585ec5983
fix: add missing "policy-violation" to error conditions
2025-01-22 21:32:57 +01:00
jinyu
5ed5e60b20
Fix: AttributeError in get_nick and jid_in_room due to incorrect JID type
2024-11-19 18:43:41 +01:00
nicoco
b6f148e4e6
errors: make error types and conditions Literals
...
and set recommended defaults for type based on condition
2023-02-24 15:29:05 +01:00
nicoco
3725177d0b
add OptJidStr to types.__all__
2022-11-28 13:03:05 +01:00
mathieui
20e4c2c257
types: add __all__
2021-07-03 11:17:15 +02:00
mathieui
4931e7e604
refactor: type the resolver
...
almost perfect, except for python < 3.9 making it so we can’t have nice
things.
2021-06-28 21:01:21 +02:00
mathieui
7d2b245bb0
XEP-0441: Split MAM preferences into a separate plugin
2021-03-09 19:52:53 +01:00
mathieui
9561a2a305
types: add some often-used types
2021-03-01 20:54:10 +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
d850b9a9f7
types: move pluginsdict to a dedicated file
...
And add some Literal types.
2021-02-06 12:28:32 +01:00
mathieui
a16792e990
basexmpp: type self.plugins in a more useful manner
2021-02-03 21:53:43 +01:00