Serge Zaitsev
743d66396a
Chore: Remove result field from API keys commands and queries ( #65055 )
...
* Chore: remove result field from api keys
* fix shadowing
* actually shadowing was all right
2023-03-21 13:26:33 +01:00
idafurjes
982939111b
Rename Id to ID for annotation models ( #62886 )
...
* Rename Id to ID for annotation models
* Add xorm tags
* Rename Id to ID for API key models
* Add xorm tags
2023-02-03 17:23:09 +01:00
Sofia Papagiannaki
9855e74b92
Chore: Refactor quota service ( #58643 )
...
Chore: Refactor quota service (#57586 )
* Chore: refactore quota service
* Apply suggestions from code review
2022-11-14 21:08:10 +02:00
Sofia Papagiannaki
96cdf77995
Revert "Chore: Refactor quota service ( #57586 )" ( #58394 )
...
This reverts commit 326ea86a57
.
2022-11-08 11:52:07 +02:00
Sofia Papagiannaki
326ea86a57
Chore: Refactor quota service ( #57586 )
...
* Chore: refactore quota service
* Apply suggestions from code review
2022-11-08 10:25:34 +02:00
ying-jeanne
ebcdf402b2
Chore: move from xorm to sqlx apikey store ( #53434 )
...
* migrate from xorm to sqlx
* fix tests
* fix comments
* fix some comments on the PR
* fix CI
* fix the comments
2022-08-23 11:01:35 -04:00
Jo
4a9137ac40
API Keys: Add revocation for SATs ( #53896 )
...
* add apikey is_revoked field
* add token store tests
* Apply suggestions from code review
* remove unused fields
2022-08-18 16:54:39 +02:00
idafurjes
6afad51761
Move SignedInUser to user service and RoleType and Roles to org ( #53445 )
...
* Move SignedInUser to user service and RoleType and Roles to org
* Use go naming convention for roles
* Fix some imports and leftovers
* Fix ldap debug test
* Fix lint
* Fix lint 2
* Fix lint 3
* Fix type and not needed conversion
* Clean up messages in api tests
* Clean up api tests 2
2022-08-10 11:56:48 +02:00
Serge Zaitsev
191ab3bb01
Chore: Move api key models into apikey service package ( #53241 )
...
* Chore: move api key models into apikey service package
* force table name for api key
2022-08-04 14:19:09 +02:00
Serge Zaitsev
64488f6b90
Chore: split APIKey store ( #52781 )
...
* move apikey store into a separate service
* add apikey service to wire graph
* fix linter
* switch api to use apikey service
* fix provideservice in tests
* add apikey service test double
* try different sql syntax
* rolling back the dialect
* trigger drone
* trigger drone
2022-08-02 16:55:19 +02:00