Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge 0.10 -> trunk | Matthew Wild | 2018-05-16 | 1 | -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 Wild | 2018-05-16 | 1 | -1/+22 |
| | | |||||
| * | MUC: Import revised, more comprehensive patch for 8da11142fabf (#345) | Matthew Wild | 2018-05-16 | 1 | -95/+207 |
| | | |||||
| * | 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: Don't reply to errors with more errors (fixes #1122) | Kim Alvefur | 2018-03-28 | 1 | -1/+3 |
| | | |||||
| * | MUC: Say something about storage failure before aborting (see #1091) | Kim Alvefur | 2018-03-12 | 1 | -0/+1 |
| | | |||||
| * | MUC: Prevent creation of room that could not be loaded from storage (see #1091) | Kim Alvefur | 2018-03-09 | 1 | -2/+8 |
| | | |||||
| * | MUC: Abort module loading if unable to get list of persistent rooms from ↵ | Kim Alvefur | 2018-03-07 | 1 | -1/+5 |
| | | | | | | | | storage (fixes #1091) | ||||
| * | MUC: send muc#stanza_id feature as per XEP-0045 v1.31 (fixes #1097) | Jonas Wielicki | 2018-03-08 | 1 | -0/+1 |
| | | |||||
* | | MUC: Introduce an event to allow plugins to influence which messages are ↵ | Kim Alvefur | 2018-05-07 | 1 | -2/+5 |
| | | | | | | | | added to history | ||||
* | | MUC: Move condition for what gets added to history so that other modules ↵ | Kim Alvefur | 2018-05-07 | 1 | -16/+16 |
| | | | | | | | | | | | | | | benefit (thanks jcbrand) This helps mod_muc_mam avoid logging eg chat-state-only messages without needing to implement similar logic in many places | ||||
* | | MUC: Move something into empty if branch | Kim Alvefur | 2018-03-09 | 1 | -3/+2 |
| | | |||||
* | | Fix spelling throughout the codebase [codespell] | Kim Alvefur | 2018-02-04 | 1 | -1/+1 |
| | | |||||
* | | MUC: Catch and log error in case of storage failure in iterator over rooms | Kim Alvefur | 2018-03-15 | 1 | -1/+9 |
| | | |||||
* | | MUC: Override methods on broken rooms to return internal-server-error instead | Kim Alvefur | 2018-03-22 | 1 | -0/+8 |
| | | |||||
* | | MUC: Return error if unable to keep track of room due to storage failure | Kim Alvefur | 2018-03-07 | 1 | -2/+6 |
| | | |||||
* | | MUC: Log failure to load room state | Kim Alvefur | 2018-03-16 | 1 | -1/+4 |
| | | |||||
* | | MUC: Only fetch stored room state if room config is loaded without error | Kim Alvefur | 2018-03-16 | 1 | -1/+1 |
| | | |||||
* | | MUC: Prevent room eviction on storage failure | Kim Alvefur | 2018-03-07 | 1 | -9/+15 |
| | | |||||
* | | MUC: Produce an untracked, locked room on failure to read room from storage ↵ | Kim Alvefur | 2018-03-12 | 1 | -1/+5 |
| | | | | | | | | (#1091) | ||||
* | | MUC: Use empty string if no subject provided (thanks pep+) | Matthew Wild | 2018-03-16 | 1 | -1/+1 |
| | | |||||
* | | MUC: Write down which functions are exposed and thus available to other modules | Kim Alvefur | 2018-03-09 | 1 | -0/+10 |
| | | |||||
* | | MUC: send muc#stanza_id feature as per XEP-0045 v1.31 (fixes #1097) | Jonas Wielicki | 2018-03-08 | 1 | -0/+1 |
| | | |||||
* | | MUC/lock: Fix locking timeout to account for the direction of time | Kim Alvefur | 2018-03-07 | 1 | -1/+1 |
| | | |||||
* | | MUC/lock: Remove redundant fallback value | Kim Alvefur | 2018-03-07 | 1 | -1/+1 |
| | | |||||
* | | MUC: Emit 333 status code on presence as per XEP-0045 1.30 (fixes #1087) | Jonas Wielicki | 2018-02-23 | 1 | -1/+2 |
| | | |||||
* | | MUC: Treat missing type and type=normal the same | Kim Alvefur | 2017-10-20 | 1 | -1/+1 |
| | | |||||
* | | MUC: Prevent traceback in case of no history items to serialize (fixes #1083) | Kim Alvefur | 2018-02-15 | 1 | -1/+1 |
| | | |||||
* | | MUC: Hook the correct event | Kim Alvefur | 2017-12-23 | 1 | -3/+3 |
| | | |||||
* | | MUC: Check delay tags when they are received instead of when they are sent | Kim Alvefur | 2017-12-21 | 1 | -1/+1 |
| | | |||||
* | | MUC: Move delayed delivery check into an event handler | Kim Alvefur | 2017-12-21 | 1 | -7/+11 |
| | | |||||
* | | Merge 0.10->trunk | Kim Alvefur | 2017-12-22 | 1 | -0/+17 |
|\| | |||||
| * | 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: Only create rooms in a locked state when they are created by someone ↵ | Kim Alvefur | 2017-03-31 | 1 | -3/+3 |
| | | | | | | | | | | | | joining (fixes timed deletion of all rooms on startup) | ||||
* | | | MUC: Cache names of public rooms on eviction | Kim Alvefur | 2017-11-09 | 1 | -0/+1 |
| | | | |||||
* | | | MUC: Measure rate of room eviction | Kim Alvefur | 2017-11-09 | 1 | -0/+2 |
| | | | |||||
* | | | MUC: Tweak debug log message | Kim Alvefur | 2017-11-09 | 1 | -1/+1 |
| | | | |||||
* | | | MUC: Include a human-readable message when denying room creation because of ↵ | Kim Alvefur | 2017-07-06 | 1 | -1/+1 |
| | | | | | | | | | | | | restrict_room_creation | ||||
* | | | MUC: Return item-not-found for eg messages to non-existant rooms (changed in ↵ | Kim Alvefur | 2017-07-06 | 1 | -1/+1 |
| | | | | | | | | | | | | 566aba0482b6 for unknown reason) | ||||
* | | | MUC: Log debug message when restoring a room from storage | Kim Alvefur | 2017-07-06 | 1 | -0/+1 |
| | | |