Benjamin Schweizer
bde4b76c16
based on encodeURIComponent() using strict RFC 3986 sub-delims
2019-01-22 15:09:58 +01:00
Benjamin Schweizer
8a09d84707
Merge branch 'master' of https://github.com/grafana/grafana
2019-01-22 11:20:56 +01:00
Hugo Häggmark
1faa5819a8
Initial commit
2019-01-15 17:15:46 +01:00
Torkel Ödegaard
71837fe137
Merge pull request #12681 from simPod/fix-variable-array-display
...
Fix array display from url
2018-12-19 14:34:21 +01:00
Torkel Ödegaard
f9110f7902
Merge branch 'master' into develop
2018-12-11 10:00:29 +01:00
AJ West
6c95acc837
Switch to global match for full browser support of escaped custom vars
2018-12-08 18:23:08 -05:00
AJ West
2b3d366f7c
Allow backslash escaping in custom variables
2018-12-08 17:31:05 -05:00
Erik Sundell
45fbbe8021
initialize empty variables array in constructor so that datasources can use the array in explore
2018-12-07 11:27:11 +01:00
Daniel Lee
4aeea56342
Merge pull request #14007 from grafana/stackdriver-template-query-editor
...
Stackdriver template query editor
2018-11-20 13:41:18 +01:00
Erik Sundell
7fc8ed942f
stackdriver: make sure object type queries are also checked for vtemplate variables
2018-11-20 12:30:31 +01:00
Erik Sundell
0ec4491a52
stackdriver: reimplementing service variable query type
2018-11-19 16:06:30 +01:00
Erik Sundell
2e0cbe75ee
stackdriver: use arrow functions
2018-11-13 11:06:08 +01:00
Erik Sundell
e698202fae
stackdriver: use new naming convention for query editor all over
2018-11-13 10:57:10 +01:00
Erik Sundell
1fe70721c9
stackdriver: persist template variable definition
2018-11-09 13:55:14 +01:00
Erik Sundell
588c5c045a
stackdriver: pass query definition from react, making it possible to use another definition than the query string only
2018-11-09 13:55:14 +01:00
Erik Sundell
4569527873
stackdriver: set currentdatasource when editview is enabled
2018-11-09 13:55:13 +01:00
Erik Sundell
3883643ea2
stackdriver: reset query value on datasource changed
2018-11-09 13:55:13 +01:00
Erik Sundell
042d156e5f
stackdriver: extend label width
2018-11-09 13:55:13 +01:00
Erik Sundell
7ccce76b80
stackdriver: return values for services and metric types
2018-11-09 13:55:08 +01:00
Erik Sundell
f0cba0b0d8
stackdriver: rename default component
2018-11-09 13:55:08 +01:00
Erik Sundell
149c649132
stackdriver: more renaming
2018-11-09 13:55:08 +01:00
Erik Sundell
4f7d3fccb7
stackdriver: make sure default template query editor state is propagted to parent angular scope
2018-11-09 13:53:44 +01:00
Erik Sundell
637b91ab8d
stackdriver: conditional template component rendering
2018-11-09 13:53:44 +01:00
Erik Sundell
94ac522109
stackdriver: make it possible to load react plugin components from template query page
2018-11-09 13:53:43 +01:00
Augustin Husson
2abf8a0e8b
don't drop the value when it equals to None
2018-11-08 16:23:40 +01:00
Johannes Schill
b880f8d548
Update the regex-matching in templateSrv to work with the new variable-syntax and be more flexible to regex-changes #13804
2018-10-24 13:29:03 +02:00
Johannes Schill
38c155403e
Move the variable regex to constants to make sure we use the same reg… ( #13801 )
2018-10-24 12:06:09 +02:00
Torkel Ödegaard
2107f88fc1
Merge pull request #13770 from ceh-forks/editor-duplicate-placeholder
...
ux: remove duplicate placeholder attribute
2018-10-23 15:52:33 +02:00
Johannes Schill
22a0f3cf94
fix: Text box variables with empty values should not be considered fa… ( #13791 )
...
* fix: text box template variable doesn't work properly without a default value
2018-10-23 14:05:10 +02:00
Emil Hessman
30baaa48fe
ux: remove duplicate placeholder attribute
2018-10-20 15:08:38 +02:00
Torkel Ödegaard
b95d64e7a0
fix: fixed variable srv tests
2018-10-19 11:14:02 +02:00
Torkel Ödegaard
11f66bb909
fixed issue with template refresh
2018-10-19 09:43:54 +02:00
Torkel Ödegaard
dddbe62d6c
Merge branch 'master' into react-panels-step1
2018-10-19 09:15:37 +02:00
Marcus Efraimsson
4b1a2d3b11
make sure to add all variable nodes to dag before linking variables
2018-10-12 14:15:44 +02:00
Torkel Ödegaard
7d44aacf4a
refactoring: slight changes to PR #13247
2018-09-27 14:50:14 +02:00
Torkel Ödegaard
f2307f92de
Merge branch 'text_variable-3173' of https://github.com/daldoyle/grafana into daldoyle-text_variable-3173
2018-09-27 14:36:37 +02:00
David Kaltschmidt
1a38c45dde
Hotfix for Explore (empty page after running query)
...
Since #13212 adhoc filters are being gathered, in Explore the template
service has no variables set and then throws when iterating over them.
2018-09-14 16:09:43 +02:00
David
a5bcd4b8e4
Adhoc-filtering for prometheus dashboards ( #13212 )
...
* Basic adhoc-filtering support for prometheus
2018-09-12 18:10:57 +02:00
Dan Doyle
f0e905f3c9
First pass at a text based template var, getting feedback from devs
2018-09-12 13:17:15 +00:00
Patrick O'Carroll
72ab24f300
Changed functions to arrow functions for only-arrow-functions rule. ( #13131 )
2018-09-05 07:47:30 +02:00
Benjamin Schweizer
4bf8f80657
Merge remote-tracking branch 'upstream/master'
2018-09-04 17:42:15 +02:00
Marcus Efraimsson
7c88436a9b
Merge pull request #13133 from grafana/13132_query_variable
...
Fix error when new variables created but not yet added/saved
2018-09-04 17:25:08 +02:00
Patrick O'Carroll
0f326f18dc
changed functions to arrowfunctions for only-arrow-functions rule ( #13127 )
2018-09-04 15:55:41 +02:00
Marcus Efraimsson
1e74d7f20a
handle new variables created not yet added
2018-09-04 13:25:44 +02:00
Benjamin Schweizer
f4b29b5782
fixed testcase
2018-09-03 16:08:52 +02:00
Benjamin Schweizer
82554ffd67
Merge remote-tracking branch 'upstream/master'
2018-09-03 15:55:44 +02:00
Patrick O'Carroll
b8d82df97e
added no-angle-bracket-type-assertion rule and updatet files to follow rule ( #13115 )
2018-09-03 11:30:44 +02:00
Patrick O'Carroll
7837ee4466
Updated rules for variable name ( #13106 )
...
* updated rules for variable name and fixed files that didn't follow new rules
* fixed test so it uses new rule
* made exceptions to rule in interval_variable
2018-09-03 11:00:46 +02:00
Simon Podlipsky
e67d3df14c
Fix array display from url
2018-09-01 14:13:48 +02:00
Patrick O'Carroll
abbb6f933c
added jsdoc-format rule and fixed files that didn't follow new rule ( #13107 )
2018-08-31 16:40:43 +02:00