1
1
mirror of https://github.com/go-gitea/gitea synced 2024-12-23 00:54:28 +00:00
gitea/models/activities
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
..
action_list.go Move GetFeeds to service layer (#32526) 2024-11-29 17:53:49 +00:00
action_test.go Move GetFeeds to service layer (#32526) 2024-11-29 17:53:49 +00:00
action.go Move RepoTransfer from models to models/repo sub package (#32506) 2024-12-18 11:44:16 +08:00
main_test.go make writing main test easier (#27270) 2023-09-28 01:38:53 +00:00
notification_list.go Refactor more filterslice (#30370) 2024-04-10 04:18:41 +00:00
notification_test.go Use db.Find instead of writing methods for every object (#28084) 2023-11-24 03:49:41 +00:00
notification.go Perf: add extra index to notification table (#32395) 2024-11-13 18:17:54 +00:00
repo_activity.go Repo Activity: count new issues that were closed (#31776) 2024-09-21 18:57:01 +00:00
statistic.go Rename project board -> column to make the UI less confusing (#30170) 2024-05-27 08:59:54 +00:00
user_heatmap_test.go Enable tenv and testifylint rules (#32852) 2024-12-15 10:41:29 +00:00
user_heatmap.go Move GetFeeds to service layer (#32526) 2024-11-29 17:53:49 +00:00