Unknwon
f89d948c06
templates/repo/issue: rework escape delete branch link after merged pull request ( #4601 )
7 years ago
Unknwon
45a0988833
templates/repo/issue: escape delete branch link after merged pull request ( #4601 )
7 years ago
Unknwon
34c2e52bd5
repo/pull: allow rebase before merging ( #4805 )
7 years ago
mharinder
5cd1fdeb9e
pull: add an option to use rebase for merging pull requests
...
For DVCS, either merge or rebase works for getting new code in a pull
request in the main branch.
The rebase workflow produces a linear history which is cleaner, and
more bisect-able.
This commit adds a repo-level option to enable the rebase workflow. Once
enabled, "Merge Pull Request" will be replaced by
"Rebase and Merge Pull Request" which does exactly what the user wants.
It's unlikely a project wants a mixed-use of both rebase and merge
workflows, therefore the feature is not implemented as a drop-down
button like what GitHub does
(https://github.com/blog/2243-rebase-and-merge-pull-requests ).
7 years ago
Unknwon
b727e0be71
SECURITY: fix branch name persistent XSS
...
Reported by Carl Hattenfels.
7 years ago
Unknwon
ac43eab51f
Refactoring: rename Signed -> Logged
8 years ago
Unknwon
90b9f7e08c
pkg/setting: rename {AppUrl, AppSubUrl} -> {AppURL, AppSubURL}
8 years ago
Unknwon
2c404daca6
pkg/context: rename {CsrfToken, CsrfTokenHtml} -> {CSRFToken, CSRFTokenHTML}
8 years ago
Unknwon
260ebcc1ca
repo/milestone: simplify code
8 years ago
Unknwon
79ba0314e9
milestone: only show issue-related count under issue list ( #4316 )
8 years ago
Unknwon
71753cdd46
templates/label: another minor style improve
8 years ago
Unknwon
d3363430dc
templates/label: minor style improve
...
Add an empty space to make <span> have width.
8 years ago
Unknwon
68b231bd89
template: use DisplayName of users when possible ( #4187 )
8 years ago
Unknwon
28983c94ff
comment: only show title of commit message from a commit ref ( #3206 )
8 years ago
Unknwon
5155f026b4
Security: fix XSS attack on milestone
...
Reported by Miguel Ángel Jimeno.
8 years ago
Tanapol Nearunchorn
73fedc7275
provide button to delete merged pull request
8 years ago
Unknwon
28cf0e6aaa
#3459 code quality improvement
8 years ago
Thibault Meyer
92fb30c526
Load a set of predefined labels ( #3459 )
...
* Can use a predefined set of labels
* Change UI
* Fix HTML file indentation
* Avoid reading file from other directory (security issue)
* Apply a better fix
* Remove not used variable
* Merge upstream/develop
* Do modifications
* Raname
* remove binding + rename variable
8 years ago
Unknwon
6f9a95f830
#2246 add HTMLURL to webhook type
...
- Fill Milestone and Assignee field when available in webhook payload
8 years ago
Unknwon
61e27dedf7
#3466 fix response of pull request form validation error
8 years ago
Richard Mahn
d0a0239bac
Squashed commit of the following:
...
commit 0afcb843d7
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Sun Jul 31 17:13:29 2016 -0600
Removed Upload stats as the upload table is just a temporary table
commit 7ecd73ff55
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Sun Jul 31 08:42:41 2016 -0600
Fix for CodeMirror mode
commit c29b9ab531
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Sun Jul 31 08:03:33 2016 -0600
Made tabbing in editor use spaces
commit 23af384c53
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Sun Jul 31 07:56:46 2016 -0600
Fix for data-url
commit cfb8a97591
Merge: 7fc8a89
991ce42
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Sun Jul 31 07:42:53 2016 -0600
Merge remote-tracking branch 'gogits/develop' into feature-create-and-edit-repo-file
Conflicts:
modules/bindata/bindata.go
public/js/gogs.js
commit 7fc8a89cb4
Merge: fd3d86c
c03d040
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Sun Jul 31 07:40:00 2016 -0600
Merge branch 'feature-create-and-edit-repo-file' of github.com:richmahn/gogs into feature-create-and-edit-repo-file
commit fd3d86ca6b
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Sun Jul 31 07:39:44 2016 -0600
Code cleanup
commit c03d0401c1
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Fri Jul 29 15:38:23 2016 -0600
Code cleanup
commit 98e1206ccf
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Thu Jul 28 18:36:01 2016 -0600
Code cleanup and fixes
commit c2895dc742
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Thu Jul 28 18:24:04 2016 -0600
Fixes per Unknwon's requests
commit 6aa7e46b21
Merge: 889e9fa
ad7ea88
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Thu Jul 28 17:13:43 2016 -0600
Merge remote-tracking branch 'gogits/develop' into feature-create-and-edit-repo-file
Conflicts:
modules/bindata/bindata.go
modules/setting/setting.go
commit 889e9faf1b
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Fri Jul 22 14:09:18 2016 -0600
Fix in gogs.js
commit 47603edf22
Merge: bb57912
cf85e9e
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Fri Jul 22 14:07:36 2016 -0600
Merge remote-tracking branch 'gogits/develop' into feature-create-and-edit-repo-file
Conflicts:
modules/bindata/bindata.go
public/js/gogs.js
commit bb57912558
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Fri Jul 22 14:02:18 2016 -0600
Update for using CodeMirror mode addon
commit d10d128c51
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Tue Jul 19 16:12:57 2016 -0600
Update for Edit
commit 34a3498202
Merge: fa1b752
1c7dcdd
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Tue Jul 19 11:52:02 2016 -0600
Merge remote-tracking branch 'gogits/develop' into feature-create-and-edit-repo-file
Conflicts:
modules/bindata/bindata.go
commit fa1b752be2
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Fri Jul 15 18:35:42 2016 -0600
Feature for editing, creating, uploading and deleting files
8 years ago
Unknwon
3f7f4852ef
#2246 fully support of webhooks for pull request
9 years ago
Andrey Nering
25b23c4bc9
Do not show non-image attachment in a <img> tag. Fixes #3215 ( #3311 )
9 years ago
Unknwon
d625e41c6c
#3408 minor code fix
9 years ago
Sandro Santilli
eb1bfe0e59
Do not show the "Sign up for free" button in issue tracker ( #3408 )
...
* Do not show the "Sign up for free" button in issue tracker
The "Sign in to comment" link is good enough and will correctly
show or not show the "Sign Up" button link for those not having
an account already.
Fixes #3407 (link to nowhere when registration is disabled)
* Move html from translation to template
* Remove extra space in `{{ .SignInLink }}`.
9 years ago
Unknwon
90af997fec
#3399 500 for upstream pulls page if user has forked repository
9 years ago
Unknwon
50422f1fc2
#3348 always use relative avatar link in the template
9 years ago
Okunev Yu Dmitry
55b4e77a5e
Fix of template error in "/:owner/:repo/pulls" ( #3343 )
...
If anonymous (not signed in user) requests page
"/:owner/:repo/pulls" he gets an error:
template: repo/issue/list:11:105: executing "repo/issue/list" at <.PullRequestCtx.Base...>: nil pointer evaluating *models.Repository.Link
This commit fixes that.
Signed-off-by: Dmitry Yu Okunev <dyokunev@ut.mephi.ru>
9 years ago
Unknwon
899e799459
#1601 support delete issue comment
9 years ago
Unknwon
1f2e173a74
Refactor User.Id to User.ID
9 years ago
Unknwon
26d52ceb48
#3186 fix wrong link for new pull request button of non-fork repository
9 years ago
Unknwon
b0eb47cb1c
Fix misselection of issues view type
9 years ago
Unknwon
fdcca9292e
#2458 fix emoji been rendered inside raw content area
9 years ago
Unknwon
a27c6f4b75
#2916 fix sort' field missing on issue pagination link
9 years ago
Unknwon
9a5a27ea8d
Improve repository lable style
...
- add border-radius to filter list items
- use color as background of label for issue/pull view page
9 years ago
Odin Ugedal
c9321550e0
Add prorper escaping of url in issue form
9 years ago
Unknwon
0e9bc2d410
Fix pull request availability check
9 years ago
Unknwon
a5b0400be7
#1146 finish new access rights for collaborators
9 years ago
Unknwon
2d2d85bba4
#1597 support pull requests in same repository
9 years ago
Andrey Nering
13e71acadf
Render emojis in more places.
9 years ago
Lukas Dietrich
c0eaae200e
Add ForegroundColor for labels
9 years ago
Andrey Nering
658bfc2704
Implement issue and pull request templates.
...
Similar to GitHub:
https://github.com/blog/2111-issue-and-pull-request-templates
Priority:
- root
- .gogs
- .github
9 years ago
chriswatt
af8e323248
Fix tab index on new issue/comment form
9 years ago
Unknwon
1c74612b3c
Minor fix for #2444
9 years ago
Kim "BKC" Carlbäcker
b921161666
Name popup
9 years ago
Kim "BKC" Carlbäcker
2cc1ee3fc0
Implemented participant-listing for issue-pages
9 years ago
Unknwon
eb918c2368
fix only admin can view milestone desc
9 years ago
Adam Strzelecki
da2585c11e
Indent all templates with tabs
...
This commit improves templates readability, since all of them use consistent
indent with all template command blocks indented too.
1. Indents both HTML containers such as <div>, <p> and Go HTML template blocks
such as {{if}} {{with}}
2. Cleans all trailing white-space
3. Adds trailing last line-break to each file
9 years ago
Unknwon
ec2423ad7c
more UI minor fixes
9 years ago
Adam Strzelecki
2580e7b57e
UI: Always show menu on repo pages
...
Merges repo/sidebar.tmpl with repo/header.tmpl and makes every repo page use
middleware.RepoRef() necessary to display information on this menu.
9 years ago