grafana/pkg
Oleg Gaidarenko 318182ccc9 Chore: refactor auth proxy (#16504)
* Chore: refactor auth proxy

Introduced the helper struct for auth_proxy middleware.
Added couple unit-tests, but it seems "integration" tests already cover
most of the code paths.

Although it might be good idea to test every bit of it, hm.
Haven't refactored the extraction of the header logic that much

Fixes #16147

* Fix: make linters happy
2019-04-16 14:09:18 +02:00
..
api build: partially replace gometalinter with golangci-lint (#16610) 2019-04-16 10:27:07 +02:00
bus bus: noop should still execute fn 2018-06-15 12:46:20 +02:00
cmd Chore: Implement revive (#16200) 2019-03-27 17:53:49 +01:00
components Security: Store datasource passwords encrypted in secureJsonData (#16175) 2019-04-15 11:11:17 +02:00
events feat(signup): progress on new sign up and email verification flow, #2353 2015-08-28 15:14:24 +02:00
extensions add gopkg.in/square/go-jose.v2 to dependencies, update github.com/hashicorp/yamux 2018-10-08 17:11:24 -04:00
infra build: partially replace gometalinter with golangci-lint (#16610) 2019-04-16 10:27:07 +02:00
log log phantomjs output even if it timeout and include orgId when render alert 2019-03-06 13:53:23 +01:00
login replace dep with go modules (#16017) 2019-04-16 12:00:55 +02:00
middleware Chore: refactor auth proxy (#16504) 2019-04-16 14:09:18 +02:00
models Security: Store datasource passwords encrypted in secureJsonData (#16175) 2019-04-15 11:11:17 +02:00
plugins replace dep with go modules (#16017) 2019-04-16 12:00:55 +02:00
registry add functionality to override service in registry 2018-10-30 13:37:30 +01:00
services build: partially replace gometalinter with golangci-lint (#16610) 2019-04-16 10:27:07 +02:00
setting Plugins: Unifying alpha state & options for all plugins (#16530) 2019-04-12 13:46:42 +02:00
tsdb CloudWatch: GetMetricData refactoring & fix label handling (#16383) 2019-04-15 17:55:07 +02:00
util Provisioning: Do not allow deletion of provisioned dashboards (#16211) 2019-04-10 13:29:10 +02:00