Commit Graph

740 Commits

Author SHA1 Message Date
reality
f537b05493 update stats 2013-01-02 19:12:58 +00:00
reality
51298b8362 Enhancements to ~alias as per [#95] 2013-01-02 19:00:44 +00:00
reality
e044ec5d14 Finish off module docs [#75 2012-12-31 15:37:49 +00:00
reality
65ef72f19a Protect against continued nick changes 2012-12-30 23:24:05 +00:00
reality
1ab1ff5319 Help links added to config [#89] 2012-12-30 20:30:49 +00:00
reality
c06f754b8f Added ~help command [#89] 2012-12-30 20:15:48 +00:00
reality
2416a82f45 module documentation for spelling [#75] 2012-12-30 19:50:22 +00:00
reality
2e1de98df9 Module documentation for Report [#75] 2012-12-30 19:47:53 +00:00
reality
11cfa5d40c realityonce now just emits event. removed a lot of useless shit from there too 2012-12-30 19:24:10 +00:00
reality
ae902e3c21 Consolidate puns and quotes modules [#90] 2012-12-30 18:53:20 +00:00
reality
887e854012 Documentation for polls [#75] 2012-12-30 18:38:36 +00:00
reality
6f5105e36c Module documentation for Link [#75] 2012-12-30 18:12:23 +00:00
reality
26e731697d Documentation for kick module. [#75] 2012-12-30 18:06:38 +00:00
reality
9721d1c22f Documentation for the JS module [#75] 2012-12-30 18:00:50 +00:00
reality
078c4cf3e3 ignorableModules now built with filter, module.toString returns name 2012-12-30 17:52:42 +00:00
reality
85fc4d6e6f Documentation for the Ignore module [#75] 2012-12-30 17:44:51 +00:00
reality
5e8495c3bb Remove repeated title fetching code in Link module 2012-12-30 17:36:52 +00:00
reality
c9d78b99c9 Forgot to add the strings.json for link! 2012-12-30 17:31:06 +00:00
reality
1746a9c7b8 Module documentation for Admin module [#75]
* Also removed lock functionality from quotes and admin modules.
2012-12-30 17:26:04 +00:00
reality
5bf5b257f8 strings.json usage complete in link [#88] 2012-12-30 16:51:30 +00:00
reality
56a7107b88 Complete strings.json usage in command [#88] 2012-12-30 16:45:14 +00:00
reality
49c7e045af Complete strings.json usage in admin module [#88] 2012-12-30 16:41:10 +00:00
reality
042f6b2236 Report module uses strings.json [#88] 2012-12-30 16:33:25 +00:00
reality
168d1335aa update stats 2012-12-30 01:27:55 +00:00
reality
9f3596aa6a dbot.modules is now an object 2012-12-30 00:45:25 +00:00
reality
8bd9f93632 add readme files for command and quotes [#75] 2012-12-29 23:05:16 +00:00
reality
30a5878b97 fixStats call 2012-12-29 21:08:45 +00:00
reality
824e6fb3ff strings.json for users module 2012-12-29 20:07:14 +00:00
reality
4ce43d3218 update stats 2012-12-29 18:47:09 +00:00
reality
944b97e430 Add ~setaliasparent command [#83] 2012-12-29 18:45:19 +00:00
Luke Slater
e7addd9ff4 Stop alias if already exists in user 2012-12-29 16:01:03 +01:00
reality
1cc83dc6bc update stats 2012-12-29 14:34:24 +00:00
reality
fedc019f1d Merge git://github.com/danharibo/depressionbot 2012-12-28 22:16:02 +00:00
reality
0af9ad1015 update stats 2012-12-28 15:42:27 +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
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
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
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
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
Sam Nicholls
0dc5c6d91f Ensure ignores dbKey exists
Created dbKeys config for ignores module to prevent meltdown.
2012-12-17 12:09:39 -08: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
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
Luke Slater
6d52d5a2b4 moved ignore strings 2012-12-11 16:29:20 +00:00
Luke Slater
5a75c63672 removed drama because why bother 2012-12-11 16:26:59 +00:00
Luke Slater
3a58f6b8b1 moved strings for command 2012-12-11 16:26:29 +00:00
Luke Slater
b622d7a239 give all modules their own folders. overhauled admin strings 2012-12-11 16:18:27 +00:00
Luke Slater
b2ea634d8c Move all the modules to their own directories 2012-12-11 16:04:52 +00:00
Luke Slater
7b515a4cc5 remove autoshorten because the shortener does not exist anymore 2012-12-11 16:02:06 +00:00
Sam Nicholls
7ab477b448 Nobody loves autoshorten. Removed poll from default module list. 2012-12-06 19:37:39 +00:00
Sam Nicholls
78837f9da1 Added url string 2012-12-06 19:33:25 +00:00
Sam Nicholls
96225c59ec Got you some extra plus 2012-12-05 19:17:57 +00:00
Sam Nicholls
c07b0c60f3 dbot.webUrl for autoshorten too 2012-12-05 19:13:04 +00:00
Sam Nicholls
757344d580 Attempt to fix Issue #54 2012-12-05 19:05:19 +00:00
Luke Slater
5e71be8601 missing key in category not found 2012-12-04 18:29:04 +00:00
Luke Slater
f8b1e3316f fix syntax with previous change 2012-12-04 18:27:12 +00:00
Luke Slater
e687cbb429 Added filter to snippets and finally re-added ~rm back to quotes 2012-12-04 18:23:43 +00:00
Luke Slater
a71c047aca typo in usage in report 2012-12-02 16:59:09 +00:00
Luke Slater
6f48c30044 fix ~usage 2012-12-02 16:26:56 +00:00
Luke Slater
b17ad5042b added usage command 2012-12-02 16:21:37 +00:00
Luke Slater
1ad20e9606 print usage string on wrong syntax for regex 2012-12-02 16:18:59 +00:00
Luke Slater
54b8b00bda Merge branch 'master' of github.com:reality/depressionbot 2012-12-02 15:28:47 +00:00
Luke Slater
c690611cdc Fix dbot for the new jsbot changes passing channel as an object rather than a string. plus some efficiency changes and extra checks and stuff in admin 2012-12-02 15:28:32 +00:00
Sam Nicholls
f90304a369 Updated server location (again)
Missed one. Worst contributor ever.
2012-11-29 16:47:44 +00:00
Sam Nicholls
3f86d2f84b Updated server location.
Ideally this would be an attribute of the bot.
2012-11-29 14:45:51 +00:00
Luke Slater
09947921d1 Added a report module for naughty users 2012-11-27 23:24:32 +00:00
Luke Slater
99b09c63b4 use the right user for kicks 2012-11-25 18:54:12 +00:00
Luke Slater
fc83487a5d Addition to the web interface to view currently connected users and interpolate some data. Little messy atm. 2012-11-25 17:56:30 +00:00
Luke Slater
047c2e45e5 Switch the file format back to UNIX 2012-11-25 15:55:35 +00:00
Dominic Brady
7faa5c1207 fix dice crash 2012-11-24 13:18:18 +00:00
Luke Slater
96b2dd0ddd fix js crash 2012-11-20 16:49:37 +00:00
Luke Slater
53103c6842 dice uses new command return 2012-11-05 22:39:07 +00:00
Luke Slater
40d239802d dupe protection in realityonce 2012-08-08 16:11:22 +01:00
Luke Slater
c3dbef3174 whoops 2012-08-08 16:01:44 +01:00
Luke Slater
97b3a7e4eb realityonce reinstated 2012-08-08 15:59:44 +01:00
Luke Slater
c0c235f045 dont bother with a quote if the key begins with _. So I can perform ~_~ unmolested in channel. 2012-07-09 19:45:45 +01:00
Luke Slater
a144f64094 Extra s in qsizes... wtf... 2012-06-25 00:02:06 +01:00
Luke Slater
bb129c32ba Missed a return in qstats 2012-06-25 00:00:52 +01:00
Luke Slater
a992e65b6e make an object sort function in snippets 2012-06-24 23:58:22 +01:00
Luke Slater
27bce53e2e oh whoops apparently I cant read 2012-06-24 23:30:11 +01:00
Luke Slater
2b48d1a555 Change initialisation of kickArr to Object.keys rather than manually filling it... 2012-06-24 23:28:07 +01:00
Luke Slater
253b9a75c4 Merge branch 'master' of github.com:reality/depressionbot 2012-06-24 23:21:59 +01:00
Luke Slater
17bbccbe98 move poll whatsit 2012-06-22 19:27:59 +01:00
Joe MacMahon
418906faff Fixed conflicting .each() function by renaming to .withAll(). 2012-06-20 00:52:49 +01:00
Joe MacMahon
e6ac8558ac Added running-orders, not just winners 2012-06-19 23:39:26 +01:00
Joe MacMahon
d192a17d19 Added AV vote counting. 2012-06-19 14:44:50 +01:00
Joe MacMahon
c1c951f5c7 Downed tools for today 2012-06-18 21:16:22 +01:00
Joe MacMahon
52d8136e9d Added voting on AV polls. No counting yet. 2012-06-18 20:11:54 +01:00
Luke Slater
7fca2afcce Brackets were in the wrong place on the output statements. :| 2012-06-17 12:56:37 +01:00
Luke Slater
b89f9e7065 Fix the regex for ~addoption and ~rmoption 2012-06-17 12:53:52 +01:00
Luke Slater
8837cd7b98 ~addoption and ~rmoption 2012-06-17 12:51:25 +01:00
Daniel Evans
befc20e713 Index page 2012-06-15 18:57:47 +01:00
Luke Slater
52984d9b41 pdesc and output change 2012-06-15 17:51:45 +01:00
Luke Slater
8ce80a1d94 output changes 2012-06-15 17:46:14 +01:00
Luke Slater
5904708d6b fucking typo 2012-06-15 17:39:26 +01:00
Luke Slater
c018e338dc fucking typo 2012-06-15 17:32:02 +01:00
Luke Slater
881834978d fucking typo 2012-06-15 17:30:54 +01:00
Luke Slater
cfb00d3588 fucking typo 2012-06-15 17:29:38 +01:00
Luke Slater
2e27d7dece votees stores vote, can change vote 2012-06-15 17:20:05 +01:00
Daniel Evans
0eb051eef9 Fixed formatting. 2012-06-15 17:18:36 +02:00
Daniel Evans
f70c92c16d Web display for poll module 2012-06-15 16:15:02 +01:00
Luke Slater
7124798398 Make it show the new key for the previous change 2012-06-15 10:53:45 +01:00
Luke Slater
b9b5d9913d Automatically replace spaces in quotes with underscores, then use that quote if the originally given quote can't be found 2012-06-15 10:52:11 +01:00
Luke Slater
333e3c592d wrote strings for polls 2012-06-15 00:07:15 +01:00
Luke Slater
d012ff4394 wrote some of viewpoll. Hello dan. 2012-06-14 23:57:07 +01:00
Luke Slater
ffd383365e Fixed regex for vote 2012-06-14 23:42:06 +01:00
Luke Slater
30cd5d499d fixed the regex on ~newpoll 2012-06-14 23:36:52 +01:00
Luke Slater
66554605e7 poll changed 2012-06-14 23:32:16 +01:00
Luke Slater
cf8da90c6b whoops 2012-06-13 21:16:29 +01:00
Luke Slater
0a2b94fa65 newpoll test 2012-06-13 21:11:00 +01:00
Luke Slater
9813ced30f Merge branch 'master' of github.com:reality/depressionbot 2012-06-05 00:17:58 +01:00
Luke Slater
54dc7f2236 Changed commands to property rather than object to be returned by onLoad functionality 2012-06-05 00:17:51 +01:00
Luke Slater
034525e601 readd rmlast limit 2012-06-04 03:03:51 +01:00
Luke Slater
3f38356717 no rmlast limit 2012-06-04 01:19:35 +01:00
Luke Slater
e5a9142384 read title even when over multiple lines 2012-06-03 21:17:25 +01:00
Luke Slater
181c3a2628 Change the name metadata from js to link... 2012-05-26 23:32:26 +01:00
Luke Slater
3aab234110 Links module which can retrieve titles 2012-05-26 22:28:34 +01:00
Luke Slater
4a1d5aa083 webPort default 2012-05-25 21:00:38 +01:00
Luke Slater
13892f3a1f Whoops, forgot to commit the actual ignore module. 2012-05-25 16:49:45 +01:00
Luke Slater
5677cad1fa Use jsbot ignore instead of having it build into the modules 2012-05-25 16:45:47 +01:00
Luke Slater
4c72bd327c fixed spelling module and youare 2012-05-25 16:11:07 +01:00
Luke Slater
d6b56db06e Fix puns by faking an event and calling it straight in jsbot 2012-05-25 16:03:36 +01:00
Luke Slater
979399de46 Converted drama kicks and puns to new format. Quite tired now. 2012-05-23 20:05:23 +01:00
Luke Slater
74369c5de6 converted autoshorten and dice to new format 2012-05-23 19:45:14 +01:00
Luke Slater
9a9f9a662b removed badwords module 2012-05-23 19:39:10 +01:00
Luke Slater
464e0f11e3 Converted admin.js. Added a few more translations. Removed modehate functionality. Changed some stuff in run.js to facilitate changes. 2012-05-23 19:38:10 +01:00
Luke Slater
aa72af3867 Don't error if regex syntax is invalid for ~ default. 2012-05-23 18:50:21 +01:00
Luke Slater
c3832c209f Converted quotes module to new format. Everything seems to be working 2012-05-23 18:01:28 +01:00
Luke Slater
2088ee9da3 Should be event rather than data. 2012-05-23 15:56:13 +01:00
Luke Slater
6c7fc838d4 Apply regex in command.js module and add results in input property on event object. 2012-05-23 15:45:09 +01:00
Luke Slater
1f02e29a85 Made DBot load listeners in The New Way. Massively simplified Command module, converted to new format. Converted JS module to new format. All working. Moved ~ignore functionality away for now as it needs to be combined with jsbot. 2012-05-19 19:14:07 +01:00
Luke Slater
059768592a Changed most of the English output strings to formatted strings. 2012-05-19 17:36:21 +01:00
Luke Slater
fa2d0b8465 Converted all of the other modules to the new translate syntax. 2012-05-19 16:48:01 +01:00
Luke Slater
42c4871a16 Switched key of strings object so that there's only one object and it's easier to read and therefore translate. Created 't' function to translate strings, changed quotes module to this format. Need to change the others. Will now fall back to English if translation in given language is not available. 2012-05-19 16:33:31 +01:00
Luke Slater
64fd389418 badwords changes 2012-04-20 13:48:12 +01:00
Luke Slater
2954df3a52 ru puns through cleannicks 2012-04-19 20:55:15 +01:00
Luke Slater
573f1fb6ea create sessiondata entry if it doesn't exist 2012-04-19 12:22:04 +01:00
Luke Slater
27d5c1aa61 Right, sessionData isn't in the DB. 2012-04-19 12:20:57 +01:00
Luke Slater
eb683369f2 onLoad has no data argument 2012-04-19 12:19:09 +01:00
Luke Slater
b2ede3f5d5 print the error to console if it fails to load a module 2012-04-19 12:14:08 +01:00
Luke Slater
b6607f7cd6 quoteArrs, not quotes... jesus reality 2012-04-19 12:09:14 +01:00
Luke Slater
fc5043e310 experimental badwords stuff 2012-04-19 12:02:27 +01:00
Luke Slater
9be6d5beaa experimental badwords stuff 2012-04-19 12:01:06 +01:00
Luke Slater
eb9b9018bf add check in puns again derp 2012-04-16 15:23:19 +01:00
Luke Slater
39d3021870 autoshorten threshold 80 2012-04-16 00:23:13 +01:00
Luke Slater
1b0a32078c remove redundant hasownproperty check from puns since ~q already does that 2012-04-15 23:51:30 +01:00
Luke Slater
27f5ab6f30 quotes not name. jesus. 2012-04-15 23:27:14 +01:00
Luke Slater
79cf8243a0 quotes ignore check for ~quotecat 2012-04-15 23:26:14 +01:00
Luke Slater
8f5759252f name, not names 2012-04-15 22:15:10 +01:00
Luke Slater
a600cb5da5 Added ignore checkers to all ignorable modules with listeners, bit messy but eh. 2012-04-15 22:04:58 +01:00
Luke Slater
0062dde196 Command map changed round the other way. Modules have name and ignorable properties. Ignore and unignore commands, which currently effect actual commands but not listeners yet. 2012-04-15 21:43:02 +01:00
Luke Slater
7680e515a8 Remove existing ignoration functionality. 2012-04-15 20:04:34 +01:00
Luke Slater
ea893be393 change shorten length to 65 2012-04-14 12:01:52 +01:00
Luke Slater
c76428b1f2 TODO note and autoshorten in automatic loading modules 2012-04-14 06:41:53 +01:00
Luke Slater
19a3d9cf87 Only auto shorten long links 2012-04-14 06:37:17 +01:00
Luke Slater
d0ed2eddd1 lets try this then 2012-04-14 06:26:48 +01:00
Luke Slater
7f9089bc5e debug output 2012-04-14 06:23:01 +01:00
Luke Slater
e1833017b0 i am tired 2012-04-14 06:21:38 +01:00
Luke Slater
1924d28952 apparently http is bad 2012-04-14 06:12:36 +01:00
Luke Slater
4bb3836665 needed to require http. whoops. 2012-04-14 06:08:54 +01:00
Luke Slater
eafeb23a77 json format fix 2012-04-14 06:08:03 +01:00
Luke Slater
4290126222 autoshorten 2012-04-14 06:06:40 +01:00
Luke Slater
03e152cc2c Revert "Logging modules added (requires jsbot support for multi-listeners)."
This reverts commit 9d5cf694a8.
2012-03-27 15:06:23 +01:00
Luke Slater
c35ffe3228 Revert "Add routing for web display of logs."
This reverts commit e8eb665900.
2012-03-27 15:06:13 +01:00
Luke Slater
c7124aa49e Revert "Vaguely functional now. Will work on more later."
This reverts commit 055ec14719.
2012-03-27 15:05:56 +01:00
Luke Slater
1503ad4ed5 Revert "lower case interpolation whatsits"
This reverts commit acb427a24e.
2012-03-27 15:04:32 +01:00
Psychedelic Squid
055ec14719 Vaguely functional now. Will work on more later. 2012-03-27 21:59:24 +08:00
Psychedelic Squid
3f218ebb52 Make spelling distance check not care about case. 2012-03-27 21:46:27 +08:00
Psychedelic Squid
e8eb665900 Add routing for web display of logs. 2012-03-27 21:46:27 +08:00
Psychedelic Squid
9d5cf694a8 Logging modules added (requires jsbot support for multi-listeners). 2012-03-27 21:46:26 +08:00
Luke Slater
acb427a24e lower case interpolation whatsits 2012-03-27 14:31:56 +01:00
Psychedelic Squid
0cae8b3baa Use String.prototype.format() <https://gist.github.com/1153608> to make the translation strings more amenable to variations in word order. 2012-03-26 01:32:41 +00:00
Luke Slater
b1c8ec4afa add strings to reload functionality 2012-03-25 02:24:12 +01:00
Luke Slater
3e793d43d5 Loads strings properly. Some changes to the category. Mostly working now, just needs finished Spanish translations and some further testing because I've probably mistyped some category names. 2012-03-25 00:08:32 +00:00
Luke Slater
95eaa7f948 some additions to the strings file and the entire program should now be using the string entries 2012-03-24 23:48:28 +00:00
Luke Slater
47b6c0ff5b whoops missing bracket 2012-03-19 18:48:12 +00:00
Luke Slater
8c81842643 Merge branch 'master' of github.com:reality/depressionbot 2012-03-19 18:46:48 +00:00
Luke Slater
982135411e Fix the long-broken "quote already in db" detection 2012-03-19 18:46:33 +00:00
Luke Slater
eedbe1f287 params argument was being passed as the quoteTree, breaking quotes FOREVER 2012-03-17 13:53:58 +00:00
Luke Slater
a6024c9b7d Oh shit, forgot that quote categories may be several words long. Removed parametisation until further thought takes place. 2012-03-17 13:51:01 +00:00
Luke Slater
309755ba5d err debug 2012-03-17 13:49:08 +00:00
Luke Slater
e0e1d6100d first reference 2012-03-17 13:47:06 +00:00
Luke Slater
64f4979a85 first reference 2012-03-17 13:45:36 +00:00
Luke Slater
e6b50b248d need to call interpolated quote with params 2012-03-17 13:42:15 +00:00
Luke Slater
77cc1ddafd quote parameters 2012-03-17 13:38:03 +00:00
Luke Slater
63039f4e2c possibly ignore whitespace in qadd..? 2012-03-17 13:22:25 +00:00
Luke Slater
cb0bacfabd possibly ignore whitespace in qadd..? 2012-03-17 13:20:21 +00:00
Luke Slater
de873c0302 possibly ignore whitespace in qadd..? 2012-03-17 13:17:58 +00:00
Luke Slater
12e62df846 Removed debugging console.logs 2012-03-15 12:57:54 +00:00
Luke Slater
05fc0418d3 cleaned interpolatedquote so it fits with the coding style 2012-03-15 12:52:47 +00:00
Luke Slater
7a5a25134e Why in blue shit was that in there? 2012-03-14 15:49:49 +00:00
Luke Slater
8f891835e4 fix split on undefined message in puns 2012-03-14 15:47:00 +00:00
Psychedelic Squid
155a2f2f84 interpolatedQuote fully transplanted into quotes.js, should reduce pesky run.js reloading to near-zero 2012-03-14 14:35:37 +00:00
Psychedelic Squid
a08e904ea6 Puns also changed to dispatch a '~q' 2012-03-14 14:20:59 +00:00
Psychedelic Squid
a4313ee665 '~CATEGORY' now dispatches a '~q CATEGORY' command. 2012-03-14 13:59:26 +00:00
Psychedelic Squid
26c3743f76 Oops, stop falling out of the command logic when commands are ignored. 2012-03-12 13:49:55 +00:00
Psychedelic Squid
064d898f4a ~ignore command for, well, ignoring commands temporarily. Add a timer.js wrapper for setTimeout, too. 2012-03-12 13:46:53 +00:00
Psychedelic Squid
92767dbfb1 Fail on invalid-syntax DBs, instead of replacing them. Also, shunt creation of 'realityonce' array to the realityonce listener, so it's not created before being needed. 2012-03-10 18:39:36 +00:00
Psychedelic Squid
730b65761e Merge git://github.com/reality/depressionbot 2012-03-10 18:22:22 +00:00
Psychedelic Squid
f136636093 webPort config option, default 443 2012-03-10 18:21:50 +00:00
Luke Slater
bd85694018 we can't make him too friendly now can we 2012-03-10 18:13:00 +00:00
Luke Slater
0475db6092 Merge branch 'master' of https://github.com/psquid/depressionbot 2012-03-10 18:11:51 +00:00
Psychedelic Squid
df33de486c Pruning. 2012-03-10 18:10:04 +00:00
Luke Slater
62900670cb nobody 2012-03-10 18:02:03 +00:00
Psychedelic Squid
9fa5644a6b Merge git://github.com/reality/depressionbot 2012-03-10 18:01:21 +00:00
Luke Slater
90866a095d stderr? 2012-03-10 18:00:16 +00:00
Luke Slater
ae28db6e70 print output of greload 2012-03-10 17:58:57 +00:00
Luke Slater
b3a6aa2322 test change for greload :| 2012-03-10 17:57:34 +00:00
Luke Slater
d4320bbde7 greload command to git pull then reload 2012-03-10 17:56:38 +00:00
Psychedelic Squid
c8a1818c65 Merge git://github.com/reality/depressionbot 2012-03-10 17:51:33 +00:00
Luke Slater
59adda4221 name in title instead of dbot 2012-03-10 17:49:57 +00:00
Psychedelic Squid
a0158ceac4 Remove category when emptied by ~rm. 2012-03-10 17:48:49 +00:00
Luke Slater
0aab68c01f Merge pull request #23 from psquid/master
Use bot's name when fetching ~d quotes, rather than hardcoding 'depressionbot'
2012-03-10 07:34:51 -08:00
Psychedelic Squid
7d55cefdce Merge git://github.com/reality/depressionbot 2012-03-10 15:33:49 +00:00
Luke Slater
6c337bf1a0 actually screw it i'll do the requirements thing later 2012-03-10 15:32:44 +00:00
Psychedelic Squid
4ea99c7566 Use bot's name when fetching ~d quotes, rather than hardcoding 'depressionbot'. 2012-03-10 15:30:15 +00:00
Luke Slater
34a642228d command execution syntax is now in modules/command.js 2012-03-10 15:28:42 +00:00
Luke Slater
28f78373d8 dont print result of ajs if its undefined 2012-03-10 14:56:06 +00:00
Luke Slater
d5296b0ea0 Multiple admins supported 2012-03-10 14:38:47 +00:00
Psychedelic Squid
678a2ed9be admin 'act' command, and fix to action syntax. 2012-03-09 21:44:05 +00:00
Psychedelic Squid
6160d24e4f Correct handling of modifiers, per golem 2012-03-07 23:18:19 +00:00
Psychedelic Squid
1d2659f361 Interpolated quotes, because why not? 2012-03-07 22:13:31 +00:00
Psychedelic Squid
36c0a0a193 Merge git://github.com/reality/depressionbot 2012-03-07 18:14:55 +00:00
Luke Slater
4893b2dd74 resetadmin command 2012-03-07 16:54:03 +00:00
Luke Slater
7ac46f6ed5 Merge pull request #19 from psquid/a83b1c2
Asterisks at either end, and multi-word search [spelling module fixes].
2012-03-07 07:12:02 -08:00
Psychedelic Squid
fbab79c567 Merge git://github.com/reality/depressionbot 2012-03-07 03:51:29 +00:00
Psychedelic Squid
e925021714 And there's the modifiers. Beautiful. 2012-03-07 03:33:18 +00:00
Psychedelic Squid
fea815a24f Basic dice-rolling functionality. Next, modifiers. 2012-03-07 03:22:52 +00:00
Psychedelic Squid
a83b1c2bd5 Argh! winner, not correction. Old code would match _anything_, not good. 2012-03-06 23:04:37 +00:00
Psychedelic Squid
68943d6c8f Make max winner distance proportional to correction length, so long strings can match. 2012-03-06 22:58:04 +00:00
Psychedelic Squid
85bc47c152 Sanity check; don't want to match against identical words to the correction. 2012-03-06 22:19:11 +00:00
Psychedelic Squid
4e2d4017d0 Check all groupings of words for corrections; makes multi-word corrections behave properly. 2012-03-06 22:02:52 +00:00
Luke Slater
514af801d2 drama stats recorded per user 2012-03-06 19:55:35 +00:00
Psychedelic Squid
ad6b354daf After actually learning how valMatch works, this motherfucker is ready to roll. 2012-03-06 16:34:18 +00:00
Luke Slater
23bd691927 test 2012-03-05 18:17:15 +00:00
Psychedelic Squid
2f9af449ec New regex in place, but the matching pattern changes a little, so I think it probably would break if nothing else is changed. Need to spin up a node server so I can test live. 2012-03-02 02:50:31 +00:00
Luke Slater
a9a88723e3 stupid typo 2012-02-28 14:26:12 +00:00
Luke Slater
dba4403f70 qstats showing largest quote categories 2012-02-28 14:25:13 +00:00
Luke Slater
201f3648d1 delete category when rmlast makes empty quote category 2012-02-27 15:15:30 +00:00
Luke Slater
72fb19768a delete category when rmlast makes empty quote category 2012-02-27 15:14:08 +00:00
Luke Slater
1a6146b348 delete category when rmlast makes empty quote category 2012-02-27 15:11:43 +00:00
Luke Slater
81d34ce304 classify 2012-02-15 21:05:26 +00:00
Luke Slater
a9af977f9d classify 2012-02-15 21:04:01 +00:00
Luke Slater
4aed2a700c classify 2012-02-15 21:01:31 +00:00
Luke Slater
e608491360 classify 2012-02-15 21:00:31 +00:00
Luke Slater
d98c1657dc add sam to dram acces 2012-02-14 19:00:12 +00:00
Luke Slater
8d681ad29b add golem to train 2012-02-14 18:57:52 +00:00
Luke Slater
5037779070 golem can train 2012-02-14 18:49:34 +00:00
Luke Slater
8b87e7e512 added self depracate 2012-02-14 18:18:53 +00:00
Luke Slater
770b66488d fix splicing category out 2012-02-14 18:17:31 +00:00
Luke Slater
c844125355 rtrain to add raw date 2012-02-14 18:15:59 +00:00
Luke Slater
25a48177a8 reporting didnt exist 2012-02-14 18:02:48 +00:00
Luke Slater
5cc3b224c2 experimental bayesian classifier for detecting being an asshole and drama 2012-02-14 18:00:03 +00:00
Luke Slater
e07eca7168 Remove a few instances of Aberwiki-specific stuff. 2012-02-14 17:07:03 +00:00
Luke Slater
77db61b02d it's an array not an object... 2012-02-14 00:41:34 +00:00
Luke Slater
9856fdc5b2 wrong path in unload 2012-02-14 00:35:54 +00:00
Luke Slater
9b4aba39b1 wrong params thing in unload 2012-02-14 00:35:02 +00:00
Luke Slater
7aeb2f0fbb fix unload 2012-02-14 00:32:31 +00:00
Luke Slater
d5ef51e506 Not sure what the hell is up with this package 2012-02-13 20:21:57 +00:00
Luke Slater
c20e5b61f2 Not sure what the hell is up with this package 2012-02-13 20:20:49 +00:00
Luke Slater
af7d8c58d1 use sandbox module for running untrusted code because it has a timeout 2012-02-13 20:18:01 +00:00
Luke Slater
bc4dfb0003 use sandbox module for running untrusted code because it has a timeout 2012-02-13 20:17:24 +00:00
Luke Slater
33ec196a7d use sandbox module for running untrusted code because it has a timeout 2012-02-13 20:15:13 +00:00
Luke Slater
eab3b30805 use sandbox module for running untrusted code because it has a timeout 2012-02-13 20:13:26 +00:00
Luke Slater
9b1fd7aa4e use sandbox module for running untrusted code because it has a timeout 2012-02-13 20:11:51 +00:00
Luke Slater
d72d5f5bdc admin js command so admin can access dbot when running 2012-02-13 20:01:22 +00:00
Luke Slater
b34d714364 Merge branch 'master' of https://github.com/reality/depressionbot 2012-02-13 19:56:18 +00:00
Luke Slater
cc88d53de4 js runs in vm sandbox, documentation additions 2012-02-13 19:56:04 +00:00
Luke Slater
8783990d7f admin can bypass locks 2012-02-13 03:50:39 +00:00
Luke Slater
2cd7a3992c Merge branch 'master' of github.com:reality/depressionbot 2012-02-13 03:49:48 +00:00
Luke Slater
23cd0218ac admin can bypass locks 2012-02-13 03:48:56 +00:00
Luke Slater
29aeb88184 Remove karma related commands because they're stupid, moved kick-related commands into the kick module. 2012-02-11 16:25:20 +00:00
Luke Slater
471918d328 Fix kickArr reference in ~kickstats 2012-02-11 16:19:40 +00:00
Luke Slater
c798e42152 Refactored ~kickstats so there's no code repitition. 2012-02-11 16:17:52 +00:00
Luke Slater
e79854638a Commenting additions and moved module list specification into the config file. 2012-02-11 16:02:16 +00:00
Luke Slater
5ef21027ea Forgot to add req and res entry 2012-02-11 15:55:14 +00:00
Luke Slater
2db1174689 Merge branch 'master' of https://github.com/reality/depressionbot 2012-02-11 15:53:57 +00:00
Luke Slater
0c4b86dc28 Random quote page on the web interface. 2012-02-11 15:53:18 +00:00