Commit Graph

176 Commits (788fde7ead34aa04da09a84684c5bc63045aa95f)

Author SHA1 Message Date
Victor Cinaglia 967e9b39e8
Fix panic when using complex dynamic URLs in app plugin routes (#27977) 5 years ago
Arve Knudsen fbf0d2c086
Plugin proxy: Handle URL parsing errors (#29093) 5 years ago
Arve Knudsen e503188b6f
Data source proxy: Convert 401 from data source to 400 (#28962) 5 years ago
Arve Knudsen cb62e69997
Chore: Convert API tests to standard Go lib (#29009) 5 years ago
Arve Knudsen 3d3a7cbba8
Chore: Fix staticcheck issues (#28860) 5 years ago
Bill Oley b3a868169b
OAuth: Support Forward OAuth Identity for backend data source plugins (#27055) 5 years ago
Arve Knudsen 4084b53f91
plugins: Don't exit on duplicate plugin (#28390) 5 years ago
Arve Knudsen a5d9196a53
Chore/fix lint issues (#27704) 5 years ago
Domas 564d7ecea7
DataProxy: Ignore empty URL's in plugin routes (#27653) 5 years ago
Bill Oley 19caa100dc
OAuth: Fix token refresh failure when custom SSL settings are configured for OAuth provider (#27523) 5 years ago
Sean Lafferty 900eb8070e
Proxy: Fix updating refresh token in OAuth pass-thru (#26885) 5 years ago
Arve Knudsen 4c56eb3991
Chore: Enable goprintffuncname and nakedret linters (#26376) 5 years ago
Arve Knudsen d4e4cb4c71
Chore: Enable Go linter gocritic (#26224) 5 years ago
Arve Knudsen 41d432b5ae
Chore: Enable whitespace linter (#25903) 5 years ago
Arve Knudsen 3651a8e976
Chore: Disable scopelint for tests (#25923) 5 years ago
Arve Knudsen d1e6214a4a
Chore: Enable scopelint Go linter (#25896) 5 years ago
Arve Knudsen d352c213b3
API: Recognize MSSQL data source URLs (#25629) 5 years ago
Robbert Gurdeep Singh 034abaa73a
Security: Use Header.Set and Header.Del for X-Grafana-User header (#25495) 5 years ago
Arve Knudsen 164242f5fd
Data sources: Don't fail if URL doesn't specify protocol (#24497) 5 years ago
Mario Trangoni 5116420e9a
Fix misspell issues (#23905) 5 years ago
Daniel Lee 52154b465b
dsproxy: adds support for url params for plugin routes (#23503) 5 years ago
Arve Knudsen 7d88018531
DataSourceProxy: Handle URL parsing error (#23731) 5 years ago
John McBride b017e437d8
Fix typo in oauth error (#23270) 5 years ago
Carl Bergquist 3fdd2648b1
Chore: Avoid aliasing importing models in api package (#22492) 5 years ago
Marcus Efraimsson e6cec8dbdc
Backend plugins: Prepare and clean request headers before resource calls (#22321) 5 years ago
Martin cffcc95be0
pkg/api/pluginproxy: Access token provider should handle access tokens without ExpiresOn field (#19928) 5 years ago
Carl Bergquist ff9556229a
Data proxy: Log proxy errors using Grafana logger (#22174) 5 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) 6 years ago
Maxim Ivanov 151fe240fc OAuth: Fix for wrong user token updated on OAuth refresh in DS proxy (#17541) 6 years ago
Mario Trangoni 87760d4fde Codestyle: Fix govet issues (#17178) 6 years ago
zhulongcheng 2fff8f77dc move log package to /infra (#17023) 6 years ago
Brian Gann b07d0b1026 Plugins: Support templated urls in routes (#16599) 6 years ago
Marcus Efraimsson e210725d3d
DataProxy: Restore Set-Cookie header after proxy request (#16838) 6 years ago
Andrej Ocenas 66f6e16916
Security: Store datasource passwords encrypted in secureJsonData (#16175) 6 years ago
Sean Lafferty b696492891 Rename dispatched commands to make them easy to grok 6 years ago
Andrej Ocenas 697a87b7b2 Add check so that header is not sent for anonymous users 6 years ago
Andrej Ocenas bbdc1c0e64 Add custom header with grafana user and a config switch for it 6 years ago
Sean Lafferty fcc18d8121 Change import path for social in the tests 6 years ago
Sean Lafferty 8d8119aa98 Change import path for social since it has moved 6 years ago
Sean Lafferty 7e62394d01 Add function in ds_proxy to handle oauthPassThru headers 6 years ago
Sean Lafferty 4324a7f51a Remove auth module from ds_proxy oauth test 6 years ago
Sean Lafferty 3b15e110a5 Get most recent oauth token from db, rather than lookup by auth_module 6 years ago
Marcus Efraimsson a1cd550df4
revert ds_proxy timeout and implement dataproxy timeout correctly 6 years ago
Sean Lafferty 5a59cdf0ef Add oauth pass-thru option for datasources 6 years ago
Mario Trangoni 8261613b51 pkg/util/{ip.go,url.go}: Fix some golint issues 7 years ago