grafana/pkg/middleware
Armand Grillet 6523486122
Alerting: Make Unified Alerting enabled by default for those who do not use legacy alerting (#42200)
* update AlertingEnabled and UnifiedAlertingSettings.Enabled to be pointers
* add a pseudo migration to fix the AlertingEnabled and UnifiedAlertingSettings.Enabled if the latter is not defined
* update the default configuration file to make default value for both 'enabled' flags be undefined

Misc
* update Migrator to expose DB engine. This is needed for a ualert migration to access the database while the list of migrations is created.
* add more verbose failure when migrations do not match

Co-authored-by: gotjosh <josue@grafana.com>
Co-authored-by: Yuriy Tseretyan <yuriy.tseretyan@grafana.com>
Co-authored-by: gillesdemey <gilles.de.mey@gmail.com>
2021-11-24 14:56:07 -05:00
..
cookies Backend: Remove more globals (#29644) 2020-12-15 19:09:04 +01:00
auth_test.go Profile: Fixes profile preferences being accessible when anonymous access was enabled (#31516) 2021-02-27 18:04:28 +01:00
auth.go Chore: Add context to team (#40504) 2021-10-18 14:02:39 +02:00
csp.go Macaron: convert CSP middleware (#37672) 2021-08-10 09:03:22 +02: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: Remove endpoints that contain the slug field (#35104) 2021-06-03 16:20:13 +03:00
gziper.go Chore: replace macaron with web package (#40136) 2021-10-11 14:30:59 +02:00
logger.go Packaging: Dependency updates (#40534) 2021-10-18 19:50:10 +02:00
middleware_basic_auth_test.go bus: add ctx for all signed in user queries (#33970) 2021-05-18 18:24:42 +02:00
middleware_jwt_auth_test.go bus: add ctx for all signed in user queries (#33970) 2021-05-18 18:24:42 +02:00
middleware_test.go Access control: allow using targetOrgId parameter to set organization ID for a request (#41761) 2021-11-17 16:11:56 +01:00
middleware.go Chore: replace macaron with web package (#40136) 2021-10-11 14:30:59 +02:00
org_redirect_test.go bus: add ctx for all signed in user queries (#33970) 2021-05-18 18:24:42 +02:00
org_redirect.go Chore: replace macaron with web package (#40136) 2021-10-11 14:30:59 +02:00
quota_test.go Alerting: Make Unified Alerting enabled by default for those who do not use legacy alerting (#42200) 2021-11-24 14:56:07 -05:00
quota.go Chore: replace macaron with web package (#40136) 2021-10-11 14:30:59 +02:00
rate_limit_test.go Chore: replace macaron with web package (#40136) 2021-10-11 14:30:59 +02:00
rate_limit.go Chore: replace macaron with web package (#40136) 2021-10-11 14:30:59 +02:00
recovery_test.go Chore: replace macaron with web package (#40136) 2021-10-11 14:30:59 +02:00
recovery.go Application: Make error-template title configurable (#40310) 2021-10-13 08:35:01 +02:00
request_metrics.go Packaging: Dependency updates (#40534) 2021-10-18 19:50:10 +02:00
request_tracing.go Chore: replace macaron with web package (#40136) 2021-10-11 14:30:59 +02:00
testing.go Chore: replace macaron with web package (#40136) 2021-10-11 14:30:59 +02:00
validate_host.go Chore: replace macaron with web package (#40136) 2021-10-11 14:30:59 +02:00