Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | MUC: Fix logic for access to affiliation lists0.11.10 | Kim Alvefur | 2021-07-22 | 1 | -1/+1 |
| | | | | | | Fixes https://prosody.im/security/advisory_20210722/ Backs out 4d7b925652d9 | ||||
* | MUC: Add support for advertising muc#roomconfig_allowinvites in room disco#info | Matthew Wild | 2021-05-10 | 1 | -2/+10 |
| | | | | | | | | | | | | The de-facto interpretation of this (undocumented) option is to indicate to the client whether it is allowed to invite other users to the MUC. This is differs from the existing option in our config form, which only controls the behaviour of sending of invites in a members-only MUC (we always allow invites in open rooms). Conversations is one client known to use this disco#info item to determine whether it may send invites. | ||||
* | MUC: Fix logic bug causing unnecessary presence to be sent, fixes #1615 ↵ | Matthew Wild | 2020-12-15 | 1 | -2/+2 |
| | | | | (thanks damencho) | ||||
* | MUC: Preserve disco 'node' attribute (or lack thereof) in response (fix ↵ | Kim Alvefur | 2020-10-07 | 1 | -2/+2 |
| | | | | #1595) (thanks lessthan3) | ||||
* | MUC: Correct advertising of subject write access (really fixes #1155) | Kim Alvefur | 2020-10-04 | 1 | -2/+2 |
| | | | | | | | | | | Thanks pep. and lovetox XEP-0045 §6.4: > any field defined for the muc\#roomconfig FORM_TYPE can be included in > the extended service discovery fields Probably happened because the same mistake is in #1155 | ||||
* | MUC: Always include 'affiliation'/'role' attributes, defaulting to 'none' if nil | Matthew Wild | 2020-04-23 | 1 | -1/+1 |
| | |||||
* | MUC: Persist affiliation_data in new MUC format! | Matthew Wild | 2020-03-12 | 1 | -0/+1 |
| | |||||
* | mod_muc: Allow control over the server-admins-are-room-owners feature (see ↵ | Matthew Wild | 2020-02-13 | 1 | -1/+2 |
| | | | | #1174) | ||||
* | MUC: Keep role across nickname change (fixes #1466) | Kim Alvefur | 2019-11-23 | 1 | -0/+3 |
| | |||||
* | MUC: Don't advertise registration feature on host JID (fixes #1451) | Kim Alvefur | 2019-10-20 | 1 | -2/+0 |
| | | | | | | | | | | | There is currently no mention in XEP-0045 of how or where to advertise support for registration. Advertising on the host JID may be confusable with service-wide registration, as implemented in ejabberd. A common and sensible pattern in XMPP is that a feature is advertised on the JID where the service is available. | ||||
* | MUC: Strip tags with MUC-related namespaces from private messages (fixes #1427) | Kim Alvefur | 2019-09-29 | 1 | -0/+1 |
| | | | | Prevents duplication since it adds another <{muc#user}x> here | ||||
* | MUC: Fix delay@from to be room JID (fixes #1416)0.11.3 | Kim Alvefur | 2019-08-31 | 1 | -2/+2 |
| | |||||
* | MUC: Advertise XEP-0410 support | Kim Alvefur | 2019-07-30 | 1 | -0/+1 |
| | | | | Unsure if the feature was in the XEP at the time of 7c1cdf5f9f83 | ||||
* | MUC: Add error message to error bounces when not joined to room | Matthew Wild | 2019-02-04 | 1 | -3/+3 |
| | |||||
* | MUC: Allow changing data attached to an only owner (fixes #1273) | Kim Alvefur | 2018-12-20 | 1 | -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. | ||||
* | MUC: Adjust priorities of muc-get-default-role handlers (fixes #1272) | Matthew Wild | 2018-12-19 | 2 | -2/+2 |
| | |||||
* | MUC: Fix traceback when requesting voice (fixes #1269) (thanks jonas’) | Kim Alvefur | 2018-12-15 | 1 | -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: Fix traceback on muc#admin query with missing <item> child (#1242) | Kim Alvefur | 2018-11-25 | 1 | -0/+1 |
| | | | | Caused by a missing return statement introduced in 494938dec5d8 | ||||
* | MUC: Use defaults from config in create_room() if no config provided | Matthew Wild | 2018-11-15 | 1 | -12/+18 |
| | |||||
* | MUC: Allow anyone read access to all affiliation lists in non-anonymous ↵ | Kim Alvefur | 2018-11-09 | 1 | -1/+1 |
| | | | | rooms (fixes #1230) | ||||
* | MUC: Clarify condition with parenthesis | Kim Alvefur | 2018-11-09 | 1 | -2/+2 |
| | |||||
* | MUC: Add luacheck annotation for unused parameter in filter function | Matthew Wild | 2018-10-31 | 1 | -1/+1 |
| | |||||
* | MUC: Announce affiliation changes for JIDs that are not in the room | Matthew Wild | 2018-10-31 | 2 | -12/+32 |
| | |||||
* | MUC: Remove debug log | Matthew Wild | 2018-10-25 | 1 | -1/+0 |
| | |||||
* | MUC: Add function to retrieve affiliation data for a given JID | Matthew Wild | 2018-10-21 | 1 | -0/+9 |
| | |||||
* | MUC: Include affiliation data when iterating over affiliations with a room | Matthew Wild | 2018-10-21 | 1 | -11/+8 |
| | |||||
* | MUC: Use the bare JID when performing a lookup for COMPAT with clients that ↵ | Matthew Wild | 2018-10-21 | 1 | -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 Bihan | 2018-10-09 | 1 | -0/+1 |
| | | | | user | ||||
* | MUC: Respond to ping per XEP-0410: MUC Self-Ping server optimization (closes ↵ | Kim Alvefur | 2018-10-07 | 1 | -0/+5 |
| | | | | #1220) | ||||
* | MUC: Don't kick user of a reserved nick if it's theirs (thanks pep.) | Matthew Wild | 2018-09-14 | 1 | -1/+4 |
| | |||||
* | MUC: Include 'nick' attribute in affiliation lists (thanks jc) | Matthew Wild | 2018-09-14 | 1 | -1/+2 |
| | |||||
* | MUC: Fix to correctly return 'node' in disco#info responses (thanks jc) | Matthew Wild | 2018-09-13 | 1 | -1/+1 |
| | |||||
* | MUC: If a user with an existing affiliation registers, preserve that ↵ | Matthew Wild | 2018-09-13 | 1 | -1/+1 |
| | | | | affiliation (thanks jc) | ||||
* | MUC: Initialize room with empty affiliation_data if none stored | Matthew Wild | 2018-09-04 | 1 | -1/+1 |
| | |||||
* | MUC: Allow vCard4 requests trough | Kim Alvefur | 2018-09-04 | 1 | -1/+1 |
| | |||||
* | MUC: Allow admins to include a registered nick when setting affiliation | Matthew Wild | 2018-09-04 | 1 | -2/+19 |
| | | | | This is defined by XEP-0045 section 9.3 "Granting Membership" | ||||
* | MUC: Move comment for clarity | Matthew Wild | 2018-09-04 | 1 | -1/+1 |
| | |||||
* | MUC: Add support for registering with a MUC, including reserving a nickname ↵ | Matthew Wild | 2018-09-03 | 2 | -0/+201 |
| | | | | as per XEP-0045 | ||||
* | MUC: Add some comments for clarity | Matthew Wild | 2018-09-03 | 1 | -0/+3 |
| | |||||
* | MUC: Add support for separate events for disco#info queries with a 'node' | Matthew Wild | 2018-09-03 | 1 | -7/+17 |
| | | | | Reserved nickname discovery uses this | ||||
* | MUC: Add support for storing additional data with MUC affiliations | Matthew Wild | 2018-09-03 | 2 | -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 indentation | Kim Alvefur | 2018-08-22 | 1 | -3/+3 |
| | |||||
* | MUC: Direct PubSub queries to occupants to their real bare JID | Kim Alvefur | 2018-08-18 | 1 | -1/+2 |
| | | | | | This allows accessing PEP nodes of participants without knowing their real JIDs. | ||||
* | MUC: Fix traceback when failing to restore a room | Matthew Wild | 2018-08-17 | 1 | -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 message | Kim Alvefur | 2018-08-17 | 1 | -1/+1 |
| | |||||
* | MUC: Remove 307 status from error-kicks (fixes #939) | Matthew Wild | 2018-08-08 | 1 | -2/+1 |
| | |||||
* | mod_muc: Fix incorrect variable usage [luacheck] | Matthew Wild | 2018-08-08 | 1 | -1/+1 |
| | |||||
* | MUC: Suppress error text when participants are kicked due to error in ↵ | Matthew Wild | 2018-08-07 | 1 | -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 Alvefur | 2018-08-04 | 1 | -1/+1 |
| | |||||
* | MUC: Allow destruction of tombstones (eg via telnet or adhoc command) | Kim Alvefur | 2018-08-03 | 1 | -0/+3 |
| | | | | | Otherwise this just updates the timestamp, which is probably the opposite of what the user wanted |