summaryrefslogtreecommitdiffstats
path: root/routers/api/v1/api.go
Commit message (Collapse)AuthorAgeFilesLines
* Redirects for renamed repos (#807)Ethan Koenig2017-02-051-1/+8
| | | | | | * Redirects for renamed repos * Remove unused phrase from locales
* Add units concept for modulable functions of a repository (#742)Lunny Xiao2017-02-041-1/+1
| | | | | | | | | | | | | | | | * Add units concept for modulable functions of a repository * remove unused comment codes & fix lints and tests * remove unused comment codes * use struct config instead of map * fix lint * rm wrong files * fix tests
* Remove unneeded database loads (#814)Ethan Koenig2017-02-021-3/+1
| | | Remove unnecessary calls to repo.GetOwner() in context handlers
* Use handlers for API authorization (#723)Ethan Koenig2017-01-261-14/+26
|
* Fix crash caused by #647 (#708)Bwko2017-01-201-1/+1
|
* Fix permission bugs in team API (#647)Ethan Koenig2017-01-201-19/+15
|
* API Endpoints for organization members (#645)Ethan Koenig2017-01-201-0/+10
|
* Bug fixes for webhook API (#650)Ethan Koenig2017-01-141-3/+41
|
* API endpoint for subscribers (#598)Ethan Koenig2017-01-071-0/+1
|
* API endpoint for stargazers (#597)Ethan Koenig2017-01-061-0/+1
|
* Release API endpointsEthan Koenig2017-01-021-0/+7
|
* API endpoints for forks (#509)Ethan Koenig2016-12-311-0/+2
|
* Repo permission bug fixes (#513)Ethan Koenig2016-12-291-5/+3
|
* Permissions bug fix for webhooksEthan Koenig2016-12-281-1/+1
|
* API endpoints for organization teams (#370)Ethan Koenig2016-12-281-0/+7
|
* API Endpoints for collaborators (#375)Ethan Koenig2016-12-261-1/+6
|
* Organization webhook API endpointsEthan Koenig2016-12-251-1/+9
|
* API Endpoint for watching (#191)Ethan Koenig2016-12-241-0/+9
|
* issue comment api fix (#449)Kim "BKC" Carlbäcker2016-12-221-1/+6
| | | | | | * ListAllInRepo & Delete Issue-Comments * Moar data in issue-comments
* [API] Pull Requests (#248)Kim "BKC" Carlbäcker2016-12-021-0/+15
|
* Add undocumented endpoint for /repositories/:idKim "BKC" Carlbäcker2016-12-021-0/+2
|
* API endpoints for starsEthan Koenig2016-11-161-1/+13
|
* Fix import path of go-sdk (#141)Sandro Santilli2016-11-111-1/+1
| | | | 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-101-10/+10
| | | | | | | - 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
* ACCESS_MODE_* -> AccessMode*Sandro Santilli2016-11-071-1/+1
|
* Replaced go-gogs-client with go-sdk importsThomas Boerger2016-11-071-1/+1
|
* Change import reference to match gitea instead of gogs (#37)Rémy Boulanouar2016-11-031-8/+8
|
* Support Editorconfig on web editorAndrey Nering2016-08-301-0/+1
|
* issues comment API : list, create, edit (#2966)Iwan Budi Kusnanto2016-08-261-0/+6
| | | add `since` query string support to list issue comment
* #3383 code cleanupUnknwon2016-08-241-9/+13
|
* Additional API support for milestones (#3383)lstahlman2016-08-241-0/+12
|
* Fix #3391Unknwon2016-08-111-0/+1
|
* Add AddCollaborator API Endpoint (#2780)Robin Lambertz2016-08-111-0/+1
| | | | | | | | * Add AddCollaborator API Endpoint * Add optional Permission to AddCollaborator endpoint * Use APIContext
* routers/api: rename handlers to be unexportedUnknwon2016-08-041-19/+19
|
* #2162 completely disable builtin issue tracker when enable external trackerUnknwon2016-08-041-1/+8
|
* #3290 better code structure and batch minor improvementsUnknwon2016-08-031-3/+3
|
* Additional API support for labels (#3290)lstahlman2016-08-031-1/+17
| | | | | | | | | | * Add API support for labels. * Error handling for adding/replacing multiple issue labels * Revisions to function names and error handling. Use issue.ClearLabels in replace/clear functions * Additional code cleanup
* Refactor User.Id to User.IDUnknwon2016-07-241-1/+1
|
* api: fix panic if anonymous user request admin APIUnknwon2016-07-231-1/+1
| | | | Add sign in check before check user account level
* Update locales and .gopmfileUnknwon2016-07-171-1/+1
|
* api: delete repository webhooks (#3275)Dennis Chen2016-07-171-3/+6
| | | | | | | | Allows the deletion of a webhook from a repository at the /:user/:repo/hooks/:id endpoint. Solves drone/drone issue #1603. Signed-off-by: Dennis Chen <barracks510@gmail.com>
* api/admin: add/remove organization team repositoryUnknwon2016-04-041-18/+25
|
* #1692 add admin APIs to add/remove a user from teamsUnknwon2016-03-251-2/+44
|
* Change list teams API to non-admin specificUnknwon2016-03-211-2/+5
|
* #1692 api: admin list and create team under organizationUnknwon2016-03-211-0/+4
|
* #1692 add CRUD issue APIsUnknwon2016-03-131-11/+13
| | | | | - Fix go-gogs-client#10 - Related to #809
* Convert all API handers to use *context.APIContextUnknwon2016-03-131-9/+13
|
* Rename module: middleware -> contextUnknwon2016-03-111-9/+9
|
* Corrections following recommendationsAntoine GIRARD2016-01-281-1/+1
|
* Near readyAntoine GIRARD2016-01-281-1/+4
|