Marcus Efraimsson
715c82b67b
Merge pull request #12740 from grafana/unused-class-from-deletebutton
...
removed unused class from the deletebutton pr
2018-07-27 14:13:41 +02:00
Marcus Efraimsson
02ba467bf1
Merge pull request #12730 from marefr/sql_refactor
...
SQL datasources - backend refactor
2018-07-27 14:13:19 +02:00
Sven Klemm
ad26a319c5
refactor schema query generation
2018-07-27 14:02:12 +02:00
Patrick O'Carroll
971e52ecc9
removed unused class from the deletebutton pr
2018-07-27 13:48:14 +02:00
Patrick O'Carroll
1bb5a57036
frontend part with mock-team-list
2018-07-27 13:45:16 +02:00
Tobias Skarhed
55111c801f
Update test for local time
2018-07-27 13:41:07 +02:00
Marcus Efraimsson
b4ac3f2379
update devenv datasources and dashboards for sql datasources
2018-07-27 13:33:50 +02:00
Tobias Skarhed
67c613a45a
Begin conversion
2018-07-27 13:29:57 +02:00
Marcus Efraimsson
e43feb7bfa
use const for rowlimit in sql engine
2018-07-27 13:21:40 +02:00
Marcus Efraimsson
0550ec6de1
Merge pull request #12665 from grafana/9863-animated-delete-button
...
built a component for delete button in tables
2018-07-27 12:37:53 +02:00
Sven Klemm
734118de86
Merge remote-tracking branch 'upstream/master' into postgres-query-builder
2018-07-27 11:52:38 +02:00
Tobias Skarhed
bff7a29356
Cleanup
2018-07-27 11:34:14 +02:00
Tobias Skarhed
3d21e42aac
Remove Karma file
2018-07-27 11:30:37 +02:00
Tobias Skarhed
47da3e3ae8
All tests passing
2018-07-27 11:28:16 +02:00
Tobias Skarhed
675a031b6c
All except one passing
2018-07-27 11:04:01 +02:00
Sven Klemm
97f24733f5
remove tableschema from query builder ui
2018-07-27 10:58:08 +02:00
Marcus Efraimsson
48e5e65c73
changelog: add notes about closing #12731
...
[skip ci]
2018-07-27 10:33:06 +02:00
Marcus Efraimsson
13fa3a8378
Merge pull request #12734 from grafana/12731_fix_index_pattern
...
elasticsearch: fix index patterns
2018-07-27 10:22:02 +02:00
Marcus Efraimsson
ab8fa0de74
elasticsearch: support reversed index patterns
...
Now both [index-]pattern and pattern[-index] are supported
2018-07-26 21:39:02 +02:00
Marcus Efraimsson
318b8c5a23
update devenv datasources and dashboards for sql datasources
...
Removed dashboards from docker blocks
2018-07-26 18:12:00 +02:00
Marcus Efraimsson
4f7882cda2
mssql: use new sql engine
2018-07-26 18:11:10 +02:00
Marcus Efraimsson
27db454012
mysql: use new sql engine
2018-07-26 18:10:45 +02:00
Marcus Efraimsson
2f3851b915
postgres: use new sql engine
2018-07-26 18:10:17 +02:00
Marcus Efraimsson
d42cea5d42
refactor sql engine to make it hold all common code for sql datasources
2018-07-26 18:09:42 +02:00
Tobias Skarhed
fc06f8bfe7
Pass more tests
2018-07-26 17:22:15 +02:00
David
7699451d94
Refactor Explore query field ( #12643 )
...
* Refactor Explore query field
- extract typeahead field that only contains logic for the typeahead
mechanics
- renamed QueryField to PromQueryField, a wrapper around TypeaheadField
that deals with Prometheus-specific concepts
- PromQueryField creates a promql typeahead by providing the handlers
for producing suggestions, and for applying suggestions
- The `refresher` promise is needed to trigger a render once an async
action in the wrapper returns.
This is prep work for a composable query field to be used by Explore, as
well as editors in datasource plugins.
* Added typeahead handling tests
- extracted context-to-suggestion logic to make it testable
- kept DOM-dependent parts in main onTypeahead funtion
* simplified error handling in explore query field
* Refactor query suggestions
- use monaco's suggestion types (roughly), see
https://github.com/Microsoft/monaco-editor/blob/f6fb545/monaco.d.ts#L4208
- suggest functions and metrics in empty field (ctrl+space)
- copy and expand prometheus function docs from prometheus datasource
(will be migrated back to the datasource in the future)
* Added prop and state types, removed unused cwrp
* Split up suggestion processing for code readability
2018-07-26 15:04:12 +03:00
Tobias Skarhed
88e91b3f51
Begin conversion
2018-07-26 10:44:40 +02:00
David
1db2e869c5
Merge pull request #12718 from grafana/davkal/ts-options
...
Add tslib to TS compiler
2018-07-26 10:41:14 +02:00
Marcus Efraimsson
751f68ab47
Merge pull request #12723 from dehrax/12224-variable-srv
...
Karma to Jest: variable_srv_init
2018-07-26 10:32:14 +02:00
Tobias Skarhed
35cc85bfcc
All tests passing. Remove Karma test.
2018-07-26 09:36:46 +02:00
Tobias Skarhed
931b944cdd
Almost all tests passing
2018-07-25 17:38:45 +02:00
David Kaltschmidt
84e431d377
Add tslib to TS compiler
...
- using tslib reduces bundle sizes
- add compiler option for easier default imports of CJS modules
- remove double entry of fork-ts-checker-plugin
- speed up hot reload by using exprimental ts-loader API
2018-07-25 17:06:44 +02:00
Marcus Efraimsson
48d9b37559
Merge pull request #12693 from dehrax/docs-prom-queryvars
...
Docs: Prometheus template query variables
2018-07-25 16:32:08 +02:00
Marcus Efraimsson
0f99e624b6
docs: using interval and range variables in prometheus
...
Included example usages
2018-07-25 16:20:00 +02:00
Tobias Skarhed
7d51c15240
Two passing tests
2018-07-25 16:15:03 +02:00
Josh Dadak
c4308fedea
Update Configuration.md
...
Perhaps not worded as best it could be, however it would be good to include some information here about the importance of having your Grafana SERVER_ROOT_URL being the same URL listed in your Return URLs in Azure Application. Otherwise Azure Active Directory Auth will not work correctly resulting in an error page being displayed.
2018-07-25 14:02:36 +01:00
Tobias Skarhed
f350461206
Start conversion
2018-07-25 14:52:03 +02:00
Marcus Efraimsson
7e773e2d5e
changelog: add notes about closing #12533
...
[skip ci]
2018-07-25 14:14:25 +02:00
Marcus Efraimsson
9c40028d58
changelog: add notes about closing #12668
...
[skip ci]
2018-07-25 13:22:55 +02:00
Marcus Efraimsson
45762d04e3
changelog: update
...
[skip ci]
2018-07-25 11:55:34 +02:00
Marcus Efraimsson
5fbd8ada3c
changelog: add notes about closing #12668
...
[skip ci]
2018-07-25 11:54:51 +02:00
Marcus Efraimsson
81a041b50c
Merge pull request #12672 from grafana/12668-blue-in-light-theme
...
adjust table header contrast for the light theme
2018-07-25 11:49:45 +02:00
Patrick O'Carroll
df62282c11
fix for typeahead background, increased lighten
2018-07-25 11:27:43 +02:00
Patrick O'Carroll
f4ab432542
added position absolute and some flexbox so I could remov changes in display and setTimeout, added tests and types, did some renaming
2018-07-25 10:29:55 +02:00
Marcus Efraimsson
35920838aa
Merge pull request #12709 from mtanda/cw_404_err_fix
...
fix invalid reference
2018-07-25 09:13:52 +02:00
Mitsuhiro Tanda
055d208a32
fix invalid reference
2018-07-25 11:27:43 +09:00
Marcus Efraimsson
582652145f
minor fixes
2018-07-24 19:21:23 +02:00
Marcus Efraimsson
01ba973c86
Merge pull request #12707 from grafana/fix_failing_test
...
fix failing test due to time diff issues
2018-07-24 19:18:06 +02:00
Marcus Efraimsson
1dd9646a50
fix failing test due to time diff issues
2018-07-24 19:05:09 +02:00
Marcus Efraimsson
27b386c91d
Merge pull request #12706 from dehrax/12224-graphite-query-ctrl
...
Karma to Jest: graphite query_ctrl
2018-07-24 19:02:50 +02:00