aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/muc/muc.lib.lua
Commit message (Collapse)AuthorAgeFilesLines
...
| * 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
| |
* | MUC: Add some debug logging for voice requestsKim Alvefur2018-06-011-0/+2
| |
* | MUC: Use util.jid.resourceKim Alvefur2018-06-011-4/+5
| |
* | MUC: Reuse the same dataform for voice requestsKim Alvefur2017-10-201-0/+7
| |
* | MUC: Ignore unused argumens [luacheck]Kim Alvefur2017-10-201-1/+1
| |
* | MUC: Support MUC voice requests and approvals in moderated rooms (closes ↵Kim Alvefur2017-10-201-0/+50
| | | | | | | | #655) (thanks to Lance Stout)
* | MUC: Move something into empty if branchKim Alvefur2018-03-091-3/+2
| |
* | Fix spelling throughout the codebase [codespell]Kim Alvefur2018-02-041-1/+1
| |
* | MUC: send muc#stanza_id feature as per XEP-0045 v1.31 (fixes #1097)Jonas Wielicki2018-03-081-0/+1
| |
* | MUC: Emit 333 status code on presence as per XEP-0045 1.30 (fixes #1087)Jonas Wielicki2018-02-231-1/+2
| |
* | MUC: Treat missing type and type=normal the sameKim Alvefur2017-10-201-1/+1
| |
* | MUC: Prevent traceback in case of no history items to serialize (fixes #1083)Kim Alvefur2018-02-151-1/+1
| |
* | MUC: Hook the correct eventKim Alvefur2017-12-231-3/+3
| |
* | MUC: Check delay tags when they are received instead of when they are sentKim Alvefur2017-12-211-1/+1
| |
* | MUC: Move delayed delivery check into an event handlerKim Alvefur2017-12-211-7/+11
| |
* | Merge 0.10->trunkKim Alvefur2017-12-221-0/+17
|\|
| * 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
| | |
* | | Backed out changeset a6574fdf8734, violates XEP-0045Kim Alvefur2017-07-031-10/+3
| | |
* | | MUC: Only send status code 307 to the user being kicked, not everyone (fixes ↵Kim Alvefur2017-06-261-3/+10
| | | | | | | | | | | | #939)
* | | MUC: Split long line [luacheck]Kim Alvefur2017-03-061-1/+3
| | |
* | | MUC: Include the appropriate status code if nickname is changed during join ↵Kim Alvefur2016-10-261-2/+18
| | | | | | | | | | | | process
* | | mod_muc/muc.lib: Allow passing different <x> elements to be passed to ↵Kim Alvefur2016-10-261-4/+5
| | | | | | | | | | | | :publicise_occupant_status()
* | | Merge 0.10->trunkKim Alvefur2016-10-071-0/+1
|\| |
| * | MUC: Return 'true' from room:destroy() so that use from the telnet console ↵Kim Alvefur2016-10-011-0/+1
| | | | | | | | | | | | says 'OK'
* | | MUC: Remove "server changed your nickname" status code, it gets into the ↵Kim Alvefur2016-10-011-5/+0
| | | | | | | | | | | | wrong places
* | | MUC: Fix logic of nickname override detection (thanks mimi89999)Kim Alvefur2016-10-011-2/+2
| | |
* | | MUC: Insert the appropriate status code (210) if the nickname is overriddenKim Alvefur2016-09-291-0/+6
| | |
* | | MUC: Fix conflict when restoring room where the same bare JID has joined as ↵Kim Alvefur2016-09-111-25/+10
| | | | | | | | | | | | multiple participants
* | | MUC: Fix compatibility with new and old storage formatKim Alvefur2016-08-241-13/+11
| | |
* | | MUC: Hide new MUC room storage format behind an off-by-default optionKim Alvefur2016-07-091-6/+17
| | |
* | | Merge 0.10->trunkKim Alvefur2016-05-281-1/+2
|\| |
| * | MUC: Allow members (or above) in members-only non-anonymous rooms to see the ↵Kim Alvefur2016-05-281-1/+2
| | | | | | | | | | | | member list (fixes #445)