Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | plugins: Prefix module imports with prosody namespace | Kim Alvefur | 2023-03-24 | 1 | -9/+9 |
| | |||||
* | mod_storage_internal: Stop storing XEP-0091 timestamp | Kim Alvefur | 2021-09-04 | 1 | -2/+1 |
| | | | | | | | Should no longer be used by anything since the conversion of mod_offline to the archive API in 0.10.0, which was 4 years ago. The line clearing the property is left for a bit longer in case someone has very old offline messages or archived data. | ||||
* | mod_storage_internal: Support query for set of IDs | Kim Alvefur | 2021-01-12 | 1 | -0/+8 |
| | | | | Based on implementation in mod_storage_memory | ||||
* | mod_storage_internal: Add support for full ID range query | Kim Alvefur | 2021-01-12 | 1 | -2/+5 |
| | | | | Based on the mod_storage_memory implementation | ||||
* | mod_storage_internal, mod_storage_memory: Add support for query.before | Matthew Wild | 2020-06-12 | 1 | -2/+6 |
| | | | | Previously returned all results. | ||||
* | Merge 0.11->trunk | Kim Alvefur | 2020-05-15 | 1 | -2/+4 |
|\ | |||||
| * | mod_storage_internal: Fix error in time limited queries on items without ↵ | Kim Alvefur | 2020-05-15 | 1 | -2/+4 |
| | | | | | | | | 'when' field, fixes #1557 | ||||
* | | mod_storage_internal: Fix keeping old timestamp in archive map API | Kim Alvefur | 2020-05-15 | 1 | -1/+1 |
| | | | | | | | | | | This led to a missing 'when' field on changed items, which would cause a traceack. | ||||
* | | mod_storage_internal: Implement key-value API | Kim Alvefur | 2020-05-11 | 1 | -0/+40 |
| | | |||||
* | | mod_storage_internal: Include last text message | Kim Alvefur | 2019-08-23 | 1 | -1/+4 |
| | | | | | | | | | | | | 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. | ||||
* | | mod_storage_*: Also include timestmap of first message in :summary API | Kim Alvefur | 2019-08-23 | 1 | -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 API | Kim Alvefur | 2019-08-23 | 1 | -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 fields | Kim Alvefur | 2019-08-23 | 1 | -3/+5 |
| | | | | | | | | Eg might want to include last message, timestamp, chat state or other info. | ||||
* | | mod_storage_internal: Return appropriate error even with empty archive | Kim Alvefur | 2019-05-05 | 1 | -0/+3 |
| | | |||||
* | | mod_storage_internal: Return error if 'before' or 'after' are not found ↵ | Kim Alvefur | 2019-03-05 | 1 | -0/+10 |
| | | | | | | | | (partial fix for #1325) | ||||
* | | mod_storage_internal: Add support for iterating over users in archive stores | Kim Alvefur | 2019-05-05 | 1 | -0/+4 |
| | | | | | | | | May help with writing a better migrator | ||||
* | | mod_storage_internal,memory: Only return total count if requested | Kim Alvefur | 2019-05-05 | 1 | -6/+11 |
| | | |||||
* | | mod_storage_internal: Implement a summary API returning message counts per ↵ | Kim Alvefur | 2019-02-25 | 1 | -0/+10 |
| | | | | | | | | contact | ||||
* | | mod_storage_internal: Include store name when reporting quota status | Kim Alvefur | 2019-03-22 | 1 | -1/+1 |
| | | |||||
* | | 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_internal,_sql: Key item count cache on both username and store | Kim Alvefur | 2019-03-22 | 1 | -8/+11 |
| | | |||||
* | | mod_storage_internal,_sql: Expose archive capabilities feature set | Kim Alvefur | 2019-03-22 | 1 | -0/+6 |
| | | | | | | | | 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 | 1 | -0/+35 |
|/ | | | | (fixes #733) | ||||
* | mod_storage_internal: Only apply truncate if there are more items than requested | Kim Alvefur | 2018-08-04 | 1 | -1/+1 |
| | |||||
* | mod_storage_internal: Skip write if no items matched a deletion query | Kim Alvefur | 2017-11-19 | 1 | -0/+3 |
| | |||||
* | mod_storage_internal: Optimize truncation | Kim Alvefur | 2017-11-10 | 1 | -4/+5 |
| | |||||
* | mod_storage_internal: Allow truncating deletion at the beginning or end of ↵ | Kim Alvefur | 2017-11-09 | 1 | -0/+15 |
| | | | | an archive store | ||||
* | mod_storage_internal: Add more extensive query support to archive:delete method | Kim Alvefur | 2017-10-09 | 1 | -6/+22 |
| | |||||
* | mod_storage_internal: Add support for archive key deduplication (like ↵ | Kim Alvefur | 2017-10-09 | 1 | -2/+21 |
| | | | | mod_storage_sql) | ||||
* | mod_storage_internal: Return a noop iterator if archive is empty (fixes #920) | Kim Alvefur | 2017-07-05 | 1 | -1/+7 |
| | |||||
* | mod_storage_internal: Handle case of empty item store when deleting (fixes #910) | Kim Alvefur | 2017-05-14 | 1 | -1/+7 |
| | |||||
* | mod_storage_internal: Correctly calculate number of deleted items (fixes #912) | Kim Alvefur | 2017-05-14 | 1 | -1/+2 |
| | |||||
* | mod_storage_internal: Support the 'key' archive query field | Kim Alvefur | 2017-04-15 | 1 | -0/+5 |
| | |||||
* | mod_storage_internal: Add the dates method | Kim Alvefur | 2017-03-31 | 1 | -0/+6 |
| | |||||
* | mod_storage_internal: Add support for removing archived items | Kim Alvefur | 2017-03-31 | 1 | -0/+19 |
| | |||||
* | mod_storage_internal: Add basic archive store implementation | Kim Alvefur | 2017-03-31 | 1 | -0/+85 |
| | |||||
* | mod_storage_internal: Ignore unused 'self' argument [luacheck] | Kim Alvefur | 2017-03-31 | 1 | -2/+2 |
| | |||||
* | mod_storage_internal: Reorder methods | Kim Alvefur | 2017-03-31 | 1 | -8/+8 |
| | |||||
* | mod_storage_internal: Separate driver from keyval implementation | Kim Alvefur | 2017-03-31 | 1 | -6/+10 |
| | |||||
* | mod_storage_{none,internal,sql}: Return error for unsupported (everything ↵ | Kim Alvefur | 2014-06-20 | 1 | -0/+3 |
| | | | | but keyval) store types | ||||
* | mod_storage_internal, datamanager: Add support for iterating over users with ↵ | Kim Alvefur | 2012-09-21 | 1 | -2/+6 |
| | | | | data in a store | ||||
* | Merge 0.9->trunk | Matthew Wild | 2012-09-19 | 1 | -2/+2 |
|\ | |||||
| * | storagemanager, datamanager, mod_storage_{internal,sql}: Replace ↵ | Kim Alvefur | 2012-09-17 | 1 | -2/+2 |
| | | | | | | | | list_stores() with an iterator version | ||||
* | | mod_storage_*: Don't explicitly set driver name, to ease copying/renaming ↵ | Waqas Hussain | 2012-09-12 | 1 | -1/+1 |
| | | | | | | | | modules. | ||||
* | | core.storagemanager, mod_storage_*: "data-driver" -> "storage-provider", to ↵ | Waqas Hussain | 2012-09-12 | 1 | -1/+1 |
|/ | | | | allow using module:provides(). | ||||
* | mod_storage_internal: Add method for removing all data belonging to a user | Kim Alvefur | 2012-07-28 | 1 | -0/+4 |
| | |||||
* | mod_storage_internal: Add method for listing stores | Kim Alvefur | 2012-07-28 | 1 | -0/+4 |
| | |||||
* | storagemanager, mod_storage_internal: Split out default driver to ↵ | Matthew Wild | 2011-01-07 | 1 | -0/+19 |
mod_storage_internal, and greatly simplify storagemanager's error handling and fallback code |