reality
bc7bac1218
Do not continue to load module if data file syntax error occurs [ #466 ]
2013-05-26 15:21:13 +00:00
reality
a446999285
fix merge properly
2013-05-21 17:32:26 +00:00
reality
eb4e788b5c
fix merge
2013-05-21 17:31:01 +00:00
reality
36d40f65a3
Support for config.outputPrefix [ #462 ]
2013-05-21 17:13:19 +00:00
reality
df2b484a66
merge
2013-05-17 13:32:41 +00:00
reality
090f15e738
remove unecessary code from module loading, fix [ #432 ]
2013-05-06 15:36:35 +00:00
reality
22704a2158
move dbot.cleanNick to quotes.internalAPI.cleanRef [ #270 ]
2013-04-30 17:19:23 +00:00
reality
b08e12560f
merge earlier
2013-04-30 17:10:21 +00:00
reality
4891b70ec3
merge [ #307 ]
2013-04-30 16:47:47 +00:00
reality
2afb1c6ba3
Add int handling for setconfig, add debugLevel [ #307 ]
2013-04-30 16:44:39 +00:00
reality
9625f1d316
merge with master, command uses nickserv auth in db [ #421 ]
2013-04-24 20:45:20 +00:00
reality
8e8953999d
Various database branch fixes [ #331 ]:
...
* Admin module doesn't try to use reload string when it's not there.
* Fix dent event hookin
* Fix quote retrieval (two ~q definitions and no false check before interpolate)
* Change databankerised modules to use redis for testing
2013-04-22 14:22:35 +00:00
reality
65b410416c
Module loader properly iterates all automatically loaded dependencies [ #399 ]
2013-04-21 14:51:59 +00:00
reality
3cd4513fe4
fix module loader. admin sets config keys onload. I am incredibly annoyed. [ #331 ]
2013-04-20 16:08:34 +00:00
reality
44d42c5035
load strings first
2013-04-20 00:09:47 +00:00
reality
6cea1256ce
thats a little better on the module loader i suppose [ #331 ]
2013-04-10 01:07:29 +00:00
reality
228a2611a5
Hacked up run.js so db is definitely loaded by time onLoad is run. Need to clear up
2013-04-10 00:19:56 +00:00
reality
cbc42e6fc3
Merge git://github.com/reality/depressionbot into database. Also Users API now databankerised
...
Conflicts:
modules/quotes/commands.js
2013-03-24 11:09:40 +00:00
Luke Slater
ccc8d6c6e9
merge clash
2013-03-22 10:49:22 +00:00
Luke Slater
8d7962acc8
change module names each loop in module loader to use underscore each
2013-03-22 10:48:36 +00:00
reality
e811c47a63
Merge pull request #316 from JohnMaguire2013/reloading
...
fixing some bugs related to loading
2013-03-21 07:28:17 -07:00
Sam Nicholls
8d8cf2bd9a
onLoad errors no longer suppressed from console
2013-03-21 00:05:35 +00:00
John Maguire
3dd24e832d
add check to make sure module exists before attempting to load it
2013-03-20 19:34:55 -04:00
John Maguire
6e727ed9d8
refactored DBot.prototype.t to error properly
2013-03-18 22:33:15 -04:00
reality
a5b65856a6
Merge git://github.com/reality/depressionbot into database
2013-03-15 23:12:30 +00:00
reality
e648068b1c
change default lang to en so no crash
2013-02-16 18:07:41 +00:00
reality
b288487f23
Provisional framework for database module using databank multiplexing. [ #272 ]
2013-02-12 19:15:32 +00:00
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