forgejo/routers/api/v1
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
..
admin Add Package Registry (#16510) 2022-03-30 16:42:47 +08:00
misc format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
notify Renamed ctx.User to ctx.Doer. (#19161) 2022-03-22 15:03:22 +08:00
org Move init repository related functions to modules (#19159) 2022-03-29 15:23:45 +08:00
packages Add Package Registry (#16510) 2022-03-30 16:42:47 +08:00
repo Move checks for pulls before merge into own function (#19271) 2022-03-31 16:53:08 +02:00
settings Make mirror feature more configurable (#16957) 2021-09-07 17:49:36 +02:00
swagger Add Package Registry (#16510) 2022-03-30 16:42:47 +08:00
user Move organization related structs into sub package (#18518) 2022-03-29 14:29:02 +08:00
utils Make git.OpenRepository accept Context (#19260) 2022-03-30 03:13:41 +08:00
api.go Add Package Registry (#16510) 2022-03-30 16:42:47 +08:00
auth.go Let web and API routes have different auth methods group (#19168) 2022-03-28 12:46:28 +08:00
auth_windows.go Let web and API routes have different auth methods group (#19168) 2022-03-28 12:46:28 +08:00