Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | core.storagemanager: s/Multilpe/Multiple/ [codespell] | Kim Alvefur | 2021-03-05 | 1 | -1/+1 |
| | |||||
* | mod_storage_sql: Implement map-like API for archives | Kim Alvefur | 2021-02-01 | 1 | -2/+2 |
| | | | | | | | | Used by mod_http_file_share, muc moderation, etc. Tests tweaked because they failed on stanza internals that happen becasue of re-serialization. Namespaces differ since inheritance is implicit when building but explicit after parsing. | ||||
* | storage: Test reverse-ordered queries | Kim Alvefur | 2021-02-01 | 1 | -0/+22 |
| | |||||
* | storage tests: Add test for querying a set of IDs | Kim Alvefur | 2021-01-12 | 1 | -0/+24 |
| | |||||
* | storage tests: Test querys with both before and after IDs | Kim Alvefur | 2021-01-12 | 1 | -0/+21 |
| | | | | Needed for extended MAM, supported by SQL storage already. | ||||
* | storage tests: Add tests for archive queries before/after specific ids | Matthew Wild | 2020-06-12 | 1 | -5/+47 |
| | | | | | Also increased the size of the test data for easier debugging with more complex tests. | ||||
* | mod_storage_internal: Fix keeping old timestamp in archive map API | Kim Alvefur | 2020-05-15 | 1 | -3/+14 |
| | | | | | 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/+15 |
| | |||||
* | spec/storage: Reset build context of test stanza make comparisons easier | Kim Alvefur | 2020-05-11 | 1 | -1/+2 |
| | | | | | | | While building a stanza there's a .last_add field keeping track of where in the XML tree tags are being added. This field does not survive a roundtrip through preserialize / deserialize. :reset() removes this, which simplifes comparisons after such a roundtrip. | ||||
* | storagemanager, mod_storage_sql: Rename methods to :get_all() and :delete_all() | Matthew Wild | 2020-03-11 | 1 | -12/+12 |
| | |||||
* | storagemanager: Add support for :find_key() and :delete_key() to map store shim | Matthew Wild | 2020-03-11 | 1 | -7/+4 |
| | |||||
* | storagemanager: Fix unused variable in tests [luacheck] | Matthew Wild | 2020-03-11 | 1 | -1/+2 |
| | |||||
* | mod_storage_sql: Add map_store:find_key() and map_store:delete_key() (+ tests) | Matthew Wild | 2020-03-11 | 1 | -2/+72 |
| | |||||
* | storagemanager: Add tests for map stores | Matthew Wild | 2020-03-11 | 1 | -0/+38 |
| | |||||
* | tests: Silence [luacheck] warnings | Kim Alvefur | 2019-12-23 | 1 | -0/+6 |
| | |||||
* | various: Don't rely on _G.unpack existing | Kim Alvefur | 2018-12-08 | 1 | -1/+1 |
| | |||||
* | storagemanager: Fix tests on Lua 5.3 | Kim Alvefur | 2018-10-21 | 1 | -0/+1 |
| | | | | _G.unpack moved to table.unpack | ||||
* | storagemanager tests: Also cover memory driver | Kim Alvefur | 2018-10-12 | 1 | -0/+3 |
| | |||||
* | storagemanager tests: Remove debug print() | Matthew Wild | 2018-10-11 | 1 | -1/+0 |
| | |||||
* | storagemanager tests: Add many more archive tests, including (failing) cases ↵ | Matthew Wild | 2018-10-11 | 1 | -0/+105 |
| | | | | for #1200 and #1073 | ||||
* | storagemanager tests: Add additional archive query tests | Matthew Wild | 2018-10-11 | 1 | -18/+103 |
| | |||||
* | storagemanager tests: Add some additional checks | Matthew Wild | 2018-10-10 | 1 | -0/+12 |
| | |||||
* | storagemanager tests: Add initial basic tests for archive stores | Matthew Wild | 2018-10-10 | 1 | -18/+59 |
| | |||||
* | Fix storage tests so they run, but not by default | Matthew Wild | 2018-10-01 | 1 | -0/+86 |