Commit Graph

166 Commits

Author SHA1 Message Date
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
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
7106d4dd8b Merge branch 'master' of https://github.com/reality/depressionbot into gitstatus 2013-04-19 17:16:11 +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
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
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
Thomas Menari
278bc8b93c add initial yearbook feature 2013-01-24 01:02:50 +00:00
Sam Nicholls
f3771240a3 Basic Profiles [#184] 2013-01-23 19:13:10 +00:00
Sam Nicholls
098f19078d Return last seen string in tooltip 2013-01-23 18:00:27 +00:00
Sam Nicholls
612171d288 Preliminary Profiles [#183][#184][MADE BY @samstudio8 #185] 2013-01-22 20:44:45 +00:00
reality
dd9962d465 Fix [#173] by encoding # in uri and unescaping 2013-01-21 19:22:52 +00:00
Sam Nicholls
15eacfd446 User column sorts only multi-sorts by [Active,A-z] 2013-01-21 00:28:11 +00:00
Sam Nicholls
0343da92d5 Disable initial sort [#140][#161] 2013-01-20 23:25:00 +00:00
Sam Nicholls
b6c2c46f6a Fix for thousands seps [#140][#161] 2013-01-20 23:15:26 +00:00
Sam Nicholls
87841bd051 DataTables [#140][#161] 2013-01-20 23:07:33 +00:00
Sam Nicholls
078f3b943b Better users web 2013-01-15 20:44:15 +00:00
Sam Nicholls
44764cd2b3 Modified users web to call new stats API [Close #137] 2013-01-15 15:10:28 +00:00
Sam Nicholls
292b917527 Add stats to userlist [#117] 2013-01-11 22:39:32 +00:00
Sam Nicholls
c649439947 Improve online users UI [REQ Bootstrap] 2013-01-10 22:23:51 +00:00
reality
08f35f90f8 user pages now load again 2013-01-09 06:05:01 +00:00
reality
c28047efc1 Activity indicator [#111] 2013-01-09 05:53:45 +00:00
reality
5f563f6c26 show online status of known users in web + nick tracking fixes 2013-01-08 06:14:58 +00:00
Daniel Evans
046411f2c3 Update views/users/connections.jade 2013-01-04 21:43:40 +00:00
Daniel Evans
e544c909ec Modularised web routes and views 2012-12-24 05:51:19 +00:00
Daniel Evans
88d2abab58 Removed sass compiler usage from web.js, updated jade templates to use blocks 2012-12-24 04:06:04 +00:00
Luke Slater
8db0932c73 users not channels 2012-11-25 17:57:56 +00:00
Luke Slater
fc83487a5d Addition to the web interface to view currently connected users and interpolate some data. Little messy atm. 2012-11-25 17:56:30 +00:00
Daniel Evans
6c459c5b23 Slight web improvements
Cleaned up polls.jade
Added a link to the first interpolated quotes.
2012-06-17 01:16:58 +01:00
Daniel Evans
f7851f1ddb More links 2012-06-15 19:04:10 +01:00
Daniel Evans
befc20e713 Index page 2012-06-15 18:57:47 +01:00
Daniel Evans
806f9556bf Updated backlinks 2012-06-15 18:23:36 +01:00
Luke Slater
ad9a65375b fix link? 2012-06-15 17:58:33 +01:00
Luke Slater
75b627b3ee style on backlink 2012-06-15 17:57:47 +01:00
Luke Slater
11f7e91ba9 link back to poll list 2012-06-15 17:54:44 +01:00
Luke Slater
800faf5a88 nother space in thing? 2012-06-15 16:26:13 +01:00
Daniel Evans
f70c92c16d Web display for poll module 2012-06-15 16:15:02 +01:00
Psychedelic Squid
f3ab2e5e92 Auto-embed youtube videos, in much the same way as images are already done. 2012-03-12 21:38:09 +00:00
Luke Slater
c7fcb9fe18 do that in heading instead of just title 2012-03-10 17:51:24 +00:00
Luke Slater
59adda4221 name in title instead of dbot 2012-03-10 17:49:57 +00:00
Daniel Evans
53ad3f54ee New Theme 2011-11-25 14:44:18 +00:00
Dafydd Francis
6d00638f00 Whoops too many ='s 2011-11-10 00:31:05 +00:00
Dafydd Francis
b742e82f56 Images. In *my* quote page? More likely than you think! 2011-11-10 00:25:19 +00:00
Alexander D Brown
52cdddf3f7 Added in URL support for the web interface.
The Jade templating code in `views/quotes.jade` will now check against the Regular Expression which has been added to `snippets.js` and is delivered to the template by `modules/web.js`.

The reguar expression used should be able to handle any URL and ensure no non-URL elements are made into URLs. It may be worth adding checking for 4XX error codes at a later date.

This shouldn't affect any of the other modules; features have only been added, not modified.
2011-11-09 23:51:01 +00:00
Samuel Clements
d8cac5fe95 Better list pages 2011-11-08 20:43:52 +00:00
Samuel Clements
fd27c8a010 woot, a little bit more worky. 2011-11-08 20:28:46 +00:00
Samuel Clements
1b9fbdd894 Hopefully not another dumb error (TM). 2011-11-08 20:16:35 +00:00
Samuel Clements
885b56f09a Fixed id instead of class bug. 2011-11-08 20:12:49 +00:00
Samuel Clements
9f2f343bdb Cloudy quotelist page! 2011-11-08 20:10:55 +00:00
Samuel Clements
8107b72a1b Should fix jade throwing silly errors at me. 2011-11-08 19:34:27 +00:00
Samuel Clements
6ebedfd451 Finished adding the stuff from afals userscript. 2011-11-08 19:07:30 +00:00
Samuel Clements
e0dd59ac7d Css should work easy now. 2011-11-08 18:52:59 +00:00