gitea/services/forms
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 ...
..
admin.go Add Visible modes function from Organisation to Users too ()
auth_form.go Add LDAP group sync to Teams, fixes ()
org.go Team permission allow different unit has different permission ()
repo_branch_form.go Add a simple way to rename branch like gh ()
repo_form.go Move checks for pulls before merge into own function ()
repo_form_test.go format with gofumpt ()
repo_tag_form.go Add tag protection ()
user_form.go Add Package Registry ()
user_form_auth_openid.go A better go code formatter, and now `make fmt` can run in Windows ()
user_form_hidden_comments.go Add config options to hide issue events ()
user_form_test.go Move modules/forms to services/forms ()