Kim Alvefur
768d52008a
mod_storage_internal: Support query for set of IDs
...
Based on implementation in mod_storage_memory
5 years ago
Kim Alvefur
d114613e30
mod_storage_internal: Add support for full ID range query
...
Based on the mod_storage_memory implementation
5 years ago
Kim Alvefur
da56029ea1
mod_storage_internal: Fix error in time limited queries on items without 'when' field, fixes #1557
6 years ago
Kim Alvefur
f62650ffab
mod_storage_internal: Fix error in time limited queries on items without 'when' field, fixes #1557
6 years ago
Kim Alvefur
984bf1c1bf
mod_storage_internal: Fix error in time limited queries on items without 'when' field, fixes #1557
6 years ago
Matthew Wild
6a126c350f
mod_storage_internal, mod_storage_memory: Add support for query.before
...
Previously returned all results.
6 years ago
Kim Alvefur
35836fec71
mod_storage_internal: Fix keeping old timestamp in archive map API
...
This led to a missing 'when' field on changed items, which would cause a
traceack.
6 years ago
Kim Alvefur
b9bb7cca20
mod_storage_internal: Implement key-value API
6 years ago
Kim Alvefur
81bcce7117
mod_storage_internal: Include last text message
...
A protocol built on this API now allows showing a list of unread
conversations with a counter, ordered by either oldest or newest
message, along with the text body itself.
6 years ago
Kim Alvefur
efd7a8c226
mod_storage_*: Also include timestmap of first message in :summary API
...
For completeness along with most recent timestamp. Might be nice to be
able to order by oldest unread message.
6 years ago
Kim Alvefur
5a382ce091
mod_storage_*: Include timestamp of latest message in :summary API
...
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.
6 years ago
Kim Alvefur
24670cf607
mod_storage_*: Tweak :summary API to allow future expansion with more fields
...
Eg might want to include last message, timestamp, chat state or other info.
6 years ago
Kim Alvefur
fa0d394f9b
mod_storage_internal: Return appropriate error even with empty archive
7 years ago
Kim Alvefur
cf5c64cd69
mod_storage_internal: Return error if 'before' or 'after' are not found (partial fix for #1325 )
7 years ago
Kim Alvefur
017e7f7438
mod_storage_internal: Add support for iterating over users in archive stores
...
May help with writing a better migrator
7 years ago
Kim Alvefur
200664ab8a
mod_storage_internal,memory: Only return total count if requested
7 years ago
Kim Alvefur
f1e0f5c8dd
mod_storage_internal: Return a noop iterator if archive is empty ( fixes #920 )
9 years ago
Kim Alvefur
6498b4bc29
mod_storage_internal: Handle case of empty item store when deleting ( fixes #910 )
9 years ago
Kim Alvefur
2c41509285
mod_storage_internal: Correctly calculate number of deleted items ( fixes #912 )
9 years ago
Kim Alvefur
794f85abf5
mod_storage_internal: Support the 'key' archive query field
9 years ago
Kim Alvefur
8943b3423f
mod_storage_internal: Add the dates method
9 years ago
Kim Alvefur
2c3869f5be
mod_storage_internal: Add support for removing archived items
9 years ago
Kim Alvefur
0e7993732b
mod_storage_internal: Add basic archive store implementation
9 years ago
Kim Alvefur
91c38521ad
mod_storage_internal: Ignore unused 'self' argument [luacheck]
9 years ago
Kim Alvefur
7b14467d60
mod_storage_internal: Reorder methods
9 years ago
Kim Alvefur
15f2067297
mod_storage_internal: Separate driver from keyval implementation
9 years ago
Kim Alvefur
ad2d64f657
mod_storage_internal: Only apply truncate if there are more items than requested
8 years ago
Kim Alvefur
bc639cfc91
mod_storage_internal: Skip write if no items matched a deletion query
8 years ago
Kim Alvefur
38e1fc8dae
mod_storage_internal: Optimize truncation
8 years ago
Kim Alvefur
b242e3d0da
mod_storage_internal: Allow truncating deletion at the beginning or end of an archive store
8 years ago
Kim Alvefur
f8fde46648
mod_storage_internal: Add more extensive query support to archive:delete method
8 years ago
Kim Alvefur
036a936989
mod_storage_internal: Add support for archive key deduplication (like mod_storage_sql)
8 years ago
Kim Alvefur
13f1842f15
mod_storage_{none,internal,sql}: Return error for unsupported (everything but keyval) store types
12 years ago
Kim Alvefur
f4717fe48c
mod_storage_internal, datamanager: Add support for iterating over users with data in a store
13 years ago
Kim Alvefur
f7f8f20929
storagemanager, datamanager, mod_storage_{internal,sql}: Replace list_stores() with an iterator version
13 years ago
Waqas Hussain
db36af380f
mod_storage_*: Don't explicitly set driver name, to ease copying/renaming modules.
14 years ago
Waqas Hussain
66f46ff6ef
core.storagemanager, mod_storage_*: "data-driver" -> "storage-provider", to allow using module:provides().
14 years ago
Kim Alvefur
c1a1511e26
mod_storage_internal: Implement a summary API returning message counts per contact
7 years ago
Kim Alvefur
a763f1f823
mod_storage_internal: Include store name when reporting quota status
7 years ago
Kim Alvefur
9259554603
mod_storage_internal: Increase default quota to 10 000
...
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.
7 years ago
Kim Alvefur
8c6c1d0fd0
mod_storage_internal,_sql: Key item count cache on both username and store
7 years ago
Kim Alvefur
351783fd1d
mod_storage_internal,_sql: Expose archive capabilities feature set
...
This was planned to be added long ago but was forgotten.
7 years ago
Matthew Wild
8aef0281ab
mod_storage_internal,_sql: Add limit to number of items in an archive store ( fixes #733 )
8 years ago
Kim Alvefur
acf5902aaf
mod_storage_internal: Add method for removing all data belonging to a user
14 years ago
Kim Alvefur
047404cab0
mod_storage_internal: Add method for listing stores
14 years ago
Matthew Wild
909cdebf94
storagemanager, mod_storage_internal: Split out default driver to mod_storage_internal, and greatly simplify storagemanager's error handling and fallback code
15 years ago