3
0
mirror of https://github.com/reality/dbot.git synced 2024-11-27 22:39:26 +01:00
Commit Graph

1099 Commits

Author SHA1 Message Date
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
1e2a823ef2 Initial logging module [#336] 2013-05-25 19:13:35 +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
27ace10fe9 new outputprefixes 2013-05-22 17:37:07 +00:00
reality
6b15463657 fuck you 2013-05-22 17:28:13 +00:00
reality
3eee7b6de2 fix syntax error in link.config 2013-05-22 17:27:40 +00:00
reality
818f6937ef string output for autoTitle 2013-05-21 17:48:31 +00:00
reality
1f426fa722 prefix for link [#462] 2013-05-21 17:45:58 +00:00
reality
36d40f65a3 Support for config.outputPrefix [#462] 2013-05-21 17:13:19 +00:00
reality
0daa08b401 Merge branch 'master' of github.com:reality/depressionbot 2013-05-21 14:54:13 +00:00
reality
33bd617a4f Fix spotify formatting mess [Close #459] 2013-05-21 14:52:46 +00:00
Douglas Gardner
39a10c131a Add CTCP commands.
Add a few more basic CTCP commands, notably CLIENTINFO, telling one what
commands dbot supports.

Fixes/goes towards fixing #268.
2013-05-21 13:20:26 +00:00
reality
648b44b298 fix add on empty cat 2013-05-20 15:35:01 +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
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
1f1287554f ~syt command to get a spotify link from a youtube link 2013-05-20 15:05:00 +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
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
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
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
reality
15fd9c32e4 Initial go at [#448] 2013-05-17 13:29:28 +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
be23d97293 [ 2013-05-17 07:35:21 +00:00
reality
84bd092bae Fix [#442] 2013-05-17 07:04:57 +00:00
reality
1cc99d02e1 ] 2013-05-13 18:21:50 +00:00
reality
9fc95cdd04 flashy dox[#351][#352] 2013-05-10 12:11:32 +00:00
reality
15e6b039b9 add link to nickserv dox[#352] 2013-05-10 11:48:52 +00:00
reality
cef60ccb64 docs for nickserv module [#351][#352] 2013-05-10 11:45:38 +00:00
reality
b46f72a409 nban should work goodly now 2013-05-07 14:23:37 +00:00
reality
cdfe353b94 more shit i cant be bothered to finish yet on [#261] 2013-05-06 21:56:45 +00:00
reality
80b586ba60 Fix access control [Close #436] 2013-05-06 21:49:45 +00:00
reality
571d132d70 bup github 2013-05-01 19:52:48 +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
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
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
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
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
f2833d520f bump github 2013-04-24 20:51:01 +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
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
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
Douglas Gardner
09120f06db add french translations 2013-04-21 20:44:41 +00:00
Douglas Gardner
af8c11fd86 fix missing string 2013-04-21 20:28:51 +00:00
Douglas Gardner
5322ec52bf 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-21 20:14:37 +00:00
Douglas Gardner
ce4e69bdd3 bought project module back up to speed
* 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
2013-04-21 16:34:26 +00:00
Douglas Gardner
17e9e73617 use true translation metrics
We were on magnetic translation befoe
2013-04-21 16:12:14 +00:00
Douglas Gardner
151d0e6fcb Add translations; toggle lowercase; remove testCSS 2013-04-21 14:53:04 +00:00
Douglas Gardner
ad3e597ad2 update translation information
* Remove commented out code
* Covert translationProgress from an array to an object
* Enlargen progress meters
* Add translation table
2013-04-21 14:28:33 +00:00
Douglas Gardner
47d5404f38 Add beginnings of translation progress API
* 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
2013-04-21 12:18:24 +00:00
Douglas Gardner
e5b2f8c8f2 Add list of authors; shrink tag sizes 2013-04-21 05:06:26 +00:00
Douglas Gardner
0b44f7afb8 add WIP
m""                #
 mm#mm  m   m   mmm   #   m          mmm    mmm   m   m  m mm    mmm
   #    #   #  #"  "  # m"          "   #  #   "  "m m"  #"  #  #"  "
   #    #   #  #      #"#           m"""#   """m   #m#   #   #  #
   #    "mm"#  "#mm"  #  "m         "mm"#  "mmm"   "#    #   #  "#mm"
                                                   m"
                                                  ""
2013-04-20 23:27:50 +00:00
Douglas Gardner
9d727a211e Complete project module (for now)
- Remove unused modules from ``config.json``
* Move config list stuff from ``onLoad`` to ``api``

The api call might be useful elsewhere
2013-04-20 20:00:59 +00:00
Douglas Gardner
adcd5803b0 move some stuff to project.js 2013-04-20 17:42:34 +00:00
Douglas Gardner
95e7d0ee80 readd strings after weird git explosion 2013-04-20 00:59:31 +00:00
Douglas Gardner
f18c4d0f3a Merge branch 'master' of reality/depressionbot 2013-04-20 00:25:32 +00:00
reality
0f6a486fe7 bump stats lang 2013-04-20 00:04:28 +00:00
Niels Simenon
1e30fcfac3 Added Dutch translations for project module. 2013-04-20 01:59:48 +02:00
reality
75b160f161 merge 2013-04-19 23:37:26 +00:00
Niels Simenon
cc0e2030f0 Fixed incorrect spelling correction. 2013-04-20 00:16:58 +02:00
Niels Simenon
b857eaf426 Fixed JSON syntax threat. 2013-04-20 00:13:42 +02:00
Niels Simenon
ff52d7e6f1 Added Dutch translations. 2013-04-20 00:05:46 +02:00
Douglas Gardner
7106d4dd8b Merge branch 'master' of https://github.com/reality/depressionbot into gitstatus 2013-04-19 17:16:11 +00:00
reality
146e7afa5b Don't shit out if there's no highscore quote category 2013-04-19 17:06:19 +00:00
reality
24b7c2b6b4 merge 2013-04-19 13:41:11 +00:00