aboutsummaryrefslogtreecommitdiffstats
path: root/util/datamanager.lua
Commit message (Collapse)AuthorAgeFilesLines
* 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, ↵Matthew Wild2012-07-231-9/+9
| | | | | | | | removing all cases of concatenation when building log messages
* | 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 ↵Matthew Wild2011-01-111-2/+2
| | | | store files that do not seem to exist
* 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
| | | | an error, and return nil, error.
* 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 ↵Waqas Hussain2010-05-221-4/+12
| | | | nil, error.
* 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 ↵Matthew Wild2010-02-131-43/+0
| | | | | | | | committed Real Soon Now.
* | 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 ↵Matthew Wild2009-11-231-2/+2
| | | | just-in-time creation until we have the new datamanager API
* datamanager: Fixed logging errors on deletion of datastores not owned by a ↵Waqas Hussain2009-09-061-2/+2
| | | | user@host
* 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 ↵Matthew Wild2009-06-221-4/+33
| | | | modify parameters
* 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 ↵Waqas Hussain2009-03-301-0/+7
| | | | prevents disk writes
* util.datamanager: Don't delete data when first entry in table is 'false'. My ↵Matthew Wild2009-03-221-2/+4
| | | | favourite bug so far.
* 0.3->0.4Matthew Wild2009-03-201-1/+1
|
* Update copyright notices for 2009Matthew Wild2009-01-301-2/+2
|
* 0.2->0.3Matthew Wild2009-01-301-1/+1
|
* GPL->MIT!Matthew Wild2009-01-301-13/+2
|
* util.datamanager: Small fix for clearer logging of data pathMatthew Wild2009-01-161-1/+1
|
* datamanager: Change log message from type "warn" to "debug" when loading a ↵Waqas Hussain2009-01-131-2/+2
| | | | file fails
* Moved directory auto-creation to datamanagerWaqas Hussain2008-12-251-7/+25
|
* Fixed URL encoding to generate %0x instead of %xWaqas Hussain2008-12-161-1/+1
|
* 0.1 -> 0.2Matthew Wild2008-12-101-1/+1
|
* Datamanager logs data_pathMatthew Wild2008-12-061-0/+1
|
* Changed util.datamanager to use util.serializationWaqas Hussain2008-12-051-44/+5
|
* Insert copyright/license headersMatthew Wild2008-12-031-0/+20
|
* Fixed logging in datamanagerWaqas Hussain2008-11-291-3/+1
|
* Added option core.data_pathWaqas Hussain2008-11-281-3/+9
|
* Some bugs fixedWaqas Hussain2008-11-151-1/+1
|
* Added support for storing (and removing), loading and appending to lists of ↵Waqas Hussain2008-11-131-6/+63
| | | | data to datamanager (for supporting offline messages)
* Datamanager now deletes files with no dataWaqas Hussain2008-11-031-1/+12
|
* Datamanager Fixes and improvementsWaqas Hussain2008-10-261-29/+37
| | | | | - Pretty printing - Fixed bug causing a nil concatenation error when saving a datastore for nil user or host
* Bug fixes and checks for presence subscriptions, etcWaqas Hussain2008-10-261-0/+3
|
* Fixed: Some modules did not return anythingWaqas Hussain2008-10-231-0/+1
|
* Fixed: datamanager.store and datamanager.load could crash when username or ↵Waqas Hussain2008-10-231-3/+12
| | | | host arguments were nil. (useful for server specific and global data).
* Minor fixWaqas Hussain2008-10-091-1/+2
|
* Merge from Matthew. datamanager.simplesave fixWaqas Hussain2008-10-091-1/+1
|\