Commit Graph

9 Commits (b3d8e2d4f7a0ebf768ab6bcb102755839a6b9311)

Author SHA1 Message Date
zeripath 055f6d2296 Fix "data race" in testlogger ()
* Fix data race in testlogger

* Update git_helper_for_declarative_test.go
Lunny Xiao 34eee25bd4
Move sdk structs to modules/structs ()
* move sdk structs to moduels/structs

* fix tests

* fix fmt

* fix swagger

* fix vendor
Richard Mahn 6db3dc7c02 Fixes - API users search fix ()
zeripath 837116875e Return a UserList from /api/v1/admin/users ()
zeripath 7096085f2b Fix by adding CSRF checking to api reqToken and add CSRF to the POST header for deadline ()
* Add CSRF checking to reqToken and place CSRF in the post for deadline creation

Fixes , 

* /api/v1/admin/users routes should have reqToken middleware
Bo-Yi Wu ea20adaa84
feat(repo): support search repository by topic name ()
* feat(repo): support search repository by topic name
B-OnTheGo e47df0b301 Enforce token on api routes [fixed critical security issue ] ()
zeripath d293a2b9d6 Add sudo functionality to the API ()
Vlad Temian 469ab99e9a Delete a user's public key via admin api (closes ) ()
* Delete a user's public key via admin api

* Test admin ssh endpoint for creating a new ssh key

* Adapt public ssh key test to also test the delete operation

* Test that deleting a missing key will result in a 404

* Test that a normal user can't delete another user's ssh key

* Make DeletePublicKey return err

* Update swagger doc