gitea/models
Jason Song c6c4d66004
Fix misuse of `TxContext` (#30061)
Help #29999, or its tests cannot pass.

Also, add some comments to clarify the usage of `TxContext`.

I don't check all usages of `TxContext` because there are too many
(almost 140+). It's a better idea to replace them with `WithTx` instead
of checking them one by one. However, that may be another refactoring
PR.
2024-03-25 15:00:16 +08:00
..
actions Cancel previous runs of the same PR automatically (#29961) 2024-03-21 15:01:35 +08:00
activities Performance improvements for pull request list page (#29900) 2024-03-21 14:13:08 +01:00
admin
asymkey Fix some pending problems (#29985) 2024-03-22 19:17:30 +08:00
auth
avatars Replace 10 more gt- classes with tw- (#29945) 2024-03-22 13:45:10 +00:00
db Fix misuse of `TxContext` (#30061) 2024-03-25 15:00:16 +08:00
dbfs
fixtures Fix template error when comment review doesn't exist (#29888) 2024-03-19 04:19:48 +00:00
git
issues Fix misuse of `TxContext` (#30061) 2024-03-25 15:00:16 +08:00
migrations
organization Respect DEFAULT_ORG_MEMBER_VISIBLE setting when adding creator to org (#30013) 2024-03-23 21:59:58 +00:00
packages
perm
project
pull
repo
secret
shared/types
system
unit
unittest
user Fix user id column case (#29863) 2024-03-17 13:24:45 +00:00
webhook
error.go
fixture_generation.go
fixture_test.go
main_test.go
org.go
org_team.go
org_team_test.go
org_test.go
repo.go
repo_test.go
repo_transfer.go