aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_storage_memory.lua
Commit message (Collapse)AuthorAgeFilesLines
* mod_storage_memory: Add map store methods to archive storeKim Alvefur2020-05-111-0/+31
|
* mod_storage_*: Also include timestmap of first message in :summary APIKim Alvefur2019-08-231-0/+5
| | | | | For completeness along with most recent timestamp. Might be nice to be able to order by oldest unread message.
* mod_storage_*: Include timestamp of latest message in :summary APIKim Alvefur2019-08-231-1/+4
| | | | | | | Clients may want to show a list of conversations ordered by how timestamp of most recent message. The counts allow a badge with unread message counter.
* mod_storage_*: Tweak :summary API to allow future expansion with more fieldsKim Alvefur2019-08-231-3/+5
| | | | Eg might want to include last message, timestamp, chat state or other info.
* mod_storage_memory: Return correct error even if no archive data availableKim Alvefur2019-05-051-0/+3
|
* mod_storage_memory: Return error if 'before' or 'after' are not found ↵Kim Alvefur2019-03-051-0/+10
| | | | (partial fix for #1325)
* mod_storage_internal,memory: Only return total count if requestedKim Alvefur2019-05-051-5/+12
|
* mod_storage_memory: Fix copypaste mistakeKim Alvefur2019-03-231-1/+1
|
* mod_storage_memory: Implement archive summary APIKim Alvefur2019-03-231-0/+10
|
* mod_storage_memory: Add support for archive item limitsKim Alvefur2019-03-201-0/+10
|
* Merge 0.11->trunkKim Alvefur2019-03-021-1/+2
|\
| * mod_storage_memory: Generate ID using standard util (fixes #1326)Kim Alvefur2019-03-021-1/+2
| | | | | | | | | | The previous method relied on tostring(table) returning the pointer address, which might not be portable.
* | Merge 0.11->trunkKim Alvefur2019-02-271-31/+51
|\|
| * mod_storage_memory: Replace query function with one based on ↵Kim Alvefur2019-02-271-31/+51
| | | | | | | | | | | | | | storage_internal (fixes #1322) The :find method in storage_internal works and is easier to read and understand. Future changes should be simpler to apply to both modules.
* | mod_storage_memory: Implement :user iteration APIKim Alvefur2019-01-141-0/+8
|/
* mod_storage_memory: Support the purge driver methodKim Alvefur2018-11-071-0/+6
|
* mod_storage_memory: Adapt archive deletion code from mod_storage_internalKim Alvefur2018-10-211-16/+62
|
* mod_storage_memory: Fix overwriting old keysKim Alvefur2018-10-211-1/+1
| | | | Test fixed is: spec/core_storagemanager_spec.lua:309: Expected objects to be equal.
* mod_storage_memory: Remove compat for very early argument orderKim Alvefur2018-10-211-3/+0
|
* mod_storage_memory: Switch from '@' prefix to '=' for chunks, '@' is used to ↵Matthew Wild2018-10-111-3/+3
| | | | indicate a source file name only
* mod_storage_memory: Fix saving of remaining items during deletionKim Alvefur2018-09-221-1/+1
| | | | | | | | | All data is compiled into functions that return new copies in order to prevent mutation of stored data. This has downsides. Also an ugly hack.
* mod_storage_memory: Import from prosody-modules 4c3230c22c18Matthew Wild2018-09-121-0/+178