Commit Graph

1451 Commits

Author SHA1 Message Date
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
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
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
2afb1c6ba3 Add int handling for setconfig, add debugLevel [#307] 2013-04-30 16:44:39 +00:00
Luke Slater
856d106f8b Merge pull request #428 from zuzak/borkborkbork
Move admin stuff to strings.json
2013-04-30 06:40:43 -07: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
Douglas Gardner
00370ee41e Move project scripts to an external file.
* Add link to ``project.js`` on project webpage.
* Move scripts to ``project.js``.
* Very definitely not do anything else.
2013-04-30 09:45:04 +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
405f4ca5e4 Added branch notification
Added current branch to note underneath last-diff.

For the purposes of licensing, this commit is licensed under
copyleft-next, version 0.1.0 or later. Therefore, this commit is
compatible with any version of the GNU General Public License as
published by the Free Software Foundation.
2013-04-30 09:44:12 +00:00
Douglas Gardner
67d4a7b3b0 Add footer to pages linking to ./project 2013-04-30 09:43:23 +00:00
Douglas Gardner
5e37ff8b8b Fix typographical error
The strings.json for the project module was malformed. This commit
rectifies the issue
2013-04-30 09:41:42 +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
reality
776a2b34d9 GPL 2013-04-30 09:37:32 +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
c4a0a019be Merge branch 'master' of github.com:reality/depressionbot 2013-04-24 20:51:09 +00:00
reality
f2833d520f bump github 2013-04-24 20:51:01 +00:00
Luke Slater
59982ecf38 Merge pull request #424 from zuzak/easter
Move project script to external file
2013-04-24 13:21:15 -07:00
Douglas Gardner
861f1e213f Merge branch 'master' of https://github.com/reality/depressionbot into easter 2013-04-24 13:03:15 +00:00
Douglas Gardner
9114ee25a9 Move project scripts to an external file.
* Add link to ``project.js`` on project webpage.
* Move scripts to ``project.js``.
* Very definitely not do anything else.
2013-04-24 12:55:54 +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
388adda383 GPL 2013-04-24 12:54:05 +00:00
Luke Slater
8639a75081 Merge pull request #418 from zuzak/web
Add footer to project
2013-04-24 03:30:41 -07:00
Douglas Gardner
4361c61f6e Added branch notification
Added current branch to note underneath last-diff.

For the purposes of licensing, this commit is licensed under
copyleft-next, version 0.1.0 or later. Therefore, this commit is
compatible with any version of the GNU General Public License as
published by the Free Software Foundation.
2013-04-24 09:27:12 +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
218509b786 fix syntax error in project strings 2013-04-23 17:28:26 +00:00
Douglas Gardner
194135791a Add footer to pages linking to ./project 2013-04-23 00:37:04 +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
e4b543c302 GPL 2013-04-22 19:36:13 +00:00
reality
dab85057da Merge pull request #414 from zuzak/github
add french translations
2013-04-22 09:25:15 -07:00
Douglas Gardner
09120f06db add french translations 2013-04-21 20:44:41 +00:00
reality
347b434103 Merge pull request #410 from zuzak/github
fix missing string
2013-04-21 13:30:36 -07:00
Douglas Gardner
af8c11fd86 fix missing string 2013-04-21 20:28:51 +00:00
reality
18c494dd55 Merge pull request #409 from zuzak/github
Add pull request notification
2013-04-21 13:24:54 -07:00