Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | muc: Allow clients to change multiple affiliations or roles at once (#345) | Lennart Sauerbeck | 2017-03-18 | 1 | -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 Wielicki | 2018-03-08 | 1 | -0/+1 |
| | |||||
* | Merge 0.9->0.10 | Kim Alvefur | 2017-12-10 | 1 | -2/+18 |
|\ | |||||
| * | MUC: Rename variable to make it clearer that it is the room JID and not the ↵ | Kim Alvefur | 2017-12-10 | 1 | -3/+3 |
| | | | | | | | | MUC host | ||||
| * | MUC: Ensure that <delay/> elements which match our from are stripped (fixes ↵ | Jonas Wielicki | 2017-12-09 | 1 | -0/+16 |
| | | | | | | | | #1055) | ||||
| * | MUC: fix the @from on <delay/> in history replay (fixes #1054) | Jonas Wielicki | 2017-12-09 | 1 | -2/+2 |
| | | |||||
* | | Merge 0.9->0.10 | Kim Alvefur | 2017-12-09 | 1 | -3/+1 |
|\| | |||||
| * | MUC: Always send subject message, even if it is empty (fixes #1053) | Kim Alvefur | 2017-12-09 | 1 | -3/+1 |
| | | |||||
* | | MUC: Use variable that actually exists (thanks Martin) | Kim Alvefur | 2017-08-06 | 1 | -2/+2 |
| | | |||||
* | | MUC: Reject whitespace-only nicknames (fixes #337) | Kim Alvefur | 2017-07-21 | 1 | -0/+14 |
| | | |||||
* | | MUC: Add some comments attempting to explain what presence and <x> tag goes ↵ | Kim Alvefur | 2017-07-06 | 1 | -0/+2 |
| | | | | | | | | where | ||||
* | | MUC: Include status code 110 on affiliation changes (see #765) | Kim Alvefur | 2017-07-06 | 1 | -3/+7 |
| | | |||||
* | | MUC: Include status code 110 on role change notifications (fixes #765)) | Kim Alvefur | 2017-07-06 | 1 | -3/+6 |
| | | |||||
* | | MUC: Log when denying entry to locked room | Kim Alvefur | 2017-03-22 | 1 | -0/+1 |
| | | |||||
* | | MUC: Return 'true' from room:destroy() so that use from the telnet console ↵ | Kim Alvefur | 2016-10-01 | 1 | -0/+1 |
| | | | | | | | | says 'OK' | ||||
* | | MUC: Allow members (or above) in members-only non-anonymous rooms to see the ↵ | Kim Alvefur | 2016-05-28 | 1 | -1/+2 |
| | | | | | | | | member list (fixes #445) | ||||
* | | Merge 0.9->0.10 | Kim Alvefur | 2016-04-19 | 1 | -0/+7 |
|\| | |||||
| * | MUC: Accept missing form as "instant room" request (fixes #377) | Kim Alvefur | 2016-04-19 | 1 | -0/+8 |
| | | |||||
* | | MUC: Fire a muc-disco#info event like in trunk so modules can extend the reply | Kim Alvefur | 2016-02-03 | 1 | -6/+13 |
| | | |||||
* | | Merge 0.9->0.10 | Matthew Wild | 2015-12-16 | 1 | -1/+1 |
|\| | |||||
| * | MUC: Fix incorrect nesting of status codes when room config changes (fixes #579) | Matthew Wild | 2015-12-16 | 1 | -1/+2 |
| | | |||||
* | | MUC: Fix previous commit | Kim Alvefur | 2015-12-09 | 1 | -2/+2 |
| | | |||||
* | | MUC: Process only options that are included in a form (Fixes #521) | Kim Alvefur | 2015-12-08 | 1 | -3/+3 |
| | | |||||
* | | Merge 0.9->0.10 | Matthew Wild | 2015-11-17 | 1 | -1/+1 |
|\| | |||||
| * | muc.lib: Fix pattern so that it doesn't match hashes containing null bytes, ↵ | Matthew Wild | 2015-11-17 | 1 | -1/+1 |
| | | | | | | | | causing dropped stanzas (thanks Jitsi folk!) | ||||
* | | MUC: Break a very long line | Kim Alvefur | 2015-09-12 | 1 | -2/+4 |
| | | |||||
* | | Merge 0.9->0.10 | Matthew Wild | 2014-04-02 | 1 | -135/+107 |
|\ \ | |/ |/| | |||||
| * | MUC: Tag PMs with <x>, like presence stanzas | Kim Alvefur | 2014-01-28 | 1 | -0/+1 |
| | | |||||
| * | MUC: Split out sending of the topic into method separate from sending history | Kim Alvefur | 2014-01-18 | 1 | -0/+3 |
| | | |||||
| * | MUC: Split saving to history into a separate method | Kim Alvefur | 2014-01-18 | 1 | -10/+13 |
| | | |||||
| * | Merge 0.9->0.10 | Matthew Wild | 2013-10-05 | 1 | -1/+1 |
| |\ | |||||
| * | | mod_muc: Support for locking newly-created rooms until they are configured ↵ | Matthew Wild | 2013-08-30 | 1 | -0/+13 |
| | | | | | | | | | | | | (enabled with muc_room_locking = true) | ||||
| * | | Remove all trailing whitespace | Florian Zeitz | 2013-08-09 | 1 | -5/+5 |
| | | | |||||
| * | | mod_muc: Remove some old TODO comments | Matthew Wild | 2013-05-21 | 1 | -2/+1 |
| | | | |||||
| * | | mod_muc: Fix incorrect variable name | Matthew Wild | 2013-05-21 | 1 | -1/+1 |
| | | | |||||
| * | | mod_muc: Remove unused variable | Matthew Wild | 2013-05-21 | 1 | -1/+1 |
| | | | |||||
| * | | mod_muc: Use stanza:maptags() instead of custom filtering functions, 7 ↵ | Matthew Wild | 2013-05-21 | 1 | -19/+7 |
| | | | | | | | | | | | | insertions, 19 deletions! | ||||
| * | | mod_muc: Replace getText() with get_child_text(), 1 insertion, 12 deletions! | Matthew Wild | 2013-05-21 | 1 | -12/+1 |
| | | | |||||
| * | | mod_muc: Pass actor (requesting JID) when generating the config form, and to ↵ | Matthew Wild | 2013-05-18 | 1 | -4/+4 |
| | | | | | | | | | | | | the muc-config-form event handler | ||||
| * | | mod_muc: Add getter/setter for 'whois' (fixes traceback) | Matthew Wild | 2013-05-18 | 1 | -3/+14 |
| | | | |||||
| * | | mod_muc: Refactor config form handling, and allow for clients to submit ↵ | Matthew Wild | 2013-05-16 | 1 | -80/+45 |
| | | | | | | | | | | | | incomplete forms. Fixes #246 | ||||
* | | | MUC: Fixed traceback when a JID not in a room requested a role change for an ↵ | Waqas Hussain | 2014-04-01 | 1 | -1/+1 |
| |/ |/| | | | | | occupant. | ||||
* | | muc.lib.lua: Fix Spark jabber client not displaying conference room lists, ↵ | Paul | 2013-10-05 | 1 | -1/+1 |
| | | | | | | | | seemingly due to a missing value tag for the room description if the description has not been set | ||||
* | | mod_muc: Fix incorrect variable name | Matthew Wild | 2013-05-21 | 1 | -1/+1 |
|/ | |||||
* | mod_muc: Fire muc-room-created and muc-room-destroyed events (thanks nik) | Matthew Wild | 2013-05-14 | 1 | -0/+1 |
| | |||||
* | MUC: Allow actor == true to set roles (like affiliations) | Matthew Wild | 2013-04-29 | 1 | -2/+3 |
| | |||||
* | MUC: Allow plugins to add and handle options in the MUC config form | Matthew Wild | 2013-04-29 | 1 | -4/+8 |
| | |||||
* | MUC: add __tostring on room metatable | Matthew Wild | 2013-04-25 | 1 | -0/+4 |
| | |||||
* | mod_muc/muc.lib: Don't add messages without a body (such as chat state ↵ | Matthew Wild | 2013-03-28 | 1 | -1/+1 |
| | | | | notifications) to the room history (thanks louiz?, Link Mauve, poezio and all its users) | ||||
* | MUC: Always return <service-unavailable/> when a node is present in service ↵ | Waqas Hussain | 2013-02-26 | 1 | -7/+3 |
| | | | | discovery requests. |