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 | |||||
| * | | mod_websocket: Store the request object on the session for use by other modules | Matthew Wild | 2018-05-08 | 1 | -0/+1 | |
| | | | ||||||
* | | | mod_muc_mam: Have stanza-id filtering over all groupchat messages, not just ↵ | Kim Alvefur | 2018-04-28 | 1 | -4/+9 | |
| | | | | | | | | | | | | ones considered for history | |||||
* | | | mod_muc_mam: Skip fetching history if built-in recent history is enough | Kim Alvefur | 2018-04-27 | 1 | -0/+4 | |
| | | | ||||||
* | | | mod_muc_mam: Skip fetching history if no history was requested | Kim Alvefur | 2018-04-28 | 1 | -0/+4 | |
| | | | ||||||
* | | | mod_muc_mam: Tweak calculation of max history to retrieve | Kim Alvefur | 2018-04-28 | 1 | -2/+6 | |
| | | | ||||||
* | | | 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 | |||||
* | | | mod_privacy: Silence long line warning [luacheck] | Kim Alvefur | 2018-05-02 | 1 | -1/+1 | |
| | | | ||||||
* | | | mod_admin_adhoc: Silence various harmless warnings [luacheck] | Kim Alvefur | 2018-05-01 | 1 | -0/+1 | |
| | | | ||||||
* | | | mod_admin_adhoc: Rename loop variable to avoid name clash [luacheck] | Kim Alvefur | 2018-05-01 | 1 | -2/+2 | |
| | | | ||||||
* | | | mod_admin_adhoc: Rename variable to avoid name clash [luacheck] | Kim Alvefur | 2018-05-01 | 1 | -7/+7 | |
| | | | ||||||
* | | | mod_admin_adhoc: Remove unused initial values [luacheck] | Kim Alvefur | 2018-05-01 | 1 | -2/+2 | |
| | | | ||||||
* | | | mod_admin_adhoc: Split a long line (improves readability) [luacheck] | Kim Alvefur | 2018-05-01 | 1 | -1/+6 | |
| | | | ||||||
* | | | mod_legacyauth: Split a long line [luacheck] | Kim Alvefur | 2018-05-01 | 1 | -1/+2 | |
| | | | ||||||
* | | | mod_bosh: Fix inconsistent whitespace [luacheck] | Kim Alvefur | 2018-05-01 | 1 | -2/+2 | |
| | | | ||||||
* | | | mod_bosh: Fix for 7be8f649d97d to skip error handling and allow other ↵ | Matthew Wild | 2018-04-29 | 1 | -3/+6 | |
| | | | | | | | | | | | | modules to handle the request | |||||
* | | | mod_c2s: Add a counter for IPv6. | Emmanuel Gil Peyrot | 2017-09-09 | 1 | -1/+7 | |
| | | | ||||||
* | | | mod_s2s: Add a counter for IPv6. | Emmanuel Gil Peyrot | 2017-09-09 | 1 | -1/+7 | |
| | | | ||||||
* | | | Merge 0.10->trunk | Matthew Wild | 2018-04-24 | 1 | -1/+1 | |
|\| | | ||||||
| * | | mod_http_files: Correct cache insertion (fixes #1130) | Kim Alvefur | 2018-04-17 | 1 | -1/+1 | |
| | | | ||||||
* | | | MUC: Move something into empty if branch | Kim Alvefur | 2018-03-09 | 1 | -3/+2 | |
| | | | ||||||
* | | | mod_pep_plus: Skip getting PEP service instance for sessions that have not ↵ | Kim Alvefur | 2018-04-11 | 1 | -1/+1 | |
| | | | | | | | | | | | | touched PEP | |||||
* | | | mod_bosh: Increase number of stored responses to ensure we always keep ↵ | Matthew Wild | 2018-04-11 | 1 | -1/+1 | |
| | | | | | | | | | | | | responses within the rid window available | |||||
* | | | mod_bosh: Improve connection robustness with better handling of unexpected rids | Matthew Wild | 2018-04-10 | 1 | -12/+19 | |
| | | | ||||||
* | | | mod_bosh: Some additonal comments to improve code readability | Matthew Wild | 2018-04-10 | 1 | -1/+3 | |
| | | | ||||||
* | | | mod_bosh: Whitespace | Matthew Wild | 2018-04-10 | 1 | -1/+0 | |
| | | | ||||||
* | | | mod_bosh: Improve logging - parse errors will now log through the session ↵ | Matthew Wild | 2018-04-10 | 1 | -1/+2 | |
| | | | | | | | | | | | | logger if possible | |||||
* | | | mod_bosh: Improve logging on session close (reason may be a table with params) | Matthew Wild | 2018-04-10 | 1 | -1/+1 | |
| | | | ||||||
* | | | Merge 0.10->trunk | Kim Alvefur | 2018-04-10 | 1 | -6/+3 | |
|\| | | ||||||
| * | | mod_blocklist: Allow mod_presence to handle subscription stanzas before ↵ | Kim Alvefur | 2018-04-06 | 1 | -6/+3 | |
| | | | | | | | | | | | | bouncing outgoing presence (fixes #575) | |||||
| * | | 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) | |||||
* | | | mod_register_limits: Promote log message about inability to apply ↵ | Kim Alvefur | 2018-04-10 | 1 | -1/+1 | |
| | | | | | | | | | | | | black/whitelists to a warning | |||||
* | | | mod_register_limits: Change debug message wording, there's no user yet | Kim Alvefur | 2018-04-10 | 1 | -1/+1 | |
| | | | ||||||
* | | | mod_register_limits: Use existing local variable | Kim Alvefur | 2018-04-10 | 1 | -2/+2 | |
| | | | ||||||
* | | | mod_register_ibr: Return a textual error to the user for problems with ↵ | Kim Alvefur | 2018-04-09 | 1 | -1/+3 | |
| | | | | | | | | | | | | parsing form data | |||||
* | | | mod_register_ibr: Reshape the code using early returns to reduce needless ↵ | Kim Alvefur | 2018-04-07 | 1 | -58/+71 | |
| | | | | | | | | | | | | indentation | |||||
* | | | mod_ping: Ignore unused arguments [luacheck] | Kim Alvefur | 2018-04-06 | 1 | -1/+1 | |
| | | | ||||||
* | | | Fix spelling throughout the codebase [codespell] | Kim Alvefur | 2018-02-04 | 8 | -15/+15 | |
| | | | ||||||
* | | | mod_muc_mam: Save the MUC <x> on recorded join stanzas | Kim Alvefur | 2018-03-24 | 1 | -1/+1 | |
| | | | ||||||
* | | | mod_muc_mam: Let muc/history.lib decide which messages to store | Kim Alvefur | 2018-03-24 | 1 | -4/+2 | |
| | | | ||||||
* | | | mod_muc_mam: Remove 0.10 compat code | Kim Alvefur | 2017-12-12 | 1 | -97/+4 | |
| | | | ||||||
* | | | mod_muc_mam: Import mod_mam_muc from prosody-modules ba6466fa6823 | Kim Alvefur | 2018-04-02 | 1 | -0/+462 | |
| | | | ||||||
* | | | mod_pep_plus: Validate items here too (thanks Link Mauve) | Kim Alvefur | 2018-03-25 | 1 | -0/+5 | |
| | | | ||||||
* | | | mod_pubsub: Reject publishing of non-items | Kim Alvefur | 2018-03-21 | 1 | -0/+5 | |
| | | | ||||||
* | | | mod_announce: Remove unreachable return statement [luacheck] | Kim Alvefur | 2018-03-23 | 1 | -2/+0 | |
| | | | ||||||
* | | | mod_posix: Delay setting signal handlers until in the main thread | Matthew Wild | 2018-03-22 | 1 | -18/+20 | |
| | | | | | | | | | | | | Signal handlers work by setting a debug hook. Hooks are per-thread, so we need this to be called in the main thread. However module loading is not in the main thread anymore. |