forgejo/routers/web/org
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
..
setting chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
home.go feat: avoid expensive SQL for org home (#9309) 2025-09-16 08:54:14 +02:00
main_test.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
members.go Update module github.com/golangci/golangci-lint/cmd/golangci-lint to v2 (forgejo) (#7367) 2025-03-28 22:22:21 +00:00
org.go Restore form inputs on organization create error (#34201) 2025-04-22 09:54:18 +02:00
org_labels.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
projects.go chore: ensure consistent import aliasing for services and models (#10253) 2025-11-30 17:00:57 +01:00
projects_test.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
setting.go fix(ui): prevent render failure on faulty org settings post (#8553) 2025-07-18 13:13:45 +02:00
setting_oauth2.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
setting_packages.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
teams.go feat: migrate add/remove repositories in team to native dialog (#9877) 2025-10-28 14:29:34 +01:00