grafana/pkg/middleware
Josh Hunt 138575cbe9
Config: Refactor frontend settings to struct (#61990)
* Config: Make frontend settings a struct rather than map

remove frontend settings to setting package

remove frontend settings struct to dtos package

rearrange structs to avoid cycles

rename getFrontendSettings fn

omitempty

fix login test

fix middleware test

* wip some enterprise types

* cleanup, moved structs from enterprise

* ci
2023-01-31 19:14:15 +00:00
..
cookies Chore: Move ReqContext to contexthandler service (#62102) 2023-01-27 08:50:36 +01:00
csrf CSRF: Fix additional headers option (#50629) 2022-07-13 19:28:59 +01:00
auth_test.go Chore: Move ReqContext to contexthandler service (#62102) 2023-01-27 08:50:36 +01:00
auth.go Chore: Move ReqContext to contexthandler service (#62102) 2023-01-27 08:50:36 +01:00
csp.go Middleware: Add CSP Report Only support (#58074) 2022-11-16 17:11:26 +00:00
dashboard_redirect_test.go Chore: Remove endpoints that contain the slug field (#35104) 2021-06-03 16:20:13 +03:00
dashboard_redirect.go Chore: Move ReqContext to contexthandler service (#62102) 2023-01-27 08:50:36 +01:00
gziper.go Chore: replace macaron with web package (#40136) 2021-10-11 14:30:59 +02:00
logger_test.go Chore: Fix goimports grouping in other backend platform packages (#62422) 2023-01-30 08:26:42 +00:00
logger.go Chore: Move ReqContext to contexthandler service (#62102) 2023-01-27 08:50:36 +01:00
middleware_basic_auth_test.go Chore: Fix goimports grouping in other backend platform packages (#62422) 2023-01-30 08:26:42 +00:00
middleware_jwt_auth_test.go Chore: Fix goimports grouping in other backend platform packages (#62422) 2023-01-30 08:26:42 +00:00
middleware_test.go Config: Refactor frontend settings to struct (#61990) 2023-01-31 19:14:15 +00:00
middleware.go Chore: Move ReqContext to contexthandler service (#62102) 2023-01-27 08:50:36 +01:00
org_redirect_test.go Auth: Refactor auth package (#58920) 2022-11-18 09:56:06 +01:00
org_redirect.go UserService: use the UserService instead of calling sqlstore directly (#55745) 2022-09-27 07:58:49 -04:00
quota_test.go Auth: Refactor auth package (#58920) 2022-11-18 09:56:06 +01:00
quota.go Chore: Move ReqContext to contexthandler service (#62102) 2023-01-27 08:50:36 +01:00
recovery_test.go Chore: Move ReqContext to contexthandler service (#62102) 2023-01-27 08:50:36 +01:00
recovery.go Handle ioutil deprecations (#53526) 2022-08-10 15:37:51 +02:00
request_metrics.go Chore: Fix goimports grouping in other backend platform packages (#62422) 2023-01-30 08:26:42 +00:00
request_test.go metrics: add operation name used in metrics/tracing for middlewares (#53949) 2022-08-25 10:11:27 +02:00
request_tracing.go Instrumentation: Add api/health to the unnamed handlers (#55478) 2022-09-22 13:03:20 +03:00
testing.go Chore: Move ReqContext to contexthandler service (#62102) 2023-01-27 08:50:36 +01:00
validate_host.go Chore: Move ReqContext to contexthandler service (#62102) 2023-01-27 08:50:36 +01:00