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