0
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2025-02-19 01:00:19 +01:00
forgejo/services
6543 9c349a4277
Move checks for pulls before merge into own function ()
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
..
agit
asymkey Make git.OpenRepository accept Context () 2022-03-30 03:13:41 +08:00
attachment
auth Restore user autoregistration with email addresses () 2022-03-31 15:20:25 +02:00
comments Move some issue methods as functions () 2022-03-29 16:57:33 +02:00
context
cron Add Package Registry () 2022-03-30 16:42:47 +08:00
externalaccount
forms Move checks for pulls before merge into own function () 2022-03-31 16:53:08 +02:00
gitdiff Make git.OpenRepository accept Context () 2022-03-30 03:13:41 +08:00
issue Move some issue methods as functions () 2022-03-29 16:57:33 +02:00
lfs
mailer Move organization related structs into sub package () 2022-03-29 14:29:02 +08:00
migrations Move reaction to models/issues/ () 2022-03-31 17:20:39 +08:00
mirror Use a more general (and faster) method to sanitize URLs with credentials () 2022-03-31 10:25:40 +08:00
org Add Package Registry () 2022-03-30 16:42:47 +08:00
packages Add Package Registry () 2022-03-30 16:42:47 +08:00
pull Move checks for pulls before merge into own function () 2022-03-31 16:53:08 +02:00
release Make git.OpenRepository accept Context () 2022-03-30 03:13:41 +08:00
repository Refactor git.Command.Run*, introduce RunWithContextString and RunWithContextBytes () 2022-03-31 13:56:22 +02:00
task Use a more general (and faster) method to sanitize URLs with credentials () 2022-03-31 10:25:40 +08:00
user Add Package Registry () 2022-03-30 16:42:47 +08:00
webhook
wiki Make git.OpenRepository accept Context () 2022-03-30 03:13:41 +08:00