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
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 )
9 years ago
Unknwon
e74630ae3b
#1384 add pagination for repositories
9 years ago
Unknwon
1f2e173a74
Refactor User.Id to User.ID
9 years ago
Unknwon
46e96c008c
Use struct for UI settings
9 years ago
Unknwon
e63b2881b1
api: fix panic if anonymous user request admin API
...
Add sign in check before check user account level
9 years ago
Unknwon
5aa2bf86f4
Update locales and .gopmfile
9 years ago
Unknwon
60110adc06
models/webhook: restrict deletion to be explicitly with repo and org ID
9 years ago
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>
9 years ago
Unknwon
3d93532c87
#3274 fix can't get webhook detail of organization
9 years ago
Unknwon
f1b8d52eb3
#2854 fix no mail notification when issue is closed/reopened
9 years ago
lstahlman
846bf2ca9f
Add timestamps to repository api response ( #3255 )
...
Additional properties: created_at, updated_at
9 years ago
lstahlman
12cb84b97f
Extend the API to include more repository properties ( #3249 )
...
Adds description, stars_count, forks_count, watchers_count and
open_issues_count.
9 years ago
Unknwon
d62ab49978
#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
4b25bdfbc4
#3058 #3059 support correct page size and link header
9 years ago
Unknwon
e9ae926e04
#809 fix wrong closed issue count when create closed issue via API
...
Add start count corrector for Repository.NumClosedIssues
9 years ago
Unknwon
bf5faf76eb
#809 able to set issue state to closed when create
9 years ago
Unknwon
d27ca649c7
api/admin: add/remove organization team repository
9 years ago
Unknwon
b1d41cfa60
#1692 add admin APIs to add/remove a user from teams
9 years ago