gitea/models/repo
JakobDev 76659b1114
Reduce usage of `db.DefaultContext` (#27073)
Part of #27065

This reduces the usage of `db.DefaultContext`. I think I've got enough
files for the first PR. When this is merged, I will continue working on
this.

Considering how many files this PR affect, I hope it won't take to long
to merge, so I don't end up in the merge conflict hell.

---------

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2023-09-14 17:09:32 +00:00
..
archiver.go
attachment.go
attachment_test.go
avatar.go
collaboration.go
collaboration_test.go
fork.go Reduce usage of `db.DefaultContext` (#27073) 2023-09-14 17:09:32 +00:00
fork_test.go
git.go Reduce usage of `db.DefaultContext` (#27073) 2023-09-14 17:09:32 +00:00
issue.go
language_stats.go
main_test.go move repository deletion to service layer (#26948) 2023-09-08 04:51:15 +00:00
mirror.go
pushmirror.go Move `modules/mirror` to `services` (#26737) 2023-08-27 10:24:45 +08:00
pushmirror_test.go
redirect.go
redirect_test.go
release.go Move some functions to service layer (#26969) 2023-09-08 21:09:23 +00:00
release_test.go Move some functions to service layer (#26969) 2023-09-08 21:09:23 +00:00
repo.go
repo_indexer.go
repo_list.go Fix counting and filtering on the dashboard page for issues (#26657) 2023-08-23 02:29:17 +00:00
repo_list_test.go Replace 'userxx' with 'orgxx' in all test files when the user type is org (#27052) 2023-09-14 02:59:53 +00:00
repo_test.go Replace 'userxx' with 'orgxx' in all test files when the user type is org (#27052) 2023-09-14 02:59:53 +00:00
repo_unit.go Replace `util.SliceXxx` with `slices.Xxx` (#26958) 2023-09-07 09:37:47 +00:00
repo_unit_test.go
search.go
star.go
star_test.go
topic.go
topic_test.go
update.go
upload.go
user_repo.go
user_repo_test.go
watch.go
watch_test.go
wiki.go
wiki_test.go