3
0
mirror of https://github.com/reality/dbot.git synced 2024-12-18 08:32:42 +01:00
Commit Graph

1558 Commits

Author SHA1 Message Date
reality
18c494dd55 Merge pull request #409 from zuzak/github
Add pull request notification
2013-04-21 13:24:54 -07: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
reality
c3d6a52413 Merge pull request #406 from zuzak/translation
bought project module back up to speed
2013-04-21 09:41:02 -07: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
reality
f20f7918a1 Merge pull request #405 from zuzak/translation
use true translation metrics
2013-04-21 09:23:38 -07:00
Douglas Gardner
17e9e73617 use true translation metrics
We were on magnetic translation befoe
2013-04-21 16:12:14 +00:00
reality
40911b01e6 Merge pull request #404 from zuzak/translation
add percentages to progress bars; hide English column if language is English
2013-04-21 08:14:47 -07:00
Douglas Gardner
0376926dfc add percentages to progress bars; tidy translation
* If the current language is English, the second "English" column will
  no longer display.
* Progress bars have percentages again.
* Some jade logic has been simplified.
2013-04-21 15:11:34 +00:00
reality
0517ba687d Merge pull request #402 from zuzak/translation
Translation
2013-04-21 08:00:47 -07: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
reality
24387200bc Merge pull request #397 from zuzak/credit
Move title left a bit to account a tad for curve
2013-04-20 22:22:29 -07:00
Douglas Gardner
295c5ba2bc Move title left a bit to account a tad for curve 2013-04-21 05:11:52 +00:00
reality
27d1de25a1 Merge pull request #396 from zuzak/credit
Add automagic attribution
2013-04-20 22:08:27 -07: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
Sam Nicholls
8e3b153f98 Merge pull request #393 from zuzak/gs2
Improve project module some more
2013-04-20 13:35:45 -07: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
reality
5f0faed078 Merge pull request #391 from zuzak/patch-1
fix malformed JSON (project)
2013-04-20 10:50:12 -07:00
Douglas Gardner
adcd5803b0 move some stuff to project.js 2013-04-20 17:42:34 +00:00
Douglas Gardner
123095f624 fix malformed JSON 2013-04-20 17:38:00 +00:00
reality
8d8d32fcc9 debugMode should be false by default 2013-04-20 10:26:04 +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
Sam Nicholls
1123071952 Add timers to config 2013-04-20 02:23:44 +02:00
reality
44d42c5035 load strings first 2013-04-20 00:09:47 +00:00
reality
0f6a486fe7 bump stats lang 2013-04-20 00:04:28 +00:00
reality
e051714b40 Merge pull request #386 from Kagammor/master
Dutch translations++
2013-04-19 17:01:00 -07: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
Douglas Gardner
59b97befed Merge branch 'master' of https://github.com/reality/depressionbot into gitstatus 2013-04-19 13:41:09 +00:00
reality
65302765f0 readd statos [Close #382] 2013-04-19 11:44:33 +00:00
reality
f57a91e481 remove stats [#382] 2013-04-19 11:42:00 +00:00
Douglas Gardner
bddb7ccce4 Add more configuration splurge
+ 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
2013-04-19 10:55:20 +00:00
Douglas Gardner
a61a2300ab Tidy up the project module some more
## 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
2013-04-19 04:28:03 +00:00
Douglas Gardner
eb1d12ec83 Add hidden counter to imgur
+ 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.
2013-04-19 00:02:39 +00:00
reality
75657c5782 Merge branch 'master' of github.com:reality/depressionbot 2013-04-18 23:11:07 +00:00
reality
5108b811a1 bump stats 2013-04-18 23:10:59 +00:00
Sam Nicholls
fd6b048d19 Merge pull request #381 from zuzak/gitstatus
add links to milestones (project)
2013-04-18 15:10:09 -07:00
Douglas Gardner
b4fdfb5104 Merge branch 'master' of https://github.com/reality/depressionbot into gitstatus 2013-04-18 21:40:17 +00:00
Douglas Gardner
940af07b78 add links to milestones 2013-04-18 21:37:17 +00:00
reality
a5d65313a0 Merge pull request #380 from zuzak/gitstatus
Translations, progress bar fallback, lowercasing
2013-04-18 11:58:31 -07:00
reality
93a483a4b3 Fix comments in project, make quotes use bot name & not fail if no quotes, reformatting[#379] 2013-04-18 18:57:04 +00:00