Ethan Koenig
7b5b5178e1
Bug fix for edit-hook API endpoint
2016-12-09 20:11:56 +01:00
Ethan Koenig
04b9a7e7a2
Bug fixes for repo permissions in API
...
Also move duplicated code into repo.APIFormat(..)
2016-12-07 12:55:24 +01:00
Kim "BKC" Carlbäcker
0f05470cb8
[API] Pull Requests ( #248 )
2016-12-02 12:10:39 +01:00
Kim "BKC" Carlbäcker
e8e0539b45
Linting
2016-12-02 09:31:44 +01:00
Kim "BKC" Carlbäcker
e6cfccdd40
GitHub API Compliance (& linting)
2016-12-02 09:18:15 +01:00
Kim "BKC" Carlbäcker
71bb6df75a
Add undocumented endpoint for /repositories/:id
2016-12-02 09:18:15 +01:00
Kim "BKC" Carlbäcker
42ec5ce740
Fix breakage from vendor-update
2016-11-29 11:50:22 +01:00
Lunny Xiao
ec87a75c00
golint fixed for modules/auth
2016-11-27 21:39:06 +08:00
Lunny Xiao
94da472717
Golint fixed for modules/setting ( #262 )
...
* golint fixed for modules/setting
* typo fixed and renamed UNIXSOCKET to UnixSocket
2016-11-27 18:14:25 +08:00
Lunny Xiao
3917ed45de
golint fixed for routers ( #208 )
2016-11-24 15:04:31 +08:00
Ethan Koenig
0834e492c0
API endpoints for stars
2016-11-16 22:51:54 -05:00
Sandro Santilli
a1c5f02444
Fix import path of go-sdk ( #141 )
...
From code.gitea.io/go-sdk/gitea
To code.gitea.io/sdk/gitea
2016-11-11 17:39:44 +08:00
Sandro Santilli
4247304f5a
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
2016-11-10 17:24:48 +01:00
Sandro Santilli
60c82a8780
More...
2016-11-07 17:30:04 +01:00
Sandro Santilli
f388661bda
ACCESS_MODE_* -> AccessMode*
2016-11-07 17:20:37 +01:00
Sandro Santilli
80eea77953
Use MixedCase constant names
...
See https://github.com/golang/go/wiki/CodeReviewComments#mixed-caps
2016-11-07 17:05:08 +01:00
Thomas Boerger
4c6c16f358
Replaced go-gogs-client with go-sdk imports
2016-11-07 16:10:32 +01:00
Sandro Santilli
6e4252dad4
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)
2016-11-06 11:18:34 -02:00
Rémy Boulanouar
2d68bd1ef9
Change import reference to match gitea instead of gogs ( #37 )
2016-11-03 10:29:56 -02:00
Andrey Nering
9ac46fb983
Support Editorconfig on web editor
2016-08-30 20:30:47 -03:00
Unknwon
28cf0e6aaa
#3459 code quality improvement
2016-08-29 20:00:06 -07:00
Unknwon
6b98d58906
#2966 code cleanup
2016-08-26 13:40:53 -07:00
Iwan Budi Kusnanto
8dca9f95fa
issues comment API : list, create, edit ( #2966 )
...
add `since` query string support to list issue comment
2016-08-26 11:23:21 -07:00
Unknwon
f8a48ffaad
Web editor: improve code quality
2016-08-24 21:35:03 -07:00
Kurt Madel
67fb0fe6a5
added support to set pull_request event from api ( #3513 )
2016-08-24 20:44:58 -07:00
Unknwon
0b273ac4d5
#3383 code cleanup
2016-08-24 16:05:56 -07:00
lstahlman
84b56c3c53
Additional API support for milestones ( #3383 )
2016-08-24 15:18:56 -07:00
Kim Carlbäcker
7c5710d31f
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
2016-08-23 09:09:32 -07:00
Unknwon
4042d1f0c3
models/issue: improve quality and performance of NewIssue function
2016-08-15 18:40:32 -07:00
Unknwon
dccb0c15b9
Replace convert.To with APIFormat calls
2016-08-14 04:17:26 -07:00
Unknwon
3f7f4852ef
#2246 fully support of webhooks for pull request
2016-08-14 03:32:24 -07:00
Unknwon
7e9b42c87d
#2780 code clean up
2016-08-11 11:35:46 -07:00
Robin Lambertz
b6c14f8b21
Add AddCollaborator API Endpoint ( #2780 )
...
* Add AddCollaborator API Endpoint
* Add optional Permission to AddCollaborator endpoint
* Use APIContext
2016-08-11 11:23:25 -07:00
Unknwon
e7fd65f0cf
#3290 better code structure and batch minor improvements
2016-08-03 11:51:22 -07:00
lstahlman
2eeb0ec9b0
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
2016-08-03 09:24:16 -07:00
Unknwon
e74630ae3b
#1384 add pagination for repositories
2016-07-24 14:32:46 +08:00
Unknwon
1f2e173a74
Refactor User.Id to User.ID
2016-07-24 01:08:22 +08:00
Unknwon
46e96c008c
Use struct for UI settings
2016-07-24 00:23:54 +08:00
Unknwon
60110adc06
models/webhook: restrict deletion to be explicitly with repo and org ID
2016-07-17 08:33:59 +08:00
Dennis Chen
5ff2dfb23e
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>
2016-07-17 08:08:38 +08:00
Unknwon
3d93532c87
#3274 fix can't get webhook detail of organization
2016-07-16 01:02:55 +08:00
Unknwon
f1b8d52eb3
#2854 fix no mail notification when issue is closed/reopened
2016-07-16 00:36:39 +08:00
Unknwon
d62ab49978
#3057 retrieve webhook with repo_id
...
This prevents user retrieve arbitrary webhook by changing URL to
access webhook from other unauthorized repositories.
2016-07-08 13:57:09 +08:00
Unknwon
4b25bdfbc4
#3058 #3059 support correct page size and link header
2016-07-04 17:27:06 +08:00
Unknwon
e9ae926e04
#809 fix wrong closed issue count when create closed issue via API
...
Add start count corrector for Repository.NumClosedIssues
2016-05-27 18:23:39 -07:00
Unknwon
bf5faf76eb
#809 able to set issue state to closed when create
2016-05-11 12:19:26 -04:00
Unknwon
e6f927f61a
#1692 api: admin list and create team under organization
2016-03-21 12:47:54 -04:00
Unknwon
9bd9ad4205
#1692 add CRUD issue APIs
...
- Fix go-gogs-client#10
- Related to #809
2016-03-13 23:20:22 -04:00
Unknwon
dd6faf7f9b
Convert all API handers to use *context.APIContext
2016-03-13 18:49:16 -04:00
Unknwon
2bf8494332
#13 finish user and repository search
...
Both are possible on explore and admin panel
2016-03-11 15:33:12 -05:00