zeripath
055f6d2296
Fix "data race" in testlogger ( #9159 )
...
* Fix data race in testlogger
* Update git_helper_for_declarative_test.go
5 years ago
Lunny Xiao
34eee25bd4
Move sdk structs to modules/structs ( #6905 )
...
* move sdk structs to moduels/structs
* fix tests
* fix fmt
* fix swagger
* fix vendor
6 years ago
Richard Mahn
6db3dc7c02
Fixes #6881 - API users search fix ( #6882 )
6 years ago
zeripath
837116875e
Return a UserList from /api/v1/admin/users ( #6629 )
6 years ago
zeripath
7096085f2b
Fix #5226 by adding CSRF checking to api reqToken and add CSRF to the POST header for deadline ( #5250 )
...
* Add CSRF checking to reqToken and place CSRF in the post for deadline creation
Fixes #5226 , #5249
* /api/v1/admin/users routes should have reqToken middleware
6 years ago
Bo-Yi Wu
ea20adaa84
feat(repo): support search repository by topic name ( #4505 )
...
* feat(repo): support search repository by topic name
7 years ago
B-OnTheGo
e47df0b301
Enforce token on api routes [fixed critical security issue #4357 ] ( #4840 )
7 years ago
zeripath
d293a2b9d6
Add sudo functionality to the API ( #4809 )
7 years ago
Vlad Temian
469ab99e9a
Delete a user's public key via admin api ( closes #3014 ) ( #3059 )
...
* 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
7 years ago