Commit Graph

799 Commits

Author SHA1 Message Date
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
Luke Slater
e9b6b2d0f6 Merge pull request #38 from psquid/flexible-translate-strings
Use String.prototype.format() <https://gist.github.com/1153608> to make the translation strings more amenable to variations in word order.
2012-03-26 06:36:38 -07: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
12cdef690d Merge pull request #37 from n3hima/translate
Forgot to add a translation for rmlast_spam.
2012-03-24 18:31:21 -07:00
Joe MacMahon
250ca7b175 Forgot to add a translation for rmlast_spam. 2012-03-25 02:26:38 +01:00
Luke Slater
b1c8ec4afa add strings to reload functionality 2012-03-25 02:24:12 +01:00
Luke Slater
1e1917af9b Merge pull request #36 from n3hima/translate
Translate
2012-03-24 18:22:41 -07:00
Joe MacMahon
6a275da74a Done translations. 2012-03-25 02:19:07 +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
b6f281d88c initial translation data 2012-03-24 23:24:26 +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
653264e46a comment formatting 2012-03-15 18:08:40 +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
Luke Slater
c22f869d15 Merge pull request #34 from psquid/quotes-migration
interpolatedQuote fully transplanted into quotes.js, should reduce pesky run.js reloading to near-zero
2012-03-14 07:39:10 -07: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
Luke Slater
28474f5465 Merge pull request #32 from psquid/ytembed
Auto-embed youtube videos, in much the same way as images are already done.
2012-03-14 07:17:58 -07:00
Psychedelic Squid
a4313ee665 '~CATEGORY' now dispatches a '~q CATEGORY' command. 2012-03-14 13:59:26 +00:00
Luke Slater
27baefb6ce Merge pull request #33 from danharibo/master
There I fixed it
2012-03-13 09:12:06 -07:00
Daniel Evans
9001cfefcf Fixed quotes 2012-03-13 16:06:19 +00:00
Luke Slater
1753b79463 Merge pull request #31 from danharibo/master
Recursive interpolatedQuote
2012-03-13 08:26:18 -07:00
Psychedelic Squid
bef96ebc51 So apparently some people still use Firefox? 2012-03-12 22:07:08 +00:00
Psychedelic Squid
39f5bbdc8b Smaller videos don't needlessly overlap each other. 2012-03-12 21:57:55 +00:00
Psychedelic Squid
f3ab2e5e92 Auto-embed youtube videos, in much the same way as images are already done. 2012-03-12 21:38:09 +00:00
Daniel Evans
b09a962aa0 Made interpolateQuote recursive 2012-03-12 21:29:29 +00:00
Luke Slater
6584dc477d Merge pull request #29 from psquid/master
webPort config option (default 443), no DB splatting, and ~ignore command (plus timer.js and run.js changes to make it possible).
2012-03-12 14:20:33 -07:00
Luke Slater
60ec15803c Merge pull request #30 from danharibo/master
Made it work better
2012-03-12 14:20:17 -07:00
Daniel Evans
d5197fbcd6 Improved interpolatedQuote 2012-03-12 21:00:17 +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
94430e52a1 sessionData hash for storage which should explicitly not survive beyond full restarts (as opposed to reloading modules). 2012-03-12 13:07:24 +00:00