Unknwon
9e3c83372f
api/repo: improve migration error handling
2017-04-07 16:00:25 -04:00
Unknwon
ac43eab51f
Refactoring: rename Signed -> Logged
2017-04-06 23:48:49 -04:00
Unknwon
90b9f7e08c
pkg/setting: rename {AppUrl, AppSubUrl} -> {AppURL, AppSubURL}
2017-04-06 17:27:57 -04:00
Unknwon
ec491b023f
api/repo: fix nil error panic
2017-04-06 01:37:01 -04:00
Unknwon
f191bff0b9
api/repo: check user type of owner for migration
...
Report by MiaoWoo.
2017-04-06 01:20:20 -04:00
Unknwon
c05717a5f0
models/mirror: feed git.IsRepoURLAccessible with raw mirror address
2017-04-04 20:42:18 -04:00
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
2017-04-04 19:29:59 -04:00
Unknwon
3a9276307c
modules/markup: move common functions to markup.go
2017-03-31 17:46:57 -04:00
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.
2017-03-31 16:37:30 -04:00
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.
2017-03-31 15:29:43 -04:00
Unknwon
c441f8080e
api/repo: add endpoint to sync mirror ( #2235 )
2017-03-23 20:46:39 -04:00
Unknwon
66c1e6b0e8
user/settings: complete repositories panel ( #4312 )
2017-03-23 14:28:31 -04:00
Unknwon
beee6e03b1
error: move ErrRepoNotExist -> errors.RepoNotExist
2017-03-23 14:27:34 -04:00
Unknwon
85a050fca7
issue: fix redirect to random issue if index does not exist ( #4315 )
2017-03-22 13:20:29 -04:00
Unknwon
2807274e2d
repo/webhook: able to retrigger delivery history ( #2187 )
2017-03-19 17:44:46 -04:00
Unknwon
55a5ad5cdc
api/repo: fix incorrect permission values ( #4309 )
2017-03-18 16:44:40 -04:00
Unknwon
0ccd7c97ab
models: rename ErrUserNotExist -> errors.UserNotExist
2017-03-16 17:18:43 -04:00
Unknwon
f0209ac2f6
api: handle new events for hook
2017-03-13 14:32:16 -04:00
Girish Sonawane
b9bb4a62d6
api: make CORS work by handling preflight OPTIONS request ( #4264 )
...
* make CORS work by handling preflight OPTIONS request
* Update api.go
2017-03-11 03:01:59 -05:00
Unknwon
3eb57370a6
api/repo: fix cannot reponse branch with slashes ( #4198 )
2017-03-10 23:37:25 -05:00
Unknwon
89cc6aa430
webhook: add issue comment event
2017-03-09 04:11:23 -05:00
Unknwon
c93731339f
webhook: support Issues event ( #2319 )
...
Also addresses #3485 .
2017-03-09 00:03:29 -05:00
Unknwon
87f0ce793d
repo: able to perform initial commit on behave of actual user
2017-02-27 22:47:12 -05:00
Unknwon
4f9c5981a9
refactoring: modules/auth/*_form.go -> modules/form
2017-02-27 22:45:35 -05:00
Unknwon
b78e03934d
models/access: hasAccess only need userID not user object
2017-02-23 16:15:25 -05:00
Unknwon
5ea0592f61
webhook: fix organizational webhook last delivery status cannot be updated
2017-02-22 22:55:28 -05:00
Unknwon
bd970b8b27
webhook: only trigger specific webhook for test delivery ( #3030 )
2017-02-21 15:44:35 -05:00
Unknwon
cd9b29ff3f
api: add list user and organization's repositories ( #3984 )
2017-02-18 23:37:16 -05:00
Kim "BKC" Carlbäcker
b6fc35f637
Implement list/check/delete Repo Collaborator ( #3689 )
2017-02-14 18:45:08 -05:00
Unknwon
1c87b082c1
api/issue: minor code refactor ( #3688 )
2017-02-12 19:46:38 -05:00
Kim "BKC" Carlbäcker
99d86c7175
Implement more issue-endpoints ( #3688 )
2017-02-12 19:42:28 -05:00
Unknwon
3f95824e65
api/repo/milestone: fix change status didn't take effect
2017-02-10 15:54:02 -05:00
Unknwon
eb66060cd7
log: start using gopkg.in/clog.v1
2017-02-09 19:29:59 -05:00
Unknwon
4bc98f7aa2
Move models/mail.go to modules/mail.go
...
To use interface to replace *models.User in avoiding cycle import.
2017-01-30 07:20:48 -05:00
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>
2017-01-28 17:59:21 -05:00
cybe
740192564b
Verify repository is not bare before retrieving blob. ( #3996 )
2017-01-27 07:09:25 -05:00
Unknwon
8059175a5c
Fix dashboard issues/pull request counting
2016-12-27 22:01:18 +08:00
Unknwon
03f7f3ee67
Some code renaming
2016-12-22 19:58:30 -05:00
Unknwon
7ebe0a9916
Fix vulnerabilities reported in #3959
2016-12-22 19:19:56 -05:00
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
2016-12-21 03:41:37 -05:00
Unknwon
8f09fc64bd
Minor fix for PR #3624
2016-12-21 01:48:11 -05:00
Kim "BKC" Carlbäcker
b2de3d71c5
More Issue-Comments API-endpoints ( #3624 )
...
* ListAllInRepo & Delete Issue-Comments
* Moar data in issue-comments
2016-12-21 01:21:15 -05:00
Unknwon
99c2ae7b35
#3515 use alert instead 500 for duplicated login source name
2016-08-31 00:56:10 -07: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