3
0
mirror of https://github.com/reality/dbot.git synced 2024-11-24 12:59:34 +01:00
Commit Graph

189 Commits

Author SHA1 Message Date
reality
df2b484a66 merge 2013-05-17 13:32:41 +00:00
reality
15fd9c32e4 Initial go at [#448] 2013-05-17 13:29:28 +00:00
Sam Nicholls
8f9b44d4f0 Prevent link from poll view to poll list 404 [Fix #440] 2013-05-14 18:26:21 +02:00
reality
41ec896dfc Merge git://github.com/reality/depressionbot into database 2013-05-10 18:13:41 +00:00
reality
91f2730785 favicon [#416] 2013-05-10 12:38:14 +00:00
reality
75a909df64 Poll web interface now working [#420] 2013-05-06 19:43:14 +00:00
reality
33b9b8d1b0 poll web list works [#420] some commands using new users [#434] 2013-05-06 18:12:25 +00:00
reality
9cf6769da5 Merge git://github.com/reality/depressionbot into database 2013-04-30 19:36:44 +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
9625f1d316 merge with master, command uses nickserv auth in db [#421] 2013-04-24 20:45:20 +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
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
Douglas Gardner
194135791a Add footer to pages linking to ./project 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
cca4fadc42 Merge git://github.com/reality/depressionbot into database 2013-04-22 19:37:44 +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
reality
c5fb52a4a7 Merge git://github.com/reality/depressionbot into database 2013-04-21 16:23:55 +00: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
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
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