Commit graph

317 commits

Author SHA1 Message Date
Andy Marks
58df11e022 Happy case tests for index_by 2014-12-04 20:53:55 +11:00
Andy Marks
d1b0485aef Simplification of test setup 2014-12-03 11:58:15 +11:00
Andy Marks
6ff3951bba Simplification of test setup 2014-12-03 11:56:55 +11:00
Andy Marks
f1a40e2e35 Adding tests around merge_configs 2014-12-03 11:53:58 +11:00
Andy Marks
b953d36537 Delineating private methods prior to adding more tests 2014-12-02 22:21:01 +11:00
Andy Marks
dcd5add809 Separated broken tests into new test file with trivial fix - WIP 2014-12-02 22:16:36 +11:00
Kyle Kingsbury
9bd5b8aa68 Merge pull request #84 from kjperry/error_message
inflect number of socket errors
2014-10-31 14:23:54 -04:00
Katelyn Perry
57bfd7c766 inflect number of socket errors 2014-10-31 09:59:49 -05:00
Aphyr
34f3148617 Add /vendor/jquery/jquery.min.map
Closes #64, I think. Hard to tell, can't repro the issue.
2014-09-24 21:57:12 -07:00
Kyle Kingsbury
ab25744ca8 Merge pull request #77 from mfournier/rackup-example
example rack app configuration
2014-09-24 21:17:16 -07:00
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
Marc Fournier
7b021d9e85 add example rackup app 2014-09-17 10:06:50 +02:00
Marc Fournier
52072b943e add example for :bind option 2014-09-17 10:02:46 +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