Commit Graph

71 Commits (23dd0f34561887a6df880789c29d69a1488dec7a)

Author SHA1 Message Date
John Olheiser cac9e6e760 Updates to API 404 responses ()
zeripath 07802a2bc5 Refactor repo.isBare to repo.isEmpty ()
* Refactor repo.isBare to repo.isEmpty 

Signed-off-by: Andrew Thornton <art27@cantab.net>

* Remove Sync call
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
Antoine GIRARD fd8e8a421a Improve swagger doc ()
* 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
Jonas Östanbäck 5db5e16ab6 Correct grammar in APIEmpty documentation ()
* Correct grammar in APIEmpty doc

* Generate swagger.v1.json
Antoine GIRARD 3edb0c5894 Generate swagger json ()
- Generate swagger.json into public/
- Add swagger-ui auto-installation
- Add footer link to local swagger-ui
- Add /swagger url for using app url.
- Fix Swagger-UI version via git tag
Ethan Koenig 021904e4e6 Fix typos in models/ and modules/ ()
Ethan Koenig 6f4ba6884c Repo permission bug fixes ()
Kim "BKC" Carlbäcker 0f05470cb8 [API] Pull Requests ()
Lunny Xiao 94da472717 Golint fixed for modules/setting ()
* golint fixed for modules/setting

* typo fixed and renamed UNIXSOCKET to UnixSocket
Lunny Xiao faabc76fd6 Golint fixed for modules/context
Ethan Koenig 0834e492c0 API endpoints for stars
Thibault Meyer ddee4c8b58
Normalize files with gofmt
Sandro Santilli 4247304f5a Update import paths from github.com/go-gitea to code.gitea.io ()
- 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
Thomas Boerger 6bf9910975
Set correct doc url for go-sdk
Matthias Loibl 1f44b01e2a Fix imports found by goimports.
Rémy Boulanouar 2d68bd1ef9 Change import reference to match gitea instead of gogs ()
Unknwon b1d41cfa60 add admin APIs to add/remove a user from teams
Unknwon 9bd9ad4205 add CRUD issue APIs
- Fix go-gogs-client#10
- Related to 
Unknwon dd6faf7f9b Convert all API handers to use *context.APIContext
Unknwon db4da7beec Add APIContext