Ethan Koenig
7b5b5178e1
Bug fix for edit-hook API endpoint
9 years ago
Ethan Koenig
04b9a7e7a2
Bug fixes for repo permissions in API
Also move duplicated code into repo.APIFormat(..)
9 years ago
Kim "BKC" Carlbäcker
0f05470cb8
[API] Pull Requests ( #248 )
9 years ago
Kim "BKC" Carlbäcker
e8e0539b45
Linting
9 years ago
Kim "BKC" Carlbäcker
e6cfccdd40
GitHub API Compliance (& linting)
9 years ago
Kim "BKC" Carlbäcker
71bb6df75a
Add undocumented endpoint for /repositories/:id
9 years ago
Kim "BKC" Carlbäcker
42ec5ce740
Fix breakage from vendor-update
9 years ago
Lunny Xiao
ec87a75c00
golint fixed for modules/auth
9 years ago
Lunny Xiao
94da472717
Golint fixed for modules/setting ( #262 )
* golint fixed for modules/setting
* typo fixed and renamed UNIXSOCKET to UnixSocket
9 years ago
Lunny Xiao
faabc76fd6
Golint fixed for modules/context
9 years ago
Lunny Xiao
3917ed45de
golint fixed for routers ( #208 )
9 years ago
Ethan Koenig
0834e492c0
API endpoints for stars
9 years ago
Sandro Santilli
a1c5f02444
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
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
9 years ago
Sandro Santilli
aadd7dcdc3
And others
9 years ago
Sandro Santilli
60c82a8780
More...
9 years ago
Sandro Santilli
f388661bda
ACCESS_MODE_* -> AccessMode*
9 years ago
Sandro Santilli
80eea77953
Use MixedCase constant names
See https://github.com/golang/go/wiki/CodeReviewComments#mixed-caps
9 years ago
Thomas Boerger
4c6c16f358
Replaced go-gogs-client with go-sdk imports
9 years ago
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)
9 years ago
Rémy Boulanouar
2d68bd1ef9
Change import reference to match gitea instead of gogs ( #37 )
9 years ago
Unknwon
99c2ae7b35
#3515 use alert instead 500 for duplicated login source name
9 years ago
Andrey Nering
9ac46fb983
Support Editorconfig on web editor
9 years ago
Unknwon
28cf0e6aaa
#3459 code quality improvement
9 years ago
Unknwon
6b98d58906
#2966 code cleanup
9 years ago
Iwan Budi Kusnanto
8dca9f95fa
issues comment API : list, create, edit ( #2966 )
add `since` query string support to list issue comment
9 years ago
Unknwon
f8a48ffaad
Web editor: improve code quality
9 years ago
Kurt Madel
67fb0fe6a5
added support to set pull_request event from api ( #3513 )
9 years ago
Unknwon
0b273ac4d5
#3383 code cleanup
9 years ago
lstahlman
84b56c3c53
Additional API support for milestones ( #3383 )
9 years ago
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
9 years ago
Unknwon
4042d1f0c3
models/issue: improve quality and performance of NewIssue function
9 years ago
Unknwon
dccb0c15b9
Replace convert.To with APIFormat calls
9 years ago
Unknwon
3f7f4852ef
#2246 fully support of webhooks for pull request
9 years ago
Unknwon
2cb04db526
Fix #3391
9 years ago
Robin Lambertz
5a9709fa9d
Add MaxRepoCreation to EditUser API ( #2781 )
9 years ago
Unknwon
7e9b42c87d
#2780 code clean up
9 years ago
Robin Lambertz
b6c14f8b21
Add AddCollaborator API Endpoint ( #2780 )
* Add AddCollaborator API Endpoint
* Add optional Permission to AddCollaborator endpoint
* Use APIContext
9 years ago
lstahlman
89f71b44f7
Add committer information to API and Webhooks. Also fixes #3271 ( #3414 )
9 years ago
Unknwon
db3d393576
routers/api: rename handlers to be unexported
9 years ago
Unknwon
2f105f3979
#2162 completely disable builtin issue tracker when enable external tracker
9 years ago
Unknwon
e7fd65f0cf
#3290 better code structure and batch minor improvements
9 years ago
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
9 years ago
Richard Mahn
0402c803c6
Added Full Name to CreateUser api call ( #3333 )
10 years ago
Unknwon
e74630ae3b
#1384 add pagination for repositories
10 years ago
Unknwon
1f2e173a74
Refactor User.Id to User.ID
10 years ago
Unknwon
46e96c008c
Use struct for UI settings
10 years ago
Unknwon
e63b2881b1
api: fix panic if anonymous user request admin API
Add sign in check before check user account level
10 years ago
Unknwon
5aa2bf86f4
Update locales and .gopmfile
10 years ago
Unknwon
60110adc06
models/webhook: restrict deletion to be explicitly with repo and org ID
10 years ago