Log

util/datamanager.lua @ 4491:381e0b874e6d

description author age
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
Backed out changeset cb1f9266130b: better way to achieve this to be committed Real Soon Now. Matthew Wild Sat, 13 Feb 2010 15:34:22 +0000
util.datamanager: Added support for hooks to override behavior. Waqas Hussain Thu, 11 Feb 2010 05:21:03 +0500
util.datamanager: Use pposix.mkdir if available Matthew Wild Sun, 10 Jan 2010 23:13:30 +0000
util.datamanager: Store data stores with no host in '_global' folder Matthew Wild Sun, 06 Dec 2009 00:35:06 +0000
util.datamanager: Replace popen(mkdir) with lfs.mkdir, keeping the just-in-time creation until we have the new datamanager API Matthew Wild Mon, 23 Nov 2009 20:18:04 +0000
datamanager: Fixed logging errors on deletion of datastores not owned by a user@host Waqas Hussain Sun, 06 Sep 2009 01:33:41 +0500
Remove version number from copyright headers Matthew Wild Fri, 10 Jul 2009 03:11:45 +0100
datamanager: Fixed incorrect callback result checking Waqas Hussain Thu, 02 Jul 2009 21:34:45 +0500
util.datamanager: Allow multiple data storage callbacks, and allow them to modify parameters Matthew Wild Mon, 22 Jun 2009 14:15:33 +0100
util.datamanager: Lower log level of 'Setting data path' to 'debug' Matthew Wild Sat, 02 May 2009 22:04:21 +0100
Added: datamanager: Allow a callback to be installed which selectively prevents disk writes Waqas Hussain Mon, 30 Mar 2009 03:22:34 +0500
util.datamanager: Don't delete data when first entry in table is 'false'. My favourite bug so far. Matthew Wild Sun, 22 Mar 2009 20:50:37 +0000
0.3->0.4 Matthew Wild Fri, 20 Mar 2009 20:16:25 +0000
Update copyright notices for 2009 Matthew Wild Fri, 30 Jan 2009 17:59:26 +0000
0.2->0.3 Matthew Wild Fri, 30 Jan 2009 17:40:25 +0000
GPL->MIT! Matthew Wild Fri, 30 Jan 2009 17:22:56 +0000
util.datamanager: Small fix for clearer logging of data path Matthew Wild Fri, 16 Jan 2009 05:37:17 +0000
datamanager: Change log message from type "warn" to "debug" when loading a file fails Waqas Hussain Tue, 13 Jan 2009 19:41:52 +0500
Moved directory auto-creation to datamanager Waqas Hussain Thu, 25 Dec 2008 06:35:05 +0500
Fixed URL encoding to generate %0x instead of %x Waqas Hussain Tue, 16 Dec 2008 03:46:17 +0500
0.1 -> 0.2 Matthew Wild Wed, 10 Dec 2008 15:44:03 +0000
Datamanager logs data_path Matthew Wild Sat, 06 Dec 2008 19:46:58 +0000
Changed util.datamanager to use util.serialization Waqas Hussain Fri, 05 Dec 2008 00:16:38 +0500
Insert copyright/license headers Matthew Wild Wed, 03 Dec 2008 14:39:07 +0000
Fixed logging in datamanager Waqas Hussain Sat, 29 Nov 2008 05:53:11 +0500
Added option core.data_path Waqas Hussain Fri, 28 Nov 2008 20:17:20 +0500
Some bugs fixed Waqas Hussain Sat, 15 Nov 2008 05:33:14 +0500
Added support for storing (and removing), loading and appending to lists of data to datamanager (for supporting offline messages) Waqas Hussain Thu, 13 Nov 2008 12:10:42 +0500
Datamanager now deletes files with no data Waqas Hussain Mon, 03 Nov 2008 07:50:09 +0500
Datamanager Fixes and improvements Waqas Hussain Sun, 26 Oct 2008 21:19:04 +0500
Bug fixes and checks for presence subscriptions, etc Waqas Hussain Sun, 26 Oct 2008 00:22:18 +0500
Fixed: Some modules did not return anything Waqas Hussain Thu, 23 Oct 2008 18:42:29 +0500
Fixed: datamanager.store and datamanager.load could crash when username or host arguments were nil. (useful for server specific and global data). Waqas Hussain Thu, 23 Oct 2008 02:49:43 +0500
Minor fix Waqas Hussain Thu, 09 Oct 2008 03:21:16 +0500
Merge from Matthew. datamanager.simplesave fix Waqas Hussain Thu, 09 Oct 2008 03:01:47 +0500
Added: Datastore support for hosts and global data in addition to users Waqas Hussain Thu, 09 Oct 2008 01:20:43 +0500
Fix for saving tables with non-string keys Matthew Wild Wed, 08 Oct 2008 22:42:51 +0100
First commit, where do you want to go tomorrow? matthew Fri, 22 Aug 2008 21:09:04 +0000