forgejo/models
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
appstate
asymkey
auth
avatars
db
fixtures
foreignreference
issues Move reaction to models/issues/ (#19264) 2022-03-31 17:20:39 +08:00
migrations
organization
packages
perm
project
repo
unit
unittest
user
webhook
access.go
access_test.go
action.go
action_list.go Move reaction to models/issues/ (#19264) 2022-03-31 17:20:39 +08:00
action_test.go
branches.go
branches_test.go
commit.go
commit_status.go
commit_status_test.go
consistency.go
consistency_test.go
engine_test.go
error.go Move checks for pulls before merge into own function (#19271) 2022-03-31 16:53:08 +02:00
fixture_generation.go
fixture_test.go
helper.go Move reaction to models/issues/ (#19264) 2022-03-31 17:20:39 +08:00
helper_directory.go
helper_environment.go
issue.go Move reaction to models/issues/ (#19264) 2022-03-31 17:20:39 +08:00
issue_assignees.go
issue_assignees_test.go
issue_comment.go Move reaction to models/issues/ (#19264) 2022-03-31 17:20:39 +08:00
issue_comment_list.go Move reaction to models/issues/ (#19264) 2022-03-31 17:20:39 +08:00
issue_comment_test.go
issue_dependency.go
issue_dependency_test.go
issue_label.go
issue_label_test.go
issue_list.go Move reaction to models/issues/ (#19264) 2022-03-31 17:20:39 +08:00
issue_list_test.go
issue_lock.go
issue_milestone.go
issue_milestone_test.go
issue_project.go
issue_stopwatch.go
issue_stopwatch_test.go
issue_test.go
issue_tracked_time.go
issue_tracked_time_test.go
issue_user.go
issue_user_test.go
issue_watch.go
issue_watch_test.go
issue_xref.go
issue_xref_test.go
lfs.go
lfs_lock.go
main_test.go
migrate.go
migrate_test.go Move reaction to models/issues/ (#19264) 2022-03-31 17:20:39 +08:00
notification.go Move reaction to models/issues/ (#19264) 2022-03-31 17:20:39 +08:00
notification_test.go
org.go
org_team.go
org_team_test.go
org_test.go
protected_tag.go
protected_tag_test.go
pull.go Move checks for pulls before merge into own function (#19271) 2022-03-31 16:53:08 +02:00
pull_list.go
pull_test.go Move checks for pulls before merge into own function (#19271) 2022-03-31 16:53:08 +02:00
release.go
repo.go
repo_activity.go
repo_collaboration.go
repo_collaboration_test.go
repo_generate.go
repo_generate_test.go
repo_list.go Move reaction to models/issues/ (#19264) 2022-03-31 17:20:39 +08:00
repo_list_test.go
repo_permission.go
repo_permission_test.go
repo_test.go
repo_transfer.go
repo_transfer_test.go
review.go
review_test.go
statistic.go
task.go
token.go
token_test.go
upload.go
user.go Move reaction to models/issues/ (#19264) 2022-03-31 17:20:39 +08:00
user_heatmap.go
user_heatmap_test.go
user_test.go
userlist.go
userlist_test.go