You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Lunny Xiao 4344a64107
Allow custom default merge message with .gitea/default_merge_message/<merge_style>_TEMPLATE.md (#18177)
* Allow custom default merge message with .gitea/MERGE_MESSAGE_<merge_style>_TEMPLATE.md

* Some improvements

* Follow some advices

* Fix bug

* Fix bug

* Fix lint

* Fix close comment

* Fix test

* Fix and docs

* Improve codes

* Update docs and remove unnecessary variables

* return error for GetDefaultMergeMessage

* Fix test

* improve code

* ignore unknow unit type

* return error for GetDefaultMergeMessage

* Update services/pull/merge.go

* Some improvements

* Follow some advices

* Fix bug

* Fix lint

* Improve codes

* Update docs and remove unnecessary variables

* return error for GetDefaultMergeMessage

* improve code

* Handle deleted HeadRepo in GetDefaultMergeMessage

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

* Fix test

* Fix test

Co-authored-by: zeripath <art27@cantab.net>
2 years ago
..
labels Add dropdown icon to template loading dropdown (#18564) 2 years ago
view_content Allow custom default merge message with .gitea/default_merge_message/<merge_style>_TEMPLATE.md (#18177) 2 years ago
branch_selector_field.tmpl Add option to define refs in issue templates (#17842) 3 years ago
choose.tmpl Use the new/choose link for New Issue on project page (#19172) 2 years ago
comment_tab.tmpl Remove dependent on session auth for api/v1 routers (#19321) 2 years ago
label_precolors.tmpl Fix purple color in suggested label colors (#18241) 3 years ago
labels.tmpl Add class to page content to unify top margin (#13766) 4 years ago
list.tmpl Improve UI on mobile (#19546) 2 years ago
milestone_issues.tmpl Refactor i18n, use Locale to provide i18n/translation related functions (#18648) 2 years ago
milestone_new.tmpl Add class to page content to unify top margin (#13766) 4 years ago
milestones.tmpl Refactor i18n, use Locale to provide i18n/translation related functions (#18648) 2 years ago
navbar.tmpl Search bar for issues/pulls (#530) 8 years ago
new.tmpl Add class to page content to unify top margin (#13766) 4 years ago
new_form.tmpl prevent double click new issue/pull/comment button (#16157) 2 years ago
openclose.tmpl Markdown and Repo header tweaks (#13744) 4 years ago
search.tmpl Disable search box autofocus on issue/pr pages (#12229) 4 years ago
view.tmpl Improve UI on mobile (#19546) 2 years ago
view_content.tmpl prevent double click new issue/pull/comment button (#16157) 2 years ago
view_title.tmpl Refactor i18n, use Locale to provide i18n/translation related functions (#18648) 2 years ago