summaryrefslogtreecommitdiffstats
path: root/routers/api/v1/admin
Commit message (Collapse)AuthorAgeFilesLines
* Fix Swagger JSON autogeneration issues. (#4845)zeripath2018-10-203-0/+13
| | | | | | | | | | | | | | | | | | | | | * Fix Swagger JSON. Remove unnecessary schema references for the forbidden and empty responses Signed-off-by: Andrew Thornton <art27@cantab.net> * Fix swagger API for CreateAccessToken * Fix admin create org swagger * Fix swagger for adminCreateRepo * More swagger fixes Set int64 format for those which are int64 Some more form fixes * Fix swagger description of GET /repos/{owner}/{repo}/pulls
* API /admin/users/{username} missing parameter (#4775)EnricoFerro2018-08-231-0/+6
|
* Cleanup models.User.HashPassword (#3334)Kim "BKC" Carlbäcker2018-01-121-2/+1
|
* Change EncodePasswd to HashPassword (#3329)Morgan Bazalgette2018-01-081-1/+1
| | | | | | * Change EncodePasswd to HashPassword * Create test+benchmark for HashPassword
* Delete a user's public key via admin api (closes #3014) (#3059)Vlad Temian2017-12-061-0/+45
| | | | | | | | | | | | | | | | * 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
* Update swagger documentation (#2899)Ethan Koenig2017-11-133-84/+123
| | | | | | | | | | | * Update swagger documentation Add docs for missing endpoints Add documentation for request parameters Make parameter naming consistent Fix response documentation * Restore delete comments
* Improve swagger doc (#2274)Antoine GIRARD2017-08-213-6/+81
| | | | | | | | | | | | | | | | | | | | * Add swagger comment for adminCreateOrg * Add swagger comment for admin route * add hook swagger doc * Add tags * Add auth * Fix name of responses * Edit name method * Update vendor * make generate-swagger
* Use handlers for API authorization (#723)Ethan Koenig2017-01-261-52/+0
|
* Fix permission bugs in team API (#647)Ethan Koenig2017-01-201-88/+0
|
* API endpoints for organization teams (#370)Ethan Koenig2016-12-281-0/+25
|
* Fix random string generator (#384)Denis Denisov2016-12-201-1/+5
| | | | | | | | | | | * Remove unused custom-alphabet feature of random string generator Fix random string generator Random string generator should return error if it fails to read random data via crypto/rand * Fixes variable (un)initialization mixed assign Update test GetRandomString
* golint fixed for routers (#208)Lunny Xiao2016-11-245-5/+17
|
* Fix import path of go-sdk (#141)Sandro Santilli2016-11-114-4/+4
| | | | From code.gitea.io/go-sdk/gitea To code.gitea.io/sdk/gitea
* Update import paths from github.com/go-gitea to code.gitea.io (#135)Sandro Santilli2016-11-105-22/+22
| | | | | | | - Update import paths from github.com/go-gitea to code.gitea.io - Fix import path for travis See https://docs.travis-ci.com/user/languages/go#Go-Import-Path
* And othersSandro Santilli2016-11-071-1/+1
|
* More...Sandro Santilli2016-11-071-1/+1
|
* Replaced go-gogs-client with go-sdk importsThomas Boerger2016-11-074-4/+4
|
* Change import reference to match gitea instead of gogs (#37)Rémy Boulanouar2016-11-035-18/+18
|
* #3515 use alert instead 500 for duplicated login source nameUnknwon2016-08-311-1/+1
|
* Replace convert.To with APIFormat callsUnknwon2016-08-141-3/+2
|
* Add MaxRepoCreation to EditUser API (#2781)Robin Lambertz2016-08-111-0/+3
|
* Added Full Name to CreateUser api call (#3333)Richard Mahn2016-07-271-0/+1
|
* Refactor User.Id to User.IDUnknwon2016-07-242-4/+4
|
* #2854 fix no mail notification when issue is closed/reopenedUnknwon2016-07-161-3/+2
|
* api/admin: add/remove organization team repositoryUnknwon2016-04-041-0/+49
|
* #1692 add admin APIs to add/remove a user from teamsUnknwon2016-03-251-6/+28
|
* Fix status codeUnknwon2016-03-211-1/+1
|
* Change list teams API to non-admin specificUnknwon2016-03-212-20/+2
|
* #1692 api: admin list and create team under organizationUnknwon2016-03-214-0/+56
|
* #1692 add CRUD issue APIsUnknwon2016-03-132-3/+3
| | | | | - Fix go-gogs-client#10 - Related to #809
* Convert all API handers to use *context.APIContextUnknwon2016-03-133-18/+18
|
* #13 finish user and repository searchUnknwon2016-03-111-1/+1
| | | | Both are possible on explore and admin panel
* Rename module: middleware -> contextUnknwon2016-03-113-10/+10
|
* #1692 API: admin create repoUnknwon2015-12-171-0/+23
|
* #1692 add organization APIsUnknwon2015-12-172-3/+47
|
* #1938 #1374 disable password change for non-local usersUnknwon2015-12-101-1/+1
|
* #2063 Ability to delete repo from admin panelUnknwon2015-12-051-0/+4
|
* APIs: admin usersUnknwon2015-12-051-0/+148