3
0
mirror of https://github.com/reality/dbot.git synced 2024-11-25 05:19:27 +01:00
Commit Graph

1990 Commits

Author SHA1 Message Date
reality
68b0977bae ignore uses event.rUser [#511][#514] 2013-06-27 15:33:18 +00:00
reality
3021601c52 fix quotes 2013-06-27 15:26:21 +00:00
Luke Slater
9b8148f2e7 Update strings.json 2013-06-23 20:40:56 +00:00
reality
4ffff09381 Rewrite warning module for databank [#508] 2013-06-23 11:37:01 +00:00
reality
a65c96138e fix a bunch of shit 2013-06-22 20:23:47 +00:00
reality
39db5423df finish users rewrite 2013-06-22 17:19:04 +00:00
reality
df1404b3ae dont pass channel info to createUser 2013-06-22 16:32:18 +00:00
reality
66f5b1df43 rewrite JOIN users listener 2013-06-22 16:25:31 +00:00
reality
b3b91f189f Draft of new users listener [#511][#480] 2013-06-22 15:22:23 +00:00
reality
bfd11c5d4d fix showconfig recursion 2013-06-22 14:37:21 +00:00
reality
520be40504 rChannel [#507] 2013-06-21 18:40:00 +00:00
reality
5f3c06a7a0 merge 2013-06-21 18:32:00 +00:00
reality
efe54b5e35 event.rUser contains resolved user object from users module [#507] 2013-06-21 18:11:22 +00:00
Luke Slater
210f4936df Update strings.json 2013-06-21 17:38:17 +00:00
reality
051b59504a add ~ prefix to admin commands :( [Close #465] 2013-06-19 23:07:38 +00:00
reality
ce2f3c99d9 basic web thing for the warnings module [#506] 2013-06-19 20:00:35 +00:00
reality
9a531dab2f Merge branch 'master' of github.com:reality/depressionbot 2013-06-19 00:07:10 +00:00
reality
7d79d2330f initial support for warnings without web component [#506] 2013-06-19 00:06:52 +00:00
reality
77af2a1250 meeeeeeerge 2013-06-13 19:11:42 +00:00
reality
b201c1aaad fix profile config pointers 2013-06-13 18:59:14 +00:00
ProButcher
dce6ec6c54 Updated README for kick module.
Added ~ckick, ~cban, ~nban and ~nunban.
2013-06-12 12:49:16 -03:00
reality
051ea2ca28 remove ban from ban list when tempban expires [#500] 2013-06-11 17:57:04 +00:00
reality
f6aebb61b4 initial draft of word definition thing [#503] 2013-06-11 17:24:42 +00:00
reality
dc6489767f create new date from serialised timeout 2013-06-10 17:20:58 +00:00
reality
654a04810a reload persistence for tempban [#495] 2013-06-10 17:10:57 +00:00
reality
1c84837611 Initial non-persistent support for temp banning [#495] 2013-06-10 16:59:56 +00:00
reality
5f86eb225f raise acceptable response time for getUserInfo to 8 seconds 2013-06-10 16:20:47 +00:00
reality
3be45d4692 nunban moved to api + efficiency [#500], attempts to look up host otf [Close #499], tempban backedn [#495] 2013-06-10 16:15:28 +00:00
reality
0544bb9d12 getUserHost callbacks false if response not received in timely manner [Close #501] 2013-06-10 16:13:30 +00:00
reality
ab520e625a ~nunban command 2013-06-09 22:50:11 +00:00
reality
2b7b67b894 nban records a host record [#497][#495] 2013-06-09 21:07:17 +00:00
reality
9226da5b76 that should do it did i mention fuck regex 2013-06-09 17:51:49 +00:00
reality
6b9cf29e95 fuck regex 2013-06-09 17:46:45 +00:00
reality
9c6b78863e fuck regex 2013-06-09 17:42:41 +00:00
reality
a395b17218 print match 2013-06-09 17:39:51 +00:00
reality
024b5a514c use brackety thing for the whatsit 2013-06-09 17:37:03 +00:00
reality
33bde312e8 make the nick matcher in 302 non greedy 2013-06-09 17:34:12 +00:00
reality
ec73da976e remove trailing * 2013-06-09 17:31:21 +00:00
reality
e22c42f560 some debug output in getUserHost 2013-06-09 17:27:39 +00:00
reality
47e9672b32 working userhost api function [Close #498] 2013-06-09 16:55:46 +00:00
reality
995a5125bc adding it to listener.on would have been a good idea you retard 2013-06-09 16:10:57 +00:00
reality
32c5fe8bf1 catchmsg 2013-06-09 16:08:52 +00:00
reality
58786672fd missing server clause in send 2013-06-09 16:06:58 +00:00
reality
3e2f96fb11 initial 302 USERHOST support in nickserv api [#498] 2013-06-09 16:05:19 +00:00
reality
9dc9ebfd2e syntax fix in timers 2013-06-09 15:25:31 +00:00
reality
8a7333cef3 addTimeout for timers module [#494] 2013-06-09 15:25:06 +00:00
reality
32b89794cb reset web AGAIN 2013-06-09 12:42:00 +00:00
reality
ecfa6552a9 lowercase banee name in quote cat 2013-06-09 12:40:13 +00:00
reality
aefc605ecb correct config truth tests 2013-06-08 19:06:57 +00:00
reality
cab231b647 inform banee that they got banned in pm [Close #493] 2013-06-08 18:59:37 +00:00
reality
0421316002 ~nban no longer bans from network admin channel, posts notification in network admin chan 2013-06-08 18:34:29 +00:00
reality
cd4b9460b1 String translation exceptions in project 2013-06-06 17:27:56 +00:00
reality
9093a69907 auto reload on setconfig [#489] 2013-06-05 22:59:37 +00:00
reality
f3a5c00be8 update version of github w/ milestone fixed and that 2013-06-05 22:48:15 +00:00
reality
9927f7add3 update github 2013-06-05 22:47:13 +00:00
reality
f8768a7740 ~commands command [Close #491] 2013-06-05 22:26:10 +00:00
reality
f3fda2b696 Merge git://github.com/reality/dbot into database 2013-06-05 22:15:56 +00:00
reality
7592a6caa4 pushconfig operational [#489] 2013-06-05 22:15:17 +00:00
reality
3302298f45 add usage info for report and kick 2013-06-05 22:13:24 +00:00
reality
815d7a39cd setconfig working + msg if new key is being created [#489] 2013-06-05 21:52:14 +00:00
reality
546ce64707 admin.internalAPI.setConfig operational [#489] 2013-06-05 21:41:20 +00:00
reality
97907603f5 automatically save module load changes [#489] 2013-06-05 21:14:21 +00:00
reality
b7a3b6a139 save a seperate customconfig so not everything is saved to config.json. create saveconfig internal api function for admin [#489] 2013-06-05 21:00:52 +00:00
reality
eafc2dbee1 fix config pointers in admin and imgur [#489] 2013-06-05 20:13:40 +00:00
reality
5879baeff5 missing usage 2013-06-05 20:12:52 +00:00
reality
8805c7e081 looks like one of the , was . in command.strings 2013-06-05 20:10:17 +00:00
reality
a93b5adbb8 extra param knocked out scope 2013-06-05 18:19:38 +00:00
reality
e03be0f7d6 forgot the bind again, reality pls 2013-06-05 18:15:51 +00:00
reality
bff59d3424 channels in function loop 2013-06-05 18:13:39 +00:00
reality
50801f7afb forgot the bind.. 2013-06-05 18:09:11 +00:00
reality
e43b6ea715 stagger kickbanning 2013-06-05 18:07:19 +00:00
reality
b77644d1d4 Fixes for config path in some place [#489] 2013-06-04 00:10:12 +00:00
reality
a25620bf9e recursively call showconfig [#489] 2013-06-04 00:06:41 +00:00
reality
4a7fcd57b3 Module config now loaded from config.json , rleloaded upon reloading and various module changes to make it work right [#474] [#489] 2013-06-03 23:00:23 +00:00
reality
17070adcb6 ~notify command 2013-06-02 13:34:51 +00:00
reality
71b9e482c1 move rq to new interpolatedquotes api 2013-06-01 19:38:44 +00:00
reality
ec0c4ad781 merge of terror #2 2013-06-01 17:57:07 +00:00
reality
39c298037d fix string syntax error 2013-06-01 17:01:24 +00:00
reality
dffdf7486f update submodules 2013-06-01 16:46:57 +00:00
Roi
505d69ef73 German translations 2013-06-01 16:16:24 +00:00
reality
b4581b1995 remove extra head 2013-06-01 15:55:48 +00:00
reality
a01438a879 worst merge 2013 eu 2013-06-01 15:55:09 +00:00
reality
0d67f12991 trim quote keys 2013-05-30 08:15:32 +00:00
reality
90d77e4c67 Merge branch 'master' of github.com:reality/depressionbot 2013-05-30 04:14:07 +00:00
reality
553d3afccc user interpolation for quotes 2013-05-30 04:13:54 +00:00
Luke Slater
5eb4502aa5 Merge pull request #485 from ODyckhoff/master
Welsh Translations
2013-05-29 12:32:20 -07:00
reality
7303fd6a01 update stats 2013-05-29 18:41:42 +00:00
reality
378d3da0f0 update github 2013-05-29 13:00:00 +00:00
Sam Nicholls
742774fbfe Touch spotify README 2013-05-29 13:40:01 +02:00
Owen Dyckhoff
62700862e4 Completed users module Welsh translations in strings.json 2013-05-29 13:03:11 +02:00
Owen Dyckhoff
d825499651 I cannot be trusted with quotation marks. 2013-05-29 12:48:10 +02:00
Owen Dyckhoff
2cbf862434 Completed spotify module Welsh translations in strings.json 2013-05-29 12:46:47 +02:00
Owen Dyckhoff
9d709cd42a Completed report module Welsh translations in strings.json 2013-05-29 12:38:50 +02:00
Owen Dyckhoff
755099c5ee Closed a quotation mark that I missed >.> 2013-05-29 12:23:19 +02:00
Owen Dyckhoff
1869e82b45 Completed reddit module Welsh translations in strings.json 2013-05-29 12:21:48 +02:00
reality
080770768d syntax error in admin strings 2013-05-28 22:30:24 +00:00
reality
2ca2cc01d0 missing comma in quotestrings 2013-05-28 22:28:13 +00:00
Owen Dyckhoff
5856dcb415 Completed rain module Welsh translations in strings.json 2013-05-29 00:05:53 +02:00
Owen Dyckhoff
84645dae93 Completed quotes module Welsh translations in strings.json 2013-05-28 23:50:49 +02:00
Owen Dyckhoff
ff9532d503 Completed project module Welsh translations in strings.json 2013-05-28 23:13:16 +02:00
Owen Dyckhoff
5be4c5e9e7 Completed link module Welsh translations in strings.json 2013-05-28 22:17:07 +02:00
Owen Dyckhoff
1b834c16ce Completed kick module Welsh translations in strings.json 2013-05-28 22:11:55 +02:00
Owen Dyckhoff
f576a9074a Completed imgur module Welsh translations in strings.json 2013-05-28 21:57:20 +02:00
Owen Dyckhoff
0234d7a52a Corrected Welsh spelling error and substituted more appropriate word in admin module strings.json 2013-05-28 21:55:27 +02:00
Owen Dyckhoff
d0205e0468 Completed ignore module Welsh translations in strings.json 2013-05-28 21:53:16 +02:00
Owen Dyckhoff
6ad4b1976b Completed dns module Welsh translations in strings.json 2013-05-28 21:24:41 +02:00
Owen Dyckhoff
19332bf1d5 Completed command module Welsh translations in strings.json 2013-05-28 21:14:13 +02:00
Owen Dyckhoff
b0852c2fac Completed admin module Welsh translations in strings.json 2013-05-28 20:09:32 +02:00
reality
150821cbb3 fix db pointer for imgur olDB 2013-05-28 17:40:25 +00:00
reality
3726be64b7 yee 2013-05-27 17:48:36 +00:00
reality
429eafd8e4 banOutput option in command [#460] 2013-05-27 17:45:30 +00:00
reality
e1ea156a41 merge udFallback into database branch [#477] 2013-05-27 17:33:10 +00:00
reality
d5a4b288f7 udFallback option for quote retrieval [#477] 2013-05-27 17:16:23 +00:00
reality
7e4ae2460a Automatic callback for ~ajs [#476] 2013-05-26 20:24:05 +00:00
reality
e7605e0c0e Merge git://github.com/reality/depressionbot into database 2013-05-26 17:20:49 +00:00
reality
0cb8147abb improve imgur linkhandler efficiency by using only one callback and link name feature [#475] 2013-05-26 17:19:25 +00:00
reality
3afb53939a Get gallery info depending on if it is an image or album [#475] 2013-05-26 17:10:21 +00:00
reality
18e6053399 Support for imgur album data [#475] 2013-05-26 16:55:45 +00:00
reality
d8191c8232 Update install.sh modules and update web docs [#464][#351] 2013-05-26 15:49:44 +00:00
reality
1ce4b05932 documentation for the spotify module 2013-05-26 15:38:48 +00:00
reality
3148b3e434 document new command config features [#467][#351] 2013-05-26 14:16:56 +00:00
reality
9847a05301 Add accessOutput command to tell users when they are not authorised to run a command [#467] 2013-05-26 14:14:01 +00:00
reality
d9850d19d5 fix some more mergeuser issues [#470] 2013-05-26 13:29:21 +00:00
reality
f69f999118 fix various mergeusers hooks [#472] 2013-05-26 13:11:09 +00:00
reality
5dddae4f00 mergeChannelUsers internal API function in users + mergeusers seems to be working [#470] 2013-05-26 12:37:37 +00:00
reality
2fc5fc6992 remove command hooks [#471] 2013-05-25 22:09:07 +00:00
reality
5bf6088453 fix command emit on reload 2013-05-25 21:34:11 +00:00
reality
b71c9e4504 link dependency for status 2013-05-25 21:06:32 +00:00
reality
712db49274 Merge github.com:reality/depressionbot into database 2013-05-25 21:05:45 +00:00
reality
1e2a823ef2 Initial logging module [#336] 2013-05-25 19:13:35 +00:00
reality
9792daf669 syntax error.. 2013-05-23 12:16:43 +00:00
reality
06c14d4fc5 imgur info string [#462] 2013-05-23 12:15:25 +00:00
reality
27ace10fe9 new outputprefixes 2013-05-22 17:37:07 +00:00
reality
6b15463657 fuck you 2013-05-22 17:28:13 +00:00
reality
3eee7b6de2 fix syntax error in link.config 2013-05-22 17:27:40 +00:00
reality
61bd1312a6 Fix fucking async hell and add getAllChannels 2013-05-21 20:17:22 +00:00
reality
e8757347ba eventsdocumentation in users [#351] 2013-05-21 18:39:11 +00:00
reality
a140c19483 blue link 2013-05-21 18:32:59 +00:00
reality
66cd7b757a Merge github.com:reality/depressionbot into database 2013-05-21 17:48:42 +00:00
reality
818f6937ef string output for autoTitle 2013-05-21 17:48:31 +00:00
reality
77eec1e07f merge 2013-05-21 17:47:02 +00:00
reality
1f426fa722 prefix for link [#462] 2013-05-21 17:45:58 +00:00
reality
eb4e788b5c fix merge 2013-05-21 17:31:01 +00:00
reality
36d40f65a3 Support for config.outputPrefix [#462] 2013-05-21 17:13:19 +00:00
reality
11b23ffc85 fix for the bug with infostring i introduced fixing undefinedxundefined 2013-05-21 16:05:20 +00:00
reality
90d34f3aa4 Merge github.com:reality/depressionbot into database 2013-05-21 15:59:21 +00:00
reality
0daa08b401 Merge branch 'master' of github.com:reality/depressionbot 2013-05-21 14:54:13 +00:00
reality
33bd617a4f Fix spotify formatting mess [Close #459] 2013-05-21 14:52:46 +00:00
Douglas Gardner
39a10c131a Add CTCP commands.
Add a few more basic CTCP commands, notably CLIENTINFO, telling one what
commands dbot supports.

Fixes/goes towards fixing #268.
2013-05-21 13:20:26 +00:00
reality
6d9f3b644c fix ~rmdeny and add web route /quoteremovals [#455] 2013-05-20 19:51:09 +00:00
reality
0bc0a1bdb7 quote add for db branch in imgur 2013-05-20 15:40:13 +00:00
reality
48ce88490d Merge github.com:reality/depressionbot into database 2013-05-20 15:35:42 +00:00
reality
648b44b298 fix add on empty cat 2013-05-20 15:35:01 +00:00
reality
b3d2b89734 Merge github.com:reality/depressionbot into database 2013-05-20 15:27:22 +00:00
Luke Slater
5fd7e2ca50 Merge pull request #451 from zuzak/borkborkbork
Add tracking for a certain hash
2013-05-20 08:27:10 -07:00
reality
388d51278d Merge github.com:reality/depressionbot into database 2013-05-20 15:25:21 +00:00
reality
d77565a04a fix link title 2013-05-20 15:24:24 +00:00
Douglas Gardner
7303cfccf3 Correct accidental Italian accent in admin module 2013-05-20 15:23:11 +00:00
Douglas Gardner
be1ea0acde Adding config option to auto-add hashes to qdb
This should be useful for keeping track of certain massively duplicated
images.
2013-05-20 15:18:19 +00:00
reality
4e53a06e75 Merge github.com:reality/depressionbot into database 2013-05-20 15:05:30 +00:00
reality
1f1287554f ~syt command to get a spotify link from a youtube link 2013-05-20 15:05:00 +00:00
reality
329a0df7fb Merge branch 'master' of github.com:reality/depressionbot 2013-05-19 10:49:02 +00:00
reality
3849df921c update docs for imgur with web routes [#445] and config options [#352] 2013-05-19 10:48:24 +00:00
reality
3541534b76 this should fix [#453] 2013-05-19 09:52:14 +00:00
reality
449ad684ad More quotes docs updates [#351] 2013-05-17 17:57:21 +00:00
reality
e8c2db5488 Update documentation for users [#351] 2013-05-17 17:23:39 +00:00
Douglas Gardner
5fd2a3923f Add tracking for a certain hash
This is a fairly simple hack to record any imgur URLs discovered via the
random image facility that match a certain MD5 hash.

A known bug with this commit is that it may crash the bot the first time
the bot tries to add to the database, as the category is undefined. This
can be easily worked around by ensuring that the category is
prepopulated with at least one image before letting the bot add
automatically.

An issue should probably be opened to merge this code into something
reading hashes from a configuration file: it's pretty hardcoded at the
moment.
2013-05-17 17:04:53 +00:00
reality
6dfa5de478 youare doesnt need snippets [#135] 2013-05-17 17:04:19 +00:00
reality
1e52809e06 nickserv thing 2013-05-17 16:57:47 +00:00
reality
ffec54ffe2 reload 2013-05-17 16:33:04 +00:00
Luke Slater
8f2cc5bd4d Merge pull request #303 from zuzak/rc
Add UDP packet functionality
2013-05-17 09:30:53 -07:00
reality
1e01aeb146 load the right route api 2013-05-17 14:15:59 +00:00
reality
0a8ad1e468 syntax error 2013-05-17 14:15:15 +00:00
reality
5da4d88ad9 api root in onLoad 2013-05-17 14:13:42 +00:00
reality
1127d11a0e undo thing 2013-05-17 14:10:43 +00:00
reality
086d4be6ab i think adding a this.pages breaks it 2013-05-17 13:58:44 +00:00
reality
d285aab97c Merge branch 'borkborkbork' of https://github.com/zuzak/depressionbot 2013-05-17 13:53:21 +00:00
Douglas Gardner
7578382bee Add basic hashing functionality to imgur
* There is probably a much nicer way of doing it (perhaps a better
  hash)?
* Added a counter to the imgur random page counting the number of
  [Facebook Monopoly Men](http://i.imgur.com/3Tt6N.gif).
* Added the md5sum of the current image to the getRandomImage api call.
* Future functionality might be storing every image md5 in an array and
  counting duplicates, instead of the current check-against-known-dupes.
2013-05-17 13:50:35 +00:00
reality
df2b484a66 merge 2013-05-17 13:32:41 +00:00
reality
15fd9c32e4 Initial go at [#448] 2013-05-17 13:29:28 +00:00
reality
33f8b21edd config rather than currentOption 2013-05-17 12:02:38 +00:00
reality
f4f34d2852 documentation for imgur [#352] 2013-05-17 11:28:04 +00:00
reality
da3e99dd90 ffs 2013-05-17 10:00:39 +00:00
reality
7713169721 help for api module [#352] 2013-05-17 09:59:25 +00:00
reality
28825fd22b clean [#261] up enough for 0.4 2013-05-17 09:06:55 +00:00
reality
53b7bbe5a8 kickcount and kickstats do not need elevated access [#261] 2013-05-17 08:58:11 +00:00
reality
be7d5a41cd use current channel if no admin channel defined [#261] 2013-05-17 08:52:24 +00:00
reality
2b57300f65 Fix [#443] 2013-05-17 08:15:16 +00:00
reality
9d03364a23 merge [#439] 2013-05-17 07:40:46 +00:00
reality
be23d97293 [ 2013-05-17 07:35:21 +00:00
reality
eac0083bea Build help link automatically [#439] 2013-05-17 07:34:25 +00:00
reality
84bd092bae Fix [#442] 2013-05-17 07:04:57 +00:00
reality
cb0956405f Merge git://github.com/reality/depressionbot into database 2013-05-17 07:01:29 +00:00
reality
1cc99d02e1 ] 2013-05-13 18:21:50 +00:00
reality
ccc962d9f2 update admin docs [#351] 2013-05-10 18:38:57 +00:00
reality
41ec896dfc Merge git://github.com/reality/depressionbot into database 2013-05-10 18:13:41 +00:00
reality
0259584c25 savemodules command [#438] 2013-05-10 18:12:40 +00:00
reality
9fc95cdd04 flashy dox[#351][#352] 2013-05-10 12:11:32 +00:00
reality
15e6b039b9 add link to nickserv dox[#352] 2013-05-10 11:48:52 +00:00
reality
cef60ccb64 docs for nickserv module [#351][#352] 2013-05-10 11:45:38 +00:00
reality
b46f72a409 nban should work goodly now 2013-05-07 14:23:37 +00:00
reality
cdfe353b94 more shit i cant be bothered to finish yet on [#261] 2013-05-06 21:56:45 +00:00
reality
80b586ba60 Fix access control [Close #436] 2013-05-06 21:49:45 +00:00
reality
e8537a93b2 Remove leading slash in url api maker [#435] 2013-05-06 20:09:19 +00:00
reality
5b0f4d3ae8 finish off poll using new users api [#434] 2013-05-06 20:00:31 +00:00
reality
75a909df64 Poll web interface now working [#420] 2013-05-06 19:43:14 +00:00
reality
33b9b8d1b0 poll web list works [#420] some commands using new users [#434] 2013-05-06 18:12:25 +00:00
reality
9db515d44a Fix [#433] 2013-05-06 15:53:42 +00:00
reality
da5e79ebeb Efficiency improvements in users, return of isKnownUser API function [#331] 2013-05-02 18:25:10 +00:00
reality
e426f4fae9 bump github 2013-05-01 19:53:37 +00:00
reality
571d132d70 bup github 2013-05-01 19:52:48 +00:00
reality
9cf6769da5 Merge git://github.com/reality/depressionbot into database 2013-04-30 19:36:44 +00:00
reality
3097683e1c Automatically look for modules with root indexes and show those on the index [Close #427] 2013-04-30 19:33:26 +00:00
reality
22704a2158 move dbot.cleanNick to quotes.internalAPI.cleanRef [#270] 2013-04-30 17:19:23 +00:00
reality
4891b70ec3 merge [#307] 2013-04-30 16:47:47 +00:00
reality
2afb1c6ba3 Add int handling for setconfig, add debugLevel [#307] 2013-04-30 16:44:39 +00:00
reality
7c31d5bbe8 Remove a bunch of useless users API functions, finish documentation [#352] 2013-04-30 14:04:21 +00:00
reality
88c51209af mergy mergy 2013-04-30 13:53:16 +00:00
Douglas Gardner
ec300756aa Merge branch 'master' of https://github.com/reality/depressionbot into borkborkbork
Conflicts:
	views/project/project.jade
2013-04-30 09:47:01 +00:00
Douglas Gardner
da0fcb4602 bump github; fix user agents; tweak egg 2013-04-30 09:45:05 +00:00
reality
a51bcb483a update github 2013-04-30 09:45:05 +00:00
reality
2e60f4e600 command can use nickserv [#421] 2013-04-30 09:45:04 +00:00
reality
301178cc81 nickserv module in master 2013-04-30 09:45:01 +00:00
Douglas Gardner
63b4b3aa9c dd french translations 2013-04-30 09:41:24 +00:00
Douglas Gardner
a6569e0dbd fix missing string 2013-04-30 09:40:49 +00:00
Douglas Gardner
24d7ad310b Add pull request notification
* Add message when there are pull requests with client side javascript
* Add string for OAOSIDL, for future usage
* Title cased credits
* Removed text transform from random quote
* Shoved commit count to left
* Added lines to top and bottom of ``h2``
* Removed redundant CSS
* Added JQuery
2013-04-30 09:40:42 +00:00
reality
5627172087 bump github 2013-04-30 09:38:25 +00:00
reality
04b0387fca command can use nickserv [#421] 2013-04-30 09:38:24 +00:00
reality
35cd8eb19a nickserv module in master 2013-04-30 09:38:24 +00:00
reality
91a229453c fix syntax error in project strings 2013-04-30 09:38:21 +00:00
Douglas Gardner
b31ca20d92 Moved admin strings to json
* Moved strings from hardcoded ``admin/commands.js`` to
  ``admin/strings.json`` to aid translation
* Bump total string count to a rather large number
* Tidy some JS I noticed whilst in the vicinity
2013-04-30 09:37:32 +00:00
Luke Slater
0c9936dce2 Merge pull request #425 from zuzak/easter
bump github; fix user agents; tweak egg
2013-04-27 07:33:08 -07:00
Douglas Gardner
738fa2f7b0 bump github; fix user agents; tweak egg 2013-04-26 15:08:07 +00:00
reality
ccd1f24104 update github 2013-04-26 12:07:33 +00:00
reality
f2833d520f bump github 2013-04-24 20:51:01 +00:00
reality
40583ed7a3 bump github 2013-04-24 20:49:44 +00:00
reality
9625f1d316 merge with master, command uses nickserv auth in db [#421] 2013-04-24 20:45:20 +00:00
reality
f129c36f5e command can use nickserv [#421] 2013-04-24 12:54:20 +00:00
reality
b9a9866e5e nickserv module in master 2013-04-24 12:54:19 +00:00
reality
8475aa46e8 command can use nickserv [#421] 2013-04-23 19:07:23 +00:00
reality
c37e9cded7 nickserv module in master 2013-04-23 18:48:41 +00:00
reality
9f211c4da0 Module and API function to check nickserv authentication. [#421] 2013-04-23 18:27:25 +00:00
reality
639022fa55 Merge github.com:reality/depressionbot into database 2013-04-23 17:28:50 +00:00
reality
218509b786 fix syntax error in project strings 2013-04-23 17:28:26 +00:00
reality
41f4a830b2 Fix quotes web component [Close #419] 2013-04-23 17:26:44 +00:00
Douglas Gardner
3f5bf0e5a5 Fix typographical error
The strings.json for the project module was malformed. This commit
rectifies the issue
2013-04-23 00:37:04 +00:00
Douglas Gardner
75e03c15b7 add french translations 2013-04-23 00:37:04 +00:00
Douglas Gardner
fe57328e3d fix missing string 2013-04-23 00:37:04 +00:00
Douglas Gardner
ec450e4070 Add pull request notification
* Add message when there are pull requests with client side javascript
* Add string for OAOSIDL, for future usage
* Title cased credits
* Removed text transform from random quote
* Shoved commit count to left
* Added lines to top and bottom of ``h2``
* Removed redundant CSS
* Added JQuery
2013-04-23 00:37:04 +00:00
reality
cca4fadc42 Merge git://github.com/reality/depressionbot into database 2013-04-22 19:37:44 +00:00
reality
f98f7e435a that should be all of the dependencies [#413] 2013-04-22 16:20:17 +00:00
reality
099d278cbc dont add quotes that already exist [#331] 2013-04-22 15:50:05 +00:00
reality
f905c58877 Fix setconfig, showconfig and pushconfig from being confused by false values [#331] 2013-04-22 14:46:30 +00:00
reality
5eba864f22 fix imgur for now 2013-04-22 14:38:03 +00:00
reality
8e8953999d Various database branch fixes [#331]:
* Admin module doesn't try to use reload string when it's not there.
* Fix dent event hookin
* Fix quote retrieval (two ~q definitions and no false check before interpolate)
* Change databankerised modules to use redis for testing
2013-04-22 14:22:35 +00:00
Douglas Gardner
09120f06db add french translations 2013-04-21 20:44:41 +00:00
Douglas Gardner
af8c11fd86 fix missing string 2013-04-21 20:28:51 +00:00
Douglas Gardner
5322ec52bf Add pull request notification
* Add message when there are pull requests with client side javascript
* Add string for OAOSIDL, for future usage
* Title cased credits
* Removed text transform from random quote
* Shoved commit count to left
* Added lines to top and bottom of ``h2``
* Removed redundant CSS
* Added JQuery
2013-04-21 20:14:37 +00:00
Douglas Gardner
ce4e69bdd3 bought project module back up to speed
* Added check that ``dent`` was loaded before looking for related
  configuration settings.
* Fixed ``h3``s that should have been ``h2``s, and ``h4``s that should
  have been ``h3``s
* Added larger margins for headings
* Forced the ``td``s of the translations table to be their normal
  capitalisation
* Readded some translations
* Fixed links to repos
* Fixed links to issues
* Reimplemented configList
2013-04-21 16:34:26 +00:00
reality
c5fb52a4a7 Merge git://github.com/reality/depressionbot into database 2013-04-21 16:23:55 +00:00
Douglas Gardner
17e9e73617 use true translation metrics
We were on magnetic translation befoe
2013-04-21 16:12:14 +00:00
reality
840f110317 Merge pull request #403 from SamStudio8/database
Profile onLoad check [#331][Close #398]
2013-04-21 08:13:27 -07:00
Sam Nicholls
0ccd0c6301 Profile onLoad check [#331][Close #398] 2013-04-21 16:10:24 +01:00
Douglas Gardner
151d0e6fcb Add translations; toggle lowercase; remove testCSS 2013-04-21 14:53:04 +00:00
reality
65b410416c Module loader properly iterates all automatically loaded dependencies [#399] 2013-04-21 14:51:59 +00:00
reality
420d40c848 Merge pull request #400 from SamStudio8/database
Check getProfile read was successful
2013-04-21 07:31:36 -07:00
Douglas Gardner
ad3e597ad2 update translation information
* Remove commented out code
* Covert translationProgress from an array to an object
* Enlargen progress meters
* Add translation table
2013-04-21 14:28:33 +00:00
Sam Nicholls
3130350f58 Check getProfile read was successful 2013-04-21 15:27:08 +01:00
reality
5aaa9f8856 additional channels are added to user records from 366 event [#331] 2013-04-21 14:17:29 +00:00
reality
0d76ce4166 switch users to use redis driver [#331] 2013-04-21 14:11:35 +00:00
Douglas Gardner
47d5404f38 Add beginnings of translation progress API
* Add totally legit and optimised code to find the number of strings in
  each language.
* Add this as an API call
* Add strings for ``na'vi``, ``es`` and ``nl`` for their own language
  names
* Optimise CSS a bit
* Add classes for the languages, for testing purposes
2013-04-21 12:18:24 +00:00
Douglas Gardner
e5b2f8c8f2 Add list of authors; shrink tag sizes 2013-04-21 05:06:26 +00:00
Douglas Gardner
0b44f7afb8 add WIP
m""                #
 mm#mm  m   m   mmm   #   m          mmm    mmm   m   m  m mm    mmm
   #    #   #  #"  "  # m"          "   #  #   "  "m m"  #"  #  #"  "
   #    #   #  #      #"#           m"""#   """m   #m#   #   #  #
   #    "mm"#  "#mm"  #  "m         "mm"#  "mmm"   "#    #   #  "#mm"
                                                   m"
                                                  ""
2013-04-20 23:27:50 +00:00
Sam Nicholls
ab0a110a8e Initial databankerisation of profile [#331]
* Stats functionality disabled until completion of SamStudio8/dbot-stats#98
* Profile grid currently only works with dbType set to memory
* Merge user functionality temporarily disabled
2013-04-20 22:51:36 +01:00
Douglas Gardner
9d727a211e Complete project module (for now)
- Remove unused modules from ``config.json``
* Move config list stuff from ``onLoad`` to ``api``

The api call might be useful elsewhere
2013-04-20 20:00:59 +00:00
Sam Nicholls
bd2d0a8953 getUser get->read 2013-04-20 20:40:30 +02:00
Douglas Gardner
adcd5803b0 move some stuff to project.js 2013-04-20 17:42:34 +00:00
reality
ecd5b4b23c getallusers external 2013-04-20 16:34:02 +00:00
reality
135b6ecbba fix users not getting pushed to chan [#390] 2013-04-20 16:28:12 +00:00
reality
3cd4513fe4 fix module loader. admin sets config keys onload. I am incredibly annoyed. [#331] 2013-04-20 16:08:34 +00:00
reality
466cb12c94 getCurrentConfig, pushconfig, showconfig and setconfig databankerised [#331] 2013-04-20 13:50:47 +00:00
reality
4319ee18e1 ~addalias command for adding non-used nicks to user alias records [#373] 2013-04-20 11:21:04 +00:00
reality
8712216948 dat merge 2013-04-20 10:51:39 +00:00
Douglas Gardner
95e7d0ee80 readd strings after weird git explosion 2013-04-20 00:59:31 +00:00
Douglas Gardner
f18c4d0f3a Merge branch 'master' of reality/depressionbot 2013-04-20 00:25:32 +00:00
reality
0f6a486fe7 bump stats lang 2013-04-20 00:04:28 +00:00
Niels Simenon
1e30fcfac3 Added Dutch translations for project module. 2013-04-20 01:59:48 +02:00
reality
75b160f161 merge 2013-04-19 23:37:26 +00:00
Niels Simenon
cc0e2030f0 Fixed incorrect spelling correction. 2013-04-20 00:16:58 +02:00
Niels Simenon
b857eaf426 Fixed JSON syntax threat. 2013-04-20 00:13:42 +02:00
Niels Simenon
ff52d7e6f1 Added Dutch translations. 2013-04-20 00:05:46 +02:00
Douglas Gardner
7106d4dd8b Merge branch 'master' of https://github.com/reality/depressionbot into gitstatus 2013-04-19 17:16:11 +00:00
reality
146e7afa5b Don't shit out if there's no highscore quote category 2013-04-19 17:06:19 +00:00
reality
24b7c2b6b4 merge 2013-04-19 13:41:11 +00:00
Douglas Gardner
59b97befed Merge branch 'master' of https://github.com/reality/depressionbot into gitstatus 2013-04-19 13:41:09 +00:00
reality
65302765f0 readd statos [Close #382] 2013-04-19 11:44:33 +00:00
reality
f57a91e481 remove stats [#382] 2013-04-19 11:42:00 +00:00
Douglas Gardner
bddb7ccce4 Add more configuration splurge
+ Added dependency on underscore
+ Added displaying of some configuration options for dent, link, quotes,
  report and web
+ Translated (badly) the word "Milestones"
* Translated and moved the github advert to below the milestones
2013-04-19 10:55:20 +00:00
Douglas Gardner
a61a2300ab Tidy up the project module some more
## Additions
 + Add current branch to display
 + Pass Github repo through to the page
 + Add link to source
 + Differentiate "progress bar" and "milestone" headers again
 + Add Git ``h4``, renamed "version control" because it's more interesting
   to translate
 + Add progress percentages to the progress bars

 - Remove redundant short-hash placeholder
 - Remove extraneous margins on ``ul``
 - Simplify progress calculation code

 * Change some variable names to be more forthcoming about what they
   represent
 * Fix links to the milestones
 * Fix indentation of strings.json
2013-04-19 04:28:03 +00:00
Douglas Gardner
eb1d12ec83 Add hidden counter to imgur
+ Add a counter to the random imgur page.
+ Added functionality to the ``c`` key to toggle the counter display.
+ Added functionality to the ``r`` key to reset the counter to default.
+ Added a new configuration option for a quote category to get the
  default 'highscore' from.

  This commit adds a small decreasing counter to the corner of the
  screen. Hidden by default, press ``c`` to toggle it.

  The counter will begin at highscore + 1, and will decrease with every
  new image. This is intended to be used during contests to see how many
  images one can cycle through before, for example, finding a picture of
  a cat. The counter can be reset using the ``r`` key.

  The highscore is automatically set at page load to the most recent
  quote added to the category specified in the configuration option.
  Therefore it is important that only numeric data is placed in that
  particular quote.

  The score will not reset to a new highscore automatically, and nor
  will a new highscore update the quote category.
2013-04-19 00:02:39 +00:00
reality
75657c5782 Merge branch 'master' of github.com:reality/depressionbot 2013-04-18 23:11:07 +00:00
reality
5108b811a1 bump stats 2013-04-18 23:10:59 +00:00
reality
a5d65313a0 Merge pull request #380 from zuzak/gitstatus
Translations, progress bar fallback, lowercasing
2013-04-18 11:58:31 -07:00
reality
93a483a4b3 Fix comments in project, make quotes use bot name & not fail if no quotes, reformatting[#379] 2013-04-18 18:57:04 +00:00
Douglas Gardner
c1693a768f Translations, progress bar fallback, lowercasing
+ Added translations into English for ``cy``, ``es`` and ``na'vi``,
  to ensure that all possible current languages are catered for.
+ Added ``background-color`` rule to progress bars on ``project`` to
  ensure that they are always visible.
+ Forced lowercase for more of the ``project`` page 'cos it looks nice
  (although that's an opinion).
- Removed redundant text shadow rule.
2013-04-18 18:20:58 +00:00
Douglas Gardner
fd61f09654 remove errant punctuation 2013-04-18 17:59:01 +00:00
Douglas Gardner
1534d1451c Remove cruft.
- Removed abcdef placeholder from revision total (as the commit is on
  the line below (in longform).
- Removed the English translation of English.
2013-04-18 17:36:43 +00:00
Douglas Gardner
54beca1501 Add config options; remove closed milestone count 2013-04-18 17:06:25 +00:00
Douglas Gardner
c157ddf08c Added random quote to header 2013-04-18 16:54:09 +00:00
Douglas Gardner
ef2b50863c Renamed "git" "development"
(because I thought having "Development" / "Configuration" would look
cool.
2013-04-18 16:27:07 +00:00
Douglas Gardner
f7dbe77838 Format stuff
## Changelog:

 - Remove Github status call.
 + Closed issues
 + Localised <h1>
 + Add introductory paragraph
 + Add last diff to page
 - Remove jade include to layout.jade
 + Dynamic language metadata
 + CSS
 + Progress bars

 ## Known issues:
 * Loading the closed milestones raises an exception for some reason;
   in a try-catch for now, unsure how to fix.

 ## Still to do:
 * Style loaded modules section (columns?)
 * Shrink footer
 * Do we need a shorthand hash by the revision?
 * Pull req count? (low priority)
2013-04-18 16:17:36 +00:00
Douglas Gardner
985b53c768 Add milestone
+ Bump github
+ Fix Italian translation of revision count
+ Add translation of git to strings.json
  (bonus points if you find a language that needs it)
2013-04-18 14:30:00 +00:00
Douglas Gardner
d3f8e295be convert to dbot.t; add Italian; add debugMode 2013-04-18 11:45:15 +00:00
Douglas Gardner
2a4698c982 push out WIP 2013-04-18 11:06:13 +00:00
reality
4b935bcd9b config syntax 2013-04-16 21:22:23 +00:00
reality
06054bdbf1 revert web again 2013-04-16 21:19:52 +00:00
reality
2b2d256081 merge 2013-04-16 21:19:11 +00:00
Douglas Gardner
33e2e12086 recommit api key 2013-04-16 21:08:00 +00:00
Douglas Gardner
2b9dbea855 improve imgur module
* Added config.json to the party
* Moved API key (client ID) to the configuration file
* Added image link to random imgur image page
* Minimised loading message
* Added fade to loading message
* Added count to title attribute of webpage
* Removed font-size increase
* Added placeholders
2013-04-16 21:03:50 +00:00
reality
e7540a3507 stats on web 2013-04-16 18:59:29 +00:00
reality
9b3e3ec48e fuck web/config.json 2013-04-16 18:07:11 +00:00
reality
52e6561f51 dirty hack til i sort the thing thing out 2013-04-16 18:06:03 +00:00
reality
dcf03287f8 forgit config file 2013-04-16 17:59:41 +00:00
reality
2f11e9fa0e count api/http/images generated by imgur 2013-04-16 17:58:37 +00:00
reality
3b5ef9f55e Show info about the imgur url on the random page 2013-04-16 16:42:57 +00:00
Douglas Gardner
0f9da5c40e replace "is" with pair of brackets (imgur)
What imgur calls "title" is possibly better described as a caption. Most titles in imgur's gallery are full sentences, making the current behaviour of "xxx is yyy" fall flat, as the resulting string does not have satisfactory grammar.

This commit changes the functionality from "[foo is bar]" to "[foo][bar]".

Untested.
2013-04-15 01:59:00 +00:00
Thomas Menari
b7dad66a26 random imgur 2013-04-15 02:10:29 +01:00
reality
5420bd846b modify data structures and fix a bunch of broken async stuff in users [#331] 2013-04-14 20:00:53 +00:00
reality
77f67d64e1 merge 2013-04-14 18:39:32 +00:00
reality
2c03cbbbf3 revert config web change 2013-04-14 18:15:51 +00:00
reality
1a1a08768a Map request functions to extMap. getQuoteCategory external API function [#361] 2013-04-14 18:14:59 +00:00
reality
a628d12361 Initial API module [#361] 2013-04-14 17:21:24 +00:00
reality
3923a38a17 syntax error 2013-04-14 15:41:40 +00:00
reality
a30f1a6a77 include chanserv config key [#261] 2013-04-14 15:40:41 +00:00
reality
6493de52b9 update ban and quiet in kick.api to use configured chanserv [#261] 2013-04-14 15:36:48 +00:00
reality
ce092b688e update ban and quiet in kick.api to use configured chanserv [#261] 2013-04-14 15:33:55 +00:00
reality
f5fb2322b1 Merge github.com:reality/depressionbot into database 2013-04-14 15:16:55 +00:00
reality
e40a8437a3 bind the kick listener correctly to this 2013-04-14 15:00:15 +00:00
reality
1ba57f4d5d revert the fucking web config file again 2013-04-14 14:38:04 +00:00
reality
9b0c390511 include new kick commands file... [#261] 2013-04-14 14:35:49 +00:00
reality
732a1e3d3b ~ckick command to channelKick on behalf of dbot. Add countSilently kick option. [#261] 2013-04-14 14:34:30 +00:00
reality
d8267316ef Add API function for notification in report module [#360] 2013-04-14 14:33:47 +00:00
reality
b51f240061 Fix broken syntax in command changes [#359] 2013-04-14 14:29:14 +00:00
reality
5e0f126693 Do [#359] 2013-04-14 13:58:45 +00:00
reality
de2a22834d extra whatever thing good comit msg 2013-04-14 04:02:00 +00:00
reality
69c7ddde55 missing close brakcet in profiles 2013-04-14 04:00:59 +00:00
reality
e99653076d Merge branch 'master' of github.com:reality/depressionbot 2013-04-14 03:54:00 +00:00
reality
5e063ac24a fix web getUrl api function 2013-04-14 03:53:53 +00:00
Douglas Gardner
1a9f2d47ee Update strings.json 2013-04-14 01:46:39 +00:00
Douglas Gardner
b24a9b56b1 Update strings.json 2013-04-14 01:39:13 +00:00
Douglas Gardner
541e6a1798 add color to up/downvotes; move NSFW to strings
Orange isn't a color widely available on IRC clients, so green has been
substituted.

"NSFW" is fairly transcendal when it comes to languages; Catalan,
French, and German generally do not seem to localise the abbreviation.
However, it has been moved to strings.json on the off chance that a
better translation arises.

This commit has not been tested. Merge at your own risk.
2013-04-14 01:35:04 +00:00
Douglas Gardner
7d0162afff slim down the normal announcement
Specifying that images are non-animated each time isn't really required, and causes the string to be rather long. Stripping this implicit property makes it look a bit nicer.
2013-04-13 22:40:35 +00:00
reality
c1f642084d flashy module uses new url constructor api 2013-04-13 21:08:23 +00:00
reality
cd3b468ada Show short form of link for Reddit posts [#293] 2013-04-13 20:04:06 +00:00
reality
588ea41fb7 Show comment info for reddit module [#293] 2013-04-13 19:58:05 +00:00
reality
1dada50559 Add ability to get post information and write regex (unimplemented handler for comments currently) which handles all three Things [#293] 2013-04-13 19:20:02 +00:00
reality
49beccf849 fix syntax error in web 2013-04-13 18:38:53 +00:00
reality
a6ca9bb9c8 fix thing 2013-04-13 18:37:47 +00:00
reality
234e84010c fix for reddit data with www 2013-04-13 17:57:42 +00:00
reality
a881e60c81 Basic Reddit module which posts info about Reddit links posted in the channel [#293] 2013-04-13 16:54:48 +00:00
reality
8151122b80 oh, handler was checking existence of matches[2] for some stupid reason [Close #353] 2013-04-13 15:41:13 +00:00
reality
8a2dd076a4 show width/height of imgur image too [#350] 2013-04-13 15:33:43 +00:00
reality
0e2e6a60db Add links to existing docs in config.json files [#352] 2013-04-13 15:21:07 +00:00
reality
b31d26b912 make ~qmerge a moderator command [#347] 2013-04-13 14:59:50 +00:00
reality
3a567a35da Merge github.com:reality/depressionbot into database
Conflicts:
	modules/poll/commands.js
	modules/quotes/commands.js
2013-04-13 00:57:18 +00:00
reality
841ebc3f21 auto handlers for imgur links [#350] 2013-04-13 00:42:20 +00:00
reality
a9acaeaebd show info about ~ri images [#350] 2013-04-12 23:44:19 +00:00
reality
270ae138bf Initial API function for imgur detail getting [#350] 2013-04-12 23:27:31 +00:00
reality
677a820638 add web api function for getUrl instead of string in base, use externalAddress optional config key to define external behaviours [#264] 2013-04-12 22:53:45 +00:00
reality
d8342f4489 Actually fix [#335] 2013-04-12 22:38:00 +00:00
reality
aad0b5e372 Some cleanup of quotes module postdatabank [#331] Addition of addQuote API and updated places what use it [#349] 2013-04-12 22:30:45 +00:00
reality
f17f926a3b ~qsearch can search all categories with * [#331] 2013-04-12 21:52:46 +00:00
reality
b1f450a3e1 quotes listener operational 2013-04-12 21:16:56 +00:00
reality
b8a25062b5 Interpolated quotes revived and plugged into ~q. Also a event inspecific getQuote API function implemented. [#331] 2013-04-12 21:08:11 +00:00
reality
36254c9e03 Merge git://github.com/reality/depressionbot into database 2013-04-12 19:29:03 +00:00
reality
7ceba078e2 Empty quote category records are now removed [#331][#346] 2013-04-12 19:28:23 +00:00
reality
6134f97a97 spotify module uses addHandler [#344] also spaceinvader sort your bloody indentation out 2013-04-12 19:17:22 +00:00
reality
0f298bd061 Fix for the Identica bit by allowing a name argument to be passed [#344] 2013-04-12 19:11:55 +00:00
reality
5d30261770 Create addHandler API for link module and have dent use it. Removed its own listener. [#344] 2013-04-12 19:03:01 +00:00
reality
e667d95ca8 Return correct head info is related result term is given by UD [Close #341] 2013-04-12 18:33:49 +00:00
reality
3a33c2be04 option to notify voiced users with ~report [Close #348] 2013-04-12 18:31:02 +00:00
reality
5892bd83aa ~qmerge command [Close #347] 2013-04-12 18:20:39 +00:00
reality
0098b07670 ~qrename command to rename quote categories [Close #345] 2013-04-12 18:03:52 +00:00
reality
11dcaac44c last commit meant admin commands couldnt be run. will rethink later. 2013-04-12 17:59:51 +00:00
reality
38c18366a3 Stop command execution syntax running if line is not a command. Note [#337] was fixed a few commits ago too. 2013-04-12 17:42:11 +00:00
reality
58b58aa15f ~qadd uses only save rather than save|create [#331] 2013-04-12 17:33:13 +00:00
reality
23dace4257 update ignore to use save instead of save|create [#331] 2013-04-12 17:30:56 +00:00
reality
b376a8fa54 rewrote all of quotes commands because array shims just werent good enough [#331] 2013-04-12 00:38:51 +00:00
Niels Simenon
68cdf34cc3 Added multiple colors. 2013-04-11 23:57:42 +02:00
reality
6bae0f47bf ~ignorechannel and ~unignorechannel now databankerised. Fixed bug with not initialising chan ignores onLoad. Ignore now fully databankerised. [#331] 2013-04-11 21:21:12 +00:00
reality
96a339a8d4 cleanup 2013-04-11 20:17:48 +00:00
reality
65be2ebcb5 remove useless imports from ignore api 2013-04-11 20:17:14 +00:00
reality
223b20b598 * ~ban and ~unban now fully databankerised and tested [#331]
* Refactored ~ignore and ~unignore
* Refactored API
* Command uses new ban/ignore APIs, removed its own isBanned
* Ignore is now aware of servers [#188]
2013-04-11 20:12:29 +00:00
Matt Molyneaux
3d918414b8 Put the colon next to the name, moron 2013-04-11 20:33:33 +01:00
Matt Molyneaux
ee06dc634b I warned you about porn bro, I told you dog!
I told you man

I TOLD you about porn!
2013-04-11 20:25:18 +01:00
reality
9c38316483 Merge git://github.com/reality/depressionbot into database 2013-04-11 18:19:28 +00:00
reality
8cd703940f ~ri instead of ~randomimgur 2013-04-10 20:36:26 +00:00
reality
8f977f8923 faster and includes uppercase characters (which are apparently the larger images) 2013-04-10 20:14:54 +00:00
reality
d82108de83 imgur better 2013-04-10 20:08:04 +00:00
reality
88037de55e prevent returning deleted imgurs 2013-04-10 20:05:57 +00:00
reality
4fa870e34e Initial imgur module with ~randomimgur command 2013-04-10 19:43:11 +00:00
reality
53c8ca9672 Forgot to add ignore.api to last commit 2013-04-10 07:50:47 +00:00
reality
b56ac4164a isIgnoring now belongs in ignore.api, changes in command to reflect this. ~ignore now operational for commands. [#331] 2013-04-10 01:28:53 +00:00
reality
384fe3024a ~ignore and ~unignore commands working on data storage/modification and listener execution prevention [#331] 2013-04-10 00:32:30 +00:00
reality
5c48971034 Provisional onLoad and ~unignore for ignores module. Needs testing. [#331] 2013-04-09 23:16:40 +00:00
reality
9952e4583c Get user by UUID API function [#331] 2013-04-09 23:16:00 +00:00
reality
86492e3efb Merge git://github.com/reality/depressionbot into database 2013-04-09 22:55:35 +00:00
reality
6638dec85a remove = from flashy regex since all colours are one word anyway 2013-04-09 22:33:07 +00:00
reality
b038ecf63f no blank at end 2013-04-09 22:15:17 +00:00
reality
52d232a2e6 add more colours, automatic upper case and help output 2013-04-09 22:14:15 +00:00
reality
381a78e311 forgot event.reply (flashy) 2013-04-09 22:07:11 +00:00
reality
a129083826 input, not params (flashy) 2013-04-09 22:06:03 +00:00
reality
4d5fa04277 fix render to point to text proeprly 2013-04-09 15:30:56 +00:00
reality
694e1bf857 fix regex and add g and b colour codes 2013-04-09 15:28:56 +00:00
reality
cecfd781d6 Add provisional flashy module which doesnt work yet 2013-04-09 15:20:07 +00:00
reality
14e03313ec Provisional/example ~ignore functionality using databank [#331] 2013-04-09 00:10:08 +00:00
reality
05cd889a4e Don't dent new quote additions if it includes interpolation notation. 2013-04-08 23:51:28 +00:00
reality
4a27036307 fix #335 by making req limit higher 2013-04-05 13:30:47 +03:00
reality
c1224a8f2c Merge git://github.com/reality/depressionbot into database 2013-03-28 22:12:43 +00:00
Matt Molyneaux
141cab407d Remove ^A from ctcp actions
I'll have my pony now.
2013-03-28 21:20:41 +00:00
reality
3c225defee stop telling people to fuck off 2013-03-26 18:43:55 +01:00
reality
e9b4a9f112 give reasonable size limit [#332] 2013-03-25 18:26:13 +00:00
reality
6176dd5695 fix crash on too big of a request [Close #332] 2013-03-25 18:23:35 +00:00
reality
e7be2f6b87 users module now tracks current nick, appropriate output in ~alias 2013-03-25 13:55:47 +00:00
Douglas Gardner
681f56f465 nvi → na'vi 2013-03-24 19:31:58 +00:00
Thomas Menari
67f88097df Update strings.json 2013-03-24 19:26:27 +00:00
reality
9443970c89 FIXED THAT MOTHERFUCKING BASTID BUG I AM THE RESURRECTION YEAAAAAAAAA [#272] 2013-03-24 18:05:57 +00:00
reality
17c2c4b317 Fix ~setaliasparent [#272] 2013-03-24 16:59:26 +00:00
reality
3814df98f6 users module almost fully operational with databank (few kinks in moderation commands still) [#272] 2013-03-24 16:04:01 +00:00
reality
edcbe501e8 users onLoad and nick/join listener now databankised [#272] 2013-03-24 12:54:19 +00:00
reality
aa6a5fce42 databankise users listener, add getChannel to users api [#272] 2013-03-24 12:26:33 +00:00
reality
d30aa145aa Changed users API to databank [#272]
Behavioural changes:

* API functions no longer return values, callbacks must be submitted. These will be documented soon.
* resolveUser now returns the user record instead of just a resolved username. This means many less search operations.
* resolveUser now returns false instead of the original nick passed to it in the case of being unable to find a user.
* getServerUsers has been removed, as it is now unnecessary.
2013-03-24 11:34:52 +00:00
reality
cbc42e6fc3 Merge git://github.com/reality/depressionbot into database. Also Users API now databankerised
Conflicts:
	modules/quotes/commands.js
2013-03-24 11:09:40 +00:00
reality
71c0bdb760 all commands but ~qstats and ~rq in quotes use databank [#272] 2013-03-23 13:24:13 +00:00
Douglas Gardner
57dcc0daf1 remove try catch in favour of boring if(error){} 2013-03-22 15:39:29 +00:00
reality
7bcb136e26 some initial work on users api over to databank [#272] 2013-03-22 11:44:27 +00:00
reality
3ac1c8189f bump jsbot 2013-03-22 11:18:06 +00:00
reality
0c263a2005 Merge pull request #324 from JohnMaguire2013/help
adding forgotten usage file for ~help and ~usage
2013-03-22 04:17:37 -07:00
reality
4a7880d803 Merge pull request #325 from JohnMaguire2013/nick
use new JSBot.parse() NICK action variables.
2013-03-22 04:17:28 -07:00
reality
84c311ee41 Stop [#326] happening again in the admin module by applying admin to all commands by default 2013-03-22 10:58:40 +00:00
Luke Slater
ccc8d6c6e9 merge clash 2013-03-22 10:49:22 +00:00
Luke Slater
8d7962acc8 change module names each loop in module loader to use underscore each 2013-03-22 10:48:36 +00:00
reality
a5f2c35b4d Merge pull request #323 from zuzak/dns
DNS functionality
2013-03-22 03:45:28 -07:00
reality
b8f089284f Merge pull request #322 from JohnMaguire2013/ignore
little bit of cleanup on dbKeys of admin/ignore modules
2013-03-22 03:44:25 -07:00
John Maguire
eff41ee844 use new JSBot.parse() NICK action variables. 2013-03-21 15:58:33 -04:00
John Maguire
eea6643028 adding forgotten usage file for ~help and ~usage 2013-03-21 15:08:48 -04:00
Sam Nicholls
9034dbae6b Patch pushconfig critical 2013-03-21 18:48:06 +00:00
Douglas Gardner
0bb331f87d add basic dns function thingies 2013-03-21 18:29:18 +00:00
John Maguire
3193e45a95 removing empty dbKeys from admin module config 2013-03-21 14:23:58 -04:00
John Maguire
18227fa30b adding "bans" to ignore module dbKeys 2013-03-21 14:23:14 -04:00
reality
774b6673c5 what is stats? baby dont change me, dont change me, no more 2013-03-21 17:35:21 +00:00
reality
415047f765 remove ban/unban from admin [#321] 2013-03-21 14:47:11 +00:00
reality
c26d0acfc0 Merge branch 'ignoreban' of https://github.com/JohnMaguire2013/depressionbot 2013-03-21 14:45:34 +00:00
reality
0f2c77187c Merge pull request #320 from JohnMaguire2013/admin
fix error on "showconfig" with no paremeters (now shows root config)
2013-03-21 07:35:32 -07:00
reality
7fdf145e26 Merge pull request #319 from JohnMaguire2013/quotes
fixing some minor bugs in quotes module
2013-03-21 07:31:45 -07:00
reality
ea948a4ae4 Merge pull request #318 from JohnMaguire2013/users
fixes the issue where users are not tracked correctly on some IRCd's
2013-03-21 07:29:48 -07:00
reality
e811c47a63 Merge pull request #316 from JohnMaguire2013/reloading
fixing some bugs related to loading
2013-03-21 07:28:17 -07:00
John Maguire
42361e0c0c adding support for wildcard ~ignore and ~unignore 2013-03-21 06:40:54 -04:00
John Maguire
af3a8bf1f2 adding support for ban/unban from ignore module, with wildcards 2013-03-21 06:39:57 -04:00
John Maguire
e90572aebf adding initial support for wildcard ignores/bans 2013-03-21 06:34:33 -04:00
John Maguire
ded2f09e87 fix error on "showconfig" with no paremeters (now shows root config) 2013-03-21 04:42:03 -04:00
John Maguire
42de44b4de supress error on joining channel, due to dbot attempting to get info on own join 2013-03-21 04:38:16 -04:00
John Maguire
fac4cb73b1 fixing ~rq error on empty quote db 2013-03-21 04:00:07 -04:00
John Maguire
4e6393dd9a don't allow whitespace-only categories for ~qadd 2013-03-21 03:42:13 -04:00
John Maguire
25b6099fbd fix error on ~rmlast when category doesn't exist 2013-03-21 03:41:53 -04:00
John Maguire
4a8e5d0cc0 fix error on ~link when web is misconfigured/not loaded 2013-03-21 03:41:27 -04:00
John Maguire
d87000f78d give users module proper usage info, subsequently fix empty params erroring 2013-03-21 02:58:40 -04:00
John Maguire
d9a03d03b6 fixing stylistic stuff on ~alias. should close reality/depressionbot#295 2013-03-21 02:07:49 -04:00
John Maguire
ffeb42dde3 removes the leading character on a NICK message, only if it's a : to deal with non-conforming IRCd's 2013-03-21 01:53:11 -04:00
John Maguire
6a968d5945 add ability to unload a module whose file has been deleted 2013-03-20 19:34:43 -04:00
John Maguire
53bc594552 adding a list of modules with help info to ~help command 2013-03-20 18:18:06 -04:00
John Maguire
163209afb9 adding some extra checks to ~help command to prevent errors 2013-03-20 17:47:01 -04:00
John Maguire
a2aef2cf00 url encoding quote category link 2013-03-18 22:50:59 -04:00
reality
46a0c7965b Merge branch 'master' of github.com:reality/depressionbot 2013-03-19 02:41:33 +00:00
reality
ad196eb865 bump github 2013-03-19 02:41:20 +00:00
John Maguire
1ab10dcb04 adding trim to link titles to remove annoying whitespace 2013-03-18 21:50:10 -04:00
reality
a77a569333 bum stats again 2013-03-18 00:17:04 +00:00
Douglas Gardner
24a955b2ab remove broken finger functionality 2013-03-17 19:55:47 +00:00
reality
4e1beb7580 Started working on transforming quotes. Need more input from evan and that before continuing I think. [#272] 2013-03-16 13:45:58 +00:00
reality
54e3b84902 Poll module now functional using databank. What of it? [#272] 2013-03-16 00:02:35 +00:00
reality
a5b65856a6 Merge git://github.com/reality/depressionbot into database 2013-03-15 23:12:30 +00:00
reality
7bb5cc722a update stats or something idk 2013-03-15 23:12:21 +00:00
reality
4bb9f90398 bump stats 2013-03-12 19:59:44 +00:00
reality
c507e62a41 Merge pull request #292 from xray7224/master
More translations :)
2013-03-12 12:53:12 -07:00
Thomas Menari
4b5bf08fe9 Add identica+twitter status fetching 2013-03-11 19:30:00 +00:00
Thomas Menari
5a6f6ad39e entity decoding for link module 2013-03-09 17:02:33 +00:00
Douglas Gardner
8404cb4245 genericise 2013-03-06 17:48:48 +00:00
Douglas Gardner
c26c52a33f tweak grammar of README 2013-03-06 16:52:24 +00:00
Douglas Gardner
184d70d3a7 add shizzle 2013-03-06 16:34:59 +00:00
reality
7bda956dbb Merge pull request #301 from zuzak/finger
Finger: #297
2013-03-06 08:27:35 -08:00
Douglas Gardner
1082ea65d4 actually tidy 2013-03-06 14:18:43 +00:00
Douglas Gardner
8eb60552fb tidy 2013-03-06 14:17:24 +00:00
Douglas Gardner
a074779441 add basic 2013-03-06 13:55:35 +00:00
Douglas Gardner
9d277c7ac6 add hackish handling of non-existent users 2013-03-06 13:20:58 +00:00
Douglas Gardner
3cdf3fd417 add string functionality 2013-03-06 13:10:54 +00:00
Douglas Gardner
ab8e297769 add basic, hackish finger functionality 2013-03-06 13:02:02 +00:00
xray7224
f6d89defe7 ngari oel ngolop aylì'uti nìmun =] 2013-02-25 00:32:06 +00:00
reality
57977ac182 dont bother with titles if they are too long 2013-02-20 10:28:47 +00:00
reality
238e204d85 Fix [#286] 2013-02-16 18:06:58 +00:00
reality
07f8a129d5 provisional poll thing. only commiting so i can switch branch w/e [#272] 2013-02-16 17:37:23 +00:00
Luke Slater
5f8bde0db9 Merge pull request #285 from SamStudio8/master
~link to use event input not params [Fix #273]
2013-02-15 09:57:47 -08:00
Sam Nicholls
66611c92a3 ~link to use event input not params [Fix #273] 2013-02-15 17:28:54 +00:00
Luke Slater
957c8593b1 Merge pull request #274 from zuzak/langs
begin transition from English to ISO-639
2013-02-13 14:04:55 -08:00
Douglas Gardner
ea3338b2b9 fix dash 2013-02-12 21:10:52 +00:00
Douglas Gardner
9715d78964
convert hyphens to a more appropriate en-dash 2013-02-12 21:05:32 +00:00
Thomas Menari
ae12e319a6 show title for found song 2013-02-12 19:38:52 +00:00
Thomas Menari
a00a5dafed fix spotify search crash 2013-02-12 19:31:34 +00:00
Thomas Menari
9f007c906f spotify module 2013-02-12 19:14:27 +00:00
Douglas Gardner
a53eb5e0d2 begin transition from English to ISO-639 with #234
This patch converts all English language strings used within
depressionbot's localisation interface (that is, strings.json) to their
ISO-639-1 equivalents.

The purpose of this patch is to make the strings.json file less
English-dependent.

All languages with an ISO-639-1 code have been converted; that is,
English, Spanish and Welsh, to ``en``, ``es`` and ``cy`` respectively.

This patch does not attempt to force a solution to the issue of Na'vi:
the language does not have a large enough corpus to warrant its own ISO
639-3 code, and as such there is no perfect solution. For the time
being, this patch keeps the Na'vi language as its English language
string ("Na'vi"). A possible solution to this discrepancy includes using
the ISO 639-3 code ``art``, used for artificial languages that do not
qualify for an official code, or by using local use codes specified
in ISO 639-3 (qaa to qtz).

This patch requires collaboration with upstream repositories that also
use strings.json, such as the Github and Stats modules.
2013-02-12 18:39:15 +00:00
reality
22238f95d1 bump stats 2013-02-12 18:35:28 +00:00
reality
c79c595ee7 Remove object prototype extensions in master [#135] 2013-02-12 18:34:36 +00:00
reality
87387878a7 Merge branch 'master' of github.com:reality/depressionbot 2013-02-12 17:31:34 +00:00
reality
1b5c722c58 bump github 2013-02-12 17:31:13 +00:00
Sam Nicholls
532b1daaa6 Restrict version command to admin 2013-02-11 16:36:01 +00:00
Luke Slater
c6d3b5ccf4 Merge pull request #270 from dafrancis/master
Delete Jesus from existance
2013-02-11 08:15:35 -08:00
Dafydd Francis
7053b34bc4 Update modules/js/js.js 2013-02-11 16:12:44 +00:00
Luke Slater
c7a2b81e5e Merge pull request #76 from dafrancis/master
#YOLO
2013-02-11 05:21:43 -08:00
Luke Slater
4341cdc0fd Merge pull request #265 from zuzak/rain
~rain module
2013-02-10 12:57:47 -08:00
Joe MacMahon
8c828213d0 Added CTCP VERSION responding. New config option for version. 2013-02-09 16:44:05 +00:00
Douglas Gardner
f4a118db89 complete module 2013-02-07 16:47:05 +00:00
reality
c33d7b3720 derp 2013-02-05 19:26:29 +00:00
reality
8fcd19cca9 provisional api functionality for kicking and banning [#261] 2013-02-05 19:22:22 +00:00
Sam Nicholls
c813f6087c Fixed second new_user event misfire 2013-02-03 16:49:10 +00:00
Douglas Gardner
be80b185ed Merge remote branch 'upstream/master' into rain 2013-01-31 19:48:18 +00:00
Luke Slater
3bfc82c7bc remove unnecessary else 2013-01-31 18:53:58 +01:00
reality
a38f807f22 rebump jsbot and that 2013-01-31 17:47:52 +00:00
reality
d7c193cbe9 couple of formatting fixes + fix indentation [Close #258] 2013-01-31 17:46:15 +00:00
Daniel Dowling
4b7c2092b0 Added check for params[1] to ~xkcd 2013-01-31 17:20:51 +00:00
Daniel Dowling
451b7ea4d0 Cleaned up link slightly. 2013-01-31 15:53:45 +00:00
Daniel Dowling
bf2cff6eba Cleaned up code based on feedback. 2013-01-31 15:41:16 +00:00
Dafydd Francis
3f2bb2bde1 Just wanna post hashtags #yolo 2013-01-30 22:13:08 +00:00
Dafydd Francis
feb51aaceb Merge reality's stuff 2013-01-30 22:10:30 +00:00
Daniel Dowling
c3e569be41 Update modules/link/link.js
Tab fix three: Revenge of the tabs
2013-01-30 17:31:06 +00:00
Daniel Dowling
5f0bcd7710 Update modules/link/link.js
Tab fix attempt 2
2013-01-30 17:28:34 +00:00
Daniel Dowling
8d3d5d08a5 Update modules/link/link.js
indent fix test
2013-01-30 17:23:53 +00:00
Daniel Dowling
bcdca5d002 updated xkcd random to use dbot api instead of function call. 2013-01-30 17:18:07 +00:00
Daniel Dowling
67d7abbf84 fixed xkcd random and updated readme for link 2013-01-30 16:50:54 +00:00
Daniel Dowling
73e9b21824 added random xkcd function using "*" as the param
Will get a random comic from http://dynamic.xkcd.com/random/comic/
Needs testing
2013-01-30 14:19:52 +00:00
Douglas Gardner
178495bd69 WHY DOES THE RAIN GO DOWN NOT UP 2013-01-30 13:29:49 +00:00
Douglas Gardner
c9161c10ae it was raining cats and dogs; there were poodles all over the road 2013-01-30 12:43:17 +00:00
Douglas Gardner
0e9827a2fc further development was precipitated 2013-01-30 12:38:27 +00:00
Douglas Gardner
e1a8360b27 add api key to config 2013-01-30 12:27:08 +00:00
Douglas Gardner
251d69194b Update documentation; contract if statement 2013-01-30 12:21:46 +00:00
Douglas Gardner
0a63518b62 Add beginnings of a reworked ~isitraining 2013-01-30 12:12:10 +00:00
Luke Slater
eb7a958352 Don't pork up if UD is down 2013-01-30 09:56:56 +01:00
Douglas Gardner
4f24e6db4a update documentation 2013-01-30 01:39:50 +00:00
Douglas Gardner
e3074d8054 implement xkcd functionality
The strings.json file is extensible; other fields that can be
placed in the xkcd string include the {year}, {month} and {day}
of the comic; the {alt} text; and links to the {img}.
A {transcript} is also available.
2013-01-30 01:37:28 +00:00
reality
1a7825d8c6 bump github 2013-01-29 16:11:07 +00:00
reality
b9ad35b21f fix syntax 2013-01-29 15:05:34 +00:00
Jessica T
a8e8120a5c realityìri oel pamrel soli fì'ur mipa upxare leNa'vi 2013-01-29 14:47:37 +00:00
reality
c3c52692a6 Merge branch 'master' of github.com:reality/depressionbot 2013-01-29 00:53:54 +00:00
reality
c4a98c0df7 fix #249 2013-01-29 00:53:37 +00:00
Sam Nicholls
45d2bae004 Merge pull request #248 from SamStudio8/master
Fixed new_user emit misfire
2013-01-28 15:41:51 -08:00
Sam Nicholls
f7f9037e44 Fixed new_user emit misfire 2013-01-28 23:40:32 +00:00
reality
e587725322 Merge branch 'master' of github.com:reality/depressionbot 2013-01-28 01:53:23 +00:00
reality
fbd664668f bump stats 2013-01-28 01:44:10 +00:00
Luke Slater
b4fbc8d258 Merge pull request #238 from SamStudio8/master
Profile onLoad to use own createProfile API [#220]
2013-01-27 17:39:34 -08:00
Sam Nicholls
d123fa95c6 Profile onLoad to use own createProfile API [#220] 2013-01-28 01:38:36 +00:00
reality
b068f47475 bump stats 2013-01-28 01:02:33 +00:00
reality
cb149531a5 update github 2013-01-28 00:56:11 +00:00
reality
3112facd01 add zuzaks github module 2013-01-28 00:44:52 +00:00
reality
db4ea68bb9 bump statos 2013-01-28 00:42:34 +00:00
reality
dc82d0add0 bump stats 2013-01-27 23:42:09 +00:00
Luke Slater
760c57cb8c Merge pull request #237 from SamStudio8/master
Testing rolling week [#216]
2013-01-27 15:39:19 -08:00
Sam Nicholls
13e24bbdbb Testing rolling week [#216] 2013-01-27 23:37:35 +00:00
reality
a5cede8c92 remove timers.js [#170] 2013-01-27 20:52:11 +00:00
reality
aeea3fc269 Quotes rm stuff no longer uses timers.js [#170] 2013-01-27 20:33:27 +00:00
reality
d3c3c2a5c1 pushconfig command [#189] 2013-01-27 20:26:14 +00:00
reality
c353069213 syntax fix 2013-01-27 19:45:56 +00:00
reality
a670faab21 syntax fix 2013-01-27 19:44:38 +00:00
reality
74d8fd9f94 getConfig now figures out value, appropriate changes for [#189] 2013-01-27 17:53:50 +00:00
reality
4a64928fd6 ~ignorechannel and ~unignorechannel commands in [#190] 2013-01-27 17:18:38 +00:00
reality
eb62212626 Add check for channel ignorance in command execution logic [#190] 2013-01-27 16:48:14 +00:00
reality
27e24a8173 Fixes for [#232] 2013-01-27 15:19:56 +00:00
reality
bd75519047 callback fix for [#233] 2013-01-27 14:49:22 +00:00
reality
bd32a06276 Fix docs for [#233] 2013-01-27 14:39:23 +00:00
reality
4555e12eaa Fix quote interpol + no need to pass event [#230][#156] 2013-01-26 20:08:09 +00:00
reality
aa4a8b8527 users.api.getRandomChannelUser [#156] 2013-01-26 19:21:09 +00:00
reality
188d90f068 update statos 2013-01-26 18:53:41 +00:00
reality
023c689f65 Merge branch 'master' of github.com:reality/depressionbot 2013-01-26 18:51:27 +00:00
reality
e0cc4d0797 bump stats 2013-01-26 18:51:02 +00:00
Sam Nicholls
fdd8ed7a6f Prevent profile break on no-stats bug 2013-01-26 18:11:28 +00:00
Sam Nicholls
e798882420 Add ~profile command [Close #219] 2013-01-25 19:57:04 +00:00
Sam Nicholls
78e0e60083 Hook ~setaliasparent and ~mergeusers [Fix #218] 2013-01-25 15:13:12 +00:00
reality
bc124e50c5 merge tmenari 2013-01-25 00:46:25 +00:00
reality
9d5785d41e notes im just commiting for something else 2013-01-25 00:45:45 +00:00
reality
687f35d51c whoops 2013-01-25 00:41:35 +00:00
reality
4f01cc2958 sorry @samstudio8 ill clean it up 2013-01-25 00:40:42 +00:00
Thomas Menari
f03dfd9111 sort photos by primary 2013-01-25 00:30:09 +00:00
reality
6156de73b1 change test_setprop and test_setprop to not have test in them (or underscores) 2013-01-24 22:44:41 +00:00
Sam Nicholls
1979ab15b0 Initial channel activity 'graph' [#167][#184] 2013-01-24 22:17:56 +00:00
reality
6f73fde865 file existence checking for module property files and config.json [#163] 2013-01-24 21:35:00 +00:00
Luke Slater
2e620fea6f Merge pull request #206 from tmenari/master
basic "yearbook" feature
2013-01-24 12:52:32 -08:00
Thomas Menari
3c4974d5ef make more l33t 2013-01-24 19:39:28 +00:00
reality
447bcbabf8 users emit for new users 2013-01-24 19:29:13 +00:00
reality
e1c332daef dox 2013-01-24 19:11:22 +00:00
reality
9d21b90b34 update stats 2013-01-24 18:55:59 +00:00
reality
37f5583d31 event in users for nick rename 2013-01-24 18:55:28 +00:00
reality
4376989df4 event majigger as per [#205] 2013-01-24 18:03:14 +00:00
reality
656024d87b revert poll syntax error >.< 2013-01-24 10:08:05 +00:00
reality
2e8d25aea4 i am retard 2013-01-24 10:06:56 +00:00
reality
68f78cad9c ~ud regex and only use first response line [#197] 2013-01-24 10:05:50 +00:00
reality
77490bbda5 Merge branch 'upstream' of https://github.com/zuzak/depressionbot 2013-01-24 10:03:18 +00:00
Thomas Menari
278bc8b93c add initial yearbook feature 2013-01-24 01:02:50 +00:00
Sam Nicholls
9d87fb7b7d Merge pull request #204 from SamStudio8/master
Check for channel not nicks [#201]
2013-01-23 16:34:42 -08:00
Sam Nicholls
e2073f557c Check for channel not nick [#201] 2013-01-24 00:30:22 +00:00
Sam Nicholls
7df5d41f18 Merge pull request #203 from SamStudio8/master
Oops [#201]
2013-01-23 16:26:19 -08:00
Sam Nicholls
35c9975d44 Oops [#201] 2013-01-24 00:25:54 +00:00
Sam Nicholls
f4dcbd5506 Merge pull request #202 from SamStudio8/master
Stop nicks property error [#201]
2013-01-23 16:24:48 -08:00
Sam Nicholls
8be61b746d Stop nicks property error [#201] 2013-01-24 00:23:26 +00:00
Luke Slater
6b6907fe7b re-add ~quote syntax 2013-01-24 00:39:42 +01:00
Luke Slater
ba72fa9aad Merge pull request #200 from SamStudio8/master
Profile move and merge API [Untested]
2013-01-23 15:33:46 -08:00
Sam Nicholls
ed86f98427 Profile move and merge API [Untested] 2013-01-23 23:32:50 +00:00
reality
5767634f42 call stats rename on nick listener 2013-01-23 23:05:09 +00:00
Sam Nicholls
1d0a5cb8a5 Merge pull request #199 from SamStudio8/master
Regex for ~test_setprop
2013-01-23 14:55:47 -08:00
Sam Nicholls
2a59f20b60 Regex for ~test_setprop 2013-01-23 22:55:06 +00:00
reality
3584831f84 bump stats 2013-01-23 22:34:44 +00:00
Luke Slater
b7af2d02fe Merge pull request #196 from SamStudio8/master
Basic Profiles, show "ago" string in userlists
2013-01-23 14:34:15 -08:00
reality
045ff8b9f8 status command and some basic error storing in module load [#198] 2013-01-23 22:32:17 +00:00
Sam Nicholls
f3771240a3 Basic Profiles [#184] 2013-01-23 19:13:10 +00:00
Douglas Gardner
29899adfc0 remove one-word restriction on ~ud
There's undoubtedly a better way to do this, but it works.
~ud now allows more than one word to be sent to UD's servers.
2013-01-23 19:01:52 +00:00
reality
c77cb09f87 syntax error in quotes conf 2013-01-23 16:24:52 +00:00
reality
b12259643a sometimes i think i might be retarded 2013-01-23 16:12:08 +00:00
reality
ff6a296aea Merge branch 'master' of github.com:reality/depressionbot 2013-01-23 13:40:45 +00:00
reality
d7bbd57358 what a fool 2013-01-23 13:40:33 +00:00
Luke Slater
b0752f779b Get mogglington his pony maybe [#193] 2013-01-23 10:36:46 +01:00
reality
27e79641d5 revert web shit 2013-01-22 23:29:49 +00:00
reality
23d0a76c83 Merge branch 'master' of github.com:reality/depressionbot 2013-01-22 23:27:19 +00:00
reality
4f530e5bc6 fix db meltage. [#191] 2013-01-22 23:27:02 +00:00
Luke Slater
33e53df600 Merge pull request #195 from zuzak/master
Update documentation
2013-01-22 13:17:00 -08:00
Douglas Gardner
1e70646ae5 update documentation
Added README to the dice module.
Updated the README in the link module to reflect changes in fba8edef18
2013-01-22 21:07:04 +00:00
reality
82d0362ee3 bump stats 2013-01-22 21:04:34 +00:00
reality
7b01564149 Merge branch 'master' of github.com:reality/depressionbot 2013-01-22 20:47:26 +00:00
reality
d5328377e5 bump stats version 2013-01-22 20:47:15 +00:00
Luke Slater
cc62ce99f0 Merge pull request #194 from SamStudio8/master
Preliminary Profiles [#183][#184][MADE BY @samstudio8 #185]
2013-01-22 12:46:31 -08:00
Sam Nicholls
612171d288 Preliminary Profiles [#183][#184][MADE BY @samstudio8 #185] 2013-01-22 20:44:45 +00:00
reality
874f78b09c Merge branch 'master' of github.com:reality/depressionbot 2013-01-22 19:52:55 +00:00
reality
fba8edef18 ~ud was surprisingly easy [#192] 2013-01-22 19:52:26 +00:00
reality
f7acd2e01b revert to older, non-broken ignore. whoops! 2013-01-22 19:33:22 +00:00
Luke Slater
6e08b184f6 replaceWith empty if no q[3] 2013-01-22 12:22:55 +01:00
Luke Slater
5b965657bb second part of the regexen can be empty 2013-01-22 12:21:14 +01:00
reality
7d744ef849 f 2013-01-22 01:06:29 +00:00
reality
d059732cb8 ok fuck you 2013-01-22 01:00:56 +00:00
reality
b8546358fb another whoops 2013-01-22 00:59:11 +00:00
reality
909dd61982 whoops 2013-01-22 00:56:05 +00:00
reality
b940b6f913 that should do it 2013-01-22 00:53:30 +00:00
reality
3b3aa280e0 getAllUsers 2013-01-22 00:24:12 +00:00
reality
b107f64efc getserverusers 2013-01-22 00:00:11 +00:00
reality
2f2356f2fd Add dependency info [#187] 2013-01-21 20:50:23 +00:00
reality
9ac8d3fd29 readme for regex [#154] 2013-01-21 20:38:16 +00:00
reality
ed1b4bf717 Allow flags on the regexen [#154] 2013-01-21 20:32:34 +00:00
reality
24bb198c5d Bit more efficient. dont bother saying the replacement if replacement not made [#154] 2013-01-21 20:14:51 +00:00
reality
400d215734 Correct other people [#154] 2013-01-21 19:57:45 +00:00
reality
d8c133a7b3 Basic regex replace support [#154] 2013-01-21 19:42:51 +00:00
reality
4d01187346 Show voting options in ~pdesc [#155] 2013-01-21 19:30:06 +00:00
reality
dd9962d465 Fix [#173] by encoding # in uri and unescaping 2013-01-21 19:22:52 +00:00
reality
1958db6df1 Denting quotes optional [#181] 2013-01-21 19:07:25 +00:00
reality
1673c8846b basic dependencies as per [#85] 2013-01-21 17:39:21 +00:00
reality
2f05cba960 set some config options not allowed to be changes [#145] 2013-01-21 00:10:01 +00:00
reality
4f0cfaab93 change param order for timer 2013-01-20 21:57:14 +00:00
reality
ff4d1f2021 documentation for timers module [#160] 2013-01-20 21:49:31 +00:00
reality
4d7e9343a4 syntax error in previous commit 2013-01-20 21:28:44 +00:00
reality
d9bd2eb492 This should be a fully functional timers module [#160] 2013-01-20 21:27:49 +00:00
reality
07656eddcd hook for update poll nicks [#158][#166] also change mergeusers return api 2013-01-20 20:22:27 +00:00
reality
f04621a5e9 poll uses knownUsers [#158] 2013-01-20 19:12:34 +00:00
reality
8a66f5b9c6 report uses known users api functionality [#158] 2013-01-20 19:04:12 +00:00
reality
e048780cfc Fix for [#165]. Recommend deleting knownUsers db on running instances 2013-01-20 18:44:21 +00:00
reality
eb104f157b dont show including if no aliases 2013-01-20 18:26:07 +00:00
reality
bf40369352 typo 2013-01-20 18:22:17 +00:00
reality
05e6d084b5 add some including 2013-01-20 18:19:44 +00:00
reality
f908db7b3b that should fix [#164] 2013-01-20 18:12:23 +00:00
reality
9cb07dbfba Some provisional base functionality for [#160] 2013-01-20 17:55:46 +00:00
reality
c4301c2ec3 correct userconfigpath 2013-01-20 17:02:00 +00:00
reality
a80f00038d showconfig and setconfig for root config options [#145] 2013-01-20 16:35:17 +00:00
reality
fedb9335a2 showconfig command [#145] 2013-01-20 16:17:22 +00:00
reality
2607ce1e93 create getcurrentconfigpath for use by other commands 2013-01-20 15:49:31 +00:00
reality
f64c50a0c8 setconfig command [#145] 2013-01-20 15:17:44 +00:00
reality
94363a6d8f polls case insensitive [#155] 2013-01-19 13:34:42 +00:00
reality
1fa4a4a27e update stats to v0.2 2013-01-18 15:46:25 +00:00
Luke Slater
6d442fd45c Match full user string. Fix for [#151]. 2013-01-18 15:34:04 +01:00
reality
dcf7d0448d wonderrful stat changos 2013-01-17 22:53:40 +00:00
reality
62419a363b correct return object for mergeusers 2013-01-17 22:40:49 +00:00
reality
447baa0a79 update stats 2013-01-17 22:27:10 +00:00
reality
d0a0579b57 Merge branch 'master' of github.com:reality/depressionbot 2013-01-17 17:44:39 +00:00
reality
f6371a7bbc Fix [#142] by escaping regex, also improve efficiency by only compiling 1 regex 2013-01-17 17:44:29 +00:00
Luke Slater
f6cf58d68b Merge pull request #148 from SamStudio8/master
Case insensitive doom continues
2013-01-16 14:00:37 -08:00
Sam Nicholls
47dec97e1b Case insensitive doom continues 2013-01-16 21:55:14 +00:00
reality
54c67cb6ff newstats 2013-01-16 21:24:32 +00:00
reality
389e8660b1 remove unused debug output 2013-01-16 20:25:39 +00:00
reality
e2e1c0b6a9 that bug that somethjing 2013-01-16 20:21:28 +00:00
reality
d99820ee3d update stats again 2013-01-16 16:37:57 +00:00
reality
5f59c7c352 update stats 2013-01-16 16:31:13 +00:00
reality
21f4bc4ad6 i hate computers 2013-01-15 23:32:45 +00:00
reality
e403d1d7f1 no idea how that was doing that but now it is fixed 2013-01-15 23:09:35 +00:00
reality
a433b592c9 wat 2013-01-15 21:58:47 +00:00
reality
157fe71fc1 docs link for users 2013-01-15 21:44:35 +00:00
reality
4e248ef248 add readme for users 2013-01-15 21:43:09 +00:00
reality
37a1027612 Dent docs 2013-01-15 21:20:25 +00:00
reality
69d9880519 update flow info for command 2013-01-15 21:14:52 +00:00
reality
4adfe63493 add api docs for command 2013-01-15 21:09:07 +00:00
reality
8ed4a3f088 update stats 2013-01-15 20:49:05 +00:00
Sam Nicholls
078f3b943b Better users web 2013-01-15 20:44:15 +00:00
reality
76382a6daa and they told me no bru regex is cool u wil hav fun 2013-01-15 19:44:34 +00:00
reality
12db5c64e9 lc fix for resolve user 2013-01-15 19:27:21 +00:00
reality
be9ee61e13 isOnline and resolveUser checks lower case properly 2013-01-15 19:09:54 +00:00
reality
de075a3a2d Merge branch 'master' of github.com:reality/depressionbot 2013-01-15 17:52:22 +00:00
reality
628ba5b569 return data for user changes instead of calling stats 2013-01-15 17:52:13 +00:00
Luke Slater
c783113cca This should fix that undefined whatsit 2013-01-15 18:38:08 +01:00
reality
921da917a4 Command hooks [#86]
* Command API function to addHook(command, callback)
* Commands open to callbacks must return information or indicate failed completion by return false
* Hooks to be added in module onLoad
* Command loop checks for available hooks and return state, then applies with module scope.
* onLoad running moved to end of all module loading to facilitate this without order problems
* Added example for ~qadd dent
2013-01-15 17:23:14 +00:00
reality
1bd1b5aa56 remove useless crap from modules [#136] 2013-01-15 16:54:51 +00:00
reality
2e875e7434 update poll [#131] 2013-01-15 16:21:43 +00:00
reality
529194e4df transform dice [#131] 2013-01-15 16:09:57 +00:00
reality
478d344fe2 Fix up spelling [#131] 2013-01-15 16:05:04 +00:00
reality
6896536a3b redo youare [#131] 2013-01-15 15:43:02 +00:00
reality
126810f180 update stats! A+ work @samstudio8 [#131] 2013-01-15 15:34:47 +00:00
reality
fbb60306d5 fix binding bug 2013-01-15 15:32:44 +00:00
Luke Slater
d89fd21301 Merge pull request #138 from SamStudio8/new_modules
Modified users web to call new stats API [Close #137]
2013-01-15 07:13:33 -08:00
Sam Nicholls
44764cd2b3 Modified users web to call new stats API [Close #137] 2013-01-15 15:10:28 +00:00
reality
a591071b1a qhoops! 2013-01-15 14:51:07 +00:00
reality
a9bae98ae8 transform quotes [#131] 2013-01-15 14:47:46 +00:00
reality
0a3d1b6f9e Fixed web loading and hot refresh of pages [#131] 2013-01-15 13:58:13 +00:00
reality
b733564cb2 fixt link [#131] 2013-01-14 23:11:50 +00:00
reality
f532aee4ab fix up ignore [#131] 2013-01-14 23:02:55 +00:00
reality
7a6cab841e fixed up kick [#131] 2013-01-14 23:00:16 +00:00
reality
96792d5008 Fixed doom function binding bug and transformed js module [#131] 2013-01-14 22:03:58 +00:00
reality
8b7953e906 tranform users, fix for bind in module loader [#131] 2013-01-14 21:03:47 +00:00
reality
3bde9e4930 Transformed dent module, changed module loader to give right scope. [#131] 2013-01-14 17:45:53 +00:00
reality
4b69aee3e9 Transformed admin [#131] 2013-01-14 16:56:34 +00:00
reality
0ff2a43c07 command can stand being run without quotes! 2013-01-14 16:47:48 +00:00
reality
5419a664dc Much better! [#131] 2013-01-14 16:24:38 +00:00
reality
dc269b53b4 Here is an experimental look at how modules will have to be as per [#131] 2013-01-14 16:02:40 +00:00
reality
ba2ab323e3 Do the [#133] 2013-01-14 13:10:16 +00:00
reality
dff5825bfe web fix. dope 2013-01-13 17:18:30 +00:00
reality
f8ed6b04fc fix syntax error 2013-01-13 17:04:54 +00:00
reality
a14fddc49d isPrimaryUser and getAliases in users module 2013-01-13 17:01:50 +00:00
reality
b512cc7ee9 web underscorised [#81] 2013-01-13 15:51:54 +00:00
reality
cd5649a1e8 underscorise spelling [#81] 2013-01-13 15:45:07 +00:00
reality
35e34874af link underscorised (easy) [#81] 2013-01-13 15:30:53 +00:00
reality
f6d69fe137 without instead o splice 2013-01-13 15:27:45 +00:00
reality
e2cb5ea77d Underscorise users module (was not pleasant) [#81] 2013-01-13 15:26:44 +00:00
reality
6b8b617e71 Underscorise poll. Unfortunately some stuff went missing in the switch-over. Whoops. Oh I also fixed it. [#81] 2013-01-12 23:31:53 +00:00
reality
f36e6c781b underscorisation of kick [#81] 2013-01-12 22:53:13 +00:00
reality
ca8a8ca9c2 underscorisation for dent and ignore [#81] 2013-01-12 22:19:48 +00:00
reality
3cc013635d Underscorisation of report module [#81] 2013-01-12 21:54:02 +00:00
reality
08bd67f4f0 incomplete underscorisation in quotes [#81] 2013-01-12 21:40:16 +00:00
reality
abaa1e7fa2 underscorise admin.js [#81] 2013-01-12 17:36:59 +00:00
reality
2004a70b45 Merge github.com:reality/depressionbot into underscore 2013-01-12 17:15:39 +00:00
reality
39cab9c60d Disallow loading modules more than once, with a nice tribute to @samstudio8 if you try to load web [#116] 2013-01-12 17:10:48 +00:00
reality
0769d0bd69 Removed dependency on commandMap (I think ignore might still look at it for now). Underscorised command. [#81] 2013-01-12 16:14:17 +00:00
Sam Nicholls
2245167cf3 Added patching info for Express 2013-01-12 13:01:43 +00:00