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/models/organization
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>
10 months ago
..
main_test.go move repository deletion to service layer (#26948) 10 months ago
mini_org.go Implement FSFE REUSE for golang files (#21840) 2 years ago
org.go Reduce usage of `db.DefaultContext` (#27073) 10 months ago
org_repo.go Use RepositoryList instead of []*Repository (#25074) 1 year ago
org_test.go Reduce usage of `db.DefaultContext` (#27073) 10 months ago
org_user.go Allow repo admins too to delete the repo (#23940) 1 year ago
org_user_test.go Reduce usage of `db.DefaultContext` (#27073) 10 months ago
team.go Rewrite logger system (#24726) 1 year ago
team_invite.go Implement FSFE REUSE for golang files (#21840) 2 years ago
team_invite_test.go Replace 'userxx' with 'orgxx' in all test files when the user type is org (#27052) 10 months ago
team_list.go Rename `GetUnits` to `LoadUnits` (#22970) 1 year ago
team_repo.go Use RepositoryList instead of []*Repository (#25074) 1 year ago
team_test.go refactor some functions to support ctx as first parameter (#21878) 2 years ago
team_unit.go Implement FSFE REUSE for golang files (#21840) 2 years ago
team_user.go Fix team members API endpoint pagination (#24754) 1 year ago