zeripath
add9b0c141
Refactor repo.isBare to repo.isEmpty #5629 ( #5714 )
* Refactor repo.isBare to repo.isEmpty #5629
Signed-off-by: Andrew Thornton <art27@cantab.net>
* Remove Sync call
6 years ago
zeripath
74845bbea0
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
Antoine GIRARD
8b81ff17f5
Improve swagger doc ( #2274 )
* 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
7 years ago
Jonas Östanbäck
5c3fc0b67f
Correct grammar in APIEmpty documentation ( #1748 )
* Correct grammar in APIEmpty doc
* Generate swagger.v1.json
8 years ago
Antoine GIRARD
9a699d3712
Generate swagger json ( #1402 )
- 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
8 years ago
Ethan Koenig
9c781e8fd4
Fix typos in models/ and modules/ ( #1248 )
8 years ago
Ethan Koenig
9015c12eb8
Repo permission bug fixes ( #513 )
8 years ago
Kim "BKC" Carlbäcker
b20aadde50
[API] Pull Requests ( #248 )
8 years ago
Lunny Xiao
b5a7692d63
Golint fixed for modules/setting ( #262 )
* golint fixed for modules/setting
* typo fixed and renamed UNIXSOCKET to UnixSocket
8 years ago
Lunny Xiao
86a328cf36
Golint fixed for modules/context
8 years ago
Ethan Koenig
4503176480
API endpoints for stars
8 years ago
Thibault Meyer
6ef997ca64
Normalize files with gofmt
8 years ago
Sandro Santilli
cb1b3cc148
Update import paths from github.com/go-gitea to code.gitea.io ( #135 )
- 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
8 years ago
Thomas Boerger
d9a7026ca3
Set correct doc url for go-sdk
8 years ago
Matthias Loibl
929972fc8d
Fix imports found by goimports.
8 years ago
Rémy Boulanouar
9712d5ee89
Change import reference to match gitea instead of gogs ( #37 )
8 years ago
Unknwon
8328452c5a
#1692 add admin APIs to add/remove a user from teams
9 years ago
Unknwon
5b25440502
#1692 add CRUD issue APIs
- Fix go-gogs-client#10
- Related to #809
9 years ago
Unknwon
da092dd05b
Convert all API handers to use *context.APIContext
9 years ago
Unknwon
2eadcbdb03
Add APIContext
9 years ago