aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/muc/muc.lib.lua
Commit message (Collapse)AuthorAgeFilesLines
* MUC: Fix logic for access to affiliation lists0.11.10Kim Alvefur2021-07-221-1/+1
| | | | | | Fixes https://prosody.im/security/advisory_20210722/ Backs out 4d7b925652d9
* MUC: Fix logic bug causing unnecessary presence to be sent, fixes #1615 ↵Matthew Wild2020-12-151-2/+2
| | | | (thanks damencho)
* MUC: Preserve disco 'node' attribute (or lack thereof) in response (fix ↵Kim Alvefur2020-10-071-2/+2
| | | | #1595) (thanks lessthan3)
* MUC: Always include 'affiliation'/'role' attributes, defaulting to 'none' if nilMatthew Wild2020-04-231-1/+1
|
* MUC: Persist affiliation_data in new MUC format!Matthew Wild2020-03-121-0/+1
|
* MUC: Keep role across nickname change (fixes #1466)Kim Alvefur2019-11-231-0/+3
|
* MUC: Strip tags with MUC-related namespaces from private messages (fixes #1427)Kim Alvefur2019-09-291-0/+1
| | | | Prevents duplication since it adds another <{muc#user}x> here
* MUC: Advertise XEP-0410 supportKim Alvefur2019-07-301-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 roomMatthew Wild2019-02-041-3/+3
|
* 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.
* MUC: Adjust priorities of muc-get-default-role handlers (fixes #1272)Matthew Wild2018-12-191-1/+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
* 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: Announce affiliation changes for JIDs that are not in the roomMatthew Wild2018-10-311-12/+23
|
* 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: 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: 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: 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-031-1/+14
| | | | | | 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: 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: 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: Split long lines [luacheck strict]Kim Alvefur2018-08-031-8/+12
|
* MUC: Fix another logic inversion ()Matthew Wild2018-07-171-1/+1
|
* MUC: Fix inverted logic ()Matthew Wild2018-07-171-1/+1
|
* Backed out changeset 0bf0ff3b0f91 (incorrect fix)Matthew Wild2018-07-171-1/+1
|
* MUC: Use JID from correct place when adding <body> to mediated invites ↵Matthew Wild2018-07-171-1/+1
| | | | (thanks Link Mauve/lovetox)
* MUC: Add 'actor' field in muc-config-submitted eventMatthew Wild2018-07-171-1/+8
|
* MUC: Also prevent changing to an invisible nicknameKim Alvefur2018-07-121-0/+7
|
* MUC: Use nickname from occupant objectKim Alvefur2018-07-121-1/+1
|
* MUC: Fix stanza referenceKim Alvefur2018-07-121-1/+1
|
* MUC: Reject invisible nicknames (fixes #979)Kim Alvefur2018-07-121-0/+8
|
* MUC: Fix to send status code 100 *only* to the joining (fixes #680)Kim Alvefur2018-07-121-9/+6
| | | | What does `if can_see_real_jids(whois, occupant) then` do?
* MUC: Simplify creation of <{muc}x> for room creationKim Alvefur2018-07-121-4/+2
| | | | | It’s only sent to the creator so no need to have separate variants for different kinds of participants.
* MUC: Remove <item> from room destruction announcement, it's added later ↵Kim Alvefur2018-07-111-1/+0
| | | | somwehere
* MUC: Include destruction reason and other info in destroyed eventKim Alvefur2018-07-111-1/+1
|
* MUC: Flag rooms being destroyed (fixes #887)Kim Alvefur2018-07-101-0/+1
|
* MUC: Bring handling of presence errors to the room more in line with ↵Matthew Wild2018-07-091-7/+13
| | | | | | unavailable presence Related issues: #505, #978
* MUC: Return new occupant object from :save_occupant(), which can include ↵Matthew Wild2018-07-091-0/+1
| | | | useful info