Commit Graph

37 Commits (8a46dc39d0f01d92075e7e20dae503dbeac16e9c)

Author SHA1 Message Date
Karl Persson 144e4887ee
Auth: Use authn.Service for all tests (#72921) 2 years ago
Karl Persson fef1e1d5bc
Auth: Refactor auth package (#58920) 3 years ago
Sofia Papagiannaki 9855e74b92
Chore: Refactor quota service (#58643) 3 years ago
Sofia Papagiannaki 96cdf77995
Revert "Chore: Refactor quota service (#57586)" (#58394) 3 years ago
Sofia Papagiannaki 326ea86a57
Chore: Refactor quota service (#57586) 3 years ago
Kristin Laemmert 05709ce411
chore: remove sqlstore & mockstore dependencies from (most) packages (#57087) 3 years ago
idafurjes a14621fff6
Chore: Add user service method SetUsingOrg and GetSignedInUserWithCacheCtx (#53343) 3 years ago
idafurjes 6afad51761
Move SignedInUser to user service and RoleType and Roles to org (#53445) 3 years ago
idafurjes 17ec9cac83
Add delete user from other services/stores (#51912) 3 years ago
Serge Zaitsev d153d896c5
Chore: Remove bus from contexthandler (#47374) 3 years ago
Yuriy Tseretyan d4ac1f0ce1
Update quota service to accept context (#45186) 3 years ago
idafurjes 923b62ecab
Chore: Remove bus from quota (#45143) 3 years ago
idafurjes 7936c4c522
Rename AddHandlerCtx to AddHandler (#43557) 3 years ago
idafurjes e6123bc3ef
Replace AddHandler with AddHandlerCtx in tests (#42585) 4 years ago
Armand Grillet 6523486122
Alerting: Make Unified Alerting enabled by default for those who do not use legacy alerting (#42200) 4 years ago
Serge Zaitsev 57fcfd578d
Chore: replace macaron with web package (#40136) 4 years ago
Sofia Papagiannaki 012d4f0905
Alerting: Remove `ngalert` feature toggle and introduce two new settings for enabling Grafana 8 alerts and disabling them for specific organisations (#38746) 4 years ago
Marcus Efraimsson 1e4a660ea7
Chore: Propagate context for quotas (#39205) 4 years ago
Carl Bergquist 4710566514
bus: add ctx for all signed in user queries (#33970) 4 years ago
Sofia Papagiannaki 540f110220
[Alerting]: Extend quota service to optionally set limits on alerts (#33283) 4 years ago
Arve Knudsen dd2d206d99
Backend: Remove more globals (#29644) 5 years ago
Arve Knudsen 4e0ad50102
middleware: Make scenario test functions take a testing.T argument (#29564) 5 years ago
Arve Knudsen 58dbf96a12
Middleware: Rewrite tests to use standard library (#29535) 5 years ago
Arve Knudsen 41d432b5ae
Chore: Enable whitespace linter (#25903) 5 years ago
Carl Bergquist f2f2722bb1
chore: avoid aliasing models in middleware (#22484) 5 years ago
Carl Bergquist 9660356638
Auth: Enable retries and transaction for some db calls for auth tokens (#16785) 6 years ago
Oleg Gaidarenko 67cbc7d4cf
Chore: use remote cache instead of session storage (#16114) 6 years ago
Marcus Efraimsson 8029e48588
support get user tokens/revoke all user tokens in UserTokenService 6 years ago
bergquist e163aadfe4 use authtoken for session quota restrictions 6 years ago
Marcus Efraimsson 8678620730
move UserToken and UserTokenService to models package 6 years ago
Marcus Efraimsson a60124a88c
change UserToken from interface to struct 6 years ago
Marcus Efraimsson d53e64a32c
move auth token middleware/hooks to middleware package 6 years ago
Marcus Efraimsson 59d0c19ba8
passing middleware tests 6 years ago
Dan Cech c0ecdee375
rename Context to ReqContext 7 years ago
Dan Cech 338655dd37
move Context and session out of middleware 7 years ago
Torkel Ödegaard 5e949b0564 fix(quota): fixed failing quota unit tests 10 years ago
woodsaj 1ad10914ce add quota middleware unittests 10 years ago