reality
c79c595ee7
Remove object prototype extensions in master [ #135 ]
2013-02-12 18:34:36 +00:00
reality
a5cede8c92
remove timers.js [ #170 ]
2013-01-27 20:52:11 +00:00
reality
4b5aceea49
Try to satisfy dependencies automatically [ #231 ]
2013-01-26 22:07:30 +00:00
reality
18a079c4be
error reporting in status for properties [ #198 ]
2013-01-24 21:53:24 +00:00
reality
e9480b6f64
put onLoad in try/catch, add status message for failure. [ #198 ]
2013-01-24 21:46:18 +00:00
reality
6f73fde865
file existence checking for module property files and config.json [ #163 ]
2013-01-24 21:35:00 +00:00
reality
c1aa8db815
fix db loading logic and check the file exists before attempting to load [ #163 ]
2013-01-24 20:51:38 +00:00
reality
045ff8b9f8
status command and some basic error storing in module load [ #198 ]
2013-01-23 22:32:17 +00:00
reality
4f530e5bc6
fix db meltage. [ #191 ]
2013-01-22 23:27:02 +00:00
reality
80fec7b212
do that in the righ tplace...
2013-01-22 00:39:04 +00:00
reality
5443752a8b
link this.config to module config
2013-01-22 00:28:50 +00:00
reality
c061109b55
[ #186 ] fix for modules too
2013-01-21 19:01:53 +00:00
reality
d246293202
Fix [ #186 ]
2013-01-21 17:55:12 +00:00
reality
1673c8846b
basic dependencies as per [ #85 ]
2013-01-21 17:39:21 +00:00
reality
b24bd63cd0
load root config changes [ #145 ]
2013-01-21 00:05:42 +00:00
reality
f64c50a0c8
setconfig command [ #145 ]
2013-01-20 15:17:44 +00:00
reality
a2ea1b8c33
Load module config options from db store [ #145 ]
2013-01-20 14:45:58 +00:00
reality
921da917a4
Command hooks [ #86 ]
...
* Command API function to addHook(command, callback)
* Commands open to callbacks must return information or indicate failed completion by return false
* Hooks to be added in module onLoad
* Command loop checks for available hooks and return state, then applies with module scope.
* onLoad running moved to end of all module loading to facilitate this without order problems
* Added example for ~qadd dent
2013-01-15 17:23:14 +00:00
reality
0a3d1b6f9e
Fixed web loading and hot refresh of pages [ #131 ]
2013-01-15 13:58:13 +00:00
reality
1d5fcf2f40
Loads API functions into object according to module again. [ #131 ]
2013-01-14 22:34:47 +00:00
reality
96792d5008
Fixed doom function binding bug and transformed js module [ #131 ]
2013-01-14 22:03:58 +00:00
reality
8b7953e906
tranform users, fix for bind in module loader [ #131 ]
2013-01-14 21:03:47 +00:00
reality
8542ceb9e9
Do the same for string data [ #131 ]
2013-01-14 18:15:07 +00:00
reality
a0bec5b2f9
I must say... I am proud of this... [ #131 ]
2013-01-14 17:58:58 +00:00
reality
3bde9e4930
Transformed dent module, changed module loader to give right scope. [ #131 ]
2013-01-14 17:45:53 +00:00
reality
5419a664dc
Much better! [ #131 ]
2013-01-14 16:24:38 +00:00
reality
dc269b53b4
Here is an experimental look at how modules will have to be as per [ #131 ]
2013-01-14 16:02:40 +00:00
reality
dff5825bfe
web fix. dope
2013-01-13 17:18:30 +00:00
reality
08bd67f4f0
incomplete underscorisation in quotes [ #81 ]
2013-01-12 21:40:16 +00:00
reality
0769d0bd69
Removed dependency on commandMap (I think ignore might still look at it for now). Underscorised command. [ #81 ]
2013-01-12 16:14:17 +00:00
reality
af20b5cbfb
Load missing config directives from defaults file
2013-01-12 15:07:14 +00:00
reality
d9f8ff0c1f
lots of underscorisation in module loading
2013-01-12 14:58:54 +00:00
reality
e68cf45e65
Few tests and that
2013-01-12 10:38:40 +00:00
reality
20ef3b6432
Command properties may be specified in module config file [ #125 ]
2013-01-12 10:07:39 +00:00
reality
f8d4896eb6
Moderator + admin access level for commands [ #124 ]
...
* May now add property 'access' to commands specifying 'moderator' or 'admin' level access
* Add 'moderators' key to config
* Convert commands in admin module to use command marshalling listener rather than its own
2013-01-12 09:38:13 +00:00
reality
eb526b18c5
Delete the pages module cache for a module if it exists
2013-01-07 12:49:18 +00:00
Daniel Evans
f91fc99d35
Merge branch 'master' of git://github.com/reality/depressionbot into weboverhaul
...
Conflicts:
modules/quotes/quotes.js
modules/users/users.js
run.js
2013-01-04 20:15:12 +00:00
reality
078379b5f1
API functionality as per [ #98 ]
...
* Also resolveUser api function in user module [#98 ]
2013-01-03 19:56:30 +00:00
reality
078c4cf3e3
ignorableModules now built with filter, module.toString returns name
2012-12-30 17:52:42 +00:00
reality
9f3596aa6a
dbot.modules is now an object
2012-12-30 00:45:25 +00:00
Daniel Evans
e544c909ec
Modularised web routes and views
2012-12-24 05:51:19 +00:00
Daniel Evans
cf53413bff
Made stack trace dependant on dbot.config.debugMode
2012-12-24 03:13:41 +00:00
Daniel Evans
bea13e56f8
Modified module error output
2012-12-24 03:08:36 +00:00
reality
bd6c42d57e
Allow listeners to be attached to multiple event types.
2012-12-23 16:54:30 +00:00
reality
81217ece50
Add a debug mode that shows the error and the top of the stack trace in the case of an error if activated.
2012-12-23 02:25:58 +00:00
reality
6a28327d5c
load config before the module itself
2012-12-18 11:07:39 +00:00
Sam Nicholls
c9a7254921
Actually save the database
...
Moved this.save() call to end of reloadModules so new keys are actually saved.
2012-12-17 19:37:33 +00:00
Sam Nicholls
198fe9992d
Fixed run.js
...
Will now create dbKeys
2012-12-17 19:30:50 +00:00
Luke Slater
d0c47d18eb
Moved all data loaded from config to be used only from dbot.config. Changed admin key in to admins to avoid clash with admin module config. Admins should probably be a key under dbot.admin module anyway.
2012-12-17 17:18:31 +00:00
Luke Slater
918a3c4540
Check for required keys in config
2012-12-12 18:33:29 +00:00