aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
Commit message (Collapse)AuthorAgeFilesLines
* 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
* mod_websocket: Store the request object on the session for use by other modulesMatthew Wild2018-05-081-0/+1
|
* mod_http_files: Correct cache insertion (fixes #1130)Kim Alvefur2018-04-171-1/+1
|
* mod_blocklist: Allow mod_presence to handle subscription stanzas before ↵Kim Alvefur2018-04-061-6/+3
| | | | bouncing outgoing presence (fixes #575)
* MUC: Don't reply to errors with more errors (fixes #1122)Kim Alvefur2018-03-281-1/+3
|
* MUC: Say something about storage failure before aborting (see #1091)Kim Alvefur2018-03-121-0/+1
|
* MUC: Prevent creation of room that could not be loaded from storage (see #1091)Kim Alvefur2018-03-091-2/+8
|
* MUC: Abort module loading if unable to get list of persistent rooms from ↵Kim Alvefur2018-03-071-1/+5
| | | | storage (fixes #1091)
* Merge 0.9->0.10Kim Alvefur2018-03-101-1/+1
|\
| * mod_admin_telnet: Include the default path property in URL calculation ↵Kim Alvefur2018-03-101-1/+1
| | | | | | | | (fixes #1099)
| * MUC: send muc#stanza_id feature as per XEP-0045 v1.31 (fixes #1097)Jonas Wielicki2018-03-081-0/+1
| |
* | mod_mam: Remove unmatched closing parenKim Alvefur2018-03-091-1/+1
| |
* | MUC: send muc#stanza_id feature as per XEP-0045 v1.31 (fixes #1097)Jonas Wielicki2018-03-081-0/+1
| |
* | mod_mam: Add an option for whether to include 'total' counts by default in ↵Kim Alvefur2018-03-071-2/+2
| | | | | | | | queries
* | mod_mam: Log a debug message if archive expiry has been disabledKim Alvefur2018-03-071-0/+1
| |
* | Backed out changeset 97a094fdf101, interferes with 6ddddfe05a74Kim Alvefur2018-03-071-3/+1
| |
* | mod_mam: Implement option to enable MAM implicitly when client support is ↵Kim Alvefur2018-02-212-3/+26
| | | | | | | | detected (#867)
* | mod_dialback: Ignore unused arguments [luacheck]Kim Alvefur2018-02-041-2/+2
| |
* | mod_dialback: Expand abbrevationKim Alvefur2018-02-041-1/+1
| |
* | mod_dialback: Split long line [luacheck]Kim Alvefur2018-02-041-1/+2
| |
* | mod_dialback: Use renamed API for hooking non-stanza tagsKim Alvefur2018-02-041-2/+2
| |
* | mod_saslauth: Ignore unused argument [luacheck]Kim Alvefur2018-02-041-1/+1
| |
* | mod_saslauth: Use renamed API for hooking non-stanzasKim Alvefur2018-02-041-1/+1
| |
* | mod_saslauth: Pass SASL EXTERNAL failure reason on to be used in error bouncesKim Alvefur2018-02-041-1/+2
| |
* | mod_saslauth: Close connection if no fallback kicks in on SASL EXTERNAL failureKim Alvefur2018-02-041-1/+3
| |
* | Backed out changeset 89c42aff8510: The problem in ejabberd has reportedly ↵Kim Alvefur2018-02-042-2/+12
| | | | | | | | been resolved and this change causes more problems than it solves (fixes #1006)
* | mod_component: Advertise disco#info in fallback handling of disco#info query ↵Kim Alvefur2018-01-061-1/+2
| | | | | | | | (fixes #1062)
* | mod_saslauth: Log which mechanisms are offeredKim Alvefur2017-12-211-0/+1
| |
* | mod_storage_sql: Index over contact and timestamp (happy now Ge0rg?)Kim Alvefur2017-12-121-1/+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 ↵Kim 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
| |
* | mod_dialback: Copy function from mod_s2s instead of depending on it, which ↵Kim Alvefur2017-12-051-1/+13
| | | | | | | | made it harder to disable s2s (fixes #1050)
* | mod_limits: Fix typo in commentKim Alvefur2017-12-051-1/+1
| |
* | mod_storage_sql: Add indices that include the with and when columns of archivesKim Alvefur2017-11-211-0/+2
| |
* | mod_debug_sql: Declare itself as global moduleKim Alvefur2017-11-181-0/+2
| |
* | mod_c2s: Set a default value for c2s_timeout (fixes #1036)Kim Alvefur2017-11-101-1/+1
| |
* | mod_http_errors: Use util.interpolation to render HTML templateKim Alvefur2017-10-271-33/+28
| |
* | mod_http_errors: Set Content-Type header to HTML (fixes #1030)Kim Alvefur2017-10-271-0/+3
| |
* | mod_carbons: Synthesize a 'to' attribute for carbons of stanzas to "self" ↵Kim Alvefur2017-10-261-0/+3
| | | | | | | | (fixes #956)
* | mod_mam: Load archiving preferes for offline users (fixes #1024)Kim Alvefur2017-10-171-2/+4
| |
* | mod_stanza_debug: Logs full stanzas sent and received for debugging purposesKim Alvefur2017-10-231-0/+29
| |
* | mod_storage_sql: Also clear the prosodyarchive table when an user is deleted ↵Kim Alvefur2017-10-051-0/+1
| | | | | | | | (fixes #1009)
* | mod_storage_sql: Remove return values from purge methodKim Alvefur2017-10-051-2/+1
| |
* | mod_blocklist: Drop messages to existing full JIDs in order to prevent ↵Kim Alvefur2017-09-271-2/+7
| | | | | | | | issues with MUC PMs, fixes #690
* | mod_limits: Handle fractional outstanding balance values (caused by ↵Matthew Wild2017-09-261-0/+2
| | | | | | | | | | | | | | e3f7b6fa46ba) Fractional values were passed to string.sub() when doing buffer manipulations, and caused random bytes to be skipped in the stream.
* | mod_s2s: Use a separate resolver object for each outgoing sessionMatthew Wild2017-09-252-5/+7
| | | | | | | | | | | | | | | | Cleaner approach hopefully fixes problems with some peoples' DNS hanging after a while, failed DNS when a large number of queries are made at once, and source port re-use. Related issues: #487, 761, #991, #992, #1001