Kim Alvefur
|
b6cff0ba5e
|
mod_storage_memory: Implement :user iteration API
|
7 years ago |
Kim Alvefur
|
7241f86668
|
mod_storage_memory: Generate ID using standard util (fixes #1326)
The previous method relied on tostring(table) returning the pointer address,
which might not be portable.
|
7 years ago |
Kim Alvefur
|
07541082dc
|
mod_storage_memory: Replace query function with one based on 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.
|
7 years ago |
Kim Alvefur
|
f014ba0feb
|
mod_storage_memory: Support the purge driver method
|
7 years ago |
Kim Alvefur
|
e8bab7fadf
|
mod_storage_memory: Adapt archive deletion code from mod_storage_internal
|
7 years ago |
Kim Alvefur
|
534dae7164
|
mod_storage_memory: Fix overwriting old keys
Test fixed is: spec/core_storagemanager_spec.lua:309: Expected objects to be equal.
|
7 years ago |
Kim Alvefur
|
03151ec6d5
|
mod_storage_memory: Remove compat for very early argument order
|
7 years ago |
Matthew Wild
|
2a36be1e9e
|
mod_storage_memory: Switch from '@' prefix to '=' for chunks, '@' is used to indicate a source file name only
|
7 years ago |
Kim Alvefur
|
94b922ba3f
|
mod_storage_memory: Fix saving of remaining items during deletion
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.
|
7 years ago |
Matthew Wild
|
6215f65698
|
mod_storage_memory: Import from prosody-modules 4c3230c22c18
|
7 years ago |