mirror of
https://github.com/go-gitea/gitea
synced 2024-12-22 08:07:51 +01: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. |
||
---|---|---|
.. | ||
action_list.go | ||
action_test.go | ||
action.go | ||
main_test.go | ||
notification_list.go | ||
notification_test.go | ||
notification.go | ||
repo_activity.go | ||
statistic.go | ||
user_heatmap_test.go | ||
user_heatmap.go |