0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-03 07:49:12 +01:00
gitea/routers/api/v1/repo
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
..
blob.go
branch.go Move organization related structs into sub package (#18518) 2022-03-29 14:29:02 +08:00
collaborators.go
commits.go
file.go Make git.OpenRepository accept Context (#19260) 2022-03-30 03:13:41 +08:00
fork.go Make git.OpenRepository accept Context (#19260) 2022-03-30 03:13:41 +08:00
git_hook.go
git_ref.go
hook_test.go
hook.go
issue_comment.go
issue_label.go
issue_reaction.go Move reaction to models/issues/ (#19264) 2022-03-31 17:20:39 +08:00
issue_stopwatch.go
issue_subscription.go
issue_tracked_time.go
issue.go Move organization related structs into sub package (#18518) 2022-03-29 14:29:02 +08:00
key.go
label.go Move init repository related functions to modules (#19159) 2022-03-29 15:23:45 +08:00
language.go
main_test.go
migrate.go Use a more general (and faster) method to sanitize URLs with credentials (#19239) 2022-03-31 10:25:40 +08:00
milestone.go
mirror.go
notes.go Make git.OpenRepository accept Context (#19260) 2022-03-30 03:13:41 +08:00
patch.go
pull_review.go Move organization related structs into sub package (#18518) 2022-03-29 14:29:02 +08:00
pull.go Move checks for pulls before merge into own function (#19271) 2022-03-31 16:53:08 +02:00
release_attachment.go
release_tags.go
release.go
repo_test.go
repo.go Make git.OpenRepository accept Context (#19260) 2022-03-30 03:13:41 +08:00
star.go
status.go
subscriber.go
tag.go
teams.go Move organization related structs into sub package (#18518) 2022-03-29 14:29:02 +08:00
topic.go
transfer.go Move organization related structs into sub package (#18518) 2022-03-29 14:29:02 +08:00
tree.go
wiki.go Make git.OpenRepository accept Context (#19260) 2022-03-30 03:13:41 +08:00