aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/muc/muc.lib.lua
Commit message (Collapse)AuthorAgeFilesLines
* 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
* MUC: Avoid sending error for unavailable presence in GC 1.0 checkKim Alvefur2018-06-261-1/+1
|
* MUC: Normalize role value, fixes removal on loss of membership (thanks ↵Kim Alvefur2018-06-181-0/+1
| | | | mimi89999)
* MUC: Remove support for GC 1.0 for joiningKim Alvefur2018-03-091-8/+8
|
* MUC: Remove support for GC 1.0 during room creationKim Alvefur2018-03-091-15/+7
|
* MUC: Move extraction of <{muc}x> earlier, to be used later to differentiate ↵Kim Alvefur2018-03-091-1/+1
| | | | between join and presence update
* MUC: Ignore unused 'self' [luacheck]Kim Alvefur2018-06-081-1/+1
|
* Merge 0.10->trunkKim Alvefur2018-06-081-5/+1
|\
| * Backed out changeset b8c3dbf76a2e (fixes #1162)Kim Alvefur2018-06-081-5/+1
| | | | | | | | This is not required by the XEP and has privacy issues.
| * MUC: Revert unstable MUC commits since 0.10.1Matthew Wild2018-05-301-256/+104
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These have caused too many issue reports to be included in the stable branch at this time. Affected issues: #345, #397 Reverted commits: dcd53a565c01 6d4b0895f76d 1b10802a770e 564e897f0790 a7221ada9368 aaff40ec7001 05a3275b6873 c2b99fa134b3 8da11142fabf
| * MUC: Handle setting default history messages when history length is unset ↵Kim Alvefur2018-05-291-1/+1
| | | | | | | | (thanks tmolitor)
| * MUC: ensure that x/item/@jid is always a bare JIDJonas Wielicki2018-05-171-2/+2
| |
| * MUC: correctly emit <status/> tagsJonas Wielicki2018-05-171-1/+1
| |
| * MUC: reject non-bare JIDs in set_affiliation requests with not-acceptableJonas Wielicki2018-05-171-0/+3
| |
| * MUC: fix set_role invocationJonas Wielicki2018-05-171-4/+5
| |
| * MUC: Restore status codes on presence sent to occupant when their ↵Matthew Wild2018-05-161-2/+6
| | | | | | | | affiliation changes (thanks jonasw)
| * MUC: Allow the number of messages sent by default to be configured (fixes #397)Matthew Wild2018-05-161-1/+22
| |
| * MUC: Import revised, more comprehensive patch for 8da11142fabf (#345)Matthew Wild2018-05-161-95/+207
| |
| * muc: Allow clients to change multiple affiliations or roles at once (#345)Lennart Sauerbeck2017-03-181-7/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | According to XEP-0045 sections 9.2, 9.5 and 9.8 affiliation lists and role lists should allow mass-modification. Prosody however would just use the first entry of the list and ignore the rest. This is fixed by introducing a `for` loop to `set` stanzas of the respective `muc#admin` namespace. In order for this loop to work, the error handling was changed a little. Prosody no longer returns after the first error. Instead, an error reply is sent for each malformed or otherwise wrong entry, but the loop keeps going over the other entries. This may lead to multiple error messages being sent for one client request. A notable exception from this is when the XML Schema for `muc#admin` requests is violated. In that case the loop is aborted with an error message to the client. The change is a bit bigger than that in order to have the loop only for `set` stanzas without changing the behaviour of the `get` stanzas. This is now more in line with trunk, where there are separate methods for each stanza type. References: #345
| * MUC: send muc#stanza_id feature as per XEP-0045 v1.31 (fixes #1097)Jonas Wielicki2018-03-081-0/+1
| |
* | MUC: Move voice request into its own libKim Alvefur2018-06-021-62/+4
| |
* | MUC: Correctly use a multiple options field for requested role (thanks jonasw)Kim Alvefur2018-06-021-1/+7
| |