aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/muc/muc.lib.lua
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Merge 0.9->0.10Kim Alvefur2017-12-101-2/+18
|\
| * MUC: Rename variable to make it clearer that it is the room JID and not the ↵0.9.13Kim Alvefur2017-12-101-3/+3
| | | | | | | | MUC host
| * MUC: Ensure that <delay/> elements which match our from are stripped (fixes ↵Jonas Wielicki2017-12-091-0/+16
| | | | | | | | #1055)
| * MUC: fix the @from on <delay/> in history replay (fixes #1054)Jonas Wielicki2017-12-091-2/+2
| |
* | Merge 0.9->0.10Kim Alvefur2017-12-091-3/+1
|\|
| * MUC: Always send subject message, even if it is empty (fixes #1053)Kim Alvefur2017-12-091-3/+1
| |
* | MUC: Use variable that actually exists (thanks Martin)Kim Alvefur2017-08-061-2/+2
| |
* | MUC: Reject whitespace-only nicknames (fixes #337)Kim Alvefur2017-07-211-0/+14
| |
* | MUC: Add some comments attempting to explain what presence and <x> tag goes ↵Kim Alvefur2017-07-061-0/+2
| | | | | | | | where
* | MUC: Include status code 110 on affiliation changes (see #765)Kim Alvefur2017-07-061-3/+7
| |
* | MUC: Include status code 110 on role change notifications (fixes #765))Kim Alvefur2017-07-061-3/+6
| |
* | MUC: Log when denying entry to locked roomKim Alvefur2017-03-221-0/+1
| |
* | MUC: Return 'true' from room:destroy() so that use from the telnet console ↵Kim Alvefur2016-10-011-0/+1
| | | | | | | | says 'OK'
* | MUC: Allow members (or above) in members-only non-anonymous rooms to see the ↵Kim Alvefur2016-05-281-1/+2
| | | | | | | | member list (fixes #445)
* | Merge 0.9->0.10Kim Alvefur2016-04-191-0/+7
|\|
| * MUC: Accept missing form as "instant room" request (fixes #377)Kim Alvefur2016-04-191-0/+8
| |
* | MUC: Fire a muc-disco#info event like in trunk so modules can extend the replyKim Alvefur2016-02-031-6/+13
| |
* | Merge 0.9->0.10Matthew Wild2015-12-161-1/+1
|\|
| * MUC: Fix incorrect nesting of status codes when room config changes (fixes #579)Matthew Wild2015-12-161-1/+2
| |
* | MUC: Fix previous commitKim Alvefur2015-12-091-2/+2
| |
* | MUC: Process only options that are included in a form (Fixes #521)Kim Alvefur2015-12-081-3/+3
| |
* | Merge 0.9->0.10Matthew Wild2015-11-171-1/+1
|\|
| * muc.lib: Fix pattern so that it doesn't match hashes containing null bytes, ↵Matthew Wild2015-11-171-1/+1
| | | | | | | | causing dropped stanzas (thanks Jitsi folk!)
* | MUC: Break a very long lineKim Alvefur2015-09-121-2/+4
| |
* | Merge 0.9->0.10Matthew Wild2014-04-021-135/+107
|\ \ | |/ |/|
| * MUC: Tag PMs with <x>, like presence stanzasKim Alvefur2014-01-281-0/+1
| |
| * MUC: Split out sending of the topic into method separate from sending historyKim Alvefur2014-01-181-0/+3
| |
| * MUC: Split saving to history into a separate methodKim Alvefur2014-01-181-10/+13
| |
| * Merge 0.9->0.10Matthew Wild2013-10-051-1/+1
| |\
| * | mod_muc: Support for locking newly-created rooms until they are configured ↵Matthew Wild2013-08-301-0/+13
| | | | | | | | | | | | (enabled with muc_room_locking = true)
| * | Remove all trailing whitespaceFlorian Zeitz2013-08-091-5/+5
| | |
| * | mod_muc: Remove some old TODO commentsMatthew Wild2013-05-211-2/+1
| | |
| * | mod_muc: Fix incorrect variable nameMatthew Wild2013-05-211-1/+1
| | |
| * | mod_muc: Remove unused variableMatthew Wild2013-05-211-1/+1
| | |
| * | mod_muc: Use stanza:maptags() instead of custom filtering functions, 7 ↵Matthew Wild2013-05-211-19/+7
| | | | | | | | | | | | insertions, 19 deletions!
| * | mod_muc: Replace getText() with get_child_text(), 1 insertion, 12 deletions!Matthew Wild2013-05-211-12/+1
| | |
| * | mod_muc: Pass actor (requesting JID) when generating the config form, and to ↵Matthew Wild2013-05-181-4/+4
| | | | | | | | | | | | the muc-config-form event handler
| * | mod_muc: Add getter/setter for 'whois' (fixes traceback)Matthew Wild2013-05-181-3/+14
| | |
| * | mod_muc: Refactor config form handling, and allow for clients to submit ↵Matthew Wild2013-05-161-80/+45
| | | | | | | | | | | | incomplete forms. Fixes #246