Alexander Zobnin
1499c2bf74
Fix User/Org default timezone bug ( #8748 )
...
* dashboard: don't override timezone if default selected, issue #8503
* dashboard: hide UTC icon immediately after timezone changing
2017-07-03 09:20:55 +02:00
Daniel Lee
fb99ddf295
influxdb: tweak to help text
2017-06-29 13:58:54 +02:00
Daniel Lee
7ea5930a90
alerting: minor fix
2017-06-29 12:18:10 +02:00
Alexander Zobnin
97a7081b57
Fix 8706 ( #8734 )
...
* heatmap: fix incorrect time for UTC timezone, fixes #8706
* heatmap: fix tests for time format
2017-06-29 10:40:28 +02:00
Alexander Zobnin
8634c9d457
Histogram fix ( #8727 )
...
* histogram: don't cut negative values, issue #8628
* histogram: add percent/count option
* histogram: add tests for values normalizing
* histogram: improved ticks rendering
* histogram: fix default value in axes editor
2017-06-28 17:12:55 +02:00
Daniel Lee
3ac306a72e
playlist: fixes #6727 . Remember Kiosk mode
2017-06-28 16:29:46 +02:00
Daniel Lee
b674b9dba2
heatmap: small fix for tooltip auto decimals
...
Closes #8717
2017-06-27 22:25:04 +02:00
Alexander Zobnin
83fbace6b9
heatmap: fix tooltip decimals calculation
2017-06-27 22:24:27 +02:00
Alexander Zobnin
12644372c4
heatmap: fix scaledDecimals calculation (use the same method as in flot.js)
2017-06-27 22:24:27 +02:00
Alexander Zobnin
c12a7d7f59
heatmap: adjust tests for fixed decimals calc
2017-06-27 22:24:27 +02:00
Alexander Zobnin
7c840cdf38
heatmap: fix tooltip decimals
2017-06-27 22:24:27 +02:00
Alexander Zobnin
b63d2b3279
heatmap: fix Y axis decimals with log scale
2017-06-27 22:24:27 +02:00
Alexander Zobnin
8e5672aee6
heatmap: fix Y axis value rounding with linear scale
2017-06-27 22:24:27 +02:00
Alexander Zobnin
1deeef9e91
Table panel: add option for preserving text formatting ( #8708 )
...
* table_panel: add option for preserving text formatting
* table_panel: fix undefined style error
* table_panel: fix class adding (add space before 'class')
* table_panel: aligin Type options labels
2017-06-27 06:38:49 -04:00
Denis Doria
e8d01218d8
Fix label showing up when Axes are configured to not be displayed ( #8697 )
...
This should close the issue #8695
2017-06-25 14:23:37 +02:00
Daniel Lee
ebcbcdc27a
dashfolders: inherited permissions for dashboards
...
Allow duplicate permissions if the original is an
inherited permission from a parent folder.
If a dashboard has permissions but the parent folder
does not, return the default permissions for the
editor and view role combined with the permissions
for the child dashboard.
2017-06-24 03:50:22 +02:00
Torkel Ödegaard
1833c65559
Merge branch 'develop' of github.com:grafana/grafana into develop
2017-06-23 16:07:16 -04:00
Torkel Ödegaard
fc69d59cae
dashboard folder search fix
2017-06-23 16:00:26 -04:00
Daniel Lee
01ac3a49bd
dashfolders: fix user group picker + cleanup
2017-06-23 20:56:02 +02:00
Torkel Ödegaard
456225365f
Merge branch 'develop' of github.com:grafana/grafana into develop
2017-06-23 12:59:14 -04:00
Torkel Ödegaard
e854fadb67
Merge branch 'master' into develop
2017-06-23 12:56:59 -04:00
Daniel Lee
c6965ce6f4
dashfolders: rename refactor
2017-06-23 18:00:49 +02:00
Torkel Ödegaard
73fcc919cd
change: made dashboard save message optional
2017-06-23 11:49:32 -04:00
Daniel Lee
97ff245ad0
dashfolders: validation for duplicates in acl modal
2017-06-23 17:45:55 +02:00
Torkel Ödegaard
86a73c359b
fix: data source selector did not show, fixes #8692
2017-06-23 11:32:17 -04:00
Torkel Ödegaard
b7255723ea
ux: style tweaks, trying out non italic headers
2017-06-23 09:18:39 -04:00
Torkel Ödegaard
876bb08b05
Merge branch 'develop' of github.com:grafana/grafana into develop
2017-06-22 19:05:49 -04:00
Torkel Ödegaard
5360303ad4
ux: nav changes
2017-06-22 19:05:33 -04:00
Daniel Lee
6d86afd472
dashfolders: use canadmin permission in settings menu
2017-06-23 00:36:17 +02:00
Daniel Lee
82cfa29c00
dashfolders: tests for permission modal
2017-06-23 00:36:08 +02:00
Torkel Ödegaard
a4910c7aea
merging new-sidenav
2017-06-22 18:11:29 -04:00
Torkel Ödegaard
9c6c8c0f3f
acl fixes
2017-06-22 17:10:43 -04:00
Torkel Ödegaard
a82b25eb79
acl: more acl work
2017-06-22 15:16:41 -04:00
Daniel Lee
691ff32ae9
dashfolders: allow overflow-y for modals
2017-06-22 02:07:49 +02:00
Torkel Ödegaard
2257c1f874
dashboard acl work
2017-06-21 19:02:03 -04:00
Torkel Ödegaard
aab6c98e45
Merge branch 'dashboard-acl' into dashboard_folders
2017-06-21 17:57:57 -04:00
Torkel Ödegaard
a37c441193
dashboard acl
2017-06-21 17:57:04 -04:00
Torkel Ödegaard
945302ba52
working on dashbord acl stuff
2017-06-21 17:14:06 -04:00
Daniel Lee
1e064f6c19
WIP: first draft of permissionlist panel
...
for folder home page
2017-06-21 22:28:10 +02:00
Daniel Lee
38142b371f
WIP: fix js tests for acl
2017-06-21 01:19:30 +02:00
Daniel Lee
ca1f429831
WIP: fix folder-picker for dashlist
2017-06-21 01:07:14 +02:00
Torkel Ödegaard
43ffe826fa
dashboard acl work
2017-06-20 17:18:20 -04:00
Torkel Ödegaard
408c37170f
refactoring: dashboard folders
2017-06-20 14:45:00 -04:00
Torkel Ödegaard
3edd209736
dashboard acl modal
2017-06-20 12:36:07 -04:00
Torkel Ödegaard
2a93bed453
ux: aligned tabbed view body with header title
2017-06-19 19:22:44 -04:00
Daniel Lee
cb8b5c0d42
WIP: adding roles - not finished
2017-06-20 01:08:04 +02:00
Torkel Ödegaard
e0b9ba7554
refactoring renaming dashboard folder operations
2017-06-19 17:15:25 -04:00
Torkel Ödegaard
34cf305d2c
Merge branch 'master' into dashboard_folders
2017-06-19 16:40:30 -04:00
Denis Doria
eaba985f25
Fix issue with kilovolt-ampere reactive (kvar) #8596 ( #8650 )
...
This changes the css to handle overflow of the string on the input fields.
If an overflow happends an ellipsis is used.
2017-06-19 16:23:12 -04:00
Torkel Ödegaard
77136d7a70
Merge branch 'master' of github.com:grafana/grafana
2017-06-19 16:02:31 -04:00
Torkel Ödegaard
8440d2d0a2
fix: fixed search issues with in active mode and keyboard nav
2017-06-19 16:02:16 -04:00
Torkel Ödegaard
f7194878fe
dashboard guardian refactoring starting to work
2017-06-19 13:47:44 -04:00
Denis Doria
41d300f69d
Fix timeInterval for mysql datasource ( #8651 )
...
* Fix timeInterval for mysql datasource
This changes the > to >= and the < to <=, so the intervals are inclusive.
This should fix the #8635
* Fix validation
2017-06-19 08:58:22 -04:00
Alexander Zobnin
9a7e460865
fix heatmap count values bug introduced by #8632
2017-06-18 21:47:08 +03:00
Alexander Zobnin
8626bdfed8
Merge remote-tracking branch 'upstream/master'
2017-06-18 20:59:05 +03:00
Alexander Zobnin
1f4140057b
heatmap-tooltip: normalize histogram Y axis
2017-06-18 20:58:13 +03:00
Daniel Lee
d1e1c4be93
WIP: refactor user group modal
2017-06-18 00:16:33 +02:00
Salman Jalali
49fdbb3843
Update kbn.js
2017-06-17 06:08:10 +02:00
Torkel Ödegaard
d9dca72ee4
dashboard_folders: refactoring picker and folder selection in dashboard settings & save as menu
2017-06-16 16:57:37 -04:00
Torkel Ödegaard
0ad4a0faa9
Merge branch 'master' into dashboard_folders
2017-06-16 13:08:45 -04:00
Torkel Ödegaard
724368d0cd
fix: data source dropdown select
2017-06-16 11:43:37 -04:00
Torkel Ödegaard
25f88e9b3a
Merge branch 'master' of github.com:grafana/grafana
2017-06-16 10:47:53 -04:00
Torkel Ödegaard
056c57d551
ux: temporary remove search
2017-06-16 10:47:17 -04:00
Brandon Arp
5d63ad21c1
allow heatmap parsing of scaled datapoints ( #8632 )
2017-06-16 10:45:52 -04:00
Torkel Ödegaard
a49e82e447
ux: revert dashboard search nav change, this is a tempoary change until we redesign the sidenav
2017-06-16 09:47:21 -04:00
Torkel Ödegaard
7a39578f33
use gf-form-dropdown in user picker
2017-06-15 16:38:00 -04:00
Torkel Ödegaard
e63fa9c83c
Merge branch 'master' into dashboard_folders
2017-06-15 16:23:10 -04:00
Torkel Ödegaard
840099bec0
refactor: metric segment remake
2017-06-15 15:56:24 -04:00
Daniel Lee
29ec05298e
WIP: add test for add user group permission
2017-06-15 20:39:27 +02:00
Daniel Lee
0e853163fd
WIP: can edit dashboard permission
2017-06-15 20:21:14 +02:00
Torkel Ödegaard
76c4bfe268
ux: new metric segment is starting to work
2017-06-15 14:03:26 -04:00
Torkel Ödegaard
5f3b5fdcb2
updated
2017-06-15 12:21:12 -04:00
Torkel Ödegaard
6a95df403a
refacoring: more work on metric segment replacement
2017-06-14 19:42:45 -04:00
Torkel Ödegaard
380e7e7f04
Merge branch 'master' into metric-segment-remake
2017-06-14 16:17:13 -04:00
Torkel Ödegaard
41662b8540
dashboard_folders: updated
2017-06-14 12:55:21 -04:00
Torkel Ödegaard
210813f126
dashboard_folders: fixes to user picker & group picker
2017-06-14 12:32:43 -04:00
Torkel Ödegaard
908eb24d3a
dashboard_folders: fixes to user & group picker
2017-06-14 12:21:05 -04:00
Torkel Ödegaard
3e8937e53b
Merge branch 'master' into new-sidemenu
2017-06-14 10:00:43 -04:00
Torkel Ödegaard
81abfd4ca4
minor update
2017-06-14 10:00:40 -04:00
Torkel Ödegaard
581b977787
Merge branch 'master' of github.com:grafana/grafana
2017-06-13 18:32:38 -04:00
Torkel Ödegaard
c771dd4bd2
ux: metrics tab add query feature
2017-06-13 18:31:43 -04:00
Torkel Ödegaard
9ff4ab1236
Merge branch 'master' into query_troubleshooting
2017-06-13 16:47:04 -04:00
Daniel Lee
1f92e589e8
exporter: query template var keeps refresh value..
...
on export if the value is not set to never. Otherwise the template
variable will not be populated with any values.""
2017-06-13 22:42:58 +02:00
Torkel Ödegaard
812ac5cb8e
Merge branch 'master' of github.com:grafana/grafana
2017-06-13 13:22:08 -04:00
Torkel Ödegaard
7d642546b3
fix: restore dashboard history version did not reload route correctly when slug did not change
2017-06-13 13:21:22 -04:00
Daniel Lee
88e1fcb910
WIP: fixes after version history merge
2017-06-12 22:51:50 +02:00
Torkel Ödegaard
5061b3c691
ux: nav experiments
2017-06-12 21:11:22 +02:00
Trent White
192c447c2c
create new auth icon for grafana.com so it doesn't share the same file as the main logo ( #8581 )
2017-06-12 17:17:00 +02:00
Torkel Ödegaard
f341a21b01
ux: side nav experiments
2017-06-12 16:46:02 +02:00
Daniel Lee
18269a5886
WIP: user + user-group pickers for permissions
2017-06-12 15:49:09 +02:00
Daniel Lee
bc6aa74439
WIP: user-picker directive
2017-06-12 15:49:09 +02:00
Daniel Lee
96afb91ac4
WIP: fixes after navbar changes
...
Fixes for merge conflicts and navbar metadata
added for user group pages.
2017-06-12 15:49:09 +02:00
Daniel Lee
5c89c4b2bd
WIP: dashlist in template for new folder
2017-06-12 15:49:09 +02:00
Daniel Lee
533f2d3d72
WIP: refactor folder-picker for dashlist
2017-06-12 15:49:09 +02:00
Daniel Lee
7381d2565d
WIP: adds folder-picker to save as dialog
2017-06-12 15:49:09 +02:00
Daniel Lee
d081f85289
WIP: use metric-segment for folder picker
2017-06-12 15:49:09 +02:00
Daniel Lee
6c736e002a
WIP: add dummy root folder to folder picker
...
Can move a dash from a folder back to root level as well
2017-06-12 15:49:09 +02:00
Daniel Lee
1e865211c9
WIP: Create new dashboard button in dash search
2017-06-12 15:49:09 +02:00
Daniel Lee
06a15eec5c
WIP: permissions moved to settings tab. Adds folder dropdown to general settings tab
2017-06-12 15:49:09 +02:00
Daniel Lee
764d25f007
WIP: rollback
2017-06-12 15:49:09 +02:00
Daniel Lee
fff7b706d6
WIP: user group additions
2017-06-12 15:49:09 +02:00
Daniel Lee
53d11d50fc
WIP: remove browse mode for dashboard search
...
Dashboard folders included in all searches. If a dashboard matches
a search and has a parent folder then the parent folder is appended
to the search result. A hierarchy is then returned in the result
with child dashboards under their parent folders.
2017-06-12 15:49:09 +02:00
Daniel Lee
074ef7ce4e
WIP: add open/closed folders icons for dash search
...
If browsing, then show open folder icon. If searching, show
the closed folder icon
2017-06-12 15:49:09 +02:00
Daniel Lee
9cbaf0722b
WIP: add some TS types
2017-06-12 15:49:09 +02:00
Daniel Lee
cbbe90ee79
WIP: edit user group page
2017-06-12 15:49:09 +02:00
Daniel Lee
00ac446b2b
WIP: add new group, needs to be redone
2017-06-12 15:49:09 +02:00
Daniel Lee
233cd7af4a
WIP: add user group search
2017-06-12 15:49:09 +02:00
Daniel Lee
1248728d7f
WIP: rough prototype of dashboard folders
...
Breaks some stuff like selected dash in the search result.
In dashboard search, if the user is not searching then the result is
returned as a tree structure. No ACL's or user group ux yet.
2017-06-12 15:49:09 +02:00
Martin Molnar
d10d897d65
fix: component name of plugin page contains 'undefined' ( #8590 )
2017-06-12 15:11:00 +02:00
Torkel Ödegaard
ff2394709d
ux: very early start to new sidemenu
2017-06-08 23:13:38 +02:00
Torkel Ödegaard
ef9fa7b0cc
ux: very early start to new sidemenu
2017-06-08 22:17:43 +02:00
Torkel Ödegaard
cdd5ba6198
fix: influxdb test data source error handling now works better, fixes #8577
2017-06-08 21:41:58 +02:00
Torkel Ödegaard
f3fe664f24
ux: minor tweak to faintness of icons of panel menu caret
2017-06-08 16:57:37 +02:00
Torkel Ödegaard
25683c688f
ux: minor progress on panel title menu makover
2017-06-08 16:22:51 +02:00
Torkel Ödegaard
4206f98ba4
Merge branch 'master' into panel-title-menu-ux
2017-06-08 14:50:03 +02:00
Torkel Ödegaard
217c746445
ux: close edit views when opening panel in edit mode
2017-06-08 14:23:51 +02:00
Torkel Ödegaard
95c8a76aa6
ux: minor search style improvements
2017-06-08 13:56:51 +02:00
Torkel Ödegaard
50b09f4f10
Merge branch 'master' of github.com:grafana/grafana
2017-06-08 11:54:11 +02:00
Torkel Ödegaard
2c75593c1a
refactoring: elasticsearch raw doc size limit option PR, #8527
2017-06-08 11:53:12 +02:00
Torkel Ödegaard
3c41d0477a
Merge branch 'master' of https://github.com/mk-dhia/grafana into mk-dhia-master
2017-06-08 11:22:48 +02:00
Daniel Lee
f7c48c5a5f
singlestat: fix ignoring zero value for table data
...
When table data returns a column with the value 0, it should not ignore
it. This change checks for undefined instead of if the value is truthy.
Fixes #8531
2017-06-08 11:06:37 +02:00
Michael Ambrose
f0169656ba
Added test to for Cloudwatch EC2 tag selection
2017-06-07 16:53:49 -04:00
Michael Ambrose
525da95f49
Updated cloudwatch plugin to allow specific tag selection
...
Tags come back from AWS as a key value pair inside an array
This array is now converted to an object
Tags can be selected when using the 'ec2_instance_attribute' query
Example: `ec2_instance_attribute(us-east-1, Tags.Name, { "tag:Grafana": [ "true" ] })`
2017-06-07 16:53:49 -04:00
Torkel Ödegaard
01ff3bbe0a
ux: mini css position fix
2017-06-07 22:03:10 +02:00
Torkel Ödegaard
61bdc91272
ux: css fix to search position when sidemenu is pinned
2017-06-07 21:54:55 +02:00
Torkel Ödegaard
e7e675e471
Merge branch 'walmartlabs-master' (Dashboard History Feature, #8472 )
2017-06-07 14:30:03 +02:00
Torkel Ödegaard
3ba8aeb9a7
dashboard_history: fix for scenario where reverted dashbord has different title and url must change not just route reload
2017-06-07 14:02:45 +02:00
Torkel Ödegaard
64d620c987
dasboard_history: minor style fix change
2017-06-07 13:50:59 +02:00
Torkel Ödegaard
56b3c4a3a0
dasboard_history: fixed disabled attribute so it works both by disabling and fixing style, no need for disabled class and disabled attribute
2017-06-07 13:46:36 +02:00
Torkel Ödegaard
577dfee086
dasboard_history: fixed json diff so only dashbord is compared and not the whole dashboard revision object (message and restoreFrom etc was showing up in json diff)
2017-06-07 13:36:03 +02:00
Torkel Ödegaard
8f6c9c5946
dasboard_history: some polish around styles & diff colors, and minor fixes
2017-06-07 12:39:06 +02:00
Torkel Ödegaard
ef1dfed0d8
dasboard_history: big refactoring of how the compare api looked, now a POST with a model for new & base version, refactored a simplified UI code as well, this was done to lay foundation to make it possible to do diff against current in browser unsaved version
2017-06-07 11:50:09 +02:00
Torkel Ödegaard
948e5ae74d
dashboard_history: further css & markup fixes, removing style overrides & resuing existing styles and markup components
2017-06-06 23:04:14 +02:00
Torkel Ödegaard
c4e872b9da
dashboard_history: minor changes and fixes
2017-06-06 16:27:28 +02:00
Torkel Ödegaard
7b5f7ed553
dashboard_history: SQL did not work when using MySQL, fixes to dashboard version numbering, so inserts start at 1, added migration to fix old dashboards with version 0
2017-06-06 15:40:10 +02:00
Torkel Ödegaard
9b629cd5a6
dashboard_history: fixed history srv unit tests
2017-06-06 14:28:21 +02:00
Torkel Ödegaard
546d489dd3
dashboard_history: restored unsaved changes modal to simple cancel, discard, save
2017-06-06 14:27:30 +02:00
Torkel Ödegaard
88da3a99e1
refactoring: trying to remove all the css overrides in history tab and make the styles more more inline with best practice css, and if needed use modifier overrides instead
2017-06-06 11:03:56 +02:00
Torkel Ödegaard
689e366f59
refactoring: updated api url routes so they do not conflict with slug route
2017-06-06 09:51:14 +02:00
Torkel Ödegaard
e43d09e15b
fix: fixed failing frontend test
2017-06-05 23:31:45 +02:00
Torkel Ödegaard
9c1401849e
fix: always show dashboard history for now, need a way to make dropdown more dynamic
2017-06-05 23:14:07 +02:00
Torkel Ödegaard
2a52e25d5b
refactoring: removed double error alert, backendSrv is already showing an error alert
2017-06-05 23:06:31 +02:00
Torkel Ödegaard
cabbfe9adc
refactoring: moved dashboard history item formating (message) and fixed dashboard history migration issue, and removed from frontend tests that where no longer needed
2017-06-05 22:59:04 +02:00
Torkel Ödegaard
f18ebea03e
fix: dashboard save modals had double submit on enter after my refactoring this morning
2017-06-05 18:01:16 +02:00
Torkel Ödegaard
c87418d060
refactoring: Dashboard history restore operation is now reusing existing
...
operations instead of duplicating a bunch of get & save logic.
2017-06-05 17:45:27 +02:00
Torkel Ödegaard
e18007153d
refactoring: Renamed dashboard version queries that wrongly had Command suffix, added missing OrgId to dashboard history commands and queries
2017-06-05 16:34:32 +02:00
Daniel Lee
1b79e17970
graph: better generation of y-axis ticks for log-scale
...
If there are too many ticks generated for the y-axis (which can occur
for log scale 2, with a small y-min and a large max), then the ticks
will be regenerated using larger jumps between the ticks.
This also handles the case when y-min is set to 0. Previously, y-min of
0 was ignored as zero is not a valid value for log scale. Now the tick
generator approximates zero by setting min to 0.1.
Ref #8244
Ref #8516
2017-06-05 15:06:22 +02:00
Torkel Ödegaard
fdfcd5cbf0
refactoring:: dashboard save modal and save as modal needed an update
2017-06-05 14:56:11 +02:00
Torkel Ödegaard
f3980504e2
Merge branch 'master' into walmartlabs-master
2017-06-05 13:43:00 +02:00
Dhia MOAKHAR
7c1dc2444d
change size in raw_document from text to number
...
update query builder and specs
2017-06-04 13:20:58 +00:00