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.
* 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.
+ 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.
* 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