mathieui
0b6326e1cc
XEP-0012: API changes.
2021-02-26 00:08:56 +01:00
mathieui
6d241be789
XEP-0077: Fix "register" event on stream features.
2021-02-24 20:50:05 +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
Nicoco K
dcab3de1b4
Privileged entities (XEP-0356)
2021-02-18 20:03:22 +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
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
ea2d851a93
XEP-0363: Types, docs, and new-style kwargs
2021-02-13 20:23:21 +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
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
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
bbd351e9c1
global: rewrite copyright notice to use comments
2021-02-05 20:46:18 +01:00
mathieui
d6ab3124ce
XEP-0084: add integer wrappers for int stanza attributes
2021-02-05 20:08:16 +01:00
mathieui
cb8d2edc8d
XEP-0191: Add type hints and switch to default args
2021-02-05 20:08:16 +01:00
mathieui
69e04d7d2e
XEP-0153: Add typing and switch to default args
...
(and refactor a bit)
2021-02-05 20:08:16 +01:00
mathieui
ace5aeb80e
XEP-0153: Fix a bug that would add muc elements to inbound presence
2021-02-05 20:08:16 +01:00
mathieui
712ac671e1
XEP-0152: Add type hints and switch to default args
2021-02-05 20:08:16 +01:00
mathieui
99c2e5cafd
XEP-0092: Add type hints and switch to default args
2021-02-05 20:08:16 +01:00
mathieui
8e612bf229
XEP-0084: Add type hints and switch to default args
2021-02-05 20:08:16 +01:00
mathieui
7860edefe9
XEP-0054: Add type hints and switch to default args
2021-02-05 20:08:16 +01:00
mathieui
fbb8993244
XEP-0049: Add type hints and switch to default args
2021-02-04 20:35:22 +01:00
mathieui
77c8caf205
XEP-0012: Add type hints and switch to default args
2021-02-04 20:27:07 +01:00
mathieui
69b265b975
stanzabase: make _get_plugin part of the public API
...
it is the only way I know of checking if an element is present in a
stanza without creating it or checking the XML manually.
2021-02-04 19:25:55 +01:00
mathieui
cb3d9dd41c
XEP-0196: Fix return values and typing
2021-02-03 22:24:40 +01:00
mathieui
e6e57f6e8c
XEP-0172: Fix return values and typing
2021-02-03 22:24:24 +01:00
mathieui
64299d6a54
XEP-0118: Fix return values and typing
2021-02-03 22:24:03 +01:00
mathieui
f6761e513d
XEP-0108: Fix return values and typing
2021-02-03 22:23:44 +01:00
mathieui
f2878e1764
XEP-0107: Fix return values and typing
2021-02-03 22:23:16 +01:00
mathieui
846c42e386
XEP-0045: make the join_muc_wait timeout parameter optional
2021-01-31 19:39:12 +01:00
mathieui
c7d87a27e1
XEP-0045: Add a join_muc_wait function
...
Which is async, raises on timeout or error, and returns when
joined.
2021-01-31 17:15:47 +01:00
mathieui
a8113dca49
XEP-0045: Add a specific handler for MUC presence errors
2021-01-31 17:15:47 +01:00
mathieui
eda692d1c6
XEP-0045: add a directed event for self-presence
2021-01-31 17:02:51 +01:00
mathieui
8689212602
Merge branch 'mix-additions' into 'master'
...
MIX additions: handle MIX-PAM with roster and new events
See merge request poezio/slixmpp!108
2021-01-31 12:48:44 +01:00
mathieui
58f4ccf5c7
xeps: fix description for the newer plugins
2021-01-30 18:52:54 +01:00
mathieui
04a3f609e2
XEP-0405: Manage MIX Roster items
2021-01-30 18:17:12 +01:00
mathieui
119f59ecbe
XEP-0369: Add events for channel/participants
2021-01-30 17:42:20 +01:00
mathieui
f93af07882
XEP-0198: do not send acks when disconnected
2021-01-29 16:07:44 +01:00
mathieui
fc7d7b4eb7
XEP-0198: Enable SM even if we failed resuming the session
...
And trigger session_end only after we fail the resuming.
2021-01-29 15:33:44 +01:00
mathieui
70b5081018
Merge branch 'xep-0382-spoiler-messages' into 'master'
...
XEP-0382: Spoiler Messages
See merge request poezio/slixmpp!100
2021-01-27 00:07:36 +01:00
mathieui
4cb679ae2a
Merge branch 'fix-emoji-update' into 'master'
...
XEP-0444: Fix emoji detection
See merge request poezio/slixmpp!103
2021-01-24 11:33:57 +01:00
mathieui
ab280b44cc
XEP-0444: Fix emoji detection
...
the emoji lib just released a major release after 5 years, which breaks
the API. This new code is compatible with both.
2021-01-24 11:31:17 +01:00
mathieui
9cb5131f1c
XEP-0199: Fix handler default parameter, add typing
...
Clear futures when disabling the keepalive, and do it on every
disconnect instead of only at session end.
2021-01-24 11:20:43 +01:00
mathieui
c6a0da63ae
XEP-0199: cancel ongoing handlers on session end
...
and keep track of them but be careful to not store too many
fix for #3442
2021-01-22 22:57:15 +01:00
mathieui
81ebf4e8ba
XEP-0382: Spoiler Messages
2021-01-22 18:40:37 +01:00
mathieui
2b11d81b86
XEP-0045: Add a groupchat_join MUC event for components
2021-01-12 20:29:27 +01:00
mathieui
6369ee0e5f
XEP-0045: Better component handling
2021-01-10 15:07:48 +01:00
mathieui
1e23167ce4
XEP-0045: Better "groupchat_presence" targeting
...
(do not make EVERY SINGLE presence go through the 0045 handler)
2021-01-10 15:07:48 +01:00
mathieui
cccc1253aa
XEP-0045: add more elements (<actor/>)
2021-01-10 15:07:48 +01:00