aboutsummaryrefslogtreecommitdiffstats
path: root/util/datamanager.lua
Commit message (Expand)AuthorAgeFilesLines
* util.datamanager: Unreference file handle after closing it to prevent trying ...Kim Alvefur2016-02-251-0/+1
* util.datamanager: Fix traceback from trying to purge when storage is empty or...Kim Alvefur2015-05-131-1/+5
* util.datamanager: Fix traceback due to %s in log messageKim Alvefur2015-04-031-1/+1
* util.datamanager: Check that the global 'prosody' exists before using it (fix...Kim Alvefur2015-02-201-1/+1
* util.datamanager: Clear the cache of created directories on storage failure, ...Matthew Wild2013-04-071-11/+19
* util.datamanager: expose path decode and encode functions.Marco Cirillo2013-04-071-0/+2
* util.datamanager: Don't escape the name of a storeKim Alvefur2012-12-161-1/+1
* util.datamanager: Remove unused variableKim Alvefur2012-12-141-1/+0
* util.datamanager: Remove dead code pathKim Alvefur2012-12-141-4/+1
* mod_storage_internal, datamanager: Add support for iterating over users with ...Kim Alvefur2012-09-211-0/+19
* storagemanager, datamanager, mod_storage_{internal,sql}: Replace list_stores(...Kim Alvefur2012-09-171-21/+31
* util.datamanager: Make the util.pposix dependency optional.Waqas Hussain2012-09-121-20/+15
* util.datamanager: Ignore errors if the file is gone after removing itKim Alvefur2012-08-261-4/+13
* util.datamanager: Collect errors when deleting all stores of a user, but igno...Kim Alvefur2012-08-251-4/+6
* Merge Waqas<>ZashMatthew Wild2012-07-311-0/+12
|\
| * util.datamanager: Don't use os.rename on non-POSIX. It doesn't overwrite exis...Waqas Hussain2012-08-011-0/+12
* | util.datamanager: Try to open in read+write mode, then retry with write mode ...Kim Alvefur2012-07-311-1/+4
|/
* util.datamanager: Add missing mode flag to seek callKim Alvefur2012-07-311-1/+1
* util.datamanager: Remove a few unused importsKim Alvefur2012-07-291-4/+3
* util.datamanager: Write to a temporary file and atomically move it into placeKim Alvefur2012-07-291-14/+33
* util.datamanager: Use pposix.fallocate() to make sure appends succeed. Also a...Kim Alvefur2012-07-281-4/+27
* util.datamanager: Add function for removing all data belonging to a userKim Alvefur2012-07-281-0/+14
* util.datamanager: Add function for listing storesKim Alvefur2012-07-281-0/+27
* Merge with FlorobMatthew Wild2012-07-281-9/+9
|\
| * Hopefully inert commit to clean up logging across a number of modules, removi...Matthew Wild2012-07-231-9/+9
* | Eliminate direct setfenv usageFlorian Zeitz2012-06-081-6/+7
|/
* util/datamanager: Use package.config to figure out directory seperatorJames Callahan2011-12-121-3/+3
* util.datamanager: Change from 'Failed to load' to 'Assuming empty' for data s...Matthew Wild2011-01-111-2/+2
* util.datamanager: Handle gracefully the lack of prosody.paths.dataMatthew Wild2011-01-111-1/+1
* util.datamanager: Use prosody.paths.data as the initial value for data_pathMatthew Wild2011-01-071-1/+2
* util.datamanager: Return an error string when pcall fails on a loaded list file.Waqas Hussain2010-12-101-1/+1
* util.datamanager: When failing to load a list file, and the file exists, log ...Waqas Hussain2010-12-101-2/+9
* util.datamanager: Return an error string when failing to save.Waqas Hussain2010-05-231-1/+1
* util.datamanager: When failing to load a file, and the file exists, return ni...Waqas Hussain2010-05-221-4/+12
* Merge 0.6->0.7Matthew Wild2010-03-221-2/+2
|\
| * Update copyright headers for 2010Matthew Wild2010-03-221-2/+2
* | Backed out changeset cb1f9266130b: better way to achieve this to be committed...Matthew Wild2010-02-131-43/+0
* | util.datamanager: Added support for hooks to override behavior.Waqas Hussain2010-02-111-0/+43
* | util.datamanager: Use pposix.mkdir if availableMatthew Wild2010-01-101-3/+9
* | util.datamanager: Store data stores with no host in '_global' folderMatthew Wild2009-12-061-1/+1
|/
* util.datamanager: Replace popen(mkdir) with lfs.mkdir, keeping the just-in-ti...Matthew Wild2009-11-231-2/+2
* datamanager: Fixed logging errors on deletion of datastores not owned by a us...Waqas Hussain2009-09-061-2/+2
* Remove version number from copyright headersMatthew Wild2009-07-101-1/+1
* datamanager: Fixed incorrect callback result checkingWaqas Hussain2009-07-021-4/+4
* util.datamanager: Allow multiple data storage callbacks, and allow them to mo...Matthew Wild2009-06-221-4/+33
* util.datamanager: Lower log level of 'Setting data path' to 'debug'Matthew Wild2009-05-021-1/+1
* Added: datamanager: Allow a callback to be installed which selectively preven...Waqas Hussain2009-03-301-0/+7
* util.datamanager: Don't delete data when first entry in table is 'false'. My ...Matthew Wild2009-03-221-2/+4
* 0.3->0.4Matthew Wild2009-03-201-1/+1
* Update copyright notices for 2009Matthew Wild2009-01-301-2/+2