gitea/routers/api/v1/repo
Giteabot 8defca6d39
Fix possible pull request broken when leave the page immediately after clicking the update button (#34509) (#34607)
Backport #34509 by @lunny

If user leaves the page, the context will become cancelled, so that the
update process maybe terminal in an unexpected status. This PR haven't
resolve the problem totally. It uses a background context to not cancel
the update process even if the user leaved the pull request view page.

Fix #31779

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
2025-06-05 07:15:32 +00:00
..
action.go Actions Runner rest api (#33873) 2025-04-18 15:22:41 +00:00
actions_run.go Download actions job logs from API (#33858) 2025-03-26 11:30:52 -07:00
avatar.go Refactor error system (#33626) 2025-02-17 12:41:03 -08:00
blob.go Refactor error system (#33610) 2025-02-16 22:13:17 -08:00
branch.go Refactor Branch struct in package modules/git (#33980) 2025-04-02 17:31:32 +00:00
collaborators.go Fix team permission (#34128) 2025-04-08 04:15:15 +00:00
commits.go Improve "not found" error messages for API (#34267) 2025-04-23 17:42:50 +08:00
compare.go Refactor error system (#33626) 2025-02-17 12:41:03 -08:00
download.go Enable addtional linters (#34085) 2025-04-01 10:14:01 +00:00
file.go Add API endpoint to request contents of multiple files simultaniously (#34139) 2025-04-22 01:20:11 +08:00
fork.go Refactor error system (#33626) 2025-02-17 12:41:03 -08:00
git_hook.go Refactor error system (#33626) 2025-02-17 12:41:03 -08:00
git_ref.go Refactor error system (#33626) 2025-02-17 12:41:03 -08:00
hook_test.go Enable testifylint rules (#34075) 2025-03-31 01:53:48 -04:00
hook.go Refactor error system (#33626) 2025-02-17 12:41:03 -08:00
issue_attachment.go Refactor error system (#33626) 2025-02-17 12:41:03 -08:00
issue_comment_attachment.go Refactor error system (#33626) 2025-02-17 12:41:03 -08:00
issue_comment.go When updating comment, if the content is the same, just return and not update the databse (#34422) (#34464) 2025-05-14 21:48:49 -07:00
issue_dependency.go Refactor error system (#33626) 2025-02-17 12:41:03 -08:00
issue_label.go Enable addtional linters (#34085) 2025-04-01 10:14:01 +00:00
issue_lock.go Add API routes to lock and unlock issues (#34165) 2025-04-21 00:43:43 +00:00
issue_pin.go Refactor error system (#33626) 2025-02-17 12:41:03 -08:00
issue_reaction.go Refactor error system (#33626) 2025-02-17 12:41:03 -08:00
issue_stopwatch.go Refactor error system (#33626) 2025-02-17 12:41:03 -08:00
issue_subscription.go Refactor error system (#33626) 2025-02-17 12:41:03 -08:00
issue_tracked_time.go Improve "not found" error messages for API (#34267) 2025-04-23 17:42:50 +08:00
issue.go Fix bug webhook milestone is not right. (#34419) (#34428) 2025-05-12 00:21:14 +00:00
key.go Refactor error system (#33626) 2025-02-17 12:41:03 -08:00
label.go Refactor error system (#33626) 2025-02-17 12:41:03 -08:00
language.go Refactor error system (#33610) 2025-02-16 22:13:17 -08:00
license.go Refactor error system (#33610) 2025-02-16 22:13:17 -08:00
main_test.go make writing main test easier (#27270) 2023-09-28 01:38:53 +00:00
migrate.go Fix bug when migrating repository (#34182) 2025-04-14 04:48:03 +00:00
milestone.go Refactor error system (#33626) 2025-02-17 12:41:03 -08:00
mirror.go Enable addtional linters (#34085) 2025-04-01 10:14:01 +00:00
notes.go Improve "not found" error messages for API (#34267) 2025-04-23 17:42:50 +08:00
patch.go Refactor error system (#33626) 2025-02-17 12:41:03 -08:00
pull_review.go Enable addtional linters (#34085) 2025-04-01 10:14:01 +00:00
pull.go Fix possible pull request broken when leave the page immediately after clicking the update button (#34509) (#34607) 2025-06-05 07:15:32 +00:00
release_attachment.go Refactor error system (#33626) 2025-02-17 12:41:03 -08:00
release_tags.go Refactor error system (#33626) 2025-02-17 12:41:03 -08:00
release.go Enable addtional linters (#34085) 2025-04-01 10:14:01 +00:00
repo_test.go Enable testifylint rules (#34075) 2025-03-31 01:53:48 -04:00
repo.go Enable addtional linters (#34085) 2025-04-01 10:14:01 +00:00
star.go Refactor error system (#33626) 2025-02-17 12:41:03 -08:00
status.go Add API endpoint to request contents of multiple files simultaniously (#34139) 2025-04-22 01:20:11 +08:00
subscriber.go Refactor error system (#33626) 2025-02-17 12:41:03 -08:00
tag.go Improve "not found" error messages for API (#34267) 2025-04-23 17:42:50 +08:00
teams.go Refactor error system (#33610) 2025-02-16 22:13:17 -08:00
topic.go Refactor error system (#33610) 2025-02-16 22:13:17 -08:00
transfer.go Fix return bug (#34093) 2025-04-01 17:36:46 -04:00
tree.go Refactor error system (#33610) 2025-02-16 22:13:17 -08:00
wiki.go Don't assume the default wiki branch is master in the wiki API (#34244) 2025-04-19 03:13:00 +00:00