aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
Commit message (Collapse)AuthorAgeFilesLines
* mod_mam: Perform message expiry based on building an index by dateKim Alvefur2019-01-031-31/+39
| | | | | | | | | For each day, store a set of users that have new messages. To expire messages, we collect the union of sets of users from dates that fall outside the cleanup range. The previous algoritm did not work well with many users, especially with the default settings.
* core.moduleapi: Use util.error for :send_iq errorsKim Alvefur2018-12-301-3/+0
|
* mod_admin_telnet: Validate hostnames in xmpp:ping commandKim Alvefur2018-12-291-2/+11
| | | | Attempt to ping some invalid hostnames cause weird behavior
* mod_tls: Keep TLS context errors and repeat them again for each sessionKim Alvefur2018-12-281-7/+17
|
* mod_c2s: Improve log message in case there are no stream features on offer ↵Kim Alvefur2018-12-281-1/+7
| | | | (thanks hexa)
* mod_saslauth: Improve log message when no SASL mechanisms offered (thanks hexa)Kim Alvefur2018-11-241-1/+2
|
* mod_admin_telnet: Make xmpp:ping command wait and report the replyKim Alvefur2018-12-281-4/+19
|
* mod_admin_telnet: Enable async processing using util.asyncKim Alvefur2018-12-271-2/+22
|
* mod_admin_telnet: Invert host existence checkKim Alvefur2018-12-281-5/+4
| | | | Simplifies and reduces indentation
* Merge 0.11->trunkKim Alvefur2018-12-231-4/+10
|\
| * mod_mam: Only accept valid JIDs in <always/> and <never/> prefs. (fixes #1275)Emmanuel Gil Peyrot2018-12-231-4/+10
| |
* | mod_pubsub: Split line in config check to improve readabilityKim Alvefur2018-12-231-1/+2
| | | | | | | | Also makes it easier to compare with mod_pep
* | mod_pubsub: Change order of luacheck directives to match arguments they apply toKim Alvefur2018-12-231-1/+1
| |
* | mod_pep: Set an 'id' on notificationsKim Alvefur2018-12-231-1/+3
| | | | | | | | mod_pubsub got this in f2d35eee69c9
* | mod_pep: Add some spacing between blocks in broadcaster to improve readabilityKim Alvefur2018-12-231-0/+3
| |
* | mod_pep: Move broadcaster code around to be more like in mod_pubsubKim Alvefur2018-12-231-3/+6
| | | | | | | | This eases comparing and contrasting these two modules.
* | mod_pubsub: Add semicolon (code style)Kim Alvefur2018-12-231-1/+1
| |
* | Merge 0.11->trunkKim Alvefur2018-12-201-1/+1
|\|
| * MUC: Allow changing data attached to an only owner (fixes #1273)Kim Alvefur2018-12-201-1/+1
| | | | | | | | | | | | | | This previously prevented a single owner from setting their own nickname via admin query. The form method uses `true` as actor so it bypasses this check.
* | Merge 0.11->trunkMatthew Wild2018-12-192-2/+2
|\|
| * MUC: Adjust priorities of muc-get-default-role handlers (fixes #1272)Matthew Wild2018-12-192-2/+2
| |
* | admin_telnet: show when bidi is used on s2sMaxime “pep” Buquet2018-12-181-0/+3
| |
* | Merge 0.11->trunkKim Alvefur2018-12-151-1/+1
|\|
| * MUC: Fix traceback when requesting voice (fixes #1269) (thanks jonas’)Kim Alvefur2018-12-151-1/+1
| | | | | | | | | | | | Introduced by change from add_child to add_direct_child in ce57c69a20e2 Why does add_direct_child not return self like everything else?
* | various: Don't rely on _G.unpack existingKim Alvefur2018-12-083-1/+3
| |
* | MUC/subject: Don't consider messages with <body> or <subject> (fixes #667)Kim Alvefur2018-12-041-0/+6
| |
* | mod_presence: Handle older boolean subscription request data (thanks Martin)Kim Alvefur2018-12-021-3/+7
| |
* | mod_presence: Remove unnecessary stanza clone callKim Alvefur2018-12-021-1/+1
| |
* | Merge 0.11->trunkKim Alvefur2018-12-021-0/+1
|\|
| * mod_vcard_legacy: Limit injection of XEP-0153 to normal presence (fixes #1252)Kim Alvefur2018-12-011-0/+1
| |
* | rostermanager, mod_presence: Store stanza for incoming subscription requests ↵Matthew Wild2018-12-011-3/+5
| | | | | | | | (fixes #689) (thanks Zash, Ge0rG)
* | Merge 0.11->trunkKim Alvefur2018-11-271-1/+1
|\|
| * mod_csi: Fix copypaste mistake [luacheck]0.11.1Kim Alvefur2018-11-271-1/+1
| |
* | Merge 0.11->trunkKim Alvefur2018-11-272-2/+3
|\|
| * mod_csi: Set session.state to simplify CSI modulesKim Alvefur2018-11-272-2/+1
| | | | | | | | Moved here from mod_csi_simple
| * mod_csi_simple: Fix autocompletion mistakeKim Alvefur2018-11-271-1/+1
| |
| * mod_csi_simple: Bypass importance event in active mode (fixes #1249)Kim Alvefur2018-11-271-1/+3
| |
| * mod_csi_simple: Don't set <delay> stamps on <iq> stanzas (fixes #1248)Kim Alvefur2018-11-271-1/+1
| |
* | MUC: Move check for explicit room join earlier in room creation flowKim Alvefur2018-11-272-8/+1
| |
* | Merge 0.11->trunkKim Alvefur2018-11-262-2/+8
|\|
| * Merge 0.10->0.11Kim Alvefur2018-11-261-1/+7
| |\
| | * mod_proxy65: Check what port is used at the time of the query0.10.3Kim Alvefur2018-11-251-1/+1
| | | | | | | | | | | | Could have changed between startup and time of request
| | * mod_proxy65: Return an error if no port is open (fixes #1240)Kim Alvefur2018-11-251-0/+6
| | |
| * | mod_csi_simple: Use the same event name when firing as when hooking (fixes ↵Kim Alvefur2018-11-251-1/+1
| | | | | | | | | | | | #1245)
* | | Merge 0.11->trunkKim Alvefur2018-11-251-0/+1
|\| |
| * | MUC: Fix traceback on muc#admin query with missing <item> child (#1242)Kim Alvefur2018-11-251-0/+1
| | | | | | | | | | | | Caused by a missing return statement introduced in 494938dec5d8
* | | Merge 0.11->trunkKim Alvefur2018-11-171-2/+7
|\| |
| * | mod_csi_simple: Consider non-stanza objects importantKim Alvefur2018-11-171-0/+3
| | | | | | | | | | | | | | | Most cases are for keepalive or stream closing, where it needs to be flushed anyways.
| * | mod_csi_simple: Skip delay tags on objects other than stanzas (thanks quest)Kim Alvefur2018-11-171-2/+4
| | | | | | | | | | | | | | | This may be triggered by sending strings, eg as done by mod_c2s for keepalives, stream errors, "</stream>".
* | | Merge 0.11->trunkMatthew Wild2018-11-151-4/+4
|\| |