0
0
mirror of https://github.com/go-gitea/gitea.git synced 2025-01-23 07:06:29 +01:00
gitea/models/issues
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
..
assignees_test.go
assignees.go
comment_code.go Do some performance optimize for issues list and view issue/pull (#29515) 2024-03-12 07:23:44 +00:00
comment_list.go Do some performance optimize for issues list and view issue/pull (#29515) 2024-03-12 07:23:44 +00:00
comment_test.go
comment.go Do some performance optimize for issues list and view issue/pull (#29515) 2024-03-12 07:23:44 +00:00
content_history_test.go
content_history.go
dependency_test.go
dependency.go
issue_index.go
issue_label_test.go
issue_label.go
issue_list_test.go
issue_list.go Performance improvements for pull request list page (#29900) 2024-03-21 14:13:08 +01:00
issue_lock.go
issue_project.go
issue_search.go Use db.ListOptions directly instead of Paginator interface to make it easier to use and fix performance of /pulls and /issues (#29990) 2024-03-24 18:51:08 +00:00
issue_stats.go Use db.ListOptions directly instead of Paginator interface to make it easier to use and fix performance of /pulls and /issues (#29990) 2024-03-24 18:51:08 +00:00
issue_test.go
issue_update.go
issue_user_test.go
issue_user.go
issue_watch_test.go
issue_watch.go
issue_xref_test.go
issue_xref.go
issue.go Performance improvements for pull request list page (#29900) 2024-03-21 14:13:08 +01:00
label_test.go
label.go Refactor label.IsArchived() (#29750) 2024-03-13 07:04:07 +01:00
main_test.go
milestone_list.go
milestone_test.go
milestone.go
pull_list.go Refactor StringsToInt64s (#29967) 2024-03-21 15:07:35 +00:00
pull_test.go Refactor StringsToInt64s (#29967) 2024-03-21 15:07:35 +00:00
pull.go Fix codeowner detected diff base branch to mergebase (#29783) 2024-03-15 05:13:09 +00:00
reaction.go
review_list.go
review_test.go
review.go Fix misuse of TxContext (#30061) 2024-03-25 15:00:16 +08:00
stopwatch_test.go
stopwatch.go
tracked_time_test.go
tracked_time.go