Commit Graph

2587 Commits

Author SHA1 Message Date
reality
aeb2acc6c9 Merge branch 'master' of github.com:reality/depressionbot 2012-12-27 23:19:03 +00:00
reality
9b0cefe932 auto title option for link 2012-12-27 23:18:41 +00:00
Daniel Evans
e544c909ec Modularised web routes and views 2012-12-24 05:51:19 +00:00
Daniel Evans
88d2abab58 Removed sass compiler usage from web.js, updated jade templates to use blocks 2012-12-24 04:06:04 +00:00
Luke Slater
31dd8c6be2 Merge pull request #82 from danharibo/master
Made module error output more helpful
2012-12-23 19:14:07 -08: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
3bfa3d58c3 update stats 2012-12-24 01:49:15 +00:00
reality
f59c09f9ea Rudimentary alias tracking with ~alias command [#73] 2012-12-24 00:42:28 +00:00
reality
6db6c804e5 nicks are server-wide, not channel-specific 2012-12-23 17:11:56 +00:00
reality
bd6c42d57e Allow listeners to be attached to multiple event types. 2012-12-23 16:54:30 +00:00
reality
2bc0bbc439 trigger updateNickLists to update knownUsers on module load 2012-12-23 16:46:33 +00:00
reality
0f6aadc07b Add rudimentary users module to track known users in a channel 2012-12-23 16:19:01 +00:00
Luke Slater
118c91549d Merge pull request #79 from SamStudio8/master
numberFormat Snippet
2012-12-23 07:02:40 -08:00
Sam Nicholls
fcf13daf43 numberFormat snippet 2012-12-23 15:01:07 +00:00
reality
85e6533969 updat ejsbot 2012-12-23 14:49:49 +00:00
reality
82132d7764 update stats version 2012-12-23 14:45:28 +00:00
reality
b1073e615b Added Sams stats module 2012-12-23 14:25:34 +00:00
reality
c91c7e3e34 Merge branch 'master' of github.com:reality/depressionbot 2012-12-23 13:23:25 +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
Dafydd Francis
e1f4d0c200 Update modules/js/js.js
jesus
2012-12-21 14:10:21 +00:00
Luke Slater
1ff6c5c3c2 Update modules/quotes/quotes.js
Fix not found output
2012-12-20 13:27:56 +01:00
reality
950ba882b8 Changed quote spam protection model [#72] 2012-12-19 21:03:03 +00:00
reality
6a28327d5c load config before the module itself 2012-12-18 11:07:39 +00:00
reality
f11c227be9 Merge branch 'master' of github.com:reality/depressionbot 2012-12-18 10:03:29 +00:00
Luke Slater
2e3a8e2fdb Merge pull request #71 from SamStudio8/patch-1
Increase grape juice
2012-12-18 01:48:47 -08:00
Sam Nicholls
1c1e1b146a Increase grape juice
Following the module overhaul super-merge it is clear that depressionbot has taken one step closer in his quest to becoming akin to bathing in fine, fine webscale grape juices.
2012-12-18 09:41:05 +00:00
Luke Slater
e7e31a4135 Merge pull request #70 from reality/module_overhaul
Module overhaul. Sweet Jesus.
2012-12-18 01:34:22 -08:00
Luke Slater
e970ab579c Merge pull request #69 from SamStudio8/patch-1
Fixed module loading and dbKeys bug. A+ Merged.
2012-12-18 01:25:42 -08:00
Sam Nicholls
0dc5c6d91f Ensure ignores dbKey exists
Created dbKeys config for ignores module to prevent meltdown.
2012-12-17 12:09:39 -08: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
96312303f0 web config data now taken from dbot web config 2012-12-12 18:36:12 +00:00
Luke Slater
918a3c4540 Check for required keys in config 2012-12-12 18:33:29 +00:00
Luke Slater
a431d4c636 Config defaults and file loading changes
* Attempts to load config from default file upon failing to load config.json
* Stops if db fails to load
* Automatically loads config keys into dbot object
2012-12-12 18:25:07 +00:00
Luke Slater
c64e66da17 Module specific config. Allows specify dbKeys to ensure default objects there for use. 2012-12-12 18:07:08 +00:00
Luke Slater
65414f6975 OH THE SHAME. THE SHAME OF IT ALL. 2012-12-11 21:01:37 +00:00
Luke Slater
19c3497f11 reload default strings in updateModules 2012-12-11 20:47:50 +00:00
Luke Slater
b641dcd34a usage info in command 2012-12-11 20:31:11 +00:00
Luke Slater
f72e29398f fixed module unloading 2012-12-11 20:27:18 +00:00
Luke Slater
1f2c7fa835 added try/catch for no usage/string info, moved module load error back to default stringspace 2012-12-11 20:23:31 +00:00
Luke Slater
fbf4242d66 fix js/usage which I already fixed for some reason 2012-12-11 20:08:19 +00:00
Luke Slater
cae8a1fc7d loaded strings and usage from the modules themselves in reloadModules. some other smaller changes. fixed the syntax of the usage json. careful though this dbot init may delete your database. 2012-12-11 20:06:29 +00:00
Luke Slater
cd56a8a197 Added usage.json files for all modules 2012-12-11 16:53:34 +00:00
Luke Slater
96b34c8c31 Moved poll quotes 2012-12-11 16:45:08 +00:00
Luke Slater
dfdcb0d359 moved quotes strings. removed qprune because it is not needed anymore 2012-12-11 16:42:06 +00:00
Luke Slater
34e377f385 moved poll strings 2012-12-11 16:37:05 +00:00
Luke Slater
de84491975 moved kick strings 2012-12-11 16:32:59 +00:00
Luke Slater
4941e50d06 whoops karma isnt supposed to be in this tree 2012-12-11 16:31:20 +00:00