summaryrefslogtreecommitdiff
path: root/slixmpp/plugins/xep_0045/muc.py
AgeCommit message (Collapse)Author
2022-03-16xep_0045: Require JID when setting outcast affiliationMaxime “pep” Buquet
Found out when reading poezio/poezio#3536. “An admin or owner can ban one or more users from a room. The ban MUST be performed based on the occupant's bare JID.” Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-02-27XEP-0045: return occupants and history when join is completemathieui
2022-02-27Fix join_muc_wait: end join only upon receiving the room subjectmathieui
2021-12-19xep_0045: register_stanza_plugin(MUCPresence, MUCDestroy)Maxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2021-12-13Revert "Replace asyncio.ensure_future() with asyncio.create_task()"mathieui
This reverts commit bac6a4b2bf2fc98401e0de7168c4a5cf31b08b37. This is not actually something we want
2021-11-18Replace asyncio.ensure_future() with asyncio.create_task()Emmanuel Gil Peyrot
The latter function got introduced in Python 3.7, which is conveniently our MSPV, so let’s use that.
2021-05-21XEP-0045: Add a helper method to request voiceEmmanuel Gil Peyrot
This can be used in a moderated room when we are only a visitor.
2021-02-08XEP-0045: Types, visibility, and documentationmathieui
- 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-05global: rewrite copyright notice to use commentsmathieui
2021-01-31XEP-0045: make the join_muc_wait timeout parameter optionalmathieui
2021-01-31XEP-0045: Add a join_muc_wait functionmathieui
Which is async, raises on timeout or error, and returns when joined.
2021-01-31XEP-0045: Add a specific handler for MUC presence errorsmathieui
2021-01-31XEP-0045: add a directed event for self-presencemathieui
2021-01-12XEP-0045: Add a groupchat_join MUC event for componentsmathieui
2021-01-10XEP-0045: Better component handlingmathieui
2021-01-10XEP-0045: Better "groupchat_presence" targetingmathieui
(do not make EVERY SINGLE presence go through the 0045 handler)
2021-01-10XEP-0045: add more elements (<actor/>)mathieui
2020-12-27XEP-0045: Add a set_subject() helperEmmanuel Gil Peyrot
2020-12-27XEP-0045: Add missing reason for affiliation and role changesEmmanuel Gil Peyrot
This is especially useful for ban/kick reasons.
2020-12-27XEP-0045: Fix issues found by mypyEmmanuel Gil Peyrot
2020-12-04XEP-0045: Register the missing invite/decline elementmathieui
2020-12-03XEP-0045: Misc small fixes.mathieui
2020-12-03XEP-0045: Better invitation handlingmathieui
2020-12-03XEP-0045: Add status_codes interface to the MUC elementmathieui
2020-11-26XEP-0045: update methods for asyncio & stanza, typingmathieui
- This rewrites most of the stuff in the plugin by using the newly added elements instead of raw ElementTree stuff with hardcoded namespaces. - Adds methods for affiliation/roles - Adds some type hints - Fix many cases where the call would simply not work since slixmpp exists (and break the API but it was already broken ¯\_(ツ)_/¯)
2020-11-22XEP-0045: register the new elements & reformat initmathieui
2020-05-29XEP-0045: register_stanza_plgin(Message, MUCMessage)Maxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-05-29XEP-0045: Split __init__Maxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>