Thomas Boerger
a2f2fa9326
Replaced go-gogs-client with go-sdk imports
8 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)
8 years ago
Rémy Boulanouar
9712d5ee89
Change import reference to match gitea instead of gogs ( #37 )
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
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
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
027aebc72c
#1384 add pagination for repositories
9 years ago
Unknwon
3b42ab0e57
Refactor User.Id to User.ID
9 years ago
Unknwon
9835377f9c
Use struct for UI settings
9 years ago
Unknwon
9bdf738b7e
models/webhook: restrict deletion to be explicitly with repo and org ID
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
cb5bfbcc5f
#3274 fix can't get webhook detail of organization
9 years ago
Unknwon
7b4e810eb5
#2854 fix no mail notification when issue is closed/reopened
9 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.
9 years ago
Unknwon
abc82c3f25
#3058 #3059 support correct page size and link header
9 years ago
Unknwon
da5050d92f
#809 fix wrong closed issue count when create closed issue via API
Add start count corrector for Repository.NumClosedIssues
9 years ago
Unknwon
46e4d9f2da
#809 able to set issue state to closed when create
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
2d90be9c2e
#13 finish user and repository search
Both are possible on explore and admin panel
9 years ago
Unknwon
574a4d69e8
Rename module: middleware -> context
9 years ago
Unknwon
759a73fd9c
Minor fix for #2506
9 years ago
Antoine GIRARD
7407a0b226
Corrections following recommendations
9 years ago
Antoine GIRARD
fc58d9c2fb
Handling error for the API request and add commments
[ci skip]
9 years ago
Antoine GIRARD
424c4bf878
Update link for documentation (Temporary https://gist.github.com/sapk/df64347ff218baf4a277 )
[ci skip]
9 years ago
Antoine GIRARD
42c1153d6e
Near ready
9 years ago
Unknwon
5d084664bc
#1692 API: admin create repo
9 years ago
Unknwon
ae4bcfa2e0
#1692 add organization APIs
9 years ago
Unknwon
8ac9d9b4c7
rename import path
9 years ago
Unknwon
7c3baef786
move out git module and #1573 send push hook
9 years ago
Unknwon
ab55ca457f
#1984 Better mirror repo management
9 years ago
Unknwon
c6f6031bd5
refactor API routes and some work for #976
9 years ago