mirror of
https://github.com/go-gitea/gitea.git
synced 2024-12-19 09:43:37 +08: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. |
||
---|---|---|
.. | ||
activity.go | ||
attachment.go | ||
convert.go | ||
git_commit_test.go | ||
git_commit.go | ||
issue_comment.go | ||
issue_test.go | ||
issue.go | ||
main_test.go | ||
mirror.go | ||
notification.go | ||
package.go | ||
pull_review_test.go | ||
pull_review.go | ||
pull_test.go | ||
pull.go | ||
release_test.go | ||
release.go | ||
repository.go | ||
secret.go | ||
status.go | ||
user_test.go | ||
user.go | ||
utils_test.go | ||
utils.go | ||
wiki.go |