mirror of
https://github.com/go-gitea/gitea
synced 2024-12-23 00:54:28 +00:00
e4c4629465
`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. |
||
---|---|---|
.. | ||
main_test.go | ||
org_list_test.go | ||
org_list.go | ||
org_test.go | ||
org_user_test.go | ||
org_user.go | ||
org.go | ||
team_invite_test.go | ||
team_invite.go | ||
team_list_test.go | ||
team_list.go | ||
team_repo_test.go | ||
team_repo.go | ||
team_test.go | ||
team_unit.go | ||
team_user.go | ||
team.go |