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 |
util.datamanager: Make the util.pposix dependency optional.
|
Waqas Hussain |
Wed, 12 Sep 2012 22:03:06 +0500 |
util.datamanager: Ignore errors if the file is gone after removing it
|
Kim Alvefur |
Sun, 26 Aug 2012 20:53:40 +0200 |
util.datamanager: Collect errors when deleting all stores of a user, but ignore "no such file"
|
Kim Alvefur |
Sat, 25 Aug 2012 01:21:41 +0200 |
Merge Waqas<>Zash
|
Matthew Wild |
Tue, 31 Jul 2012 23:07:02 +0100 |
util.datamanager: Try to open in read+write mode, then retry with write mode if that fails (usually because it doesn't exist)
|
Kim Alvefur |
Tue, 31 Jul 2012 23:34:11 +0200 |
util.datamanager: Don't use os.rename on non-POSIX. It doesn't overwrite exisitng files on Windows.
|
Waqas Hussain |
Wed, 01 Aug 2012 01:36:34 +0500 |
util.datamanager: Add missing mode flag to seek call
|
Kim Alvefur |
Tue, 31 Jul 2012 08:23:55 +0200 |
util.datamanager: Remove a few unused imports
|
Kim Alvefur |
Sun, 29 Jul 2012 03:30:59 +0200 |
util.datamanager: Write to a temporary file and atomically move it into place
|
Kim Alvefur |
Sun, 29 Jul 2012 03:26:03 +0200 |
util.datamanager: Use pposix.fallocate() to make sure appends succeed. Also add a fallback fallocate()
|
Kim Alvefur |
Sat, 28 Jul 2012 22:37:24 +0200 |
util.datamanager: Add function for removing all data belonging to a user
|
Kim Alvefur |
Sat, 28 Jul 2012 21:31:54 +0200 |
util.datamanager: Add function for listing stores
|
Kim Alvefur |
Sat, 28 Jul 2012 21:22:42 +0200 |
Merge with Florob
|
Matthew Wild |
Sat, 28 Jul 2012 01:14:31 +0100 |
Eliminate direct setfenv usage
|
Florian Zeitz |
Fri, 08 Jun 2012 05:04:38 +0200 |
Hopefully inert commit to clean up logging across a number of modules, removing all cases of concatenation when building log messages
|
Matthew Wild |
Mon, 23 Jul 2012 17:32:33 +0100 |
util/datamanager: Use package.config to figure out directory seperator
|
James Callahan |
Mon, 12 Dec 2011 17:08:48 +1100 |
util.datamanager: Change from 'Failed to load' to 'Assuming empty' for data store files that do not seem to exist
|
Matthew Wild |
Tue, 11 Jan 2011 05:28:07 +0000 |
util.datamanager: Handle gracefully the lack of prosody.paths.data
|
Matthew Wild |
Tue, 11 Jan 2011 04:19:03 +0000 |
util.datamanager: Use prosody.paths.data as the initial value for data_path
|
Matthew Wild |
Fri, 07 Jan 2011 11:55:19 +0000 |
util.datamanager: Return an error string when pcall fails on a loaded list file.
|
Waqas Hussain |
Fri, 10 Dec 2010 00:23:47 +0500 |
util.datamanager: When failing to load a list file, and the file exists, log an error, and return nil, error.
|
Waqas Hussain |
Fri, 10 Dec 2010 00:21:09 +0500 |
util.datamanager: Return an error string when failing to save.
|
Waqas Hussain |
Sun, 23 May 2010 23:55:01 +0500 |
util.datamanager: When failing to load a file, and the file exists, return nil, error.
|
Waqas Hussain |
Sat, 22 May 2010 05:49:21 +0500 |
Merge 0.6->0.7
|
Matthew Wild |
Mon, 22 Mar 2010 17:24:55 +0000 |
Update copyright headers for 2010
|
Matthew Wild |
Mon, 22 Mar 2010 17:06:15 +0000 |