aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_mam
Commit message (Collapse)AuthorAgeFilesLines
* mod_mam: Schedule cleanup again if unable to delete messagesKim Alvefur2019-12-241-0/+1
|
* mod_mam: Log error when unable to delete old messages (fix #1479) [luacheck]Kim Alvefur2019-12-241-0/+2
|
* mod_mam: Log error when unable to store stanza (fix #1478)Kim Alvefur2019-12-231-0/+2
| | | | | | Unclear what else to do here. Caught by luacheck
* mod_mam: Add flag to session when it performs a MAM queryMatthew Wild2019-10-031-0/+2
|
* mod_mam: Cache last date that archive owner has messages to reduce writes ↵Kim Alvefur2019-05-271-1/+7
| | | | (fixes #1368)
* mod_mam: Perform message expiry based on building an index by date (backport ↵Kim Alvefur2019-03-221-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: Only accept valid JIDs in <always/> and <never/> prefs. (fixes #1275)Emmanuel Gil Peyrot2018-12-231-4/+10
|
* mod_mam: Remove embedded fallback archive driver (fixes #972)Kim Alvefur2018-10-252-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 errorKim Alvefur2018-10-251-5/+2
|
* mod_mam: Ignore case of null storage driverKim Alvefur2018-10-251-7/+3
|
* mod_mam: Add coment on how 'complete' worksKim Alvefur2018-06-101-0/+2
|
* mod_mam: Handle edge-case of max=0 so that complete attr is set (fixes #1128)Kim Alvefur2018-06-091-1/+1
|
* mod_mam: Remove unmatched closing parenKim Alvefur2018-03-091-1/+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_mam: Load archiving preferes for offline users (fixes #1024)Kim Alvefur2017-10-171-2/+4
|
* mod_mam: Also return the preferences on setEmmanuel Gil Peyrot2017-09-191-7/+5
| | | | Fixes #995.
* mod_mam: Log a message when not archiving because it only had ignored tagsKim Alvefur2017-09-181-0/+1
|
* mod_mam: Log a message in case archive deletion is not supported by the ↵Kim Alvefur2017-09-121-1/+3
| | | | storage module in use
* mod_mam: Use a FIFO queue for scheduling archive expiryKim Alvefur2017-09-121-4/+11
|
* mod_mam: Factor out <stanza-id> stripping so it can be reused in two placesKim Alvefur2017-09-031-23/+22
|
* mod_mam: Clone stanza before stripping stanza id after carbonsKim Alvefur2017-09-031-0/+1
|
* mod_mam: Clone stanzas before mutating (thanks waqas) (fixes #961)Kim Alvefur2017-07-251-14/+23
|
* mod_mam: Request a total count if no items are requestedKim Alvefur2017-07-051-1/+1
|
* mod_mam: Attach stanza-id to original stanza (fixes #917)Kim Alvefur2017-05-201-1/+1
|
* mod_mam: Format timestamps in log messageKim Alvefur2017-05-071-1/+3
|
* mod_mam: Use correct variableKim Alvefur2017-04-271-1/+1
|
* mod_mam: Don't ask the storage backend to count all items when expiry is ↵Kim Alvefur2017-04-261-1/+7
| | | | disabled
* mod_mam: Remove extraneous assert when opening the storeEmmanuel Gil Peyrot2017-04-021-1/+1
|
* mod_mam: Remove dead code (default will be filled in by mamprefs.lib)Kim Alvefur2017-03-231-8/+0
|
* mod_mam: Handle default_archive_policy option consistentlyKim Alvefur2017-03-162-2/+5
|
* mod_mam: Fix to treat first return value from archive:append as assigned IDKim Alvefur2017-02-201-1/+2
|
* mod_mam: Remove repeated blank lineKim Alvefur2017-02-201-2/+0
|
* mod_mam: Fix typo in commentKim Alvefur2017-02-201-1/+1
|
* mod_mam: Add missing wrapping <query> element when returning the query formKim Alvefur2017-02-201-1/+1
|
* mod_mam: Update namespace to XEP-0313 v0.6Kim Alvefur2017-02-202-2/+2
|
* mod_mam: Strip stanza-id tags after carbonsKim Alvefur2017-02-191-0/+13
|
* mod_mam: Fix wording of commentKim Alvefur2017-02-191-1/+1
|
* mod_mam: Advertise Stanza ID support (XEP-0359) (thanks iNPUTmice)Kim Alvefur2017-02-141-0/+1
|
* mod_mam: Move stanza ID namespace to a common variableKim Alvefur2017-02-141-2/+3
|
* mod_mam: Ignore "indirectly mutating read-only global variable prosody" ↵Kim Alvefur2017-02-041-0/+1
| | | | warning [luacheck]
* mod_mam/mamprefs: Use 'prosody.hosts' instead of '_G.hosts' in case we ever ↵Kim Alvefur2017-02-041-1/+1
| | | | deprecate the later
* mod_mam: Correct import of util.rsmKim Alvefur2017-02-041-1/+1
|
* mod_mam: Use correct local name for util.jid.prepped_splitKim Alvefur2017-01-231-1/+1
|
* mod_mam: Silence warning about unused table used to describe data format ↵Kim Alvefur2017-01-231-0/+1
| | | | [luacheck]
* mod_mam: Remove unused variables [luacheck]Kim Alvefur2017-01-231-1/+0
|
* mod_mam: Normalize copyright headersKim Alvefur2017-01-234-6/+32
|
* mod_mam: Change store name to "archive" but make it configurable for people ↵Kim Alvefur2017-01-112-2/+3
| | | | who have data in "archive2"