Marcus Efraimsson
99c188f626
Merge pull request #12273 from grafana/12247-link-icon
...
fix panel link icon positioning
2018-06-14 13:54:08 +02:00
Tobias Skarhed
283b39c397
Karma to Jest: threshold_mapper
2018-06-14 13:38:03 +02:00
David Kaltschmidt
eb686c06f2
Expose react and slate to external plugins
...
Experimental support for react in external plugins
- react
- slate (editor)
- papaparse (csv parsing)
- prismjs (syntax highlighting)
This is needed for new external datasource plugins like Flux
2018-06-14 12:32:57 +01:00
Tobias Skarhed
155ff06cbe
Karma to Jest: threshold_manager
2018-06-14 13:22:17 +02:00
Tobias Skarhed
2465f53324
Karma to Jest: query_def, index_pattern
2018-06-14 12:18:11 +02:00
Tobias Skarhed
a911d36dea
Remove import
2018-06-14 12:00:54 +02:00
Tobias Skarhed
04029a94cd
Karma to Jest: elastic_response
2018-06-14 11:56:03 +02:00
Marcus Efraimsson
71b0326769
Merge pull request #12237 from dehrax/12224-version-panel
...
Convert tests from Karma to Jest
2018-06-14 10:13:46 +02:00
Patrick O'Carroll
9802d86783
Merge pull request #12189 from ryantxu/focus-panel-search
...
autoFocus the add-panel search filter, and add on enter
2018-06-14 09:54:41 +02:00
Tobias Skarhed
a3552a60e1
Improve test readability
2018-06-14 09:46:36 +02:00
Patrick O'Carroll
a0aa0b55e7
moved link icon in panel header
2018-06-14 09:24:51 +02:00
Tobias Skarhed
4dd9b8f324
Karma to Jest: playlist_edit_ctrl
2018-06-13 16:29:50 +02:00
Tobias Skarhed
94b8cbdc6a
Karma to Jest: exporter
2018-06-13 15:15:36 +02:00
Marcus Efraimsson
2288e01752
Merge pull request #12169 from alexanderzobnin/feat-10796
...
Import dashboard to folder
2018-06-13 13:10:52 +02:00
Alexander Zobnin
25504e84ed
dashboard import to folder: minor fixes
2018-06-13 10:44:37 +03:00
Carl Bergquist
d3a3e7cfd1
Merge pull request #12222 from PrincipalsOffice/remove-QueryOptionsCtrl-references
...
removed QueryOptionsCtrl references
2018-06-13 09:34:02 +02:00
Daniel Lee
610a90b79a
Merge pull request #12231 from dehrax/12224-graph-tooltip
...
Karma to Jest: graph-tooltip
2018-06-12 16:32:14 +02:00
Tobias Skarhed
72ecf72c45
Mock core in jest-setup
2018-06-12 16:14:22 +02:00
Tobias Skarhed
d91e9ddd22
Convert tests from Karma to Jest
2018-06-12 13:54:07 +02:00
Patrick O'Carroll
0bb30b146c
save-modal save button ( #12047 )
...
Disable save dashboard button when saving
2018-06-12 11:54:50 +02:00
Tobias Skarhed
da9a28f37d
Karma to Jest: graph-tooltip
2018-06-11 15:59:20 +02:00
Jiang Ye
c92874875c
removed QueryOptionsCtrl references
2018-06-09 16:06:03 -04:00
ryan
0a3ec93347
use ng-if
2018-06-08 15:49:30 +02:00
David Kaltschmidt
ab76864e61
hot-fix ifql testdatasource()
2018-06-08 14:56:48 +02:00
Patrick O'Carroll
77403b0dc1
changed som variables to values so it's the same for dark and light theme, added special styling for login text, link and input ( #12196 )
2018-06-07 11:03:58 -07:00
Patrick O'Carroll
25f2960717
fixed so panel title doesn't wrap and ( #12142 )
...
dashboard: fix so panel titles doesn't wrap
2018-06-07 16:20:55 +02:00
Alexander Zobnin
24f6d34abd
graph: fix legend decimals precision calculation
2018-06-07 16:02:44 +03:00
Ryan McKinley
1f32871f70
Use Passive eventListener for 'wheel' ( #12106 )
...
* make wheel passive
* remove console
2018-06-07 03:41:50 -07:00
Marcus Efraimsson
3fb4eb7322
Merge pull request #12175 from grafana/davkal/12168-fix-explore-setting
...
Respect explore settings in config ini
2018-06-07 12:08:42 +02:00
ryan
09dbb52423
Merge remote-tracking branch 'grafana/master' into focus-panel-search
...
* grafana/master:
nicer collapsed row behaviour (#12186 )
remove DashboardRowCtrl (#12187 )
Annotations support for ifql datasource
Template variable support for ifql datasource
Query helpers for IFQL datasource
2018-06-07 10:31:46 +02:00
David
82ae7c6eee
Merge pull request #12167 from grafana/davkal/ifql-helpers
...
Query helpers, Annotations, and Template Variables for IFQL datasource
2018-06-07 10:24:21 +02:00
Ryan McKinley
17a2ce13f0
nicer collapsed row behaviour ( #12186 )
...
* nicer collapsed row behavior
* don't block events
* use a div to toggle
* use singular name
2018-06-06 21:58:42 -07:00
Ryan McKinley
415ad8fbf3
remove DashboardRowCtrl ( #12187 )
2018-06-06 21:57:30 -07:00
ryan
c71608aae8
add panel on enter
2018-06-07 03:08:39 +02:00
ryan
37c45a81a9
autoFocus the search filter
2018-06-07 02:48:54 +02:00
David Kaltschmidt
cdba2bd184
Annotations support for ifql datasource
2018-06-06 16:11:40 +02:00
Alexander Zobnin
8fd3015e52
dashboard: improve import UX for non-editor users
...
validate folderId, import only into available folders
2018-06-06 15:35:19 +03:00
David Kaltschmidt
2c86484e54
Template variable support for ifql datasource
...
* Implements findMetricQuery()
* Macros for template queries: measurements(), tags(), tag_values(),
field_keys()
* Tests for macro expansion
2018-06-06 14:11:48 +02:00
Alexander Zobnin
9460063ab5
show import menu in sidenav, dashboard search and manage dashboards page
...
if user has editor permissions for at least one folder
2018-06-06 13:55:00 +03:00
David Kaltschmidt
3bd58446d6
Fix metrics panel test by adding config mock
2018-06-06 11:15:24 +02:00
David Kaltschmidt
661503f828
Respect explore settings in config ini
...
Previous explore restrictions only took permissions into consideration.
* add `exploreEnabled` to global settings
* only bind `x` if enabled
* only show explore in panel menu if enabled
2018-06-06 10:50:47 +02:00
Alexander Zobnin
4ff4ac1d5f
dashboard: import into current folder from manage folder page
2018-06-05 20:01:48 +03:00
Alexander Zobnin
393f41cd14
dashboard: add Import button to manage page
2018-06-05 19:37:47 +03:00
Alexander Zobnin
4063ae37a4
dashboard: import to folder
2018-06-05 19:23:09 +03:00
David Kaltschmidt
d7379912c1
Query helpers for IFQL datasource
...
* raw CSV preview next to query field (query inspector is not that
useful here)
* added result table and record counts
2018-06-05 17:15:35 +02:00
David
45a156577c
Merge pull request #12143 from grafana/davkal/ifql-datasource
...
InfluxDB IFQL datasource (beta)
2018-06-05 14:23:21 +02:00
David Kaltschmidt
64f5874778
Remove round-robin urls in ifql DS
2018-06-05 13:49:35 +02:00
David Kaltschmidt
1d587450b3
IFQL range variable expansion
2018-06-05 13:42:32 +02:00
Marcus Efraimsson
38c94bb633
Merge pull request #12117 from grafana/11525-dashlist-folder-picker
...
Fix search by folder in dashboard list panel
2018-06-04 18:08:38 +02:00
Torkel Ödegaard
9e59751c07
fix: fixed problem with expanding access mode help in ds settings
2018-06-04 18:05:16 +02:00
Patrick O'Carroll
d650dc94c9
fixed so default is all and general only show dashboards
2018-06-04 17:25:20 +02:00
Patrick O'Carroll
937b26f3fd
added s to folderId in params
2018-06-04 16:28:24 +02:00
Patrick O'Carroll
89238b4a04
renamed variable in tests
2018-06-04 16:23:36 +02:00
Patrick O'Carroll
b122f53085
added comment, variableChange -> variableValueChange
2018-06-04 16:23:36 +02:00
Patrick O'Carroll
609b0fa498
added a test
2018-06-04 16:23:36 +02:00
Patrick O'Carroll
5e484e8393
added if to check if new variable has been added
2018-06-04 16:23:36 +02:00
Marcus Efraimsson
6281910591
Merge pull request #12037 from grafana/login-change-password
...
change admin password after first login
2018-06-04 16:21:45 +02:00
David
b5c53aae97
Merge pull request #12108 from grafana/davkal/12001-explore-permissions
...
Restrict Explore UI to Editor and Admin roles
2018-06-04 16:01:39 +02:00
Patrick O'Carroll
cb6c6c8172
change admin password after first login
2018-06-04 16:01:09 +02:00
Torkel Ödegaard
829af9425f
revert: reverted singlestat panel position change PR #12004
2018-06-04 15:45:29 +02:00
David Kaltschmidt
08ee1da6b1
InfluxDB IFQL datasource
2018-06-04 12:24:47 +02:00
Torkel Ödegaard
feb5e20779
datasource: added option no-direct-access to ds-http-settings diretive, closes #12138
2018-06-04 11:17:50 +02:00
Marcus Efraimsson
b6afe5f2e8
Merge pull request #11380 from WPH95/feature/add_es_alerting
...
elasticsearch: alerting support
2018-06-01 15:17:28 +02:00
Patrick O'Carroll
0c269d64d0
Alert panel filters ( #11712 )
...
alert list panel: filter alerts by name, dashboard, folder, tags
2018-06-01 14:36:40 +02:00
Marcus Efraimsson
28f0acd854
Merge branch 'master' into feature/add_es_alerting
2018-05-31 16:33:07 +02:00
Patrick O'Carroll
37f9bdfc8c
save modal ux improvements ( #11822 )
...
changes to save modal when saving an updated dashboard
Changed time range and variables are now not saved by default,
you'll need to actively choose if you want to save updated time
range and or variables.
2018-05-31 15:40:57 +02:00
Marcus Efraimsson
a1b20bf69a
Merge pull request #12092 from grafana/11515_import_uid
...
Validate uid when importing dashboards
2018-05-31 15:18:24 +02:00
Marcus Efraimsson
d2296d332e
Merge pull request #12107 from grafana/davkal/11771-hide-gridcontrols
...
Fix CSS to hide grid controls in fullscreen/low-activity views
2018-05-30 21:29:24 +02:00
Patrick O'Carroll
b894b5e669
Fix singlestat threshold tooltip ( #12109 )
...
fix singlestat threshold tooltip
2018-05-30 18:09:57 +02:00
David Kaltschmidt
827fb7e8de
Fix karma tests that rely on MetricsPanelCtrl
2018-05-30 15:24:47 +02:00
David Kaltschmidt
7224ca6c62
Fix panel menu test
2018-05-30 13:24:09 +02:00
David Kaltschmidt
f69654fcd5
Restrict Explore UI to Editor and Admin roles
...
Access is restricted via not showing in the following places:
* hide from sidemenu
* hide from panel header menu
* disable keybinding `x`
Also adds a `roles` property to reactContainer routes that will be
checked if `roles` is set, and on failure redirects to `/`.
2018-05-30 13:13:29 +02:00
David
7a3c1e162c
Merge pull request #11942 from grafana/davkal/design-integration
...
Explore: Time selector, split view, design integration
2018-05-30 12:27:24 +02:00
David Kaltschmidt
ac1dda3b3a
Fix CSS to hide grid controls in fullscreen/low-activity views
...
* there was a comma missing to hide the handles, fixed now
* added new styles to hide header interaction in full screen panels
2018-05-30 12:07:51 +02:00
David
40844614bf
Merge pull request #12096 from grafana/davkal/11446-fix-systemjs-cachebust
...
Fix cache busting for systemjs imports for plugins
2018-05-30 10:05:46 +02:00
Kim Christensen
48fc5edda1
Support InfluxDB count distinct aggregation ( #11658 )
...
influxdb: support count distinct aggregation
2018-05-30 09:22:16 +02:00
Carl Bergquist
813a9a975f
Merge pull request #12090 from grafana/11858_create_dashboard_link
...
Show create dashboard link if at least editor in one folder
2018-05-29 17:18:41 +02:00
David
9b9e3962c5
Merge pull request #12072 from grafana/davkal/12024-fix-alignment
...
Changed Prometheus interval-alignment to cover whole panel range
2018-05-29 15:03:06 +02:00
Marcus Efraimsson
048ac3089b
Merge branch 'master' into feature/add_es_alerting
2018-05-29 14:36:52 +02:00
Torkel Ödegaard
6e145ad32d
Merge branch 'master' of github.com:grafana/grafana
2018-05-29 14:11:36 +02:00
Torkel Ödegaard
4c9b146bda
PR: minor change to PR #12004 before merge
2018-05-29 14:11:05 +02:00
Marcus Efraimsson
2c8571a686
Merge pull request #12089 from bergquist/graphite_header
...
graphite: avoid distributed tracing headers in direct/browser mode
2018-05-29 14:07:18 +02:00
Torkel Ödegaard
249e682511
Merge branch 'master' of https://github.com/mammuthus/grafana
2018-05-29 14:04:54 +02:00
Torkel Ödegaard
be34417b3a
fix: refactoring PR #11996 and fixing issue #11551 16706hashkey in json editors
2018-05-29 14:02:52 +02:00
Torkel Ödegaard
634a26d2eb
Merge branch 'remove_hash' of https://github.com/eMerzh/grafana
2018-05-29 13:25:44 +02:00
Torkel Ödegaard
ddd5e5ae70
tech: updated react-grid-layout to latest official release, closes #12100
2018-05-29 13:23:07 +02:00
David Kaltschmidt
8bcd55d221
Fix cache busting for systemjs imports for plugins
...
* everything imported via systemjs in the path `plugin/` will get a
timestamp appended for cache busting
* timestamp is set once on page load
* plugin css loader gets cache buster too
2018-05-29 12:01:10 +02:00
Marcus Efraimsson
7c3e8afd82
add validation of uid when importing dashboards
2018-05-28 22:34:40 +02:00
Brice Maron
01f80950de
fix: add track by name in annotation list to avoid $$hashKey in json
2018-05-28 21:11:32 +02:00
Marcus Efraimsson
7548d6f6d1
Show create dashboard link if at least editor in one folder
2018-05-28 20:37:39 +02:00
bergquist
e708e9ac3c
graphite: avoid dtracing headers in direct mode
...
closes #11494
2018-05-28 20:35:19 +02:00
Marcus Efraimsson
7cb0403faa
elasticsearch: handle if alert query contains template variable
...
If datasource handles targetContainsTemplate function it can evaluate if a certain
query contains template variables and this is used for show an error message that
template variables not is supported in alert queries.
2018-05-28 19:45:18 +02:00
Marcus Efraimsson
e5e1683840
Merge branch 'master' into feature/add_es_alerting
2018-05-28 18:10:34 +02:00
Ryan McKinley
17b9609209
Sparklines should scale to the data range ( #12010 )
...
* Add a full range option to sparklines
* line zero=false
2018-05-28 16:30:44 +02:00
Mitsuhiro Tanda
e65cf5cbb5
fix directly specified variable rendering
2018-05-28 11:28:08 +09:00
Daniel Lee
de295af231
Merge pull request #12003 from mageo/master
...
Added Swiss franc currency
2018-05-28 01:13:21 +02:00
David Kaltschmidt
750ea9bbdd
Changed Prometheus interval-alignment to cover whole panel range
...
* the existing query date alignment shifts the range forward to match
a multiple epoch of the interval, but keeps the range length the same,
the result is that the start date is shifted forward as well, leaving a
gap in the graph (or a zero-line when null-as-zero was set, issue #12024 )
* this pr extends the aligned range to cover the original start date as
well
2018-05-25 16:46:38 +02:00
David Kaltschmidt
448b1cbc15
Integrated dark theme for explore UI
2018-05-25 12:51:27 +02:00
balyn
fac0333f47
The old code for centering removed
...
Old code removed
2018-05-24 19:35:04 +03:00
Torkel Ödegaard
80d694d205
Backend image rendering as plugin ( #11966 )
...
* rendering: headless chrome progress
* renderer: minor change
* grpc: version hell
* updated grpc libs
* wip: minor progess
* rendering: new image rendering plugin is starting to work
* feat: now phantomjs works as well and updated alerting to use new rendering service
* refactor: renamed renderer package and service to rendering to make renderer name less confusing (rendering is internal service that handles the renderer plugin now)
* rendering: now render key is passed and render auth is working in plugin mode
* removed unneeded lines from gitignore
* rendering: now plugin mode supports waiting for all panels to complete rendering
* fix: LastSeenAt fix for render calls, was not set which causes a lot of updates to Last Seen at during rendering, this should fix sqlite db locked issues in seen in previous releases
* change: changed render tz url parameter to use proper timezone name as chrome does not handle UTC offset TZ values
* fix: another update to tz param generation
* renderer: added http mode to renderer service, new ini setting [rendering] server_url
2018-05-24 15:26:27 +02:00