3
0
mirror of https://github.com/reality/dbot.git synced 2024-12-27 05:02:36 +01:00
Commit Graph

1572 Commits

Author SHA1 Message Date
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
Luke Slater
141fc40a04 opme takes channel argument 2012-02-11 15:45:10 +00:00
Luke Slater
2fd09aa3f9 apostrophes bitches 2012-01-20 16:26:47 +00:00
n3hima / Joe MacMahon
5d7bc0ad14 Added an ~rm command which can remove quotes which are not the most-recently-added quote 2012-01-14 10:27:23 +00:00
Luke Slater
ed02557500 Merge pull request #14 from n3hima/master
Fixed case sensitivity issue with the ~link command
2012-01-11 10:05:06 -08:00
Luke Slater
c2d2e0342e do that properly 2012-01-09 14:53:48 +00:00
Luke Slater
007540bead do that properly 2012-01-09 14:51:34 +00:00
Luke Slater
bb934fb1db fix spelling bug with replacing parts of words instead of the word if the letter sequence occurs first 2012-01-09 14:46:09 +00:00
Joe MacMahon
d5526cfe4b Fixed case-sensitivity with ~link 2012-01-08 21:58:40 +00:00
Luke Slater
9b00578a60 winnerDistance back up to 7 2012-01-02 13:20:20 +00:00
Luke Slater
b3c655a46b merging afals spelling fixed 2012-01-02 13:13:31 +00:00
Dafydd Francis
444817f145 cleaned up the spelling module 2012-01-01 20:35:43 +00:00
Dafydd Francis
32e21067f5 Changed 9999999 to Infinity 2012-01-01 18:47:50 +00:00
Luke Slater
f5fbb487a4 Merge branch 'master' of github.com:reality/depressionbot 2011-12-25 10:41:13 +00:00
Luke Slater
3ba0fbd030 youare less likely 2011-12-25 10:41:02 +00:00
Luke Slater
ea14374736 7 2011-12-14 20:57:15 +00:00
Luke Slater
817915958b distance 5 2011-12-14 19:15:32 +00:00
Luke Slater
d5d68fcc51 only admin can run js 2011-12-13 16:03:21 +00:00
Luke Slater
430d88e5d8 Merge branch 'master' of https://github.com/reality/depressionbot 2011-12-13 15:58:35 +00:00
Luke Slater
dcf1ee8cae afal merge req 11 change 2011-12-13 15:58:33 +00:00
Luke Slater
68c1394226 Merge https://github.com/dafrancis/depressionbot 2011-12-13 15:57:35 +00:00
Dafydd Francis
2b5fc780dc Added NECESSARY change 2011-12-13 15:48:55 +00:00
Luke Slater
d46294c576 accept - in categories everywhere 2011-12-12 14:08:56 +00:00
Luke Slater
4872340784 Allow - in category names 2011-12-12 14:06:05 +00:00
Luke Slater
d6eb37b226 quick fix for 42 because its not pulling channel right from jsbot 2011-12-04 17:05:23 +00:00
Luke Slater
d0b3b5252c modehate 2011-12-04 17:03:33 +00:00
Luke Slater
16354db060 test 2011-12-04 16:59:30 +00:00
Luke Slater
5379dc3d7f total quote count 2011-11-29 13:28:22 +00:00
Luke Slater
676be3f93f total quote count 2011-11-29 13:20:47 +00:00
Luke Slater
0b50552623 total quote count 2011-11-29 13:18:59 +00:00
Luke Slater
344ae848a4 fixed the idiot half-changed spelling bit 2011-11-27 13:32:41 +00:00
Luke Slater
877d666a19 fixed the idiot half-changed spelling bit 2011-11-27 13:27:34 +00:00
Luke Slater
b03a36f5f6 merge fix 2011-11-25 12:33:20 +00:00
Luke Slater
81eb8ebeac lolsnowtest 2011-11-25 12:27:00 +00:00
Luke Slater
8726c87c23 remove reality hard link 2011-11-24 13:17:16 +00:00
Luke Slater
23e4e5d7c0 ignore spelling if *word* 2011-11-17 22:12:32 +00:00
Luke Slater
b0d82acf77 ignore spelling if *word* 2011-11-17 22:06:56 +00:00
Alexander D Brown
4d53a481bd Updated the case sensativity a bit.
My ultimate aim of having the database entries cased and then the code that gets them work out insensibly seems a little unrealistic as it's easier to lowercase the input rather than the keys in the DB. Maybe at a later date when I've looked at the database code.

Shouldn't affect any other modules as it's standalone (and no port issues this time).
2011-11-10 18:29:06 +00:00
Luke Slater
d60038a852 Move listen port back to 443 2011-11-10 00:06:05 +00:00
Alexander D Brown
52cdddf3f7 Added in URL support for the web interface.
The Jade templating code in `views/quotes.jade` will now check against the Regular Expression which has been added to `snippets.js` and is delivered to the template by `modules/web.js`.

The reguar expression used should be able to handle any URL and ensure no non-URL elements are made into URLs. It may be worth adding checking for 4XX error codes at a later date.

This shouldn't affect any of the other modules; features have only been added, not modified.
2011-11-09 23:51:01 +00:00
Luke Slater
851f510973 Should have fixed public folder path 2011-11-08 18:59:29 +00:00
Samuel Clements
e0dd59ac7d Css should work easy now. 2011-11-08 18:52:59 +00:00
Samuel Clements
68a450edb4 Use plain css, should work better. 2011-11-08 18:45:40 +00:00
Samuel Clements
d3a4200ad9 Merge pull request #6 from ziaix/web
Should fixed /css error
2011-11-08 10:24:33 -08:00
Luke Slater
b02ad7f7a7 Fix npcs thingy whatever 2011-11-08 16:22:40 +00:00
Samuel Clements
d7bdbc7a52 Should fixed /css error 2011-11-08 15:48:52 +00:00
Samuel Clements
87d2409574 Started improving the web interface. 2011-11-08 15:36:18 +00:00
Samuel Clements
bb0af1951e Added ~link command. Links to the quote list page for that category. 2011-11-08 13:42:22 +00:00
Luke Slater
23653665c2 valmatch correction 2011-11-04 16:37:21 +00:00
Luke Slater
119d0b306e correct other peoples spelling 2011-11-04 16:34:36 +00:00
Luke Slater
f995564dbe more kicks 2011-11-03 01:48:47 +00:00
Luke Slater
e60465cfc1 spelling correct chaining 2011-11-01 17:48:13 +00:00
Luke Slater
8f48ce5289 modehate kick 2011-11-01 16:26:16 +00:00
Luke Slater
a4a8471ab5 ** 2011-10-31 17:13:41 +00:00
Luke Slater
130363c991 ** 2011-10-31 17:11:40 +00:00
Luke Slater
fd9366e4f9 ** 2011-10-31 17:10:25 +00:00
Luke Slater
e0dee27658 ** 2011-10-31 17:07:14 +00:00
Luke Slater
8a959a62b8 meant 2011-10-26 20:56:52 +01:00
Luke Slater
aa7fc99144 winner = correction fix 2011-10-26 20:52:53 +01:00
Luke Slater
e8c0d5565f var not int jesus christ java 2011-10-26 17:27:05 +01:00
Luke Slater
254f89f710 var not int jesus christ java 2011-10-26 17:26:37 +01:00
Luke Slater
d57b2e2092 var not int jesus christ java 2011-10-26 17:25:41 +01:00
Luke Slater
68d8c75b50 var not int jesus christ java 2011-10-26 17:24:19 +01:00
Luke Slater
c7b2b5b139 var not int jesus christ java 2011-10-26 17:22:19 +01:00
Luke Slater
adbcb4f1fa var not int jesus christ java 2011-10-26 17:21:21 +01:00
Luke Slater
e874ffbfc2 spelling 2011-10-26 17:19:52 +01:00
Luke Slater
72587af968 derp 2011-10-24 13:54:42 +01:00
Luke Slater
87760f7bd4 right chnnale 2011-10-24 13:51:02 +01:00
Luke Slater
ad3a3c48b1 karma fix 2011-10-20 11:56:43 +01:00
Luke Slater
824e5381e0 debugging. so what? 2011-10-20 11:55:09 +01:00
Luke Slater
90363ed707 karma fix 2011-10-19 22:31:34 +01:00
Luke Slater
ca14b38087 correction on correct admin pm routing 2011-10-18 16:57:37 +01:00
Luke Slater
00928e9528 correct routing on admin commands in pm 2011-10-18 16:53:48 +01:00
Luke Slater
ada0d56b19 save on admin commands 2011-10-18 16:52:33 +01:00
Luke Slater
14db0b6eb6 unmodehate 2011-10-18 16:49:04 +01:00
Luke Slater
5a2121b132 lower case rmlast key 2011-10-18 16:22:25 +01:00
Luke Slater
18906bf940 mass deop protection 2011-10-17 13:35:30 +01:00
Luke Slater
8a041bd17f opme works 2011-10-17 13:26:36 +01:00
Luke Slater
fe6dad5df6 25 2011-10-17 10:56:49 +01:00
Luke Slater
1f07302f7a debug 2011-10-16 20:05:52 +01:00
Luke Slater
b6320f476a debug 2011-10-16 20:05:15 +01:00
Luke Slater
3130e08c4e debug 2011-10-16 20:04:11 +01:00
Luke Slater
b6bbab1ba7 debug 2011-10-16 20:02:27 +01:00
Luke Slater
0b62ba4806 debug 2011-10-16 20:01:43 +01:00
Luke Slater
29891ca7cf debug 2011-10-16 20:01:04 +01:00
Luke Slater
a3ed88ae9c raw dat what? 2011-10-16 20:00:04 +01:00
Luke Slater
558f6b3345 debug 2011-10-16 19:59:17 +01:00
Luke Slater
1cb85852a9 debug 2011-10-16 19:57:25 +01:00
Luke Slater
0e274638ad debug 2011-10-16 19:56:20 +01:00
Luke Slater
5ff3be97a4 debug 2011-10-16 19:55:00 +01:00
Luke Slater
1ad5eeaf3b modehate only on deop 2011-10-15 19:55:45 +01:00
Luke Slater
5a97dea05b modehate only on deop 2011-10-15 19:54:29 +01:00
Luke Slater
0e18cd50c4 modehate only on deop 2011-10-15 19:51:58 +01:00
Luke Slater
7c7953b3a4 debug 2011-10-15 19:48:54 +01:00
Luke Slater
b8a55400bd qsearch 2011-10-14 13:26:51 +01:00
Luke Slater
a5960b8daf quote locks 2011-10-14 13:24:18 +01:00
Luke Slater
1f4c3fec8f qsearch 2011-10-13 17:39:11 +01:00
Luke Slater
cf2273aafa qsearch 2011-10-13 17:36:35 +01:00
Luke Slater
defb08b8ef terrible cheat 2011-10-12 21:36:42 +01:00
Luke Slater
8b23d272c6 test 2011-10-12 21:35:33 +01:00
Luke Slater
4c3b8f1082 test 2011-10-12 21:33:17 +01:00
Luke Slater
00dbe563bd modehate message 2011-10-12 21:30:48 +01:00
Luke Slater
b2c4793ad8 modehate message 2011-10-12 21:29:05 +01:00
Luke Slater
32e2c9434c back to mode 2011-10-12 21:25:42 +01:00
Luke Slater
136e67a4ce test 2011-10-12 21:23:35 +01:00
Luke Slater
198154678c quotes on on 2011-10-12 21:16:23 +01:00
Luke Slater
62ef1d36e1 test 2011-10-12 18:21:38 +01:00
Luke Slater
4793bfe7c6 test 2011-10-12 18:19:55 +01:00
Luke Slater
27a3cebc53 test 2011-10-12 18:18:33 +01:00
Luke Slater
fca6c4f573 wtf 2011-10-12 18:14:38 +01:00
Luke Slater
79bbc034c4 modehate 2011-10-12 18:09:55 +01:00
Luke Slater
50e7b46047 kickstats 2011-10-12 17:49:00 +01:00
Luke Slater
cbd96fb765 kickcount 2011-10-12 17:45:00 +01:00
Luke Slater
f48da5bcb4 kickcount 2011-10-12 17:43:53 +01:00
Luke Slater
04dc901974 kickers 2011-10-12 17:40:21 +01:00
Luke Slater
6528eace6e qadd reality ban 2011-10-12 16:55:46 +01:00
Luke Slater
0c552f4e28 js 2011-10-12 16:53:19 +01:00
Luke Slater
bbee3f4147 js 2011-10-12 16:52:28 +01:00
Luke Slater
b40845e93d qadd reality ban 2011-10-12 16:51:34 +01:00
Luke Slater
a450d357d1 qadd reality ban 2011-10-12 16:50:47 +01:00
Luke Slater
b76f3ff70c js 2011-10-12 16:48:54 +01:00
Luke Slater
421037d215 js 2011-10-12 16:47:56 +01:00
Luke Slater
0be481f505 js 2011-10-12 16:46:18 +01:00
Luke Slater
e0fdebe6df js 2011-10-12 16:45:43 +01:00
Luke Slater
7e78402c01 js 2011-10-12 16:45:07 +01:00
Luke Slater
f5ec74c549 js 2011-10-12 16:43:09 +01:00
Luke Slater
ab03d5bfca js 2011-10-12 16:42:19 +01:00
Luke Slater
6cd6b3e41a whoops 2011-10-12 15:39:35 +01:00
Luke Slater
78508dd1a5 qadd reality ban 2011-10-12 15:36:51 +01:00
Luke Slater
065611bcff Timed save 2011-10-12 14:52:58 +01:00
Luke Slater
d2332058fc push the right way around 2011-10-10 13:30:44 +01:00
Luke Slater
821d8407c1 unban 2011-10-09 16:15:44 +01:00
Luke Slater
b278c1dd14 feedback 2011-10-09 16:07:42 +01:00
Luke Slater
3f13de4780 ban 2011-10-09 16:06:28 +01:00
Luke Slater
d9f3099b70 thing 2011-10-07 13:04:39 +01:00
Luke Slater
d2554d8e6d Remove test I was just being an idiot 2011-10-06 13:22:16 +01:00
Luke Slater
301affa7c2 test 2011-10-06 13:20:12 +01:00
Luke Slater
e4e159b117 reality add to addStack 2011-10-06 13:16:35 +01:00
Luke Slater
617ce3ca12 Merge quotes and reality 2011-10-06 13:14:56 +01:00
Luke Slater
fd4c2e8148 443? 2011-10-06 00:32:28 +01:00
Luke Slater
b5b6e5fe92 port 110 2011-10-06 00:30:51 +01:00
Luke Slater
feb9517a9f move realiPuns to quoteArrs 2011-09-28 14:03:26 +01:00
Luke Slater
234afebf49 incinerate 2011-09-24 18:49:43 +01:00
Luke Slater
1b50f94d8e nobody loves 2011-09-18 18:20:50 +01:00
Luke Slater
d1ce8d99e0 link to quotes 2011-09-15 19:56:50 +01:00
Luke Slater
1076da026d quote list 2011-09-15 12:51:54 +01:00
Luke Slater
6d13e4ee07 quote list 2011-09-15 12:50:40 +01:00
Luke Slater
9d0077b184 lower case key 2011-09-15 12:34:01 +01:00
Luke Slater
0ab31586e9 quote list and error page 2011-09-15 12:30:52 +01:00
Luke Slater
13d58f67e3 app.close() ends the event loop 2011-09-14 17:46:59 +01:00
Luke Slater
1621e22ddd Move onDestroy to the right place 2011-09-14 17:30:39 +01:00
Luke Slater
0f0e935c36 Remove from general population for a bit. test ondestroy 2011-09-14 17:28:00 +01:00
Luke Slater
36874ac3e6 module on destroy and process exit 2011-09-14 17:24:32 +01:00
Luke Slater
a63d350b50 yes it's a test shut up 2011-09-13 22:03:02 +01:00
Luke Slater
75899123c9 remake the app inside the module 2011-09-13 21:55:20 +01:00
Luke Slater
43ed7fb570 web interface test 2011-09-13 21:23:46 +01:00
Luke Slater
3408be26ac opme 2011-09-12 18:11:32 +01:00
Luke Slater
c453c80536 ~kickstats 2011-09-12 16:38:10 +01:00
Luke Slater
33fc7712a8 admin unlimited remove 2011-09-04 15:55:12 +01:00
Luke Slater
7071a7dac6 named rmlast 2011-09-04 15:50:51 +01:00
Luke Slater
ece8974659 named rmlast 2011-09-04 15:49:52 +01:00
Luke Slater
c413053a7b delete if undefined on rmlast 2011-09-04 15:43:51 +01:00
Luke Slater
54746625fd Timers and an ~rmlast command to remove the last quote. 2011-09-04 15:39:03 +01:00
Luke Slater
87ce257ca9 less youare 2011-09-01 13:09:05 +01:00
Luke Slater
40015b798a pick on spoony, make it dispense user comments on joining the room 2011-08-30 16:13:47 +01:00
Luke Slater
62d513b8c0 Fixed ~kc 2011-08-28 17:30:12 +01:00
Luke Slater
3c5036fef4 Fixed mis-variable-naming in ~qcount 2011-08-28 17:24:48 +01:00
Luke Slater
21ff3e002b Fix ~quote syntax. It's a little messy. 2011-08-28 17:16:28 +01:00
Luke Slater
6b0e2de264 Central command management. Quotes now handles its own commands. 2011-08-28 15:00:22 +01:00
Luke Slater
86a428a5a2 youare doesn't respond to aisbot, reality.js uses valMatch. 2011-08-26 15:34:49 +01:00
Luke Slater
3291586d18 getajob and youare use valMatch and chanceIn 2011-08-26 12:46:12 +01:00
Luke Slater
34e9f9b036 Whoops, switch qset to valmatch 2011-08-26 12:45:04 +01:00
Luke Slater
3989cf277b User commands use valMatch 2011-08-26 12:42:44 +01:00
Luke Slater
eeb59bae4b Glorious regex victory! 2011-08-25 20:34:39 +01:00
Luke Slater
6072cb0e8b Chance in in snippets, valMatch. Reload snippets file. Change youare. 2011-08-25 17:54:59 +01:00
Luke Slater
7c023104e3 meh 2011-08-25 15:47:06 +01:00
Luke Slater
8e1d4d5722 god damned regex i'll kill them all 2011-08-25 14:45:42 +01:00
Luke Slater
85f4747dcb ok the regex was broke 2011-08-25 14:34:51 +01:00
Luke Slater
e62bacfa98 regex better 2011-08-25 14:19:17 +01:00
Luke Slater
a9f2d7fe51 regex better 2011-08-25 14:18:08 +01:00
Luke Slater
fed8cb6789 regex better 2011-08-25 14:17:51 +01:00
Luke Slater
886a4d3baa regex better 2011-08-25 14:17:15 +01:00
Luke Slater
768b88d005 youare 2011-08-25 14:14:08 +01:00
Luke Slater
fff206a910 get a job 2011-08-25 13:39:44 +01:00
Luke Slater
98e66a3086 Fixed some regex, fixed the admin module etc. Small changes. 2011-08-25 13:32:54 +01:00
Luke Slater
c5c37334f1 Load and unload modules while running, fixes in the user module regex 2011-08-24 18:23:00 +01:00
Luke Slater
d17ee73393 lower-case all quote keys 2011-08-24 16:15:56 +01:00
Luke Slater
3a36ee1894 Hot-loading now works. Fuck yeah! 2011-08-24 16:15:42 +01:00
Luke Slater
3d843f6c96 Remove dependency on prototype.js. Not everything is tested so far though... 2011-08-24 01:57:52 +01:00
Luke Slater
df61c97eb2 Framework for reloading modules when it's possible... Sigh... 2011-08-23 00:04:40 +01:00
Luke Slater
d266f71c0e Moved modules to a subdirectory. 2011-08-22 22:17:13 +01:00