Log

util/datamanager.lua @ 6999:0ad66d12113a

description author age
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
util.datamanager: Replace popen(mkdir) with lfs.mkdir, keeping the just-in-time creation until we have the new datamanager API Matthew Wild 2009-11-23
datamanager: Fixed logging errors on deletion of datastores not owned by a user@host Waqas Hussain 2009-09-05
Remove version number from copyright headers Matthew Wild 2009-07-10
datamanager: Fixed incorrect callback result checking Waqas Hussain 2009-07-02
util.datamanager: Allow multiple data storage callbacks, and allow them to modify parameters Matthew Wild 2009-06-22
util.datamanager: Lower log level of 'Setting data path' to 'debug' Matthew Wild 2009-05-02
Added: datamanager: Allow a callback to be installed which selectively prevents disk writes Waqas Hussain 2009-03-29
util.datamanager: Don't delete data when first entry in table is 'false'. My favourite bug so far. Matthew Wild 2009-03-22
0.3->0.4 Matthew Wild 2009-03-20
Update copyright notices for 2009 Matthew Wild 2009-01-30
0.2->0.3 Matthew Wild 2009-01-30
GPL->MIT! Matthew Wild 2009-01-30