0
0
mirror of https://github.com/go-gitea/gitea.git synced 2025-01-31 09:31:18 +01:00
gitea/routers/api/v1
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
..
activitypub Remove SHA1 for support for ssh rsa signing (#31857) 2024-09-07 18:05:18 -04:00
admin Move admin routers from /admin to /-/admin (#32189) 2024-10-10 04:56:49 +00:00
misc Fix markup render regression and fix some tests (#32640) 2024-11-26 03:04:55 +08:00
notify
org Move RepoTransfer from models to models/repo sub package (#32506) 2024-12-18 11:44:16 +08:00
packages
repo Move RepoTransfer from models to models/repo sub package (#32506) 2024-12-18 11:44:16 +08:00
settings
shared
swagger Implement update branch API (#32433) 2024-12-12 05:02:35 +00:00
user Move GetFeeds to service layer (#32526) 2024-11-29 17:53:49 +00:00
utils Move admin routers from /admin to /-/admin (#32189) 2024-10-10 04:56:49 +00:00
api.go Implement update branch API (#32433) 2024-12-12 05:02:35 +00:00