forgejo/models/activities
nachtjasmin 8ee4a7d658 chore: ensure consistent import aliasing for services and models (#10253)
To make sure that the code stays maintainable, I added the `importas` linter to ensure that the imports for models and services stay consistent.

I realised that this might be needed after finding some discrepancies between singular/plural naming, and, especially in the case of the `forgejo.org/services/context` package, multiple different aliases like `gitea_ctx`, `app_context` and `forgejo_context`. I decided for `app_context`, as that seems to be the most commonly used naming.

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/10253
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
Co-authored-by: nachtjasmin <nachtjasmin@posteo.de>
Co-committed-by: nachtjasmin <nachtjasmin@posteo.de>
2025-11-30 17:00:57 +01:00
..
action.go fix: realign indexes on the 'action' table (#10040) 2025-11-18 18:34:25 +01:00
action_list.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
action_test.go chore: ensure consistent import aliasing for services and models (#10253) 2025-11-30 17:00:57 +01:00
federated_user_activity.go Federated user activity following: Isolated model changes (#8078) 2025-06-21 12:02:58 +02:00
federated_user_activity_test.go Federated user activity following: Isolated model changes (#8078) 2025-06-21 12:02:58 +02:00
main_test.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
notification.go feat: rework notification table (#9926) 2025-11-29 23:03:56 +01:00
notification_list.go feat: rework notification table (#9926) 2025-11-29 23:03:56 +01:00
notification_test.go feat: rework notification table (#9926) 2025-11-29 23:03:56 +01:00
repo_activity.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
repo_activity_test.go Update module github.com/golangci/golangci-lint/cmd/golangci-lint to v2 (forgejo) (#7367) 2025-03-28 22:22:21 +00:00
statistic.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
user_heatmap.go chore: Remove IsDeleted from action (activity) table (#9829) 2025-11-08 04:20:05 +01:00
user_heatmap_test.go chore: Remove IsDeleted from action (activity) table (#9829) 2025-11-08 04:20:05 +01:00