You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
forgejo/services/repository
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>
11 months ago
..
archiver move repository deletion to service layer (#26948) 11 months ago
files move repository deletion to service layer (#26948) 11 months ago
adopt.go Move createrepository from module to service layer (#26927) 11 months ago
adopt_test.go Use more specific test methods (#24265) 1 year ago
avatar.go Improve avatar uploading / resizing / compressing, remove Fomantic card module (#24653) 1 year ago
avatar_test.go Use context parameter in services/repository (#23186) 1 year ago
branch.go Move notification interface to services layer (#26915) 11 months ago
cache.go Use the type RefName for all the needed places and fix pull mirror sync bugs (#24634) 1 year ago
check.go move repository deletion to service layer (#26948) 11 months ago
collaboration.go Move some functions to service layer (#26969) 11 months ago
collaboration_test.go Move some functions to service layer (#26969) 11 months ago
commit.go Show branches and tags that contain a commit (#25180) 1 year ago
create.go move repository deletion to service layer (#26948) 11 months ago
create_test.go Reduce usage of `db.DefaultContext` (#27073) 11 months ago
delete.go move repository deletion to service layer (#26948) 11 months ago
delete_test.go move repository deletion to service layer (#26948) 11 months ago
fork.go Move notification interface to services layer (#26915) 11 months ago
fork_test.go Add option to prohibit fork if user reached maximum limit of repositories (#21848) 2 years ago
hooks.go Add user webhooks (#21563) 1 year ago
lfs.go Fix bugs in LFS meta garbage collection (#26122) 1 year ago
lfs_test.go Fix bugs in LFS meta garbage collection (#26122) 1 year ago
main_test.go Implement FSFE REUSE for golang files (#21840) 2 years ago
push.go Move notification interface to services layer (#26915) 11 months ago
repository.go move repository deletion to service layer (#26948) 11 months ago
repository_test.go refactor some functions to support ctx as first parameter (#21878) 2 years ago
review.go Use context parameter in services/repository (#23186) 1 year ago
review_test.go Use context parameter in services/repository (#23186) 1 year ago
template.go Move notification interface to services layer (#26915) 11 months ago
transfer.go Move notification interface to services layer (#26915) 11 months ago
transfer_test.go Replace 'userxx' with 'orgxx' in all test files when the user type is org (#27052) 11 months ago