forgejo/services
Lunny Xiao 368e9e0f1b
Add transaction when creating pull request created dirty data (#26259) (#26437)
Backport #26259 

This PR will introduce a transaction on creating pull request so that if
some step failed, it will rollback totally. And there will be no dirty
pull request exist.

Co-authored-by: Giteabot <teabot@gitea.io>
2023-08-11 05:27:23 +00:00
..
actions Fix pull request check list is limited (#26179) (#26245) 2023-07-31 08:56:46 +00:00
agit Use the type RefName for all the needed places and fix pull mirror sync bugs (#24634) 2023-05-26 01:04:48 +00:00
asymkey Add context cache as a request level cache (#22294) 2023-02-15 21:37:34 +08:00
attachment Preserve file size when creating attachments (#23406) 2023-03-12 03:48:07 -04:00
auth Fix SSPI auth panic (#25955) (#25969) 2023-07-18 22:28:06 +00:00
automerge Improve queue and logger context (#24924) 2023-05-26 07:31:55 +00:00
context Replace interface{} with any (#25686) (#25687) 2023-07-04 23:41:32 -04:00
convert Fix API leaking Usermail if not logged in (#25097) (#26350) 2023-08-06 20:11:39 +08:00
cron Replace interface{} with any (#25686) (#25687) 2023-07-04 23:41:32 -04:00
externalaccount Replace interface{} with any (#25686) (#25687) 2023-07-04 23:41:32 -04:00
forms Use "utf8mb4" for MySQL by default (#25432) 2023-06-22 07:38:23 +02:00
gitdiff Display human-readable text instead of cryptic filemodes (#26352) (#26358) 2023-08-06 23:15:01 +02:00
issue Add transaction when creating pull request created dirty data (#26259) (#26437) 2023-08-11 05:27:23 +00:00
lfs Replace interface{} with any (#25686) (#25687) 2023-07-04 23:41:32 -04:00
mailer Replace interface{} with any (#25686) (#25687) 2023-07-04 23:41:32 -04:00
markup Decouple the different contexts from each other (#24786) 2023-05-21 09:50:53 +08:00
migrations Replace interface{} with any (#25686) (#25687) 2023-07-04 23:41:32 -04:00
mirror Replace interface{} with any (#25686) (#25687) 2023-07-04 23:41:32 -04:00
org Refactor rename user and rename organization (#24052) 2023-05-21 23:13:47 +08:00
packages Prevent newline errors with Debian packages (#26332) (#26342) 2023-08-05 11:41:30 +02:00
pull Add transaction when creating pull request created dirty data (#26259) (#26437) 2023-08-11 05:27:23 +00:00
release Use the type RefName for all the needed places and fix pull mirror sync bugs (#24634) 2023-05-26 01:04:48 +00:00
repository Fix bugs in LFS meta garbage collection (#26122) (#26157) 2023-07-26 11:53:15 +00:00
task Replace interface{} with any (#25686) (#25687) 2023-07-04 23:41:32 -04:00
user fix incorrect repo url when changed the case of ownername (#25733) (#25881) 2023-07-15 19:47:24 +02:00
webhook Add pull request review request webhook event (#26401) (#26407) 2023-08-09 09:00:34 +00:00
wiki Introduce ctx.PathParamRaw to avoid incorrect unescaping (#26392) (#26405) 2023-08-09 07:31:44 +00:00