forgejo_backup/modules/forgefed
Michael Jerger f4e87c6772 enhance validateable interface (#7714)
This PR is part of https://codeberg.org/forgejo/forgejo/pulls/4767 filed by @algernon

Validateable is enhanced for less duplication.

## Checklist

The [contributor guide](https://forgejo.org/docs/next/contributor/) contains information that will be helpful to first time contributors. There also are a few [conditions for merging Pull Requests in Forgejo repositories](https://codeberg.org/forgejo/governance/src/branch/main/PullRequestsAgreement.md). You are also welcome to join the [Forgejo development chatroom](https://matrix.to/#/#forgejo-development:matrix.org).

### Tests

- I added test coverage for Go changes...
  - [x] in their respective `*_test.go` for unit tests.

### Release notes

- [x] I do not want this change to show in the release notes.
- [ ] I want the title to show in the release notes with a link to this pull request.
- [ ] I want the content of the `release-notes/<pull request number>.md` to be be used for the release notes instead of the title.

Co-authored-by: zam <mirco.zachmann@meissa.de>
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/7714
Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org>
Co-authored-by: Michael Jerger <michael.jerger@meissa-gmbh.de>
Co-committed-by: Michael Jerger <michael.jerger@meissa-gmbh.de>
2025-06-02 14:13:27 +02:00
..
activity_like.go chore: branding import path (#7337) 2025-06-02 14:13:08 +02:00
activity_like_test.go enhance validateable interface (#7714) 2025-06-02 14:13:27 +02:00
activity_undo_like.go chore: branding import path (#7337) 2025-06-02 14:13:08 +02:00
activity_undo_like_test.go chore(cleanup): replaces unnecessary calls to formatting functions by non-formatting equivalents (#7994) 2025-06-02 14:13:27 +02:00
activity_validateandcheckerror_test.go chore: branding import path (#7337) 2025-06-02 14:13:08 +02:00
actor.go add port and schema to federation host (#7203) 2025-06-02 14:13:16 +02:00
actor_test.go enhance validateable interface (#7714) 2025-06-02 14:13:27 +02:00
forgefed.go style: reenable switch check 2024-08-18 15:19:01 +02:00
nodeinfo.go add port and schema to federation host (#7203) 2025-06-02 14:13:16 +02:00
repository.go feat(federation): validate like activities (#3494) 2024-05-07 07:59:49 +00:00
repository_test.go chore: branding import path (#7337) 2025-06-02 14:13:08 +02:00