grafana/pkg/services/alerting
linoman 9b9c9e83dc
Replace signed in user for identity.requester (#73750)
* Make identity.Requester available at Context

* Clean pkg/services/guardian/guardian.go

* Clean guardian provider and guardian AC

* Clean pkg/api/team.go

* Clean ctxhandler, datasources, plugin and live

* Question: what to do with the UserDisplayDTO?

* Clean dashboards and guardian

* Remove identity.Requester from ReqContext

* Implement NewUserDisplayDTOFromRequester

* Fix tests

* Change status code numbers for http constants

* Upgrade signature of ngalert services

* log parsing errors instead of throwing error

* Fix tests and add logs

* linting
2023-08-28 12:04:36 -05:00
..
conditions Search v1: Add support for inherited folder permissions if nested folders are enabled (#63275) 2023-04-06 11:16:15 +03:00
models Chore: rename Id to ID in alert notification models (#62868) 2023-02-03 15:46:55 +01:00
notifiers Chore: rename Id to ID in alert notification models (#62868) 2023-02-03 15:46:55 +01:00
testdata DashboardSchema: Remove old unused legacy props style and timepicker.enable (#73879) 2023-08-28 12:18:17 +02:00
alerting_usage_test.go Chore: Rename Id to ID in alerting models (#62777) 2023-02-02 17:22:43 +01:00
alerting_usage.go Chore: Remove Result field from datasources (#63048) 2023-02-09 15:49:44 +01:00
engine_integration_test.go Secrets: Make the Migrator extensible (#67307) 2023-06-19 23:44:01 +02:00
engine_test.go Secrets: Make the Migrator extensible (#67307) 2023-06-19 23:44:01 +02:00
engine.go Chore: Split usagestats service (#65191) 2023-03-23 19:19:19 +02:00
eval_context_test.go chore: move alert-related models (#61716) 2023-01-23 08:19:25 -05:00
eval_context.go Chore: Remove Result field from datasources (#63048) 2023-02-09 15:49:44 +01:00
eval_handler_test.go Chore: Fix goimports grouping in alerting (#62424) 2023-01-30 09:55:35 +01:00
eval_handler.go Apply templating on alert notifications on OK state (#47355) 2022-04-13 17:04:10 -03:00
extractor_test.go Chore: clean up access control for data sources (#73010) 2023-08-21 14:26:49 +01:00
extractor.go Chore: clean up access control for data sources (#73010) 2023-08-21 14:26:49 +01:00
interfaces.go chore: move alert-related models (#61716) 2023-01-23 08:19:25 -05:00
models.go Replace signed in user for identity.requester (#73750) 2023-08-28 12:04:36 -05:00
notifier_test.go Chore: rename Id to ID in alert notification models (#62868) 2023-02-03 15:46:55 +01:00
notifier.go Chore: rename Id to ID in alert notification models (#62868) 2023-02-03 15:46:55 +01:00
reader.go Chore: Rename Id to ID in alerting models (#62777) 2023-02-02 17:22:43 +01:00
result_handler.go Rename Id to ID for annotation models (#62886) 2023-02-03 17:23:09 +01:00
rule_test.go Chore: rename Id to ID in alert notification models (#62868) 2023-02-03 15:46:55 +01:00
rule.go Chore: rename Id to ID in alert notification models (#62868) 2023-02-03 15:46:55 +01:00
scheduler.go chore: move alert-related models (#61716) 2023-01-23 08:19:25 -05:00
service_test.go Secrets: Make the Migrator extensible (#67307) 2023-06-19 23:44:01 +02:00
service.go Chore: rename Id to ID in alert notification models (#62868) 2023-02-03 15:46:55 +01:00
store_notification_test.go Chore: rename Id to ID in alert notification models (#62868) 2023-02-03 15:46:55 +01:00
store_notification.go Chore: rename Id to ID in alert notification models (#62868) 2023-02-03 15:46:55 +01:00
store_test.go Search v1: Remove unnecessary subqueries (#72388) 2023-08-02 10:39:25 +03:00
store.go PublicDashboards: Audit table pagination (#69823) 2023-06-21 10:48:09 -03:00
test_notification.go Chore: rename Id to ID in alert notification models (#62868) 2023-02-03 15:46:55 +01:00
test_rule.go Chore: Rename Id to ID in alerting models (#62777) 2023-02-02 17:22:43 +01:00