forgejo/models
Jason Song 2c4e85421e
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.

(cherry picked from commit c6c4d66004c70b24abc8048b39b660b8361a0395)
2024-03-30 07:17:29 +01:00
..
actions Cancel previous runs of the same PR automatically (#29961) 2024-03-26 16:51:56 +01:00
activities [Port] gitea#29930: Move notifications to a standalone file 2024-03-28 14:21:42 +01:00
admin
asymkey Fix some pending problems (#29985) 2024-03-26 19:04:26 +01:00
auth
avatars Replace 10 more gt- classes with tw- (#29945) 2024-03-26 19:04:27 +01:00
db Fix misuse of TxContext (#30061) 2024-03-30 07:17:29 +01:00
dbfs
fixtures [REFACTOR] webhook.Handler interface 2024-03-24 10:35:06 +01:00
forgejo/semver
forgejo_migrations [COSMETIC] unify the wording of the Forgejo migration comments 2024-03-28 12:08:43 +01:00
git Fix schedule tasks bugs (#28691) 2024-03-25 16:25:02 +01:00
issues Fix misuse of TxContext (#30061) 2024-03-30 07:17:29 +01:00
migrations Add a migration to remove SSH signatures from release notes 2024-03-26 08:09:36 +00:00
organization Respect DEFAULT_ORG_MEMBER_VISIBLE setting when adding creator to org (#30013) 2024-03-26 19:04:28 +01:00
packages
perm
project
pull
repo Fix schedule tasks bugs (#28691) 2024-03-25 16:25:02 +01:00
secret
shared/types
system
unit
unittest
user [BUG] Don't delete inactive emails explicitly 2024-03-29 15:14:09 +01:00
webhook Merge pull request '[TESTS] fail when log.Error is called' (#2657) from oliverpool/forgejo:fail_test_on_log_error into forgejo 2024-03-24 07:28:31 +00:00
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
repo_transfer_test.go