forgejo/modules/forgefed
famfo 5f432e32c8 chore(federation): re-enable nilnil lint (#11253)
First round of patches to re-enable some lints from my side.

This PR also refactors the general key fetching code quite a bit due to the way it currently worked
with relying on some values being nil sometimes.

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/11253
Reviewed-by: elle <0xllx0@noreply.codeberg.org>
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
Co-authored-by: famfo <famfo@famfo.xyz>
Co-committed-by: famfo <famfo@famfo.xyz>
2026-04-13 22:05:29 +02:00
..
activity_follow.go chore: update github.com/go-ap/activitypub to 902f6cf (#11301) 2026-04-02 23:57:13 +02:00
activity_follow_test.go chore: update github.com/go-ap/activitypub to 902f6cf (#11301) 2026-04-02 23:57:13 +02:00
activity_like.go chore: update github.com/go-ap/activitypub to 902f6cf (#11301) 2026-04-02 23:57:13 +02:00
activity_like_test.go chore: update github.com/go-ap/activitypub to 902f6cf (#11301) 2026-04-02 23:57:13 +02:00
activity_undo_like.go chore: update github.com/go-ap/activitypub to 902f6cf (#11301) 2026-04-02 23:57:13 +02:00
activity_undo_like_test.go chore: update github.com/go-ap/activitypub to 902f6cf (#11301) 2026-04-02 23:57:13 +02:00
activity_user_activity.go chore: update github.com/go-ap/activitypub to 902f6cf (#11301) 2026-04-02 23:57:13 +02:00
activity_user_activity_test.go chore: update github.com/go-ap/activitypub to 902f6cf (#11301) 2026-04-02 23:57:13 +02:00
activity_validateandcheckerror_test.go log instrumentation & test package (#10371) 2025-12-09 15:37:50 +01:00
actor.go chore: add modernizer linter (#11936) 2026-04-02 03:29:37 +02:00
actor_person.go chore(federation): re-enable nilnil lint (#11253) 2026-04-13 22:05:29 +02:00
actor_person_test.go chore(federation): re-enable nilnil lint (#11253) 2026-04-13 22:05:29 +02:00
actor_repository.go refactor & enhance AP elements used (#7728) 2025-06-02 22:29:10 +02:00
actor_repository_test.go log instrumentation & test package (#10371) 2025-12-09 15:37:50 +01:00
actor_test.go log instrumentation & test package (#10371) 2025-12-09 15:37:50 +01:00
forgefed.go refactor & enhance AP elements used (#7728) 2025-06-02 22:29:10 +02:00
inbox.go feat: Follow remote users; feed tab (#10380) 2026-04-12 03:31:03 +02:00
nodeinfo.go add port and schema to federation host (#7203) 2025-04-16 08:07:51 +00:00
object_user_activity_note.go chore: update github.com/go-ap/activitypub to 902f6cf (#11301) 2026-04-02 23:57:13 +02:00
object_user_activity_note_test.go chore: update github.com/go-ap/activitypub to 902f6cf (#11301) 2026-04-02 23:57:13 +02:00
outbox.go fix: add stub outboxes to actors (#10120) 2025-12-01 16:51:35 +01:00
repository.go chore: add modernizer linter (#11936) 2026-04-02 03:29:37 +02:00
repository_test.go log instrumentation & test package (#10371) 2025-12-09 15:37:50 +01:00