gitea/routers
6543 9c349a4277
Move checks for pulls before merge into own function (#19271)
This make checks in one single place so they dont differ and maintainer can not forget a check in one place while adding it to the other .... ( as it's atm )

Fix:
* The API does ignore issue dependencies where Web does not
* The API checks if "IsSignedIfRequired" where Web does not - UI probably do but nothing will some to craft custom requests
* Default merge message is crafted a bit different between API and Web if not set on specific cases ...
2022-03-31 16:53:08 +02:00
..
api Move checks for pulls before merge into own function (#19271) 2022-03-31 16:53:08 +02:00
common Update HTTP status codes to modern codes (#18063) 2022-03-23 12:54:07 +08:00
install Update HTTP status codes to modern codes (#18063) 2022-03-23 12:54:07 +08:00
private Move checks for pulls before merge into own function (#19271) 2022-03-31 16:53:08 +02:00
utils A better go code formatter, and now make fmt can run in Windows (#17684) 2021-11-17 20:34:35 +08:00
web Move checks for pulls before merge into own function (#19271) 2022-03-31 16:53:08 +02:00
init.go Add Package Registry (#16510) 2022-03-30 16:42:47 +08:00