Commit Graph

133 Commits (f0529430ff385b5ae839be34a1efa63a16415fab)

Author SHA1 Message Date
Ieva 1d1f58f0ed
Service accounts: fix usage of `errutil` errors and convert more errors to `errutil` (#64299) 2 years ago
Eric Leijonmarck ad4b053231
API keys: Remove state hideAPIkeys and refactor interface to IsDisabled (#64018) 2 years ago
Sofia Papagiannaki e6e8351ee9
Chore: Remove CreateUserForTests() (#64125) 2 years ago
Eric Leijonmarck 76bc288d67
Service accounts: Remove revertapikeys endpoint (#64020) 2 years ago
Emil Tullstedt 10ee900beb
Errors: Remove direct dependencies on github.com/pkg/errors (#64026) 2 years ago
Ieva 3fb1894739
Service accounts: Creation logic simplification (#63884) 2 years ago
Eric Leijonmarck 9d6ab92e39
Service accounts: Remove Add API keys buttons and remove one state of migrating for API keys tab (#63411) 2 years ago
Jo c8db771939
Users: Fix org user always getting org id = 1 on auto assign false (#63708) 2 years ago
Jo f9163351fd
Support bundles: Refactor registry into separate service (#62945) 2 years ago
idafurjes 982939111b
Rename Id to ID for annotation models (#62886) 2 years ago
suntala 51bef166c2
Chore: Remove Result field from serviceaccounts, ualert (#62476) 2 years ago
Serge Zaitsev 7dbd2cd139
Chore: Fix goimports grouping (#62426) 2 years ago
idafurjes 6c5a573772
Chore: Move ReqContext to contexthandler service (#62102) 2 years ago
Jo e2ec219f6a
SecretScan: Remove placeholder image and polish errors (#61785) 2 years ago
idafurjes 7dcb502b33
Chore: Remove org model duplicates (#61025) 2 years ago
Karl Persson 0743c4eb87
ServiceAccount: Rewrite the api test to use fakes (#60441) 2 years ago
Kristin Laemmert cc007e9727
chore: sqlstore cleanup (#60415) 2 years ago
Eric Leijonmarck 371d7850a5
Auth: Service account store refactor (#58961) 2 years ago
Kristin Laemmert 70fbf47022
chore: remove CreateUser from sqlstore & replace with userService.CreateUserForTests (#59910) 3 years ago
Jo d833031726
ServiceAccounts: Do not display warnings about secret scanner when scanner is disabled (#59952) 3 years ago
Serge Zaitsev b3284a8330
Chore: Make getUserOrgList private to sqlstore (#59654) 3 years ago
Serge Zaitsev 5b861faec3
Chore: Reduce the usage of sqlstore.createorg and use orgservice instead (#59356) 3 years ago
Ieva a8bae3f0b0
Access Control: Clear user's permission cache after resource creation (#59101) 3 years ago
linoman f8f61c1a69
Auth: Add expiry date for service accounts access tokens (#58885) 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
Jo 2ce5dcfb91
ServiceAccounts: Add background service to check for token leaks (#53658) 3 years ago
Eric Leijonmarck 72d0c6b428
Auth: add IsServiceAccount to IsRealUser (#58015) 3 years ago
Kristin Laemmert 05709ce411
chore: remove sqlstore & mockstore dependencies from (most) packages (#57087) 3 years ago
Kristin Laemmert c61b5e85b4
chore: replace sqlstore.Store with db.DB (#57010) 3 years ago
idafurjes 5167c55760
Chore: Move methods from sqlstore to user store (#56305) 3 years ago
idafurjes a863a4d95d
Chore: Copy user methods over to user store (#56000) 3 years ago
Artur Wierzbicki 34f18aacd6
Chore: add more input parameters to `serviceaccounts/test/common.go` (#55994) 3 years ago
Kristin Laemmert 701f6d5436
UserService: use the UserService instead of calling sqlstore directly (#55745) 3 years ago
idafurjes 883c7a802b
Chore: Use AddUserOrg from org service (#55657) 3 years ago
Torkel Ödegaard 09f4068849
NavTree: Refactor out the navtree building from api/index.go and into it's own service (#55552) 3 years ago
Serge Zaitsev 4c19e83ff0
Chore: Move team store implementation to a separate package (#55514) 3 years ago
Karl Persson 5a1b9d2283
RBAC: Remove DeclareFixedRoles wrapper on Access control and inject service (#54153) 3 years ago
Karl Persson 55c7b8add2
RBAC: Split up service into several components (#54002) 3 years ago
ying-jeanne ebcdf402b2
Chore: move from xorm to sqlx apikey store (#53434) 3 years ago
Jo 5c1f614d3c
Service Accounts: Separate metrics logic from store (#54085) 3 years ago
Jo 4a9137ac40
API Keys: Add revocation for SATs (#53896) 3 years ago
Karl Persson 1b933ff3ed
RBAC: Move resource permissions store to service package (#53815) 3 years ago
idafurjes dfc75b1114
Remove delete suer from store interface (#53726) 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
Serge Zaitsev 191ab3bb01
Chore: Move api key models into apikey service package (#53241) 3 years ago
Serge Zaitsev 8d36f71673
Chore: Remove apikey store methods from sqlstore (#53197) 3 years ago
Sofia Papagiannaki 7ba076de10
Chore: Move swagger definitions to the handlers (#52643) 3 years ago