gitea/services
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
..
actions Enable tenv and testifylint rules (#32852) 2024-12-15 10:41:29 +00:00
agit
asymkey
attachment
auth Fix various trivial problems (#32861) 2024-12-17 01:15:18 +00:00
automerge
context Move RepoTransfer from models to models/repo sub package (#32506) 2024-12-18 11:44:16 +08:00
contexttest
convert Move RepoTransfer from models to models/repo sub package (#32506) 2024-12-18 11:44:16 +08:00
cron Enable tenv and testifylint rules (#32852) 2024-12-15 10:41:29 +00:00
doctor Move team related functions to service layer (#32537) 2024-11-27 21:12:26 +00:00
externalaccount
feed Enable tenv and testifylint rules (#32852) 2024-12-15 10:41:29 +00:00
forms Issue time estimate, meaningful time tracking (#23113) 2024-12-05 13:07:53 +00:00
gitdiff Enable tenv and testifylint rules (#32852) 2024-12-15 10:41:29 +00:00
indexer
issue Issue time estimate, meaningful time tracking (#23113) 2024-12-05 13:07:53 +00:00
lfs Fix LFS route mock, realm, middleware names (#32488) 2024-11-13 16:58:09 +08:00
mailer Use new mail package instead of an unmintained one (#32682) 2024-12-05 06:33:43 +08:00
markup Refactor markup render system (#32612) 2024-11-24 16:18:57 +08:00
migrations Enable tenv and testifylint rules (#32852) 2024-12-15 10:41:29 +00:00
mirror Refactor push mirror find and add check for updating push mirror (#32539) 2024-11-18 05:59:04 +00:00
notify
oauth2_provider Introduce OrgList and add LoadTeams, optimaze Load teams for orgs (#32543) 2024-11-26 21:55:06 +00:00
org Move RepoTransfer from models to models/repo sub package (#32506) 2024-12-18 11:44:16 +08:00
packages Add Arch package registry (#32692) 2024-12-04 23:09:07 +00:00
projects
pull Enable tenv and testifylint rules (#32852) 2024-12-15 10:41:29 +00:00
release Enable tenv and testifylint rules (#32852) 2024-12-15 10:41:29 +00:00
repository Move RepoTransfer from models to models/repo sub package (#32506) 2024-12-18 11:44:16 +08:00
secrets
task
uinotification
user Move RepoTransfer from models to models/repo sub package (#32506) 2024-12-18 11:44:16 +08:00
webhook Enable tenv and testifylint rules (#32852) 2024-12-15 10:41:29 +00:00
webtheme
wiki