Unknwon
f191bff0b9
api/repo: check user type of owner for migration
...
Report by MiaoWoo.
8 years ago
Unknwon
c05717a5f0
models/mirror: feed git.IsRepoURLAccessible with raw mirror address
8 years ago
Unknwon
d05395fe90
Refactoring: rename modules -> pkg
...
Reasons to change:
1. Shorter than 'modules'
2. More generally used by other Go projects
3. Corresponds to the naming of '$GOPATH/pkg' directory
8 years ago
Unknwon
3a9276307c
modules/markup: move common functions to markup.go
8 years ago
Unknwon
8da16ac302
modules/markup: rename Markdown render fucntions
...
The unified function 'Markdown' accepts both string or []byte type
input and renders to HTML with []byte type.
8 years ago
Unknwon
c1c269d9ef
modules: rename markdown -> markup
...
To further support more markup languages (e.g. Org-mode, AsciiDoc,
reStructuredText), the name 'markdown' is inappropriate.
This is the first step towards more markup language support.
8 years ago
Unknwon
c441f8080e
api/repo: add endpoint to sync mirror ( #2235 )
8 years ago
Unknwon
66c1e6b0e8
user/settings: complete repositories panel ( #4312 )
8 years ago
Unknwon
beee6e03b1
error: move ErrRepoNotExist -> errors.RepoNotExist
8 years ago
Unknwon
85a050fca7
issue: fix redirect to random issue if index does not exist ( #4315 )
8 years ago
Unknwon
2807274e2d
repo/webhook: able to retrigger delivery history ( #2187 )
8 years ago
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