Lunny Xiao
e134836804
golint fixed for routers ( #208 )
9 years ago
Ethan Koenig
4503176480
API endpoints for stars
9 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
9 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
9 years ago
Sandro Santilli
0daccd049a
And others
9 years ago
Sandro Santilli
6909f35ba0
More...
9 years ago
Sandro Santilli
58cc4e56fa
ACCESS_MODE_* -> AccessMode*
9 years ago
Sandro Santilli
8212aa70ba
Use MixedCase constant names
See https://github.com/golang/go/wiki/CodeReviewComments#mixed-caps
9 years ago
Thomas Boerger
a2f2fa9326
Replaced go-gogs-client with go-sdk imports
9 years ago
Sandro Santilli
3c9693defb
Replace gogits/git-module dependency with go-gitea/git ( #94 )
* Replace gogits/git-module dependency with go-gitea/git
Fixes #92
* Remove git alias for git module import (not needed)
9 years ago
Rémy Boulanouar
9712d5ee89
Change import reference to match gitea instead of gogs ( #37 )
9 years ago
Unknwon
437ad0d136
#3515 use alert instead 500 for duplicated login source name
9 years ago
Andrey Nering
9cb849359e
Support Editorconfig on web editor
9 years ago
Unknwon
e4d1ae765f
#3459 code quality improvement
9 years ago
Unknwon
edc4bdf469
#2966 code cleanup
9 years ago
Iwan Budi Kusnanto
8924c93de0
issues comment API : list, create, edit ( #2966 )
add `since` query string support to list issue comment
9 years ago
Unknwon
11540e5abe
Web editor: improve code quality
9 years ago
Kurt Madel
697d960e80
added support to set pull_request event from api ( #3513 )
9 years ago
Unknwon
a0c3de4966
#3383 code cleanup
9 years ago
lstahlman
41eae4c967
Additional API support for milestones ( #3383 )
9 years ago
Kim Carlbäcker
5fac4604d0
Issues can be closed via API ( #3170 ) ( #3479 )
* Issues can be closed via API
* Error-checking is nice xD
* EditIssueOption.Status => State
* Use const instead of string-literal
9 years ago
Unknwon
ca313c82d3
models/issue: improve quality and performance of NewIssue function
9 years ago
Unknwon
6e37e3f3d7
Replace convert.To with APIFormat calls
9 years ago
Unknwon
f60f4fc56e
#2246 fully support of webhooks for pull request
9 years ago
Unknwon
fdd6a233a9
Fix #3391
9 years ago
Robin Lambertz
9acb7a034f
Add MaxRepoCreation to EditUser API ( #2781 )
9 years ago
Unknwon
31e654d0fb
#2780 code clean up
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
lstahlman
3bc40ec99b
Add committer information to API and Webhooks. Also fixes #3271 ( #3414 )
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
Richard Mahn
15f2b16568
Added Full Name to CreateUser api call ( #3333 )
9 years ago
Unknwon
027aebc72c
#1384 add pagination for repositories
10 years ago
Unknwon
3b42ab0e57
Refactor User.Id to User.ID
10 years ago
Unknwon
9835377f9c
Use struct for UI settings
10 years ago
Unknwon
872cb8bb62
api: fix panic if anonymous user request admin API
Add sign in check before check user account level
10 years ago
Unknwon
e5eff96d17
Update locales and .gopmfile
10 years ago
Unknwon
9bdf738b7e
models/webhook: restrict deletion to be explicitly with repo and org ID
10 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>
10 years ago
Unknwon
cb5bfbcc5f
#3274 fix can't get webhook detail of organization
10 years ago
Unknwon
7b4e810eb5
#2854 fix no mail notification when issue is closed/reopened
10 years ago
lstahlman
ccdc54584e
Add timestamps to repository api response ( #3255 )
Additional properties: created_at, updated_at
10 years ago
lstahlman
ab5f52860a
Extend the API to include more repository properties ( #3249 )
Adds description, stars_count, forks_count, watchers_count and
open_issues_count.
10 years ago
Unknwon
7270678853
#3057 retrieve webhook with repo_id
This prevents user retrieve arbitrary webhook by changing URL to
access webhook from other unauthorized repositories.
10 years ago
Unknwon
abc82c3f25
#3058 #3059 support correct page size and link header
10 years ago
Unknwon
da5050d92f
#809 fix wrong closed issue count when create closed issue via API
Add start count corrector for Repository.NumClosedIssues
10 years ago
Unknwon
46e4d9f2da
#809 able to set issue state to closed when create
10 years ago
Unknwon
d497e31faa
api/admin: add/remove organization team repository
10 years ago