Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | mod_mam: More careful validation of MAM query form | Kim Alvefur | 2019-12-23 | 1 | -1/+9 |
| | | | | Adapted from mod_muc_mam | ||||
* | Merge 0.11->trunk | Matthew Wild | 2019-10-03 | 1 | -0/+2 |
|\ | |||||
| * | mod_mam: Add flag to session when it performs a MAM query | Matthew Wild | 2019-10-03 | 1 | -0/+2 |
| | | |||||
* | | plugins: Remove tostring call from logging | Kim Alvefur | 2019-07-30 | 1 | -2/+2 |
| | | | | | | | | | | | | Taken care of by loggingmanager now Mass-rewrite using lua pattern like `tostring%b()` | ||||
* | | mod_mam: Report correct count of results for forward queries | Kim Alvefur | 2019-07-13 | 1 | -1/+1 |
| | | | | | | | | | | #results is only correct for backwards queries, the table is unused for forward queries. | ||||
* | | mod_mam: Move final log message to end of query procedure | Kim Alvefur | 2019-07-11 | 1 | -3/+3 |
| | | |||||
* | | mod_mam: Log RSM parameters | Kim Alvefur | 2019-07-11 | 1 | -0/+3 |
| | | | | | | | | | | Helps when trying to figure out why some queries fail, ie when paging using an archive id that doesn't exist. | ||||
* | | mod_mam: Log query failure reason | Kim Alvefur | 2019-07-11 | 1 | -0/+1 |
| | | | | | | | | | | The storage engine will usually make a lot of noise for serious errors, but not always. | ||||
* | | mod_mam: Log more details in final log message | Kim Alvefur | 2019-07-11 | 1 | -1/+1 |
| | | | | | | | | Saves you from counting messages sent | ||||
* | | mod_mam: Include query id in final log message | Kim Alvefur | 2019-07-11 | 1 | -1/+1 |
| | | | | | | | | Should make it easier to find related log messages | ||||
* | | mod_mam: Use stanza id in log message as fallback if no query id | Kim Alvefur | 2019-07-11 | 1 | -1/+1 |
| | | |||||
* | | mod_mam: Include username that performed query | Kim Alvefur | 2019-07-11 | 1 | -1/+2 |
| | | | | | | | | Not always easy to find from surrounding logs | ||||
* | | mod_mam: Make log message more compact | Kim Alvefur | 2019-07-11 | 1 | -4/+5 |
| | | |||||
* | | Merge 0.11->trunk | Kim Alvefur | 2019-05-27 | 1 | -2/+7 |
|\| | |||||
| * | mod_mam: Cache last date that archive owner has messages to reduce writes ↵ | Kim Alvefur | 2019-05-27 | 1 | -1/+7 |
| | | | | | | | | (fixes #1368) | ||||
* | | mod_mam: Propagate item-not-found to client (fixes #1325) | Kim Alvefur | 2019-05-05 | 1 | -1/+5 |
| | | |||||
* | | 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_mam: Trim archive when quota has been exceeded | Kim Alvefur | 2017-11-07 | 1 | -3/+18 |
| | | |||||
* | | Merge 0.11->trunk | Kim Alvefur | 2019-03-22 | 1 | -1/+1 |
|\| | |||||
| * | 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. | ||||
* | | mod_mam: Fix operator precedence (thanks mimi89999) | Kim Alvefur | 2019-01-20 | 1 | -1/+1 |
| | | |||||
* | | 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_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. | ||||
* | mod_mam: Only accept valid JIDs in <always/> and <never/> prefs. (fixes #1275) | Emmanuel Gil Peyrot | 2018-12-23 | 1 | -4/+10 |
| | |||||
* | mod_mam: Remove embedded fallback archive driver (fixes #972) | Kim Alvefur | 2018-10-25 | 2 | -92/+0 |
| | | | | It was equivalent to mod_storage_memory, which is included as a separate module now. | ||||
* | mod_mam: Upgrade case of invalid archive store driver to hard error | Kim Alvefur | 2018-10-25 | 1 | -5/+2 |
| | |||||
* | mod_mam: Ignore case of null storage driver | Kim Alvefur | 2018-10-25 | 1 | -7/+3 |
| | |||||
* | mod_mam: Add coment on how 'complete' works | Kim Alvefur | 2018-06-10 | 1 | -0/+2 |
| | |||||
* | mod_mam: Handle edge-case of max=0 so that complete attr is set (fixes #1128) | Kim Alvefur | 2018-06-09 | 1 | -1/+1 |
| | |||||
* | mod_mam: Remove unmatched closing paren | Kim Alvefur | 2018-03-09 | 1 | -1/+1 |
| | |||||
* | mod_mam: Add an option for whether to include 'total' counts by default in ↵ | Kim Alvefur | 2018-03-07 | 1 | -2/+2 |
| | | | | queries | ||||
* | mod_mam: Log a debug message if archive expiry has been disabled | Kim Alvefur | 2018-03-07 | 1 | -0/+1 |
| | |||||
* | Backed out changeset 97a094fdf101, interferes with 6ddddfe05a74 | Kim Alvefur | 2018-03-07 | 1 | -3/+1 |
| | |||||
* | mod_mam: Implement option to enable MAM implicitly when client support is ↵ | Kim Alvefur | 2018-02-21 | 2 | -3/+26 |
| | | | | detected (#867) | ||||
* | mod_mam: Load archiving preferes for offline users (fixes #1024) | Kim Alvefur | 2017-10-17 | 1 | -2/+4 |
| | |||||
* | mod_mam: Also return the preferences on set | Emmanuel Gil Peyrot | 2017-09-19 | 1 | -7/+5 |
| | | | | Fixes #995. | ||||
* | mod_mam: Log a message when not archiving because it only had ignored tags | Kim Alvefur | 2017-09-18 | 1 | -0/+1 |
| | |||||
* | mod_mam: Log a message in case archive deletion is not supported by the ↵ | Kim Alvefur | 2017-09-12 | 1 | -1/+3 |
| | | | | storage module in use | ||||
* | mod_mam: Use a FIFO queue for scheduling archive expiry | Kim Alvefur | 2017-09-12 | 1 | -4/+11 |
| | |||||
* | mod_mam: Factor out <stanza-id> stripping so it can be reused in two places | Kim Alvefur | 2017-09-03 | 1 | -23/+22 |
| | |||||
* | mod_mam: Clone stanza before stripping stanza id after carbons | Kim Alvefur | 2017-09-03 | 1 | -0/+1 |
| | |||||
* | mod_mam: Clone stanzas before mutating (thanks waqas) (fixes #961) | Kim Alvefur | 2017-07-25 | 1 | -14/+23 |
| | |||||
* | mod_mam: Request a total count if no items are requested | Kim Alvefur | 2017-07-05 | 1 | -1/+1 |
| | |||||
* | mod_mam: Attach stanza-id to original stanza (fixes #917) | Kim Alvefur | 2017-05-20 | 1 | -1/+1 |
| | |||||
* | mod_mam: Format timestamps in log message | Kim Alvefur | 2017-05-07 | 1 | -1/+3 |
| | |||||
* | mod_mam: Use correct variable | Kim Alvefur | 2017-04-27 | 1 | -1/+1 |
| | |||||
* | mod_mam: Don't ask the storage backend to count all items when expiry is ↵ | Kim Alvefur | 2017-04-26 | 1 | -1/+7 |
| | | | | disabled | ||||
* | mod_mam: Remove extraneous assert when opening the store | Emmanuel Gil Peyrot | 2017-04-02 | 1 | -1/+1 |
| |