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

71 Commits

Author SHA1 Message Date
reality
e66df67913 filter out duelling network screenshot SINCE YOU SAID PLEASE 2013-11-25 16:33:27 +00:00
reality
96db56a25c exclude common screenshot resolutions for ~ri 2013-10-16 08:15:00 +00:00
reality
93915c7c5f derp 2013-09-16 02:07:37 +00:00
reality
bf996f2fd1 that should do it 2013-09-13 14:54:17 +00:00
reality
ef4ceac61e fix crash when imgur shit innit 2013-09-13 14:35:19 +00:00
reality
3ff165f323 that should do it.. maybe.. 2013-09-10 18:25:20 +00:00
reality
a3f9e238bf logging fix + caching crash fix 2013-09-10 18:11:39 +00:00
reality
fbc0aa59c2 this should be somewhat faster at filling the cache 2013-09-10 17:21:05 +00:00
reality
d271b6672f ri cache, replace ri with ssri, move ri to lri 2013-09-10 17:07:34 +00:00
reality
df7d4149c6 ~ssri 2013-09-10 16:29:23 +00:00
reality
46de1a5fac present for roi 2013-09-09 19:30:23 +00:00
reality
96369ab604 split on \n 2013-08-25 20:58:11 +00:00
reality
69f061c671 pick random result for ~imgur 2013-08-25 20:45:47 +00:00
reality
cb38352519 remove imgur from the search terms lol (fix regexen) 2013-08-25 19:07:11 +00:00
reality
ab9cfb1469 fix for not found 2013-08-25 19:04:42 +00:00
reality
760780537a imgur keyword search 2013-08-25 19:02:34 +00:00
reality
a40abd4bbd and trim it 2013-08-24 13:31:12 +00:00
reality
4f4cdea951 this thing 2013-08-24 13:30:17 +00:00
reality
7eec11197a thingy thingy 2013-08-24 13:28:46 +00:00
reality
165c9491a9 herpo derpo 2013-08-21 21:44:10 +00:00
reality
509911aae0 reset that shit 2013-08-21 15:38:43 +00:00
reality
a9fdd82911 how about this 2013-08-21 15:32:32 +00:00
reality
4d130df390 mroe thingy 2013-08-21 15:27:30 +00:00
reality
284a316cd5 thing 2013-08-21 15:26:16 +00:00
reality
fc4537bcea debugging 2013-08-21 15:22:05 +00:00
reality
0efa8d0217 that might do it 2013-08-21 15:18:08 +00:00
reality
2c988b0f77 i love shots in the dark 2013-08-21 15:13:58 +00:00
reality
71b7b3c570 that might do it 2013-08-21 15:11:06 +00:00
reality
f2755468e0 reality is a dumbass 2013-08-21 14:58:43 +00:00
reality
506ca60682 onyl accept ~ri images bigger than 300x300 2013-08-21 14:55:44 +00:00
reality
4ae10a2b26 link handlers callback result instead of event.reply it[Close #536] 2013-07-25 21:56:44 +00:00
reality
eafc2dbee1 fix config pointers in admin and imgur [#489] 2013-06-05 20:13:40 +00:00
reality
150821cbb3 fix db pointer for imgur olDB 2013-05-28 17:40:25 +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
712db49274 Merge github.com:reality/depressionbot into database 2013-05-25 21:05:45 +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
11b23ffc85 fix for the bug with infostring i introduced fixing undefinedxundefined 2013-05-21 16:05:20 +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
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
3541534b76 this should fix [#453] 2013-05-19 09:52:14 +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
ffec54ffe2 reload 2013-05-17 16:33:04 +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