Unknwon
55a5ad5cdc
api/repo: fix incorrect permission values ( #4309 )
8 years ago
Unknwon
0ccd7c97ab
models: rename ErrUserNotExist -> errors.UserNotExist
8 years ago
Unknwon
f0209ac2f6
api: handle new events for hook
8 years ago
Girish Sonawane
b9bb4a62d6
api: make CORS work by handling preflight OPTIONS request ( #4264 )
...
* make CORS work by handling preflight OPTIONS request
* Update api.go
8 years ago
Unknwon
3eb57370a6
api/repo: fix cannot reponse branch with slashes ( #4198 )
8 years ago
Unknwon
89cc6aa430
webhook: add issue comment event
8 years ago
Unknwon
c93731339f
webhook: support Issues event ( #2319 )
...
Also addresses #3485 .
8 years ago
Unknwon
87f0ce793d
repo: able to perform initial commit on behave of actual user
8 years ago
Unknwon
4f9c5981a9
refactoring: modules/auth/*_form.go -> modules/form
8 years ago
Unknwon
b78e03934d
models/access: hasAccess only need userID not user object
8 years ago
Unknwon
5ea0592f61
webhook: fix organizational webhook last delivery status cannot be updated
8 years ago
Unknwon
bd970b8b27
webhook: only trigger specific webhook for test delivery ( #3030 )
8 years ago
Unknwon
cd9b29ff3f
api: add list user and organization's repositories ( #3984 )
8 years ago
Kim "BKC" Carlbäcker
b6fc35f637
Implement list/check/delete Repo Collaborator ( #3689 )
8 years ago
Unknwon
1c87b082c1
api/issue: minor code refactor ( #3688 )
8 years ago
Kim "BKC" Carlbäcker
99d86c7175
Implement more issue-endpoints ( #3688 )
8 years ago
Unknwon
3f95824e65
api/repo/milestone: fix change status didn't take effect
8 years ago
Unknwon
eb66060cd7
log: start using gopkg.in/clog.v1
8 years ago
Unknwon
4bc98f7aa2
Move models/mail.go to modules/mail.go
...
To use interface to replace *models.User in avoiding cycle import.
8 years ago
Dennis Chen
c98aa0e895
api: display repository forks ( #3252 )
...
Lists the forks of a repository at the /:user/:repo/forks endpoint.
Signed-off-by: Dennis Chen <barracks510@gmail.com>
8 years ago
cybe
740192564b
Verify repository is not bare before retrieving blob. ( #3996 )
8 years ago
Unknwon
8059175a5c
Fix dashboard issues/pull request counting
8 years ago
Unknwon
03f7f3ee67
Some code renaming
8 years ago
Unknwon
7ebe0a9916
Fix vulnerabilities reported in #3959
8 years ago
leonklingele
d96f2a7184
Fix random string generator ( #3953 )
...
* Remove unused custom-alphabet feature of random string generator
* Fix modulo-biased random string generator
* Random string generator should return error if it fails to read random data via crypto/rand
8 years ago
Unknwon
8f09fc64bd
Minor fix for PR #3624
8 years ago
Kim "BKC" Carlbäcker
b2de3d71c5
More Issue-Comments API-endpoints ( #3624 )
...
* ListAllInRepo & Delete Issue-Comments
* Moar data in issue-comments
8 years ago
Unknwon
99c2ae7b35
#3515 use alert instead 500 for duplicated login source name
8 years ago
Andrey Nering
9ac46fb983
Support Editorconfig on web editor
8 years ago
Unknwon
28cf0e6aaa
#3459 code quality improvement
8 years ago
Unknwon
6b98d58906
#2966 code cleanup
8 years ago
Iwan Budi Kusnanto
8dca9f95fa
issues comment API : list, create, edit ( #2966 )
...
add `since` query string support to list issue comment
8 years ago
Unknwon
f8a48ffaad
Web editor: improve code quality
8 years ago
Kurt Madel
67fb0fe6a5
added support to set pull_request event from api ( #3513 )
8 years ago
Unknwon
0b273ac4d5
#3383 code cleanup
8 years ago
lstahlman
84b56c3c53
Additional API support for milestones ( #3383 )
8 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
8 years ago
Unknwon
4042d1f0c3
models/issue: improve quality and performance of NewIssue function
8 years ago
Unknwon
dccb0c15b9
Replace convert.To with APIFormat calls
8 years ago
Unknwon
3f7f4852ef
#2246 fully support of webhooks for pull request
8 years ago
Unknwon
2cb04db526
Fix #3391
8 years ago
Robin Lambertz
5a9709fa9d
Add MaxRepoCreation to EditUser API ( #2781 )
8 years ago
Unknwon
7e9b42c87d
#2780 code clean up
8 years ago
Robin Lambertz
b6c14f8b21
Add AddCollaborator API Endpoint ( #2780 )
...
* Add AddCollaborator API Endpoint
* Add optional Permission to AddCollaborator endpoint
* Use APIContext
8 years ago
lstahlman
89f71b44f7
Add committer information to API and Webhooks. Also fixes #3271 ( #3414 )
8 years ago
Unknwon
db3d393576
routers/api: rename handlers to be unexported
8 years ago
Unknwon
2f105f3979
#2162 completely disable builtin issue tracker when enable external tracker
8 years ago
Unknwon
e7fd65f0cf
#3290 better code structure and batch minor improvements
8 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
8 years ago
Richard Mahn
0402c803c6
Added Full Name to CreateUser api call ( #3333 )
8 years ago