grafana/pkg/middleware
idafurjes 6c43eb0b4d
Split Create User (#50502)
* Split Create User

* Use new create user and User from package user

* Add service to wire

* Making create user work

* Replace user from user pkg

* One more

* Move Insert to orguser Service/Store

* Remove unnecessary conversion

* Cleaunp

* Fix Get User and add fakes

* Fixing get org id for user logic, adding fakes and other adjustments

* Add some tests for ourguser service and store

* Fix insert org logic

* Add comment about deprecation

* Fix after merge with main

* Move orguser service/store to org service/store

* Remove orguser from wire

* Unimplement new Create user and use User from pkg user

* Fix wire generation

* Fix lint

* Fix lint - use only User and CrateUserCommand from user pkg

* Remove User and CreateUserCommand from models

* Fix lint 2
2022-06-28 14:32:25 +02:00
..
cookies Backend: Remove more globals (#29644) 2020-12-15 19:09:04 +01:00
csrf API: Migrate CSRF to service and support additional options (#48120) 2022-06-02 15:52:30 +02:00
auth_test.go Chore: Remove bus from contexthandler (#47374) 2022-04-06 16:31:26 +02:00
auth.go sqlstore split: dashboard permissions (#49962) 2022-06-01 14:16:26 -04:00
csp.go Macaron: convert CSP middleware (#37672) 2021-08-10 09:03:22 +02:00
dashboard_public.go PublicDashboards: Frontend routing for public dashboards (#48834) 2022-06-02 14:57:55 -06: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_test.go Chore: sanitize values before being logged from request headers (#49245) 2022-05-23 14:18:33 -03:00
logger.go Chore: sanitize values before being logged from request headers (#49245) 2022-05-23 14:18:33 -03:00
middleware_basic_auth_test.go Split Create User (#50502) 2022-06-28 14:32:25 +02:00
middleware_jwt_auth_test.go Chore: Remove bus (#47511) 2022-04-08 16:15:06 +02:00
middleware_test.go Split Create User (#50502) 2022-06-28 14:32:25 +02:00
middleware.go Middleware: Don't require HTTPS for HSTS headers to be emitted (#35147) 2022-01-28 07:23:28 +01:00
org_redirect_test.go Chore: Remove bus (#47511) 2022-04-08 16:15:06 +02:00
org_redirect.go Chore: Remove bus from contexthandler (#47458) 2022-04-08 10:33:19 +02:00
quota_test.go Chore: Remove bus from contexthandler (#47374) 2022-04-06 16:31:26 +02:00
quota.go Chore: Remove bus from quota (#45143) 2022-02-10 12:42:06 +01:00
rate_limit_test.go fix status code 200 (#47818) 2022-04-15 08:01:58 -04:00
rate_limit.go Chore: replace macaron with web package (#40136) 2021-10-11 14:30:59 +02:00
recovery_test.go Chore: Remove bus (#47511) 2022-04-08 16:15:06 +02:00
recovery.go Chore: Fix log filters (#44681) 2022-02-03 23:20:02 +08:00
request_metrics.go Instrumentation: Define handlers for requests that are not handled with named handlers (#50613) 2022-06-14 07:58:20 +02:00
request_test.go Instrumentation: Define handlers for requests that are not handled with named handlers (#50613) 2022-06-14 07:58:20 +02:00
request_tracing.go Instrumentation: Define handlers for requests that are not handled with named handlers (#50613) 2022-06-14 07:58:20 +02:00
testing.go Chore: Remove bus from authproxy (#46936) 2022-03-30 17:01:24 +02:00
validate_host.go Chore: replace macaron with web package (#40136) 2021-10-11 14:30:59 +02:00