1
1
mirror of https://github.com/go-gitea/gitea synced 2024-12-23 00:54:28 +00:00
gitea/services/user
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
..
avatar.go Fix bug on avatar (#31008) 2024-05-19 12:58:39 +08:00
block_test.go Add user blocking (#29028) 2024-03-04 08:16:03 +00:00
block.go Move RepoTransfer from models to models/repo sub package (#32506) 2024-12-18 11:44:16 +08:00
delete.go Enable more revive linter rules (#30608) 2024-04-22 11:48:42 +00:00
email_test.go Skip email domain check when admins edit user emails (#29609) 2024-03-05 16:51:56 +00:00
email.go Skip email domain check when admins edit user emails (#29609) 2024-03-05 16:51:56 +00:00
update_test.go Resolve lint for unused parameter and unnecessary type arguments (#30750) 2024-04-29 08:47:56 +00:00
update.go Unify password changing and invalidate auth tokens (#27625) 2024-02-04 14:05:26 +00:00
user_test.go Move team related functions to service layer (#32537) 2024-11-27 21:12:26 +00:00
user.go Move team related functions to service layer (#32537) 2024-11-27 21:12:26 +00:00