Log

util/datamanager.lua @ 7786:b62353e6a8e5

description author age
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
util.datamanager: Don't escape the name of a store Kim Alvefur 2012-12-16
util.datamanager: Remove unused variable Kim Alvefur 2012-12-14
util.datamanager: Remove dead code path Kim Alvefur 2012-12-14
mod_storage_internal, datamanager: Add support for iterating over users with data in a store Kim Alvefur 2012-09-21
storagemanager, datamanager, mod_storage_{internal,sql}: Replace list_stores() with an iterator version Kim Alvefur 2012-09-17
util.datamanager: Make the util.pposix dependency optional. Waqas Hussain 2012-09-12
util.datamanager: Ignore errors if the file is gone after removing it Kim Alvefur 2012-08-26
util.datamanager: Collect errors when deleting all stores of a user, but ignore "no such file" Kim Alvefur 2012-08-24
Merge Waqas<>Zash Matthew Wild 2012-07-31
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 2012-07-31
util.datamanager: Don't use os.rename on non-POSIX. It doesn't overwrite exisitng files on Windows. Waqas Hussain 2012-07-31
util.datamanager: Add missing mode flag to seek call Kim Alvefur 2012-07-31
util.datamanager: Remove a few unused imports Kim Alvefur 2012-07-29
util.datamanager: Write to a temporary file and atomically move it into place Kim Alvefur 2012-07-29
util.datamanager: Use pposix.fallocate() to make sure appends succeed. Also add a fallback fallocate() Kim Alvefur 2012-07-28
util.datamanager: Add function for removing all data belonging to a user Kim Alvefur 2012-07-28
util.datamanager: Add function for listing stores Kim Alvefur 2012-07-28
Merge with Florob Matthew Wild 2012-07-28
Eliminate direct setfenv usage Florian Zeitz 2012-06-08
Hopefully inert commit to clean up logging across a number of modules, removing all cases of concatenation when building log messages Matthew Wild 2012-07-23
util/datamanager: Use package.config to figure out directory seperator James Callahan 2011-12-12
util.datamanager: Change from 'Failed to load' to 'Assuming empty' for data store files that do not seem to exist Matthew Wild 2011-01-11
util.datamanager: Handle gracefully the lack of prosody.paths.data Matthew Wild 2011-01-11
util.datamanager: Use prosody.paths.data as the initial value for data_path Matthew Wild 2011-01-07
util.datamanager: Return an error string when pcall fails on a loaded list file. Waqas Hussain 2010-12-09
util.datamanager: When failing to load a list file, and the file exists, log an error, and return nil, error. Waqas Hussain 2010-12-09
util.datamanager: Return an error string when failing to save. Waqas Hussain 2010-05-23
util.datamanager: When failing to load a file, and the file exists, return nil, error. Waqas Hussain 2010-05-22
Merge 0.6->0.7 Matthew Wild 2010-03-22
Update copyright headers for 2010 Matthew Wild 2010-03-22
Backed out changeset cb1f9266130b: better way to achieve this to be committed Real Soon Now. Matthew Wild 2010-02-13
util.datamanager: Added support for hooks to override behavior. Waqas Hussain 2010-02-11
util.datamanager: Use pposix.mkdir if available Matthew Wild 2010-01-10
util.datamanager: Store data stores with no host in '_global' folder Matthew Wild 2009-12-06