Commit Graph

108 Commits (164242f5fd8fd8efa0e455ea70051f181cb1e09c)

Author SHA1 Message Date
Arve Knudsen 164242f5fd
Data sources: Don't fail if URL doesn't specify protocol (#24497) 6 years ago
Mario Trangoni 5116420e9a
Fix misspell issues (#23905) 6 years ago
Daniel Lee 52154b465b
dsproxy: adds support for url params for plugin routes (#23503) 6 years ago
Arve Knudsen 7d88018531
DataSourceProxy: Handle URL parsing error (#23731) 6 years ago
John McBride b017e437d8
Fix typo in oauth error (#23270) 6 years ago
Carl Bergquist 3fdd2648b1
Chore: Avoid aliasing importing models in api package (#22492) 6 years ago
Marcus Efraimsson e6cec8dbdc
Backend plugins: Prepare and clean request headers before resource calls (#22321) 6 years ago
Martin cffcc95be0
pkg/api/pluginproxy: Access token provider should handle access tokens without ExpiresOn field (#19928) 6 years ago
Carl Bergquist ff9556229a
Data proxy: Log proxy errors using Grafana logger (#22174) 6 years ago
Anthony Woods f56f54b1a3 Auth: Rotate auth tokens at the end of requests (#21347) 6 years ago
Marcus Efraimsson 3fc5f4552a CloudWatch: Fix high CPU load (#20579) 6 years ago
Marcus Efraimsson dfa2f3d2fb
Chore: Log actual error when oauth pass thru fails (#20419) 6 years ago
Weeco 8cd93f0b88 Datasource: Add custom headers on alerting queries (#19508) 6 years ago
Arve Knudsen 0a2d5e16dd
pkg/api: Check errors (#19657) 6 years ago
Oleg Gaidarenko caa1314f44
Build: use golangci-lint as a make command (#17739) 7 years ago
Maxim Ivanov 151fe240fc OAuth: Fix for wrong user token updated on OAuth refresh in DS proxy (#17541) 7 years ago
Mario Trangoni 87760d4fde Codestyle: Fix govet issues (#17178) 7 years ago
zhulongcheng 2fff8f77dc move log package to /infra (#17023) 7 years ago
Brian Gann b07d0b1026 Plugins: Support templated urls in routes (#16599) 7 years ago
Marcus Efraimsson e210725d3d
DataProxy: Restore Set-Cookie header after proxy request (#16838) 7 years ago
Andrej Ocenas 66f6e16916
Security: Store datasource passwords encrypted in secureJsonData (#16175) 7 years ago
Sean Lafferty b696492891 Rename dispatched commands to make them easy to grok 7 years ago
Andrej Ocenas 697a87b7b2 Add check so that header is not sent for anonymous users 7 years ago
Andrej Ocenas bbdc1c0e64 Add custom header with grafana user and a config switch for it 7 years ago
Sean Lafferty fcc18d8121 Change import path for social in the tests 7 years ago
Sean Lafferty 8d8119aa98 Change import path for social since it has moved 7 years ago
Sean Lafferty 7e62394d01 Add function in ds_proxy to handle oauthPassThru headers 7 years ago
Sean Lafferty 4324a7f51a Remove auth module from ds_proxy oauth test 7 years ago
Sean Lafferty 3b15e110a5 Get most recent oauth token from db, rather than lookup by auth_module 7 years ago
Marcus Efraimsson a1cd550df4
revert ds_proxy timeout and implement dataproxy timeout correctly 7 years ago
Sean Lafferty 5a59cdf0ef Add oauth pass-thru option for datasources 7 years ago
Mario Trangoni 8261613b51 pkg/util/{ip.go,url.go}: Fix some golint issues 7 years ago
Benjamin Reed 9108fd1b9d add global datasource proxy timeout setting 7 years ago
Brian Gann 02365514f9 redact value for plugin proxy routes 7 years ago
Kornelijus Survila 0cafd9a663 dataproxy: Override incoming Authorization header 7 years ago
Julien Pivotto 62417ca69f Remove Origin and Referer headers while proxying requests 7 years ago
Erik Sundell b02a8127ff stackdriver: remove debug comments 7 years ago
Erik Sundell afe0b4b8db stackdriver: fix typo 7 years ago
Erik Sundell b2c6c743ce stackdriver: add debug logging 7 years ago
Erik Sundell cd7b454e25 stackdriver: add default value for authentication type 7 years ago
Erik Sundell 823838a839 stackdriver: wip - remove debug code 7 years ago
Erik Sundell 2b1709b875 stackdriver: only get default token from metadata server when applying route 7 years ago
Erik Sundell ff5f281508 stackdriver: wip - get metric descriptors in the backend 7 years ago
Erik Sundell 60617d0bf7 stackdriver: wip - add logic for retrieving token from gce metadata server in the auth provider 7 years ago
Erik Sundell 3f9ed2efaa stackdriver: wip - temp remove jwt token auth 7 years ago
Erik Sundell b2de0d8c3e stackdriver: wip - always use gce default account for stackdriver 7 years ago
Erik Sundell 2002162073 stackdriver: wip - add scope and remove debug code 7 years ago
Erik Sundell df215d9d09 stackdriver: WIP - test retrieving project id from gce metadata 7 years ago
Mitsuhiro Tanda fbe0ffd10b skip jwt token auth if privateKey is empty 7 years ago
Mitsuhiro Tanda 43aa6603a3 fetch token from GCE metadata server 7 years ago