mirror of
1
Fork 0
forgejo/templates
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 Improve UI on mobile (#19546) 2022-05-01 18:11:21 +02:00
api/packages/pypi Add Package Registry (#16510) 2022-03-30 16:42:47 +08:00
base By default force vertical tabs on mobile (#19486) 2022-04-26 16:31:58 -04:00
custom Add footer extra links template (#9576) 2020-01-03 20:41:56 +02:00
explore Allow to filter repositories by language in explore, user and organization repositories lists (#18430) 2022-01-28 13:29:04 +02:00
mail Try to prevent autolinking of displaynames by email readers (#19169) 2022-03-23 12:34:20 +00:00
org Add RSS Feed buttons to Repo, User and Org pages (#19370) 2022-04-24 22:03:39 +02:00
package Hide private repositories in packages (#19584) 2022-05-07 18:21:15 +02:00
repo Allow custom default merge message with .gitea/default_merge_message/<merge_style>_TEMPLATE.md (#18177) 2022-05-08 20:32:45 +08:00
shared Add commit status popup to issuelist (#19375) 2022-04-26 23:40:01 +01:00
status Refactor HTTP request context (#17979) 2021-12-15 14:59:57 +08:00
swagger Auto merge pull requests when all checks succeeded via API (#9307) 2022-05-08 01:05:52 +08:00
user Only show accessible teams in dashboard dropdown list (#19642) 2022-05-07 17:49:43 +02:00
home.tmpl Rename StaticUrlPrefix to AssetUrlPrefix (#15779) 2021-05-08 16:27:25 +02:00
install.tmpl Refactor install page (db type) (#17919) 2021-12-07 13:44:08 +08:00
post-install.tmpl Rename StaticUrlPrefix to AssetUrlPrefix (#15779) 2021-05-08 16:27:25 +02:00