Log

util/datamanager.lua @ 13215:b1c2e70de470

description author age
util.datamanager: Pad list writes to avoid crossing block boundaries Kim Alvefur Wed, 07 Jun 2023 00:39:30 +0200
util.datamanager: Efficiently remove whole blocks to shift lists Kim Alvefur Wed, 12 Jul 2023 11:45:12 +0200
util.datamanager: Add way to efficiently remove first items in a list Kim Alvefur Wed, 12 Jul 2023 11:42:41 +0200
util.datamanager: Fix indexing first item if not at the very start Kim Alvefur Mon, 10 Jul 2023 17:19:05 +0200
util.datamanager: Reduce log level of left over debug messages to debug (thanks Trung) Kim Alvefur Wed, 12 Jul 2023 10:24:28 +0200
util.datamanager: Fix missing separator in log line Kim Alvefur Mon, 10 Jul 2023 17:52:52 +0200
util.datamanager: Halve size of list index Kim Alvefur Fri, 14 May 2021 05:49:35 +0200
util.datamanager: Add O(1) list indexing with on-disk index Kim Alvefur Tue, 11 May 2021 02:09:56 +0200
util: Prefix module imports with prosody namespace Kim Alvefur Fri, 17 Mar 2023 16:23:16 +0100
spelling: non-existing mistakes (thanks timeless) 0.12.0 Kim Alvefur Mon, 07 Mar 2022 00:35:29 +0100
Spelling: Fix various spelling mistakes (thanks timeless) Kim Alvefur Mon, 07 Mar 2022 00:13:56 +0100
util.datamanager: Support iterating over any file extension Kim Alvefur Sun, 07 Feb 2021 19:23:33 +0100
util.datamanager: Fix not passing variables as format string to logger (thanks semgrep) Kim Alvefur Sat, 16 Jan 2021 15:49:46 +0100
Merge 0.11->trunk Kim Alvefur Mon, 24 Feb 2020 23:33:53 +0100
util.datamanager: Fix iterating over "users" (thanks marc0s) 0.11 Kim Alvefur Mon, 24 Feb 2020 23:16:08 +0100
util.datamanager: Ignore unused 'errno' variable [luacheck] Kim Alvefur Mon, 23 Dec 2019 21:01:55 +0100
Fix various spelling mistakes [codespell] Kim Alvefur Fri, 03 May 2019 20:54:24 +0200
vairious: Add annotation when an empty environment is set [luacheck] Kim Alvefur Wed, 28 Feb 2018 20:06:26 +0100
util.datamanager: Encode the 'store' path component, preserving underscores Kim Alvefur Sun, 08 Oct 2017 18:34:57 +0200
util.datamanager: Use already known index instead of measuring length each iteration Kim Alvefur Mon, 17 Apr 2017 03:26:21 +0200
util.datamanager: Log where the error came from Kim Alvefur Tue, 28 Mar 2017 17:31:55 +0200
util.datamanager: Rearrange locals Kim Alvefur Tue, 28 Mar 2017 17:31:24 +0200
util.datamanager: Use pposix.atomic_append Kim Alvefur Tue, 28 Feb 2017 11:33:43 +0100
util.datamanager: Remove check for file non-existence since ENOENT tells us that already Kim Alvefur Wed, 22 Mar 2017 12:02:52 +0100
util.datamanager: Split long line [luacheck] Kim Alvefur Wed, 22 Mar 2017 12:00:21 +0100
util.datamanager: Expose atomic_store as store_raw Kim Alvefur Wed, 01 Mar 2017 17:37:29 +0100
util.datamanager: Use atomic store function when writing the first entry of a list Kim Alvefur Wed, 01 Mar 2017 17:15:56 +0100
util.datamanager: Import value of ENOENT from util.pposix (if available) Kim Alvefur Wed, 01 Mar 2017 17:04:48 +0100
util.datamanager: Ignore ENOENT (no such file) when loading data Kim Alvefur Wed, 01 Mar 2017 16:44:59 +0100
util.datamanager: Shorter pattern Kim Alvefur Sun, 20 Nov 2016 12:06:36 +0100
util.datamanager: Remove extraneous decoding of + to space, which we never never encode to Kim Alvefur Sun, 20 Nov 2016 12:05:43 +0100
util.datamanager: Use the 'base' argument to tonumber() to indicate hexadecimal Kim Alvefur Sun, 20 Nov 2016 12:03:24 +0100
util.datamanager: Add annotations to ignore name clashes [luacheck] Kim Alvefur Sat, 24 Sep 2016 18:31:16 +0200
util.datamanager: Rename variables to avoid name clashes [luacheck] Kim Alvefur Sat, 24 Sep 2016 18:31:00 +0200
util.datamanager: Import tostring and type (fix global access) Kim Alvefur Sun, 22 May 2016 14:38:07 +0200
util.datamanager: Explicit handling of each error condition (see #632) Kim Alvefur Sat, 27 Feb 2016 15:29:56 +0100
Merge 0.9->0.10 Kim Alvefur Thu, 25 Feb 2016 22:37:41 +0100
util.datamanager: Unreference file handle after closing it to prevent trying to close it again (fixes #632) Kim Alvefur Thu, 25 Feb 2016 22:36:42 +0100
util.datamanager: Add append to public api Kim Alvefur Fri, 11 Dec 2015 20:31:55 +0100
util.datamanager: Return extra location info Kim Alvefur Fri, 11 Dec 2015 20:31:19 +0100
util.datamanager: Make sure only strings are passed as data to append() Kim Alvefur Fri, 11 Dec 2015 20:30:39 +0100
util.datamanager: Add some comments about the append function Kim Alvefur Fri, 11 Dec 2015 20:29:55 +0100
util.datamanager: Handle potential error from :write() call Kim Alvefur Fri, 11 Dec 2015 20:26:04 +0100
util.datamanager: Handle potential issues from fallocate Kim Alvefur Fri, 11 Dec 2015 20:24:36 +0100
util.datamanager: No shadowing of variable [luacheck] Kim Alvefur Fri, 11 Dec 2015 20:22:54 +0100
util.datamanager: Skip past second check if first attemtp to open file succeeds Kim Alvefur Fri, 11 Dec 2015 20:18:24 +0100
util.datamanager: In append() collect status when closing file handle as it may fail (eg the implied flush) Kim Alvefur Fri, 11 Dec 2015 20:13:37 +0100
util.datamanager: Overwrite 'data' variable instead of shadownig it [luacheck] Kim Alvefur Fri, 11 Dec 2015 20:11:48 +0100
util.datamanager: Factor out code for appending bytes to a file Kim Alvefur Fri, 11 Dec 2015 20:07:22 +0100
util.*: Remove use of module() function, make all module functions local and return them in a table at the end Kim Alvefur Sat, 21 Feb 2015 10:36:37 +0100
util.datamanager: Fix traceback from trying to purge when storage is empty or otherwise unaccessible (fixes #496) Kim Alvefur Wed, 13 May 2015 21:44:13 +0200
util.datamanager: Fix traceback due to %s in log message Kim Alvefur Fri, 03 Apr 2015 12:10:30 +0200
util.datamanager: Check that the global 'prosody' exists before using it (fixes nil indexing in use outside of prosody) Kim Alvefur Fri, 20 Feb 2015 19:00:01 +0100
util.datamanager: Clear the cache of created directories on storage failure, and retry Matthew Wild Sun, 07 Apr 2013 20:28:12 +0100
util.datamanager: expose path decode and encode functions. Marco Cirillo Sun, 07 Apr 2013 16:56:49 +0000
util.datamanager: Don't escape the name of a store Kim Alvefur Sun, 16 Dec 2012 14:36:24 +0100
util.datamanager: Remove unused variable Kim Alvefur Fri, 14 Dec 2012 14:25:58 +0100
util.datamanager: Remove dead code path Kim Alvefur Fri, 14 Dec 2012 14:21:32 +0100
mod_storage_internal, datamanager: Add support for iterating over users with data in a store Kim Alvefur Fri, 21 Sep 2012 17:23:08 +0200
storagemanager, datamanager, mod_storage_{internal,sql}: Replace list_stores() with an iterator version Kim Alvefur Mon, 17 Sep 2012 05:42:10 +0200