0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-23 10:14:22 +01:00
gitea/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>
2023-09-14 17:09:32 +00:00
..
main_test.go move repository deletion to service layer (#26948) 2023-09-08 04:51:15 +00:00
mini_org.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
org.go Reduce usage of db.DefaultContext (#27073) 2023-09-14 17:09:32 +00:00
org_repo.go Use RepositoryList instead of []*Repository (#25074) 2023-06-05 15:25:47 +08:00
org_test.go Reduce usage of db.DefaultContext (#27073) 2023-09-14 17:09:32 +00:00
org_user.go Allow repo admins too to delete the repo (#23940) 2023-04-07 11:21:02 -04:00
org_user_test.go Reduce usage of db.DefaultContext (#27073) 2023-09-14 17:09:32 +00:00
team.go Rewrite logger system (#24726) 2023-05-21 22:35:11 +00:00
team_invite.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
team_invite_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
team_list.go Rename GetUnits to LoadUnits (#22970) 2023-02-19 16:31:39 +08:00
team_repo.go Use RepositoryList instead of []*Repository (#25074) 2023-06-05 15:25:47 +08:00
team_test.go refactor some functions to support ctx as first parameter (#21878) 2022-12-03 10:48:26 +08:00
team_unit.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
team_user.go Fix team members API endpoint pagination (#24754) 2023-05-17 08:12:37 +08:00