Alexander Zobnin
54f932e960
ace: fix error when getCompleter() wasn't passed
2017-08-26 12:48:37 +03:00
Alexander Zobnin
451ecce4ab
ace: styles tweak
2017-08-26 12:36:08 +03:00
Alexander Zobnin
ef162c3dc7
ace: minor css refactor
2017-08-26 12:14:45 +03:00
pdoan017
3eea5d235d
Added import for container/list
2017-08-24 15:42:54 -04:00
pdoan017
d6085755c4
Added series order according to query results
...
Raw query results would return as expected. But when appending new series to pointsBySeries map, order of keys is random. So I've added a list to keep track of series order. Should implement FIFO rules.
2017-08-24 15:38:36 -04:00
Alexander Zobnin
a0cb744746
ace: reduce docs lines width
2017-08-24 13:58:26 +03:00
Alexander Zobnin
dc7616e560
ace: prometheus functions docs
2017-08-24 13:56:22 +03:00
Alexander Zobnin
f7ec8e0de0
Merge branch 'master' into ace-editor
2017-08-24 12:37:18 +03:00
Torkel Ödegaard
47f8145246
Merge branch 'master' of github.com:grafana/grafana
2017-08-24 11:18:44 +02:00
Torkel Ödegaard
71c22fdbff
dataproxy: removed some logging, closes #9078
2017-08-24 11:18:06 +02:00
Torkel Ödegaard
71c9582944
data source with token auth is starting to work, #9078
2017-08-24 11:07:37 +02:00
Jason Stangroome
632a5e9b97
Support Azure MySQL ( #8618 )
...
Azure's MySQL implementation appears to always respond with an Authentication Method Switch Request Packet requesting `mysql_native_password` auth even though the client's initial Handshake Response already included the native password credentials.
Most MySQL client libraries support this but Golang's go-sql-driver/mysql requires the `allowNativePasswords` DSN parameter set to enable it. Without this parameter, Grafana fails to authenticate to the database with the error message "this user requires mysql native password authentication."
References:
* https://web.archive.org/web/20160814002743/http://dev.mysql.com/doc/internals/en/connection-phase-packets.html#packet-Protocol::AuthSwitchRequest
* https://web.archive.org/web/20160814002743/http://dev.mysql.com/doc/internals/en/connection-phase-packets.html#packet-Protocol::HandshakeResponse
* https://github.com/go-sql-driver/mysql#user-content-allownativepasswords
2017-08-24 10:24:10 +02:00
Torkel Ödegaard
3c9798bec9
datasource-proxy: token exchange
2017-08-23 17:18:43 +02:00
Daniel Lee
bf4ffe41b0
Merge branch 'v4.4.x'
2017-08-23 15:19:51 +02:00
Daniel Lee
e763104a6f
csv: add toggle for export to Excel
...
Adds back feature that adds 'sep=;' text that excel needs in a csv file.
Also adds toggle to make this optional if exporting to other spreadsheet
programs. Fixes #9083 .
2017-08-23 15:17:53 +02:00
Torkel Ödegaard
4f9fbcc211
dataproxy: added caching of datasources when doing data proxy requests, #9078
2017-08-23 13:31:26 +02:00
Torkel Ödegaard
bcb3dfac9f
Merge branch 'master' of github.com:grafana/grafana
2017-08-23 10:52:56 +02:00
Torkel Ödegaard
8bf49c51b9
dataproxy: refactoring data source proxy to support route templates and wrote more tests for data proxy code, #9078
2017-08-23 10:52:31 +02:00
jenlersadnie
0ba5706400
Fixing a minor typo under Selection Options ( #9082 )
...
Mulit => Multi
2017-08-23 08:50:22 +02:00
Torkel Ödegaard
63d6ab476a
feat: data source proxy refactoring and route handling, #9078
2017-08-22 17:14:15 +02:00
Daniel Lee
d19aa89ec0
docs: .ini file semicolon is comment
...
ref #7725
2017-08-21 21:28:49 +02:00
Daniel Lee
bbf9d7677b
Merge branch 'v4.4.x'
2017-08-21 21:05:43 +02:00
Daniel Lee
a31d0df897
shortcuts: fixes expand/collapse all rows
...
Fixes #9069
2017-08-21 21:04:20 +02:00
Daniel Lee
5c2958023d
Merge branch 'v4.4.x'
2017-08-21 13:45:04 +02:00
Daniel Lee
7b5019482e
mysqlds: add placeholder/typeahead for localhost connection strings
...
for the host field on the data source config page. Fixes #9046
2017-08-21 13:44:33 +02:00
Daniel Lee
649122b4fb
mysqlds: add placeholder/typeahead for localhost connection strings
...
for the host field on the data source config page. Fixes #9046
2017-08-21 13:43:09 +02:00
Torkel Ödegaard
e3bd51e38d
fix: remove duplicate set-cookie when logging in, fixes #9013
2017-08-21 11:10:59 +02:00
ericslaw
73f0bd3b4b
fix link to opentsdb templating ( #9039 )
2017-08-16 16:57:27 +02:00
Andrei Burd
3222677493
Datasource Print the received error ( #9043 )
2017-08-16 16:56:51 +02:00
Matt Toback
020aae1427
Updated Grafana.net to .com
2017-08-14 11:05:28 +02:00
Torkel Ödegaard
17cb3f6e6a
fix: graph fix for decimals, bug introduced by #61313478063b0e0721f204847f3c0298ea8f593f
2017-08-11 16:20:36 +02:00
Torkel Ödegaard
d4dd0222fa
fix: prometheus does not have two editor modes, fixes #9025
2017-08-11 12:33:56 +02:00
Daniel Lee
167995776f
docs: update to tag alias
...
ref #9024
2017-08-11 11:30:30 +02:00
Daniel Lee
02248273ae
mysqlds: remove alpha state from plugin.json
2017-08-11 10:25:37 +02:00
Daniel Lee
c4feef2541
docs: http api /users - corrections + adds missing method
2017-08-11 10:24:54 +02:00
Alexander Zobnin
776e6e2c3f
ace: redefine completions for prometheus and add initial docs for functions
2017-08-10 19:58:59 +03:00
Alexander Zobnin
679ddc9696
ace: example snippet for prometheus
2017-08-10 16:49:09 +03:00
Daniel Lee
b716a2595a
mysqlds: add support for key/value template variables
...
If the template variable query has two columns named __text and __value
then return a list of key values. The value is used when the variable is
interpolated in the query. Allows mapping of texts to ids.
2017-08-10 14:42:27 +02:00
Alexander Zobnin
d8d59fd8d4
ace: add custom behaviour for prometheus
2017-08-10 15:28:40 +03:00
Torkel Ödegaard
c7959ff06e
fix: Using table cell links and ad hoc filters together now works & looks correct, fixes #8052
2017-08-10 14:12:31 +02:00
Torkel Ödegaard
d2437d3cf1
fix: ad-hoc filters now works with data source variables, fixes #8052
2017-08-10 12:04:46 +02:00
Alexander Zobnin
b260a642e7
ace: fix broken karma tests (error loading ace.js )
2017-08-10 12:33:53 +03:00
Alexander Zobnin
e75b39376a
ace: minor refactor
2017-08-10 11:53:55 +03:00
Alexander Zobnin
6b5400bdb6
ace: fix loading text snippets error
2017-08-10 11:23:32 +03:00
Torkel Ödegaard
149e694ce6
ace: prometheus completion improvements
2017-08-10 10:08:09 +02:00
Torkel Ödegaard
0b2cc404ff
ace: working on editor completion stuff
2017-08-10 09:33:17 +02:00
Torkel Ödegaard
b9540e4c49
ace: minor ace theme tweaks
2017-08-09 21:12:15 +02:00
Daniel Lee
43fa852cc1
mysql: change logging from into to debug for scan
2017-08-09 19:33:09 +02:00
Daniel Lee
1105bb371f
mysqlds: adds support for template variables
...
Fixes #8855
2017-08-09 19:32:53 +02:00
Daniel Lee
59513ff963
tempvar: bug fix for duplicate template var
...
and a fix for when selecting the same value twice in
a template variable if it is not multi select. It threw an
exception on the second selection
2017-08-09 14:28:23 +02:00