1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-27 13:39:19 -05:00
forgejo/templates/repo/issue
a1012112796 a5279b74b6
Make manual merge autodetection optional and add manual merge as merge method (#12543)
* Make auto check manual merge as a chooseable mod and add manual merge way on ui

as title, Before this pr, we use same way with GH to check manually merge.
It good, but in some special cases, misjudgments can occur. and it's hard
to fix this bug. So I add option to allow repo manager block "auto check manual merge"
function, Then it will have same style like gitlab(allow empty pr). and to compensate for
not being able to detect THE PR merge automatically, I added a manual approach.

Signed-off-by: a1012112796 <1012112796@qq.com>

* make swager

* api support

* ping ci

* fix TestPullCreate_EmptyChangesWithCommits

* Apply suggestions from code review

Co-authored-by: zeripath <art27@cantab.net>

* Apply review suggestions and add test

* Apply suggestions from code review

Co-authored-by: zeripath <art27@cantab.net>

* fix build

* test error message

* make fmt

* Fix indentation issues identified by @silverwind

Co-authored-by: silverwind <me@silverwind.io>

* Fix tests and make manually merged disabled error on API the same

Signed-off-by: Andrew Thornton <art27@cantab.net>

* a small nit

* fix wrong commit id error

* fix bug

* simple test

* fix test

Co-authored-by: zeripath <art27@cantab.net>
Co-authored-by: silverwind <me@silverwind.io>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
2021-03-03 22:41:23 -05:00
..
labels restrict query selector to edit form (#14307) 2021-01-15 06:55:51 +02:00
view_content Make manual merge autodetection optional and add manual merge as merge method (#12543) 2021-03-03 22:41:23 -05:00
branch_selector_field.tmpl fix branch selector on new issue page (#14194) 2020-12-31 13:32:11 -05:00
choose.tmpl Add class to page content to unify top margin (#13766) 2020-11-30 23:00:14 -05:00
comment_tab.tmpl Attachments: Add extension support, allow all types for releases (#12465) 2020-10-05 01:49:33 -04:00
label_precolors.tmpl Indent all templates with tabs 2015-12-08 00:57:46 +01:00
labels.tmpl Add class to page content to unify top margin (#13766) 2020-11-30 23:00:14 -05:00
list.tmpl Fix bug that username missed on issue list assignee filter (#14481) 2021-01-27 20:47:00 +08:00
milestone_issues.tmpl Add review requested filter on pull request overview (#13701) 2021-01-17 17:34:19 +01:00
milestone_new.tmpl Add class to page content to unify top margin (#13766) 2020-11-30 23:00:14 -05:00
milestones.tmpl Add class to page content to unify top margin (#13766) 2020-11-30 23:00:14 -05:00
navbar.tmpl Search bar for issues/pulls (#530) 2017-01-25 10:43:02 +08:00
new.tmpl Add class to page content to unify top margin (#13766) 2020-11-30 23:00:14 -05:00
new_form.tmpl Display current stopwatch in navbar (#14122) 2021-01-21 15:51:52 +01:00
openclose.tmpl Markdown and Repo header tweaks (#13744) 2020-11-29 17:52:11 +02:00
search.tmpl Disable search box autofocus on issue/pr pages (#12229) 2020-07-26 22:43:14 -04:00
view.tmpl Add class to page content to unify top margin (#13766) 2020-11-30 23:00:14 -05:00
view_content.tmpl Comment - Reference in new issue (#14366) 2021-01-21 14:51:17 +01:00
view_title.tmpl Make manual merge autodetection optional and add manual merge as merge method (#12543) 2021-03-03 22:41:23 -05:00