3
0
mirror of https://github.com/reality/dbot.git synced 2024-12-27 21:22:38 +01:00
Commit Graph

297 Commits

Author SHA1 Message Date
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
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