Michael Jerger and Mathieu Fenniak
9cff7ebde5
log instrumentation & test package ( #10371 )
...
This PR is part of #4767 .
It contains
* add log to federation services
* separat test package for test (fix dependency cycles)
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/10371
Reviewed-by: Mathieu Fenniak <mfenniak@noreply.codeberg.org >
Co-authored-by: Michael Jerger <michael.jerger@meissa-gmbh.de >
Co-committed-by: Michael Jerger <michael.jerger@meissa-gmbh.de >
2025-12-09 15:37:50 +01:00
Michael Jerger and Earl Warren
c081f20776
Sent user activities to distant federated server ( #8792 )
...
This PR is part of #4767 . It contains
* a refactoring of validation error messages
* adds the ability to send user-activities to distant federated servers
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/8792
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-08-06 16:16:13 +02:00
3bb6ed8f19
refactor & enhance AP elements used ( #7728 )
...
This PR is part of https://codeberg.org/forgejo/forgejo/pulls/4767 filed by @algernon
To keep changes isolated this might be reviewed & merge after https://codeberg.org/forgejo/forgejo/pulls/7714
Refactor existing code to have one AP struct per file.
Enhance AP structs needed by related PR
## 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 >
Co-authored-by: Mirco Zachmann <nostar@noreply.codeberg.org >
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/7728
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 22:29:10 +02:00
baa93ec66e
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-05-30 13:07:35 +02:00
chavacava and Gusted
99d697263f
chore(cleanup): replaces unnecessary calls to formatting functions by non-formatting equivalents ( #7994 )
...
This PR replaces unnecessary calls to formatting functions (`fmt.Printf`, `fmt.Errorf`, ...) by non-formatting equivalents.
Resolves #7967
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/7994
Reviewed-by: Gusted <gusted@noreply.codeberg.org >
Co-authored-by: chavacava <chavacava@noreply.codeberg.org >
Co-committed-by: chavacava <chavacava@noreply.codeberg.org >
2025-05-29 17:34:29 +02:00
f6a5b783d2
add port and schema to federation host ( #7203 )
...
## 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.
- [ ] in the `tests/integration` directory if it involves interactions with a live Forgejo server.
### Documentation
- [ ] I created a pull request [to the documentation](https://codeberg.org/forgejo/docs ) to explain to Forgejo users how to use this change.
- [ ] I did not document these changes and I do not expect someone else to do it.
### Release notes
- [ ] 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: Michael Jerger <michael.jerger@meissa-gmbh.de >
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/7203
Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org >
Co-authored-by: zam <mirco.zachmann@meissa.de >
Co-committed-by: zam <mirco.zachmann@meissa.de >
2025-04-16 08:07:51 +00:00
Gusted and Gusted
2457f5ff22
chore: branding import path ( #7337 )
...
- Massive replacement of changing `code.gitea.io/gitea` to `forgejo.org`.
- Resolves forgejo/discussions#258
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/7337
Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org >
Reviewed-by: Michael Kriese <michael.kriese@gmx.de >
Reviewed-by: Beowulf <beowulf@beocode.eu >
Reviewed-by: Panagiotis "Ivory" Vasilopoulos <git@n0toose.net >
Co-authored-by: Gusted <postmaster@gusted.xyz >
Co-committed-by: Gusted <postmaster@gusted.xyz >
2025-03-27 19:40:14 +00:00
Michael Jerger
fc38e56373
enhance test & fix reviews
2024-05-14 08:24:31 +02:00
Michael Jerger
1a76664d56
next step on the way to federation
2024-05-07 17:58:13 +02:00