gitea/models/issues
Jason Song 7adc2de464
Use context parameter in models/git (#22367)
After #22362, we can feel free to use transactions without
`db.DefaultContext`.

And there are still lots of models using `db.DefaultContext`, I think we
should refactor them carefully and one by one.

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
2023-01-09 11:50:54 +08:00
..
assignees_test.go refactor some functions to support ctx as first parameter (#21878) 2022-12-03 10:48:26 +08:00
assignees.go Rename almost all Ctx functions (#22071) 2022-12-10 10:46:31 +08:00
comment_list.go
comment_test.go Rename almost all Ctx functions (#22071) 2022-12-10 10:46:31 +08:00
comment.go Use context parameter in models/git (#22367) 2023-01-09 11:50:54 +08:00
content_history_test.go
content_history.go
dependency_test.go refactor some functions to support ctx as first parameter (#21878) 2022-12-03 10:48:26 +08:00
dependency.go
issue_index.go
issue_list_test.go
issue_list.go Rename almost all Ctx functions (#22071) 2022-12-10 10:46:31 +08:00
issue_lock.go Rename almost all Ctx functions (#22071) 2022-12-10 10:46:31 +08:00
issue_project.go Rename almost all Ctx functions (#22071) 2022-12-10 10:46:31 +08:00
issue_test.go Check primary keys for all tables and drop ForeignReference (#21721) 2022-12-23 19:35:43 +08:00
issue_user_test.go
issue_user.go
issue_watch_test.go
issue_watch.go
issue_xref_test.go
issue_xref.go Rename almost all Ctx functions (#22071) 2022-12-10 10:46:31 +08:00
issue.go Always reuse transaction (#22362) 2023-01-08 09:34:58 +08:00
label_test.go
label.go Rename almost all Ctx functions (#22071) 2022-12-10 10:46:31 +08:00
main_test.go
milestone_test.go
milestone.go refactor some functions to support ctx as first parameter (#21878) 2022-12-03 10:48:26 +08:00
pull_list.go
pull_test.go
pull.go refactor some functions to support ctx as first parameter (#21878) 2022-12-03 10:48:26 +08:00
reaction_test.go
reaction.go refactor some functions to support ctx as first parameter (#21878) 2022-12-03 10:48:26 +08:00
review_test.go
review.go Rename almost all Ctx functions (#22071) 2022-12-10 10:46:31 +08:00
stopwatch_test.go refactor some functions to support ctx as first parameter (#21878) 2022-12-03 10:48:26 +08:00
stopwatch.go Rename almost all Ctx functions (#22071) 2022-12-10 10:46:31 +08:00
tracked_time_test.go refactor some functions to support ctx as first parameter (#21878) 2022-12-03 10:48:26 +08:00
tracked_time.go Rename almost all Ctx functions (#22071) 2022-12-10 10:46:31 +08:00