aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/muc
Commit message (Collapse)AuthorAgeFilesLines
* 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: Fix error logged when no persistent rooms presentMatthew Wild2018-05-301-2/+5
| |
| * 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)
* | Backed out changeset cd186331ab1f (subject in disco#info)Kim Alvefur2018-06-071-7/+0
| | | | | | | | | | Makes more sense if you must join the room to see the subject, since there’s a separate public description field.
* | MUC: Expose method for creating a bare room objectKim Alvefur2018-06-061-0/+1
| |
* | MUC: Track rooms created via internal public APIKim Alvefur2018-06-061-1/+1
| | | | | | | | Fixes muc:create() in the telnet console
* | MUC: Allow passing config to public create_room APIKim Alvefur2018-04-141-2/+2
| |
* | MUC: Advertise support for voice requestsKim Alvefur2018-06-021-0/+4
| |
* | MUC: Fix Ooo (thanks pep.)Kim Alvefur2018-06-031-6/+6
| | | | | | | | What time is it?
* | MUC: Make rooms hidden (non-public) by default for improved privacyKim Alvefur2018-06-031-1/+1
| | | | | | | | Thanks to jonasw for highlighting this with the MUC crawler.
* | MUC: Use xml:lang from stanza that creates a room as default for languageKim Alvefur2018-06-031-1/+1
| |
* | MUC: Add support for setting MUC room defaults from the config fileKim Alvefur2018-06-031-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | Defaults are roughtly like this: muc_rooom_default_public = true muc_rooom_default_persistent = false muc_rooom_default_members_only = false muc_rooom_default_moderated = false muc_rooom_default_public_jids = false muc_rooom_default_change_subject = false muc_room_default_history_length = 20 muc_room_default_language = nil
* | MUC: Enable room locking by default to gather feedback (#328)Kim Alvefur2018-06-031-1/+1
| |
* | MUC: Move voice request into its own libKim Alvefur2018-06-024-117/+129
| |
* | MUC: Correctly use a multiple options field for requested role (thanks jonasw)Kim Alvefur2018-06-021-1/+7
| |
* | MUC: Handle and return error in role change when granting voiceKim Alvefur2018-06-011-2/+7
| |
* | MUC: Add some debug logging for voice requestsKim Alvefur2018-06-012-0/+7
| |
* | MUC: Invert final conditional to be consistent with the other if statementsKim Alvefur2018-06-011-2/+4
| |
* | MUC: Get acting occupant into a local variable for easier accessKim Alvefur2018-06-011-1/+2
| |
* | MUC: Use util.jid.resourceKim Alvefur2018-06-011-4/+5
| |
* | MUC: Split out the nickname from the full room JID in voice request fromKim Alvefur2017-10-211-1/+3
| |
* | MUC: Reuse the same dataform for voice requestsKim Alvefur2017-10-202-36/+14
| |
* | MUC: Ignore unused argumens [luacheck]Kim Alvefur2017-10-202-2/+2
| |
* | MUC: Support MUC voice requests and approvals in moderated rooms (closes ↵Kim Alvefur2017-10-202-0/+119
| | | | | | | | #655) (thanks to Lance Stout)
* | MUC: Include a human-readable error message when not allowed to change subjectKim Alvefur2018-06-011-1/+1
| |
* | MUC: Advertise room subject in disco#infoKim Alvefur2018-06-011-0/+7
| |
* | MUC: Advertise in whether participants are allowed to change the subject (#1155)Kim Alvefur2018-06-011-0/+8
| |
* | MUC: Add support for setting a room language (closes #1149)Kim Alvefur2018-05-302-0/+54
| |
* | MUC: Some spacing to improve readabilityKim Alvefur2018-05-261-0/+1
| |
* | MUC: Pass description via formdata field where it should beKim Alvefur2018-05-261-1/+2
| |
* | MUC: Use correct field name for description in disco#info (fixes #1148)Kim Alvefur2018-05-261-1/+9
| | | | | | | | Introduced in c3254827698d
* | MUC: Add support for an optional hard limit on number of rooms (fixes #766)Kim Alvefur2018-05-221-1/+8
| |
* | Merge 0.10 -> trunkMatthew Wild2018-05-161-2/+32
|\| | | | | | | | | This commit intentionally drops changes from c2b99fa134b3 and 8da11142fabf which are based on older MUC code.
| * 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: Don't reply to errors with more errors (fixes #1122)Kim Alvefur2018-03-281-1/+3
| |
| * MUC: Say something about storage failure before aborting (see #1091)Kim Alvefur2018-03-121-0/+1
| |
| * MUC: Prevent creation of room that could not be loaded from storage (see #1091)Kim Alvefur2018-03-091-2/+8
| |