Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | MUC: Rename import to avoid name clash [luacheck] | Kim Alvefur | 2019-01-06 | 1 | -2/+2 |
| | |||||
* | Merge with jonas | Kim Alvefur | 2019-01-06 | 1 | -0/+4 |
|\ | |||||
| * | MUC: add ID to message if no ID is present | Jonas Wielicki | 2019-01-06 | 1 | -0/+4 |
| | | |||||
* | | Merge 0.11->trunk | Kim Alvefur | 2019-01-06 | 2 | -1/+4 |
|\ \ | |||||
| * | | mod_posix: Don't reload logging twice | Kim Alvefur | 2019-01-06 | 1 | -1/+1 |
| | | | | | | | | | | | | See 18eca6afb367 | ||||
| * | | util.startup: Always reload logging after config (fixes #1284) | Kim Alvefur | 2019-01-06 | 1 | -0/+3 |
| | | | | | | | | | | | | | | | This chancged in 6e24a69b03af likely because of confusion about the `reopen-log-files` event which was fired but never hooked. | ||||
* | | | mod_http_errors: Normalize CSS | Kim Alvefur | 2019-01-06 | 1 | -11/+14 |
| | | | |||||
* | | | util.http: Pre-generate urlencoding mappings (optimization) | Kim Alvefur | 2019-01-06 | 1 | -10/+11 |
| | | | | | | | | | | | | Function calls are more expensive than table lookups | ||||
* | | | mod_mam: Handle expiry of messages that expire in the middle of the cut-off day | Kim Alvefur | 2019-01-06 | 1 | -2/+6 |
| | | | |||||
* | | | mod_mam: Measure how long it takes to run the message expiry job job | Kim Alvefur | 2019-01-06 | 1 | -0/+3 |
| |/ |/| | |||||
* | | mod_admin_telnet: Sort stats by name | Kim Alvefur | 2019-01-04 | 1 | -1/+1 |
| | | |||||
* | | mod_admin_telnet: Serialize config values (table: 0x123abc isn't useful) | Kim Alvefur | 2019-01-04 | 1 | -1/+2 |
| | | |||||
* | | mod_admin_telnet: config:get: Assume the global section if only one argument ↵ | Kim Alvefur | 2019-01-04 | 1 | -0/+3 |
| | | | | | | | | is given | ||||
* | | mod_admin_telnet: Remove the long gone 'section' argument in the ↵ | Kim Alvefur | 2019-01-04 | 1 | -2/+2 |
| | | | | | | | | undocumented config:get command | ||||
* | | mod_mam: Fix word order in log message | Kim Alvefur | 2019-01-04 | 1 | -1/+1 |
| | | |||||
* | | mod_mam: Perform message expiry based on building an index by date | Kim Alvefur | 2019-01-03 | 1 | -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 convenience function for creating error object from stanza | Kim Alvefur | 2018-12-30 | 1 | -3/+1 |
| | | |||||
* | | util.error: Add a function for creating an error object from an error stanza | Kim Alvefur | 2018-12-30 | 1 | -0/+12 |
| | | |||||
* | | core.moduleapi: Use util.error for :send_iq errors | Kim Alvefur | 2018-12-30 | 2 | -8/+21 |
| | | |||||
* | | core.moduleapi: Move util imports to top | Kim Alvefur | 2018-12-30 | 1 | -2/+4 |
| | | |||||
* | | util.error: Add new util library for structured errors | Matthew Wild | 2018-12-30 | 1 | -0/+40 |
| | | |||||
* | | util.promise: Remove references to callbacks after settling promise | Kim Alvefur | 2018-12-30 | 1 | -0/+3 |
| | | | | | | | | This is to help the garbage collector. | ||||
* | | luacheckrc: Teach luacheck about the new module:send_iq() API | Kim Alvefur | 2018-12-30 | 1 | -0/+1 |
| | | |||||
* | | Merge 0.11->trunk | Kim Alvefur | 2018-12-29 | 2 | -0/+44 |
|\| | |||||
| * | util.pubsub: Restore subscription index from stored data (fixes #1281) | Kim Alvefur | 2018-12-29 | 2 | -0/+44 |
| | | |||||
* | | mod_admin_telnet: Validate hostnames in xmpp:ping command | Kim Alvefur | 2018-12-29 | 1 | -2/+11 |
| | | | | | | | | Attempt to ping some invalid hostnames cause weird behavior | ||||
* | | mod_tls: Keep TLS context errors and repeat them again for each session | Kim Alvefur | 2018-12-28 | 1 | -7/+17 |
| | | |||||
* | | mod_c2s: Improve log message in case there are no stream features on offer ↵ | Kim Alvefur | 2018-12-28 | 1 | -1/+7 |
| | | | | | | | | (thanks hexa) | ||||
* | | mod_saslauth: Improve log message when no SASL mechanisms offered (thanks hexa) | Kim Alvefur | 2018-11-24 | 1 | -1/+2 |
| | | |||||
* | | spec: Stub tests for util.interpolation | Kim Alvefur | 2018-03-10 | 1 | -0/+17 |
| | | |||||
* | | mod_admin_telnet: Make xmpp:ping command wait and report the reply | Kim Alvefur | 2018-12-28 | 1 | -4/+19 |
| | | |||||
* | | mod_admin_telnet: Enable async processing using util.async | Kim Alvefur | 2018-12-27 | 1 | -2/+22 |
| | | |||||
* | | mod_admin_telnet: Invert host existence check | Kim Alvefur | 2018-12-28 | 1 | -5/+4 |
| | | | | | | | | Simplifies and reduces indentation | ||||
* | | core.moduleapi: Add a promise-based API for tracking IQ stanzas (fixes #714) | Kim Alvefur | 2018-12-28 | 1 | -0/+65 |
| | | |||||
* | | util.stanza: Require a type attribute for iq stanzas | Kim Alvefur | 2018-12-28 | 2 | -5/+22 |
| | | |||||
* | | net.adns: Silence individual luacheck warnings instead of ignoring entire file | Kim Alvefur | 2018-12-24 | 2 | -8/+9 |
| | | |||||
* | | Merge 0.11->trunk | Kim Alvefur | 2018-12-23 | 3 | -5/+48 |
|\| | |||||
| * | mod_mam: Add test for JID normalization in prefs (see #1275) | Kim Alvefur | 2018-12-23 | 2 | -1/+38 |
| | | |||||
| * | mod_mam: Only accept valid JIDs in <always/> and <never/> prefs. (fixes #1275) | Emmanuel Gil Peyrot | 2018-12-23 | 1 | -4/+10 |
| | | |||||
* | | util.table: Add test for create() | Kim Alvefur | 2018-12-23 | 1 | -0/+7 |
| | | |||||
* | | util.table: Add test for pack() | Kim Alvefur | 2018-12-23 | 1 | -0/+10 |
| | | |||||
* | | mod_pubsub: Split line in config check to improve readability | Kim Alvefur | 2018-12-23 | 1 | -1/+2 |
| | | | | | | | | Also makes it easier to compare with mod_pep | ||||
* | | mod_pubsub: Change order of luacheck directives to match arguments they apply to | Kim Alvefur | 2018-12-23 | 1 | -1/+1 |
| | | |||||
* | | mod_pep: Set an 'id' on notifications | Kim Alvefur | 2018-12-23 | 1 | -1/+3 |
| | | | | | | | | mod_pubsub got this in f2d35eee69c9 | ||||
* | | mod_pep: Add some spacing between blocks in broadcaster to improve readability | Kim Alvefur | 2018-12-23 | 1 | -0/+3 |
| | | |||||
* | | mod_pep: Move broadcaster code around to be more like in mod_pubsub | Kim Alvefur | 2018-12-23 | 1 | -3/+6 |
| | | | | | | | | This eases comparing and contrasting these two modules. | ||||
* | | mod_pubsub: Add semicolon (code style) | Kim Alvefur | 2018-12-23 | 1 | -1/+1 |
| | | |||||
* | | Merge 0.11->trunk | Kim Alvefur | 2018-12-20 | 2 | -1/+23 |
|\| | |||||
| * | MUC: Allow changing data attached to an only owner (fixes #1273) | Kim Alvefur | 2018-12-20 | 2 | -1/+23 |
| | | | | | | | | | | | | | | 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->trunk | Matthew Wild | 2018-12-19 | 2 | -2/+2 |
|\| |