Lunny Xiao
9effd446fd
Add units concept for modulable functions of a repository ( #742 )
* 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
8 years ago
Ethan Koenig
a0f224c7cf
Remove unneeded database loads ( #814 )
Remove unnecessary calls to repo.GetOwner() in context handlers
8 years ago
Ethan Koenig
901f1f170e
Use handlers for API authorization ( #723 )
8 years ago
Bwko
cbcb3a8598
Fix crash caused by #647 ( #708 )
8 years ago
Ethan Koenig
dc4990be0d
Fix permission bugs in team API ( #647 )
8 years ago
Ethan Koenig
1533d6f66f
API Endpoints for organization members ( #645 )
8 years ago
Ethan Koenig
af64dbf429
Bug fixes for webhook API ( #650 )
8 years ago
Ethan Koenig
f74f56ed26
API endpoint for subscribers ( #598 )
8 years ago
Ethan Koenig
ad391350f9
API endpoint for stargazers ( #597 )
8 years ago
Ethan Koenig
e29ff03812
Release API endpoints
8 years ago
Ethan Koenig
e41d044963
API endpoints for forks ( #509 )
8 years ago
Ethan Koenig
9015c12eb8
Repo permission bug fixes ( #513 )
8 years ago
Ethan Koenig
be625153d6
Permissions bug fix for webhooks
8 years ago
Ethan Koenig
24db8d7848
API endpoints for organization teams ( #370 )
8 years ago
Ethan Koenig
d690ce64e4
API Endpoints for collaborators ( #375 )
8 years ago
Ethan Koenig
13c5f83c24
Organization webhook API endpoints
8 years ago
Ethan Koenig
f2f748259e
API Endpoint for watching ( #191 )
8 years ago
Kim "BKC" Carlbäcker
acd5a98218
issue comment api fix ( #449 )
* ListAllInRepo & Delete Issue-Comments
* Moar data in issue-comments
8 years ago
Kim "BKC" Carlbäcker
b20aadde50
[API] Pull Requests ( #248 )
8 years ago
Kim "BKC" Carlbäcker
5f466ee446
Add undocumented endpoint for /repositories/:id
8 years ago
Ethan Koenig
4503176480
API endpoints for stars
8 years ago
Sandro Santilli
827c85ad85
Fix import path of go-sdk ( #141 )
From code.gitea.io/go-sdk/gitea
To code.gitea.io/sdk/gitea
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
Sandro Santilli
58cc4e56fa
ACCESS_MODE_* -> AccessMode*
8 years ago
Thomas Boerger
a2f2fa9326
Replaced go-gogs-client with go-sdk imports
8 years ago
Rémy Boulanouar
9712d5ee89
Change import reference to match gitea instead of gogs ( #37 )
8 years ago
Andrey Nering
9cb849359e
Support Editorconfig on web editor
8 years ago
Iwan Budi Kusnanto
8924c93de0
issues comment API : list, create, edit ( #2966 )
add `since` query string support to list issue comment
8 years ago
Unknwon
a0c3de4966
#3383 code cleanup
8 years ago
lstahlman
41eae4c967
Additional API support for milestones ( #3383 )
8 years ago
Unknwon
fdd6a233a9
Fix #3391
9 years ago
Robin Lambertz
d1234950e9
Add AddCollaborator API Endpoint ( #2780 )
* Add AddCollaborator API Endpoint
* Add optional Permission to AddCollaborator endpoint
* Use APIContext
9 years ago
Unknwon
fe1ec92f38
routers/api: rename handlers to be unexported
9 years ago
Unknwon
5dcf393802
#2162 completely disable builtin issue tracker when enable external tracker
9 years ago
Unknwon
ba4980ef92
#3290 better code structure and batch minor improvements
9 years ago
lstahlman
3c6f0f35f7
Additional API support for labels ( #3290 )
* 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
9 years ago
Unknwon
3b42ab0e57
Refactor User.Id to User.ID
9 years ago
Unknwon
872cb8bb62
api: fix panic if anonymous user request admin API
Add sign in check before check user account level
9 years ago
Unknwon
e5eff96d17
Update locales and .gopmfile
9 years ago
Dennis Chen
561a7f55e4
api: delete repository webhooks ( #3275 )
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>
9 years ago
Unknwon
d497e31faa
api/admin: add/remove organization team repository
9 years ago
Unknwon
8328452c5a
#1692 add admin APIs to add/remove a user from teams
9 years ago
Unknwon
11c481a053
Change list teams API to non-admin specific
9 years ago
Unknwon
0b2c7a6284
#1692 api: admin list and create team under organization
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
574a4d69e8
Rename module: middleware -> context
9 years ago
Antoine GIRARD
7407a0b226
Corrections following recommendations
9 years ago
Antoine GIRARD
42c1153d6e
Near ready
9 years ago
Unknwon
d81852a6ec
require token for list my orgs
9 years ago