Commit graph

305 commits

Author SHA1 Message Date
Kyle Kingsbury
6c03d5db0e Merge pull request #80 from mfournier/relative-png
relative path to x.png
2014-09-23 11:13:48 -07:00
Kyle Kingsbury
844d003d3a Merge pull request #79 from mfournier/fish-up-0.2.9
Fish up 0.2.9
2014-09-23 11:05:18 -07:00
Marc Fournier
f27489c4b5 relative path to x.png
Avoid 404s when the dashboard isn't served on /
2014-09-19 17:49:17 +02:00
Marc Fournier
0533ab6baf Merge tag '0.2.9' into fish-up-0.2.9 2014-09-19 14:04:24 +02:00
Kyle Kingsbury
fe7adb3231 Merge pull request #75 from mfournier/dial
New "dial" view, similar to "gauge"
2014-09-11 14:40:52 -07:00
Kyle Kingsbury
6afcf9877e Merge pull request #74 from mfournier/fix-h2
gauge: microfix to html
2014-09-11 14:37:03 -07:00
Marc Fournier
25cfac8237 gauge: microfix to html 2014-09-11 23:29:34 +02:00
Marc Fournier
46a7f1f308 dial: new view, similar to gauge
Displays a vector-based gauge on an HTML <canvas> element.

Canvas elements don't accept relative widths and heights, so each time
the view is resized, we have to recalculate the absolute size in pixels
and update the canvas' properties.

When the gauge's upper limit isn't defined by the user, it is updated to
the biggest value encountered. To make this behaviour understandable, I
made the decision to always display this maximum value alongside the
current one.

gauges.js has bunch of options (colors, animation speed, etc) which I
left to the default values. This can be easily polished up later on if
we feel the need to.
2014-09-11 22:26:44 +02:00
Marc Fournier
7e9b14fd46 dial: copy gauge.js into dial.js
No changes except for renaming Gauge to Dial, works as the original
gauge view.
2014-09-11 22:12:30 +02:00
Marc Fournier
700779a39c dial: vendor gauge.js and related jquery plugin.
Grabbed from http://bernii.github.io/gauge.js/
MIT licence.
2014-09-09 22:35:42 +02:00
Kyle Kingsbury
a0311b3bbf Merge pull request #71 from SegFaultAX/fix-logview-events
Add default values for LogView event objects
2014-08-13 13:34:25 -07:00
Michael-Keith Bernard
050ded31f6 Add default values for LogView event objects
If any of the required keys are not present in the event object,
underscore's template rendering function will throw an exception.

Closes #70
2014-08-13 13:00:44 -07:00
Kyle Kingsbury
a9a51e84bf 0.2.9 2014-08-02 09:16:40 -07:00
Kyle Kingsbury
05c473d23c Merge pull request #68 from eric/add-pageup-to-help-dialog
Add pageup to popup help
2014-06-17 13:50:17 -07:00
Eric Lindvall
691b45a607 Add pageup to popup help 2014-06-17 13:49:19 -07:00
Kyle Kingsbury
75201c2782 Event pane: scroll when too full 2014-06-06 11:48:16 -07:00
Kyle Kingsbury
4c43a7290c Merge branch 'master' of github.com:aphyr/riemann-dash 2014-06-05 17:29:25 -07:00
Kyle Kingsbury
c99c204cb1 Event pane: fill in nils 2014-06-05 17:29:13 -07:00
Kyle Kingsbury
cf64566fb4 Merge pull request #67 from mfournier/small-details
Several small details
2014-06-04 16:28:53 -07:00
Marc Fournier
45ae805192 use webrick by default, document thin/puma installation
Rationale: installing thin/puma needs a working toolchain and various
libraries installed. Failing that, "gem install" will abort with an
error which doesn't give much hints to people not familiar with ruby.
Webrick is much slower, but it's pure ruby and doesn't depend on any
other gem. Sinatra will pick up what is available, in this order of
preference: thin, puma, mongrel, webrick.
2014-06-05 01:10:55 +02:00
Marc Fournier
fbeb6b6a2d remove a dependency on an unused gem 2014-06-05 00:36:53 +02:00
Marc Fournier
6ae76f6705 document 'r' and 'p' keybindings 2014-06-05 00:34:39 +02:00
Marc Fournier
0cfab7b638 fix unclosed html tag 2014-06-05 00:16:41 +02:00
Marc Fournier
a8894ce1b3 mention pointing the dash to the Riemann server ws port
This frequently confuses first time users.
2014-06-05 00:13:53 +02:00
Marc Fournier
61db097549 mention config examples in the README 2014-06-05 00:13:26 +02:00
Marc Fournier
ec08e4204f add example for storing config on S3 2014-06-05 00:09:18 +02:00
Marc Fournier
68d9e73762 remove hard dependency on fog
Load fog only if needed, and emit a helpful message if it's missing.

This removes a ton of dependencies, which makes the default installation
easier for newcomers.
2014-06-05 00:03:26 +02:00
Kyle Kingsbury
4ad5b37c84 Sinatra/thin version bump 2014-05-30 13:34:59 -06:00
Kyle Kingsbury
e2563b7ab9 Event pane: displays event details when grid or gauge events are
clicked.
2014-05-29 12:53:03 -06:00
Kyle Kingsbury
2497b2b119 Grid: fix N bugs, metric sorting, slower.
Had to kill the caching code; it's been the source of no end of bugs in
the grid for the last six months and I'm just not smart enough to fix
it. Every call goes through (slurred) render now. :(
2014-05-22 13:47:28 -07:00
Kyle Kingsbury
68c7c4e3be Grid: recompute all maxima on re-render 2014-05-20 17:43:46 -07:00
Kyle Kingsbury
aa687f5333 Grid: move row/column refreshes to full re-render. 2014-05-20 17:35:06 -07:00
Kyle Kingsbury
6e0712c6bb Grid: refactor row ordering into functions. 2014-05-20 17:22:22 -07:00
Kyle Kingsbury
470ba6c47d grid.js: remove unused maxKey variable 2014-05-20 17:14:12 -07:00
Kyle Kingsbury
09d051d3c1 grid.js: remove unused allEvents() 2014-05-20 17:12:53 -07:00
Kyle Kingsbury
719d9a5d08 Grid: clean up useless reflow() 2014-05-20 17:04:05 -07:00
Kyle Kingsbury
9e1df84e88 Refactor grid string shortening into strings/shorten 2014-05-20 16:59:01 -07:00
Kyle Kingsbury
08e55b93f2 Move some functions from grid -> util 2014-05-20 16:50:07 -07:00
Kyle Kingsbury
f4d3ec2525 Don't throttle event expiry to 1/s. 2014-05-20 15:43:49 -07:00
Kyle Kingsbury
00b3041d87 grid: remove logging 2014-05-20 15:33:23 -07:00
Kyle Kingsbury
9b5b1a2f22 Merge pull request #57 from campanja/ws_config_backends
Add support for backend stores for config
2014-04-08 11:21:38 -07:00
Kyle Kingsbury
39b7bba182 Merge pull request #60 from jespada/ctrl_meta_clic
add fix for firefox
2014-03-28 09:04:55 -07:00
Jorge Espada
a965ae94c5 add fix for firefox 2014-03-28 16:58:05 +01:00
Kyle Kingsbury
a11fa1db22 Merge pull request #59 from jespada/ctrl_meta_clic
only focus if CTRL/Meta+click is pressed
2014-03-27 09:09:51 -07:00
Jorge Espada
86574e9a80 only focus if CTRL+click is pressed 2014-03-26 18:02:31 +01:00
Kyle Kingsbury
c534a73ddb Merge pull request #58 from campanja/list-view
List view
2014-03-18 11:46:41 -07:00
Torbjörn Norinder
39c8af7c28 Use description as title for list elements 2014-03-18 12:01:59 +01:00
Torbjörn Norinder
59dcdf7c33 Add WIP list-view 2014-03-17 20:23:40 +01:00
Torbjörn Norinder
d52567cb7b s/setup_ws_backend/setup_storage_backend/g 2014-03-17 17:49:23 +01:00
Torbjörn Norinder
f8132559a5 Pass config.store[:s3_config] directly to fog to allow for greater flexibility in configuring S3 backend 2014-03-17 17:49:05 +01:00