aboutsummaryrefslogtreecommitdiffstats
path: root/util/datamanager.lua
Commit message (Expand)AuthorAgeFilesLines
* util.datamanager: Clean up list index files on purge (i.e. user deletion)Kim Alvefur2023-11-021-0/+2
* util.datamanager: Always reset index after list shiftKim Alvefur2023-07-221-39/+4
* util.datamanager: Add way to close indexed list storeKim Alvefur2023-07-211-1/+9
* util.datamanager: Close file handle when done using itKim Alvefur2023-07-211-0/+1
* util.datamanager: Disable blockwise removalKim Alvefur2023-07-211-1/+4
* util.datamanager: Disable block alignmentKim Alvefur2023-07-211-0/+2
* util.datamanager: Pad list writes to avoid crossing block boundariesKim Alvefur2023-06-071-0/+7
* util.datamanager: Efficiently remove whole blocks to shift listsKim Alvefur2023-07-121-0/+40
* util.datamanager: Add way to efficiently remove first items in a listKim Alvefur2023-07-121-0/+92
* util.datamanager: Fix indexing first item if not at the very startKim Alvefur2023-07-101-2/+2
* util.datamanager: Reduce log level of left over debug messages to debug (than...Kim Alvefur2023-07-121-2/+2
* util.datamanager: Fix missing separator in log lineKim Alvefur2023-07-101-1/+1
* util.datamanager: Halve size of list indexKim Alvefur2021-05-141-11/+15
* util.datamanager: Add O(1) list indexing with on-disk indexKim Alvefur2021-05-111-0/+191
* util: Prefix module imports with prosody namespaceKim Alvefur2023-03-171-4/+4
* spelling: non-existing mistakes (thanks timeless)0.12.0Kim Alvefur2022-03-071-2/+2
* Spelling: Fix various spelling mistakes (thanks timeless)Kim Alvefur2022-03-071-2/+2
* util.datamanager: Support iterating over any file extensionKim Alvefur2021-02-071-4/+3
* util.datamanager: Fix not passing variables as format string to logger (thank...Kim Alvefur2021-01-161-1/+1
* Merge 0.11->trunkKim Alvefur2020-02-241-1/+1
|\
| * util.datamanager: Fix iterating over "users" (thanks marc0s)Kim Alvefur2020-02-241-1/+1
* | util.datamanager: Ignore unused 'errno' variable [luacheck]Kim Alvefur2019-12-231-1/+2
* | Fix various spelling mistakes [codespell]Kim Alvefur2019-05-031-1/+1
|/
* vairious: Add annotation when an empty environment is set [luacheck]Kim Alvefur2018-02-281-0/+1
* util.datamanager: Encode the 'store' path component, preserving underscoresKim Alvefur2017-10-081-1/+8
* util.datamanager: Use already known index instead of measuring length each it...Kim Alvefur2017-04-171-2/+2
* util.datamanager: Log where the error came fromKim Alvefur2017-03-281-3/+4
* util.datamanager: Rearrange localsKim Alvefur2017-03-281-3/+2
* util.datamanager: Use pposix.atomic_appendKim Alvefur2017-02-281-23/+17
* util.datamanager: Remove check for file non-existence since ENOENT tells us t...Kim Alvefur2017-03-221-18/+4
* util.datamanager: Split long line [luacheck]Kim Alvefur2017-03-221-1/+3
* util.datamanager: Expose atomic_store as store_rawKim Alvefur2017-03-011-0/+1
* util.datamanager: Use atomic store function when writing the first entry of a...Kim Alvefur2017-03-011-4/+1
* util.datamanager: Import value of ENOENT from util.pposix (if available)Kim Alvefur2017-03-011-0/+1
* util.datamanager: Ignore ENOENT (no such file) when loading dataKim Alvefur2017-03-011-4/+13
* util.datamanager: Shorter patternKim Alvefur2016-11-201-1/+1
* util.datamanager: Remove extraneous decoding of + to space, which we never ne...Kim Alvefur2016-11-201-1/+1
* util.datamanager: Use the 'base' argument to tonumber() to indicate hexadecimalKim Alvefur2016-11-201-1/+1
* util.datamanager: Add annotations to ignore name clashes [luacheck]Kim Alvefur2016-09-241-5/+5
* util.datamanager: Rename variables to avoid name clashes [luacheck]Kim Alvefur2016-09-241-12/+12
* util.datamanager: Import tostring and type (fix global access)Kim Alvefur2016-05-221-0/+2
* util.datamanager: Explicit handling of each error condition (see #632)Kim Alvefur2016-02-271-14/+16
* Merge 0.9->0.10Kim Alvefur2016-02-251-0/+1
|\
| * util.datamanager: Unreference file handle after closing it to prevent trying ...Kim Alvefur2016-02-251-0/+1
* | util.datamanager: Add append to public apiKim Alvefur2015-12-111-0/+1
* | util.datamanager: Return extra location infoKim Alvefur2015-12-111-3/+3
* | util.datamanager: Make sure only strings are passed as data to append()Kim Alvefur2015-12-111-0/+1
* | util.datamanager: Add some comments about the append functionKim Alvefur2015-12-111-0/+3
* | util.datamanager: Handle potential error from :write() callKim Alvefur2015-12-111-3/+3
* | util.datamanager: Handle potential issues from fallocateKim Alvefur2015-12-111-1/+10