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

111 Commits

Author SHA1 Message Date
Sam Nicholls
ab0a110a8e Initial databankerisation of profile [#331]
* 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
2013-04-20 22:51:36 +01: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
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
940af07b78 add links to milestones 2013-04-18 21:37:17 +00:00
reality
b2e51060f3 Merge pull request #377 from zuzak/gitstatus
Gitstatus
2013-04-18 10:56:14 -07:00
Douglas Gardner
6cf1966967 rm overlooked .js call 2013-04-18 17:53:13 +00:00
Douglas Gardner
abac2fd97a Commit CSS. Remove text shadow. 2013-04-18 17:33:46 +00:00
Douglas Gardner
c157ddf08c Added random quote to header 2013-04-18 16:54:09 +00:00
Douglas Gardner
ef2b50863c Renamed "git" "development"
(because I thought having "Development" / "Configuration" would look
cool.
2013-04-18 16:27:07 +00:00
Douglas Gardner
f7dbe77838 Format stuff
## Changelog:

 - Remove Github status call.
 + Closed issues
 + Localised <h1>
 + Add introductory paragraph
 + Add last diff to page
 - Remove jade include to layout.jade
 + Dynamic language metadata
 + CSS
 + Progress bars

 ## Known issues:
 * Loading the closed milestones raises an exception for some reason;
   in a try-catch for now, unsure how to fix.

 ## Still to do:
 * Style loaded modules section (columns?)
 * Shrink footer
 * Do we need a shorthand hash by the revision?
 * Pull req count? (low priority)
2013-04-18 16:17:36 +00:00
Douglas Gardner
985b53c768 Add milestone
+ Bump github
+ Fix Italian translation of revision count
+ Add translation of git to strings.json
  (bonus points if you find a language that needs it)
2013-04-18 14:30:00 +00:00
Douglas Gardner
d3f8e295be convert to dbot.t; add Italian; add debugMode 2013-04-18 11:45:15 +00:00
Douglas Gardner
2a4698c982 push out WIP 2013-04-18 11:06:13 +00:00
Douglas Gardner
5d41cc633c calm down, man
Add throttle to the spacebar, so you can no longer load another image
whilst the old one is loading.

Hopefully this'll negate some of the API failures we've been getting.
2013-04-17 21:30:05 +00:00
Douglas Gardner
bbece26213 Convert history to list; add toggle for scrollbars
* Added function to display message
* Added ``s`` hotkey to toggle the scrollbar
* Added ``max-width``
2013-04-17 20:55:34 +00:00
Douglas Gardner
4c26a0fc3a add history 2013-04-17 20:02:36 +00:00
reality
2b2d256081 merge 2013-04-16 21:19:11 +00:00
Douglas Gardner
2b9dbea855 improve imgur module
* 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
2013-04-16 21:03:50 +00:00
reality
e7540a3507 stats on web 2013-04-16 18:59:29 +00:00
reality
52e6561f51 dirty hack til i sort the thing thing out 2013-04-16 18:06:03 +00:00
Douglas Gardner
9b191bc89a Add new "details" box to random imgur page
This commit adds a new box to the imgur page, separating the
"Loading..." box with a new "details" box, which contains the
information found via the API.

The loading box appears on the left, and disappears when an image is
loaded, to be replaced with a box on the right.

API operations, such as a "report" or "submit to gallery" option, could
appear below the current right-aligned box, in a smaller font.

I'm undecided as to whether this commit is an improvement or not.
2013-04-16 17:47:01 +00:00
Douglas Gardner
1a2595aaf2 increment size with image count
This commit adds functionality to the loading callout in the imgur
module.

The size of the font used in the loading callout now increases in a
linear fashion in proportion to the number of images viewed in a row.

The size starts at 12px, and will increase to 72px at image 2000, with
round figures at most "standard" font sizes.

This is largely an experiment to see what it looks like: it might not be
as nice looking now that the callout contains extra information (such as
the view count). It may be worth experimenting with just increasing the
count number and leaving the "a w with x views (y*z)" message at a
static size, or perhaps by editing the colour variant, or even the
position on the screen.

I really just wanted some feedback to make it a bit more interesting for
a heavy user that has reached high numbers of images.

Some figures:
 * 12px is reached after 0 images
 * 14px is reached after 66 images
 * 16px is reached after 133 images
 * 18px is reached after 200 images
 * 21px is reached after 300 images
 * 24px is reached after 400 images
 * 36px is reached after 800 images
 * 48px is reached after 1,200 images
 * 60px is reached after 1,600 images
 * 72px is reached after 2,000 images
 * 144px is reached after 4,400 images.
2013-04-16 17:22:09 +00:00
reality
3b5ef9f55e Show info about the imgur url on the random page 2013-04-16 16:42:57 +00:00
reality
37a37c97b9 img count 2013-04-15 21:55:50 +00:00
Daniel Evans
af1e357df4 Improved HCI 2013-04-15 02:50:50 +01:00
Thomas Menari
b7dad66a26 random imgur 2013-04-15 02:10:29 +01:00
Dan
8a9256c838 [rejected] 2013-04-09 16:45:11 +01:00
reality
cecfd781d6 Add provisional flashy module which doesnt work yet 2013-04-09 15:20:07 +00:00
reality
31cd3b5995 Given quotes its own error view to solve [#288] 2013-03-26 09:05:39 +00:00
Sam Nicholls
13e24bbdbb Testing rolling week [#216] 2013-01-27 23:37:35 +00:00
Sam Nicholls
3103e84ddb Fix slice for both sets of axis rules, idiot. 2013-01-26 18:59:57 +00:00
Sam Nicholls
e32553c23f Y-Axis Improvements [#216][Close #227] 2013-01-26 18:57:33 +00:00
Sam Nicholls
00f04a01a9 Fix Y-Ticks [#216] 2013-01-26 00:55:50 +00:00
Sam Nicholls
f34283a62d Basic Y-Labels and Ticks [#216] 2013-01-26 00:51:48 +00:00
Sam Nicholls
3db80f908f X-Labels [#216] 2013-01-25 21:39:13 +00:00
Sam Nicholls
97b27e4d78 Prevent profile breaking if no stats are returned [Fix #81] 2013-01-25 20:14:44 +00:00
Sam Nicholls
55c490f50f Return non-scaled value as title, idiot [#216] 2013-01-25 11:08:35 +00:00
Sam Nicholls
26a10513e0 d3.max domain [#216][Untested] 2013-01-25 11:05:40 +00:00
Thomas Menari
f03dfd9111 sort photos by primary 2013-01-25 00:30:09 +00:00
Thomas Menari
1c0e258c58 placeholder deserves img-polaroid too 2013-01-24 23:26:23 +00:00
Thomas Menari
8cd16c3296 prettier bio picture 2013-01-24 22:53:23 +00:00
Thomas Menari
6830ed73e1 Merge git://github.com/reality/depressionbot 2013-01-24 22:38:34 +00:00
Thomas Menari
114b0fd09c derp 2013-01-24 22:34:34 +00:00
Sam Nicholls
5796aed13e Back link to Connections 2013-01-24 22:30:52 +00:00
Sam Nicholls
1979ab15b0 Initial channel activity 'graph' [#167][#184] 2013-01-24 22:17:56 +00:00
Sam Nicholls
76ed899917 Moved back link on profile 2013-01-24 22:07:43 +00:00
Thomas Menari
9f72be10d1 hotlink masonry 2013-01-24 21:49:16 +00:00
Thomas Menari
3138bc8367 masonry 2013-01-24 21:46:42 +00:00
Thomas Menari
3c4974d5ef make more l33t 2013-01-24 19:39:28 +00:00
Thomas Menari
dbac28cad6 oops 2013-01-24 01:06:05 +00:00