Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | mod_mimicking: Update command to work with current code | Kim Alvefur | 2019-04-29 | 1 | -9/+14 |
| | |||||
* | mod_mimicking: Use new storage API | Kim Alvefur | 2019-04-29 | 1 | -4/+5 |
| | |||||
* | mod_mimicking: Hook the correct event names | Kim Alvefur | 2019-04-29 | 1 | -2/+2 |
| | |||||
* | mod_mimicking: Import skeleton() from current location | Kim Alvefur | 2019-04-29 | 1 | -1/+5 |
| | |||||
* | mod_mimicking: Prevents registration of confusable usernames (by Florob) ↵ | Kim Alvefur | 2012-08-06 | 1 | -0/+49 |
| | | | | (fixes #1347) | ||||
* | Merge 0.11->trunk | Kim Alvefur | 2019-04-24 | 1 | -0/+3 |
|\ | |||||
| * | mod_tls: Log debug message for each kind of TLS context created | Kim Alvefur | 2019-04-23 | 1 | -0/+3 |
| | | | | | | | | | | | | Creating TLS contexts triggers a lot of messages from certmanager that don't really describe their purpose. This is meant to provide hints about that. | ||||
* | | mod_admin_telnet: Adds c2s:closeall() (Fixes #1315) | João Duarte | 2019-04-17 | 1 | -0/+11 |
| | | |||||
* | | mod_http_files: Try to determine which module using serve() needs updating | Kim Alvefur | 2019-04-05 | 1 | -2/+8 |
| | | |||||
* | | mod_http_files: Use net.http.files | Kim Alvefur | 2019-04-05 | 1 | -136/+33 |
| | | |||||
* | | mod_limits: Fix typo | Kim Alvefur | 2019-04-02 | 1 | -1/+1 |
| | | |||||
* | | mod_limits: Allow configuring a list of unrestricted JIDs (fixes #1323) | Kim Alvefur | 2019-04-02 | 1 | -0/+17 |
| | | |||||
* | | mod_limits: Fix indentation | Kim Alvefur | 2019-04-02 | 1 | -5/+5 |
| | | | | | | | | Appears to have been messed up in 60e113f3682f | ||||
* | | mod_posix: Remove unnecessary import of util.format (thanks luacheck and ↵ | Matthew Wild | 2019-03-26 | 1 | -1/+0 |
| | | | | | | | | buildbot) | ||||
* | | loggingmanager, mod_posix: Move syslog to core, fixes #541 (in a way) | Matthew Wild | 2019-03-26 | 1 | -13/+0 |
| | | |||||
* | | mod_csi_simple: Include queue size in debug messages | Kim Alvefur | 2019-03-25 | 1 | -5/+5 |
| | | |||||
* | | mod_csi_simple: Fix type in function name | Matthew Wild | 2019-03-25 | 1 | -4/+3 |
| | | |||||
* | | mod_csi_simple: Improve debug logs by mentioing why the buffer gets flushed | Kim Alvefur | 2019-03-24 | 1 | -1/+5 |
| | | |||||
* | | mod_csi_simple: Add some debug logging | Kim Alvefur | 2019-03-24 | 1 | -0/+2 |
| | | |||||
* | | mod_csi_simple: Disable optimizations on unload and re-enable on load | Kim Alvefur | 2019-03-24 | 1 | -0/+21 |
| | | |||||
* | | mod_csi_simple: Separate out functions to enable/disable optimizations | Kim Alvefur | 2019-03-24 | 1 | -5/+13 |
| | | | | | | | | | | This allows reusing this logic outside the events. Letting the functions be module globals makes it easier to access from eg the telnet console. | ||||
* | | mod_csi_simple: Remove old "pump" queue/buffer method, handled in net.server now | Kim Alvefur | 2019-03-24 | 1 | -61/+2 |
| | | |||||
* | | mod_csi_simple: Also flush buffer in "pump" mode | Kim Alvefur | 2019-03-24 | 1 | -0/+7 |
| | | |||||
* | | mod_csi_simple: Trigger buffer flush on seeing incoming data | Kim Alvefur | 2019-03-24 | 1 | -0/+7 |
| | | | | | | | | | | I.e. the client sent us something, which means its network / radio is active. | ||||
* | | mod_csi_simple: Count buffered items and flush when it reaches configured limit | Kim Alvefur | 2019-03-24 | 1 | -0/+22 |
| | | | | | | | | | | In this mode, stanzas have been serialized to strings in the internal net.server buffer, so it is difficult to count them after the fact. | ||||
* | | mod_csi_simple: Break out stanza timestamping into a function for future reuse | Kim Alvefur | 2019-03-24 | 1 | -5/+9 |
| | | |||||
* | | mod_c2s: Fire an event when outgoing buffers have been emptied | Kim Alvefur | 2019-03-24 | 1 | -0/+7 |
| | | |||||
* | | mod_csi_simple: Use write locks in net.server if available | Kim Alvefur | 2018-11-24 | 1 | -1/+5 |
| | | |||||
* | | mod_storage_memory: Fix copypaste mistake | Kim Alvefur | 2019-03-23 | 1 | -1/+1 |
| | | |||||
* | | mod_storage_memory: Implement archive summary API | Kim Alvefur | 2019-03-23 | 1 | -0/+10 |
| | | |||||
* | | mod_storage_sql: Implement archive summary API | Kim Alvefur | 2019-02-25 | 1 | -0/+35 |
| | | |||||
* | | mod_storage_internal: Implement a summary API returning message counts per ↵ | Kim Alvefur | 2019-02-25 | 1 | -0/+10 |
| | | | | | | | | contact | ||||
* | | mod_storage_sql: No archive item limit by default | Kim Alvefur | 2019-03-22 | 1 | -4/+6 |
| | | |||||
* | | mod_storage_internal: Include store name when reporting quota status | Kim Alvefur | 2019-03-22 | 1 | -1/+1 |
| | | |||||
* | | mod_mam: On quota hit, separately delete by time and by item count | Kim Alvefur | 2019-03-22 | 1 | -3/+11 |
| | | | | | | | | | | This is to work around a possible SQL issue where offsets and time stamps don't interact correctly. | ||||
* | | mod_storage_sql: Return cached count if only this is queried for | Kim Alvefur | 2019-03-22 | 1 | -1/+5 |
| | | |||||
* | | mod_storage_sql: Cache total count if it's calculated as part of the current ↵ | Kim Alvefur | 2019-03-22 | 1 | -0/+3 |
| | | | | | | | | query | ||||
* | | mod_storage_sql: Skip cache write | Kim Alvefur | 2019-03-22 | 1 | -1/+0 |
| | | | | | | | | | | This would cause the cache to be wrong in case the the later INSERT fails and the transaction is aborted. | ||||
* | | mod_storage_sql: Fix to use currently queried store | Kim Alvefur | 2019-03-22 | 1 | -2/+2 |
| | | | | | | | | | | Was using the previously queried store due to this being cached in an upvalue. | ||||
* | | mod_storage_sql: Don't increment counter twice (fixes accounting error) | Kim Alvefur | 2019-03-22 | 1 | -1/+0 |
| | | |||||
* | | mod_storage_internal: Increase default quota to 10 000 | Kim Alvefur | 2019-03-22 | 1 | -1/+1 |
| | | | | | | | | | | | | Performance doesn't seem great but 10k should be far enough from limits inherited by the Lua parser. 1000 messages seemed pretty close to what an active user might produce in one week. | ||||
* | | mod_storage_memory: Add support for archive item limits | Kim Alvefur | 2019-03-20 | 1 | -0/+10 |
| | | |||||
* | | mod_mam: Trim archive when quota has been exceeded | Kim Alvefur | 2017-11-07 | 1 | -3/+18 |
| | | |||||
* | | mod_storage_internal,_sql: Key item count cache on both username and store | Kim Alvefur | 2019-03-22 | 2 | -13/+19 |
| | | |||||
* | | mod_storage_internal,_sql: Expose archive capabilities feature set | Kim Alvefur | 2019-03-22 | 2 | -0/+8 |
| | | | | | | | | This was planned to be added long ago but was forgotten. | ||||
* | | mod_storage_internal,_sql: Add limit to number of items in an archive store ↵ | Matthew Wild | 2017-10-20 | 2 | -1/+73 |
| | | | | | | | | (fixes #733) | ||||
* | | Merge 0.11->trunk | Kim Alvefur | 2019-03-22 | 2 | -2/+79 |
|\| | |||||
| * | mod_storage_memory: Implement :user iteration API | Kim Alvefur | 2019-01-14 | 1 | -0/+8 |
| | | |||||
| * | mod_muc_mam: Copy cleanup mechanism from mod_mam (fixes #672) | Kim Alvefur | 2019-03-22 | 1 | -1/+78 |
| | | |||||
| * | mod_mam: Perform message expiry based on building an index by date (backport ↵ | Kim Alvefur | 2019-03-22 | 1 | -31/+43 |
| | | | | | | | | | | | | | | | | | | | | | | of 39ee70fbb009 from trunk) 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. |