forgejo/models
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 log typo in task.go (#26337) (#26343) 2023-08-05 10:15:49 +00:00
activities Bypass MariaDB performance bug of the "IN" sub-query, fix incorrect IssueIndex (#26279) (#26368) 2023-08-07 10:55:25 +00:00
admin Replace interface{} with any (#25686) (#25687) 2023-07-04 23:41:32 -04:00
asymkey Replace interface{} with any (#25686) (#25687) 2023-07-04 23:41:32 -04:00
auth Remove "misc" scope check from public API endpoints (#26134) (#26149) 2023-07-26 05:32:41 +00:00
avatars Avoid warning for system setting when start up (#23054) 2023-02-24 18:23:13 +08:00
db Replace interface{} with any (#25686) (#25687) 2023-07-04 23:41:32 -04:00
dbfs Fix content holes in Actions task logs file (#25560) (#25566) 2023-06-28 23:39:23 +00:00
fixtures Fix access check for org-level project (#26182) (#26223) 2023-07-29 18:50:58 +00:00
git Fix pull request check list is limited (#26179) (#26245) 2023-07-31 08:56:46 +00:00
issues Add transaction when creating pull request created dirty data (#26259) (#26437) 2023-08-11 05:27:23 +00:00
migrations Prevent primary key update on migration (#26192) (#26199) 2023-07-28 11:08:11 +02:00
organization Remove unused code (#25734) (#25788) 2023-07-09 19:47:58 +00:00
packages Test if container blob is accessible before mounting (#22759) (#25784) 2023-07-09 12:00:04 +00:00
perm Rewrite logger system (#24726) 2023-05-21 22:35:11 +00:00
project Update xorm version (#26128) (#26150) 2023-07-26 07:40:23 +00:00
pull
repo Fix the topic validation rule and suport dots (#26286) (#26303) 2023-08-04 13:00:49 +08:00
secret Respect original content when creating secrets (#24745) 2023-05-16 14:49:40 +08:00
shared/types Display owner of a runner as a tooltip instead of static text (#24377) 2023-05-12 08:43:27 +00:00
system Replace interface{} with any (#25686) (#25687) 2023-07-04 23:41:32 -04:00
unit Rewrite logger system (#24726) 2023-05-21 22:35:11 +00:00
unittest Replace interface{} with any (#25686) (#25687) 2023-07-04 23:41:32 -04:00
user Fix API leaking Usermail if not logged in (#25097) (#26350) 2023-08-06 20:11:39 +08:00
webhook Replace interface{} with any (#25686) (#25687) 2023-07-04 23:41:32 -04:00
error.go
fixture_generation.go
fixture_test.go
main_test.go Merge setting.InitXXX into one function with options (#24389) 2023-05-04 11:55:35 +08:00
migrate.go
migrate_test.go
org.go
org_team.go Remove org users who belong to no teams (#24247) 2023-04-24 15:52:38 -04:00
org_team_test.go
org_test.go
repo.go Replace interface{} with any (#25686) (#25687) 2023-07-04 23:41:32 -04:00
repo_collaboration.go
repo_collaboration_test.go Rename repo.GetOwner to repo.LoadOwner (#22967) 2023-02-18 20:11:03 +08:00
repo_test.go
repo_transfer.go Fix unclear IsRepositoryExist logic (#24374) 2023-04-28 14:14:26 -04:00
repo_transfer_test.go