Commit Graph

41 Commits (41d45e0c64b94de227f048d5f376699dd6041735)

Author SHA1 Message Date
Waqas Hussain 4499df4f45 util.datamanager: When failing to load a file, and the file exists, return nil, error. 16 years ago
Matthew Wild 2bc0606453 Update copyright headers for 2010 16 years ago
Matthew Wild 942fd3d965 Backed out changeset cb1f9266130b: better way to achieve this to be committed Real Soon Now. 16 years ago
Waqas Hussain 3b288052d5 util.datamanager: Added support for hooks to override behavior. 16 years ago
Matthew Wild d3a7681f7f util.datamanager: Use pposix.mkdir if available 16 years ago
Matthew Wild d930baaa0c util.datamanager: Store data stores with no host in '_global' folder 16 years ago
Matthew Wild 49916630b9 util.datamanager: Replace popen(mkdir) with lfs.mkdir, keeping the just-in-time creation until we have the new datamanager API 16 years ago
Waqas Hussain c1e71bdec8 datamanager: Fixed logging errors on deletion of datastores not owned by a user@host 17 years ago
Matthew Wild 118883d655 Remove version number from copyright headers 17 years ago
Waqas Hussain 9dd7b702f0 datamanager: Fixed incorrect callback result checking 17 years ago
Matthew Wild 3e796503e1 util.datamanager: Allow multiple data storage callbacks, and allow them to modify parameters 17 years ago
Matthew Wild 6026cb4616 util.datamanager: Lower log level of 'Setting data path' to 'debug' 17 years ago
Waqas Hussain 703044ae39 Added: datamanager: Allow a callback to be installed which selectively prevents disk writes 17 years ago
Matthew Wild 39ac97e87a util.datamanager: Don't delete data when first entry in table is 'false'. My favourite bug so far. 17 years ago
Matthew Wild c80f91dc02 0.3->0.4 17 years ago
Matthew Wild c5ee166aa9 Update copyright notices for 2009 17 years ago
Matthew Wild f2d020191f 0.2->0.3 17 years ago
Matthew Wild bf3b96204d GPL->MIT! 17 years ago
Matthew Wild fdebec4d23 util.datamanager: Small fix for clearer logging of data path 17 years ago
Waqas Hussain 6ace3ff794 datamanager: Change log message from type "warn" to "debug" when loading a file fails 17 years ago
Waqas Hussain 1f5c712bcd Moved directory auto-creation to datamanager 17 years ago
Waqas Hussain d3d9a986ba Fixed URL encoding to generate %0x instead of %x 17 years ago
Matthew Wild d3ad4a5123 0.1 -> 0.2 17 years ago
Matthew Wild 0ef7d7db35 Datamanager logs data_path 17 years ago
Waqas Hussain ad4d4c6eee Changed util.datamanager to use util.serialization 17 years ago
Matthew Wild 0c5cc83112 Insert copyright/license headers 17 years ago
Waqas Hussain 34b736f5cf Fixed logging in datamanager 17 years ago
Waqas Hussain 47761d875a Added option core.data_path 17 years ago
Waqas Hussain fc57c3a09a Some bugs fixed 17 years ago
Waqas Hussain 6c0003661a Added support for storing (and removing), loading and appending to lists of data to datamanager (for supporting offline messages) 17 years ago
Waqas Hussain eb599a8379 Datamanager now deletes files with no data 17 years ago
Waqas Hussain 2eede674d4 Datamanager Fixes and improvements 17 years ago
Waqas Hussain 1746f7eea0 Bug fixes and checks for presence subscriptions, etc 17 years ago
Waqas Hussain bf97de7a75 Fixed: Some modules did not return anything 17 years ago
Waqas Hussain c3ca55e019 Fixed: datamanager.store and datamanager.load could crash when username or host arguments were nil. (useful for server specific and global data). 17 years ago
Waqas Hussain 9048ca5328 Minor fix 17 years ago
Matthew Wild d90bbc6293 Fix for saving tables with non-string keys 17 years ago
Waqas Hussain 4202397776 Added: Datastore support for hosts and global data in addition to users 17 years ago
matthew 5ea14b6295 Added all the files to please hg :/ 18 years ago
matthew d0a4f8f2fb First commit, where do you want to go tomorrow? 18 years ago