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

2461 Commits

Author SHA1 Message Date
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
Douglas Gardner
fb24c4d8ee Add 5s timer functionality to random imgur
* Add [.] key to enable timer
* "Loading..." message turns red and italic when timer is active
* Press [.] key to disable timer.

After a bit of experimentation, 5s seemed optimal: 2 seconds would cause
the imgur api to trip if the app is used more than once at a time; 5
seconds is enough time to view the image without feeling particularly
slow.

Maximums:
 1 images in 5 seconds
3600 images in 5 minutes
43200 images in an hour
2013-05-20 11:25:27 +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
reality
5bcd1d9c27 remove chancein 2013-05-17 17:04:55 +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
f69d7058ba merge 2013-05-17 13:54:17 +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
Luke Slater
8d876d8d03 Merge pull request #429 from zuzak/borkborkbork
Add counter for Facebok Monopoly Men
2013-05-17 06:44:34 -07: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
Sam Nicholls
8f9b44d4f0 Prevent link from poll view to poll list 404 [Fix #440] 2013-05-14 18:26:21 +02: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