jojo/services/federation
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
..
delivery_queue.go Add ActivityPub Person follow from distant (#8720) 2025-08-03 11:55:01 +02:00
error.go fix: assorted ActivityPub code only refactors (#8708) 2025-07-28 15:17:29 +02:00
federation_service.go Add ActivityPub Person follow from distant (#8720) 2025-08-03 11:55:01 +02:00
person_inbox_accept.go Sent user activities to distant federated server (#8792) 2025-08-06 16:16:13 +02:00
person_inbox_create.go Sent user activities to distant federated server (#8792) 2025-08-06 16:16:13 +02:00
person_inbox_follow.go Add ActivityPub Person follow from distant (#8720) 2025-08-03 11:55:01 +02:00
person_inbox_undo.go Add ActivityPub Person follow from distant (#8720) 2025-08-03 11:55:01 +02:00
person_service.go chore: ensure consistent import aliasing for services and models (#10253) 2025-11-30 17:00:57 +01:00
repository_inbox_like.go chore: ensure consistent import aliasing for services and models (#10253) 2025-11-30 17:00:57 +01:00
repository_service.go fix: assorted ActivityPub code only refactors (#8708) 2025-07-28 15:17:29 +02:00
result.go fix: assorted ActivityPub code only refactors (#8708) 2025-07-28 15:17:29 +02:00
signature_service.go fix: assorted ActivityPub code only refactors (#8708) 2025-07-28 15:17:29 +02:00
user_activity.go Sent user activities to distant federated server (#8792) 2025-08-06 16:16:13 +02:00