aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/muc
Commit message (Collapse)AuthorAgeFilesLines
* MUC: Update error message for consistencyMatthew Wild2019-03-181-1/+1
|
* MUC: Fire an event to allow affecting decision of whether to allow a role changeKim Alvefur2019-02-241-0/+12
|
* MUC: Factor out role change permission check into its own methodKim Alvefur2019-02-241-18/+27
| | | | | | I would like to invert this logic so that it checks if the role change is allowed instead of checking if it is not allowed as it does now, in order to make it easier to understand.
* Merge 0.11->trunkMatthew Wild2019-02-041-3/+3
|\
| * MUC: Add error message to error bounces when not joined to roomMatthew Wild2019-02-041-3/+3
| |
* | MUC: Rename import to avoid name clash [luacheck]Kim Alvefur2019-01-061-2/+2
| |
* | MUC: add ID to message if no ID is presentJonas Wielicki2019-01-061-0/+4
| |
* | Merge 0.11->trunkKim Alvefur2018-12-201-1/+1
|\|
| * MUC: Allow changing data attached to an only owner (fixes #1273)Kim Alvefur2018-12-201-1/+1
| | | | | | | | | | | | | | This previously prevented a single owner from setting their own nickname via admin query. The form method uses `true` as actor so it bypasses this check.
* | Merge 0.11->trunkMatthew Wild2018-12-192-2/+2
|\|
| * MUC: Adjust priorities of muc-get-default-role handlers (fixes #1272)Matthew Wild2018-12-192-2/+2
| |
* | Merge 0.11->trunkKim Alvefur2018-12-151-1/+1
|\|
| * MUC: Fix traceback when requesting voice (fixes #1269) (thanks jonas’)Kim Alvefur2018-12-151-1/+1
| | | | | | | | | | | | Introduced by change from add_child to add_direct_child in ce57c69a20e2 Why does add_direct_child not return self like everything else?
* | MUC/subject: Don't consider messages with <body> or <subject> (fixes #667)Kim Alvefur2018-12-041-0/+6
| |
* | MUC: Move check for explicit room join earlier in room creation flowKim Alvefur2018-11-272-8/+1
| |
* | Merge 0.11->trunkKim Alvefur2018-11-251-0/+1
|\|
| * MUC: Fix traceback on muc#admin query with missing <item> child (#1242)Kim Alvefur2018-11-251-0/+1
| | | | | | | | Caused by a missing return statement introduced in 494938dec5d8
* | Merge 0.11->trunkMatthew Wild2018-11-151-12/+18
|\|
| * MUC: Use defaults from config in create_room() if no config providedMatthew Wild2018-11-151-12/+18
| |
* | MUC: Fix spelling in commentsKim Alvefur2018-11-101-5/+5
|/
* MUC: Allow anyone read access to all affiliation lists in non-anonymous ↵Kim Alvefur2018-11-091-1/+1
| | | | rooms (fixes #1230)
* MUC: Clarify condition with parenthesisKim Alvefur2018-11-091-2/+2
|
* MUC: Add luacheck annotation for unused parameter in filter functionMatthew Wild2018-10-311-1/+1
|
* MUC: Announce affiliation changes for JIDs that are not in the roomMatthew Wild2018-10-312-12/+32
|
* MUC: Remove debug logMatthew Wild2018-10-251-1/+0
|
* MUC: Add function to retrieve affiliation data for a given JIDMatthew Wild2018-10-211-0/+9
|
* MUC: Include affiliation data when iterating over affiliations with a roomMatthew Wild2018-10-211-11/+8
|
* MUC: Use the bare JID when performing a lookup for COMPAT with clients that ↵Matthew Wild2018-10-211-1/+1
| | | | | | don't set it (fixes #1224) The full JID is never meant to be the target of affiliation changes.
* MUC: Check that a room password is set before verifying password supplied by ↵Michel Le Bihan2018-10-091-0/+1
| | | | user
* MUC: Respond to ping per XEP-0410: MUC Self-Ping server optimization (closes ↵Kim Alvefur2018-10-071-0/+5
| | | | #1220)
* MUC: Don't kick user of a reserved nick if it's theirs (thanks pep.)Matthew Wild2018-09-141-1/+4
|
* MUC: Include 'nick' attribute in affiliation lists (thanks jc)Matthew Wild2018-09-141-1/+2
|
* MUC: Fix to correctly return 'node' in disco#info responses (thanks jc)Matthew Wild2018-09-131-1/+1
|
* MUC: If a user with an existing affiliation registers, preserve that ↵Matthew Wild2018-09-131-1/+1
| | | | affiliation (thanks jc)
* MUC: Initialize room with empty affiliation_data if none storedMatthew Wild2018-09-041-1/+1
|
* MUC: Allow vCard4 requests troughKim Alvefur2018-09-041-1/+1
|
* MUC: Allow admins to include a registered nick when setting affiliationMatthew Wild2018-09-041-2/+19
| | | | This is defined by XEP-0045 section 9.3 "Granting Membership"
* MUC: Move comment for clarityMatthew Wild2018-09-041-1/+1
|
* MUC: Add support for registering with a MUC, including reserving a nickname ↵Matthew Wild2018-09-032-0/+201
| | | | as per XEP-0045
* MUC: Add some comments for clarityMatthew Wild2018-09-031-0/+3
|
* MUC: Add support for separate events for disco#info queries with a 'node'Matthew Wild2018-09-031-7/+17
| | | | Reserved nickname discovery uses this
* MUC: Add support for storing additional data with MUC affiliationsMatthew Wild2018-09-032-3/+16
| | | | | | XEP-0045 registration provides examples of registering a nickname and various other details. This also allows modules to store arbitrary private data about an affiliated entity.
* MUC: Normalize indentationKim Alvefur2018-08-221-3/+3
|
* MUC: Direct PubSub queries to occupants to their real bare JIDKim Alvefur2018-08-181-1/+2
| | | | | This allows accessing PEP nodes of participants without knowing their real JIDs.
* MUC: Fix traceback when failing to restore a roomMatthew Wild2018-08-171-0/+3
| | | | | When a room exists in the DB but cannot be loaded (e.g. due to max_rooms or a pre-restore handler) restore_room()/get_room_from_jid() returns false.
* MUC: Pass missing argument to log messageKim Alvefur2018-08-171-1/+1
|
* MUC: Remove 307 status from error-kicks (fixes #939)Matthew Wild2018-08-081-2/+1
|
* mod_muc: Fix incorrect variable usage [luacheck]Matthew Wild2018-08-081-1/+1
|
* MUC: Suppress error text when participants are kicked due to error in ↵Matthew Wild2018-08-071-1/+1
| | | | | | | semi-anon rooms (fixes #563) This prevents information leaks (such as the occupant's server domain) which may be included in error messages.
* MUC: Provide options as options in config form (fixes traceback)Kim Alvefur2018-08-041-1/+1
|