Log

util/datamanager.lua @ 13244:2902c54f45a6

description author age
util.datamanager: Always reset index after list shift Kim Alvefur 17 months ago
util.datamanager: Add way to close indexed list store Kim Alvefur 17 months ago
util.datamanager: Close file handle when done using it Kim Alvefur 17 months ago
util.datamanager: Disable blockwise removal Kim Alvefur 17 months ago
util.datamanager: Disable block alignment Kim Alvefur 17 months ago
util.datamanager: Pad list writes to avoid crossing block boundaries Kim Alvefur 18 months ago
util.datamanager: Efficiently remove whole blocks to shift lists Kim Alvefur 17 months ago
util.datamanager: Add way to efficiently remove first items in a list Kim Alvefur 17 months ago
util.datamanager: Fix indexing first item if not at the very start Kim Alvefur 17 months ago
util.datamanager: Reduce log level of left over debug messages to debug (thanks Trung) Kim Alvefur 17 months ago
util.datamanager: Fix missing separator in log line Kim Alvefur 17 months ago
util.datamanager: Halve size of list index Kim Alvefur 2021-05-14
util.datamanager: Add O(1) list indexing with on-disk index Kim Alvefur 2021-05-11
util: Prefix module imports with prosody namespace Kim Alvefur 21 months ago
spelling: non-existing mistakes (thanks timeless) 0.12.0 Kim Alvefur 2022-03-06
Spelling: Fix various spelling mistakes (thanks timeless) Kim Alvefur 2022-03-06
util.datamanager: Support iterating over any file extension Kim Alvefur 2021-02-07
util.datamanager: Fix not passing variables as format string to logger (thanks semgrep) Kim Alvefur 2021-01-16
Merge 0.11->trunk Kim Alvefur 2020-02-24
util.datamanager: Fix iterating over "users" (thanks marc0s) 0.11 Kim Alvefur 2020-02-24
util.datamanager: Ignore unused 'errno' variable [luacheck] Kim Alvefur 2019-12-23
Fix various spelling mistakes [codespell] Kim Alvefur 2019-05-03
vairious: Add annotation when an empty environment is set [luacheck] Kim Alvefur 2018-02-28
util.datamanager: Encode the 'store' path component, preserving underscores Kim Alvefur 2017-10-08
util.datamanager: Use already known index instead of measuring length each iteration Kim Alvefur 2017-04-17
util.datamanager: Log where the error came from Kim Alvefur 2017-03-28
util.datamanager: Rearrange locals Kim Alvefur 2017-03-28
util.datamanager: Use pposix.atomic_append Kim Alvefur 2017-02-28
util.datamanager: Remove check for file non-existence since ENOENT tells us that already Kim Alvefur 2017-03-22
util.datamanager: Split long line [luacheck] Kim Alvefur 2017-03-22
util.datamanager: Expose atomic_store as store_raw Kim Alvefur 2017-03-01
util.datamanager: Use atomic store function when writing the first entry of a list Kim Alvefur 2017-03-01
util.datamanager: Import value of ENOENT from util.pposix (if available) Kim Alvefur 2017-03-01
util.datamanager: Ignore ENOENT (no such file) when loading data Kim Alvefur 2017-03-01
util.datamanager: Shorter pattern Kim Alvefur 2016-11-20
util.datamanager: Remove extraneous decoding of + to space, which we never never encode to Kim Alvefur 2016-11-20
util.datamanager: Use the 'base' argument to tonumber() to indicate hexadecimal Kim Alvefur 2016-11-20
util.datamanager: Add annotations to ignore name clashes [luacheck] Kim Alvefur 2016-09-24
util.datamanager: Rename variables to avoid name clashes [luacheck] Kim Alvefur 2016-09-24
util.datamanager: Import tostring and type (fix global access) Kim Alvefur 2016-05-22
util.datamanager: Explicit handling of each error condition (see #632) Kim Alvefur 2016-02-27
Merge 0.9->0.10 Kim Alvefur 2016-02-25
util.datamanager: Unreference file handle after closing it to prevent trying to close it again (fixes #632) Kim Alvefur 2016-02-25
util.datamanager: Add append to public api Kim Alvefur 2015-12-11
util.datamanager: Return extra location info Kim Alvefur 2015-12-11
util.datamanager: Make sure only strings are passed as data to append() Kim Alvefur 2015-12-11
util.datamanager: Add some comments about the append function Kim Alvefur 2015-12-11
util.datamanager: Handle potential error from :write() call Kim Alvefur 2015-12-11
util.datamanager: Handle potential issues from fallocate Kim Alvefur 2015-12-11
util.datamanager: No shadowing of variable [luacheck] Kim Alvefur 2015-12-11
util.datamanager: Skip past second check if first attemtp to open file succeeds Kim Alvefur 2015-12-11
util.datamanager: In append() collect status when closing file handle as it may fail (eg the implied flush) Kim Alvefur 2015-12-11
util.datamanager: Overwrite 'data' variable instead of shadownig it [luacheck] Kim Alvefur 2015-12-11
util.datamanager: Factor out code for appending bytes to a file Kim Alvefur 2015-12-11
util.*: Remove use of module() function, make all module functions local and return them in a table at the end Kim Alvefur 2015-02-21
util.datamanager: Fix traceback from trying to purge when storage is empty or otherwise unaccessible (fixes #496) Kim Alvefur 2015-05-13
util.datamanager: Fix traceback due to %s in log message Kim Alvefur 2015-04-03
util.datamanager: Check that the global 'prosody' exists before using it (fixes nil indexing in use outside of prosody) Kim Alvefur 2015-02-20
util.datamanager: Clear the cache of created directories on storage failure, and retry Matthew Wild 2013-04-07
util.datamanager: expose path decode and encode functions. Marco Cirillo 2013-04-07