gitea/services/forms
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>
2022-05-08 20:32:45 +08:00
..
admin.go Add Visible modes function from Organisation to Users too (#16069) 2021-06-26 20:53:14 +01:00
auth_form.go Add LDAP group sync to Teams, fixes #1395 (#16299) 2022-02-11 22:24:58 +08:00
org.go Team permission allow different unit has different permission (#17811) 2022-01-05 11:37:00 +08:00
repo_branch_form.go Add a simple way to rename branch like gh (#15870) 2021-10-08 19:03:04 +02:00
repo_form_test.go format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
repo_form.go Allow custom default merge message with .gitea/default_merge_message/<merge_style>_TEMPLATE.md (#18177) 2022-05-08 20:32:45 +08:00
repo_tag_form.go Add tag protection (#15629) 2021-06-25 16:28:55 +02:00
user_form_auth_openid.go A better go code formatter, and now make fmt can run in Windows (#17684) 2021-11-17 20:34:35 +08:00
user_form_hidden_comments.go Add config options to hide issue events (#17414) 2022-01-21 18:59:26 +01:00
user_form_test.go Move modules/forms to services/forms (#15305) 2021-04-06 20:44:05 +01:00
user_form.go Add Package Registry (#16510) 2022-03-30 16:42:47 +08:00