1
1
mirror of https://github.com/go-gitea/gitea synced 2024-12-22 16:44:26 +00:00
gitea/routers/web/org
Lunny Xiao e4c4629465
Move RepoTransfer from models to models/repo sub package (#32506)
`RepoTransfer` now is at models, but if we want to move it into `repo`
model, it will depend on `Team`. So this PR also makes repo model depend
on org model to make it possible. Just refactor, no code change.

- [x] Move `DeleteOrganization` from `models/organization` to service
layer
- [x] Move `AccessibleTeamReposEnv` to `models/repo`
- [x] Move `RepoTransfer` from `models` to `models/repo`
- [x] Merge `getUserTeamIDs` and `GetUserTeamIDs`, Merge `GetUserTeams`
and `getUserTeams`.
- [x] Remove `Team`'s `Repos []*repo_model.Repository` to avoid dependency recycle.
2024-12-18 11:44:16 +08:00
..
setting Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
block.go Add user blocking (#29028) 2024-03-04 08:16:03 +00:00
home.go Refactor markup render system (#32612) 2024-11-24 16:18:57 +08:00
main_test.go make writing main test easier (#27270) 2023-09-28 01:38:53 +00:00
members.go Move team related functions to service layer (#32537) 2024-11-27 21:12:26 +00:00
org_labels.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
org.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
projects_test.go Refactor names (#31405) 2024-06-19 06:32:45 +08:00
projects.go Add label/author/assignee filters to the user/org home issue list (#32779) 2024-12-11 06:33:24 +00:00
setting_oauth2.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
setting_packages.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
setting.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
teams.go Move RepoTransfer from models to models/repo sub package (#32506) 2024-12-18 11:44:16 +08:00