forgejo/models
Lunny Xiao 36eb3c433a
Add transaction when creating pull request created dirty data (#26259)
Fix #26129
Replace #26258 

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-10 02:39:21 +00:00
..
actions Fix log typo in task.go (#26337) 2023-08-05 11:43:03 +02:00
activities Bypass MariaDB performance bug of the "IN" sub-query, fix incorrect IssueIndex (#26279) 2023-08-07 12:23:59 +02:00
admin Replace interface{} with any (#25686) 2023-07-04 18:36:08 +00:00
asymkey Update tool dependencies, lock govulncheck and actionlint (#25655) 2023-07-09 11:58:06 +00:00
auth Pre-register OAuth2 applications for git credential helpers (#26291) 2023-08-09 14:24:07 +02:00
avatars
db Refactor and enhance issue indexer to support both searching, filtering and paging (#26012) 2023-07-31 06:28:53 +00:00
dbfs
fixtures fix generated source URL on rendered files (#26364) 2023-08-08 09:04:04 +00:00
git Some fixes of the prompt of new branches (#26257) 2023-08-01 07:25:11 +00:00
issues Add transaction when creating pull request created dirty data (#26259) 2023-08-10 02:39:21 +00:00
migrations Fix typo in metadata (#26207) 2023-07-30 23:54:22 +00:00
organization Remove unused code (#25734) 2023-07-06 21:52:41 +00:00
packages Test if container blob is accessible before mounting (#22759) 2023-07-09 11:24:43 +00:00
perm some less naked returns (#25682) 2023-07-04 15:52:33 +00:00
project Update xorm version (#26128) 2023-07-25 20:27:44 +00:00
pull
repo Fix the topic validation rule and suport dots (#26286) 2023-08-03 09:18:06 +00:00
secret
shared/types
system Replace interface{} with any (#25686) 2023-07-04 18:36:08 +00:00
unit
unittest Replace interface{} with any (#25686) 2023-07-04 18:36:08 +00:00
user Fix API leaking Usermail if not logged in (#25097) 2023-07-31 01:18:38 +00:00
webhook Replace interface{} with any (#25686) 2023-07-04 18:36:08 +00:00
error.go Sync branches into databases (#22743) 2023-06-29 10:03:20 +00:00
fixture_generation.go
fixture_test.go
main_test.go
migrate.go Add context parameter to some database functions (#26055) 2023-07-22 22:14:27 +08:00
migrate_test.go Add context parameter to some database functions (#26055) 2023-07-22 22:14:27 +08:00
org.go
org_team.go
org_team_test.go
org_test.go
repo.go Update tool dependencies, lock govulncheck and actionlint (#25655) 2023-07-09 11:58:06 +00:00
repo_collaboration.go
repo_collaboration_test.go
repo_test.go
repo_transfer.go
repo_transfer_test.go