forgejo/services/repository
forgejo-backport-action 5f88d15a63 [v12.0/forgejo] fix: pass doer's ID for CRUD instance signing (#8318)
**Backport:** https://codeberg.org/forgejo/forgejo/pulls/8304

- When doing CRUD actions, the commiter and author are reconstructed and
do not contain the doer's ID. Make sure to pass this ID along so it can
be used to verify the rules of instance signing for CRUD actions.
- Regression of forgejo/forgejo#7693. It seems that previously this
didn't work correctly as it would not care about a empty ID.
- Resolves forgejo/forgejo#8278

Co-authored-by: Gusted <postmaster@gusted.xyz>
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/8318
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
Co-authored-by: forgejo-backport-action <forgejo-backport-action@noreply.codeberg.org>
Co-committed-by: forgejo-backport-action <forgejo-backport-action@noreply.codeberg.org>
2025-06-27 16:26:11 +02:00
..
archiver
commitstatus
files [v12.0/forgejo] fix: pass doer's ID for CRUD instance signing (#8318) 2025-06-27 16:26:11 +02:00
gitgraph
adopt.go
adopt_test.go
avatar.go
avatar_test.go
branch.go chore(cleanup): replaces unnecessary calls to formatting functions by non-formatting equivalents (#7994) 2025-05-29 17:34:29 +02:00
cache.go
check.go
collaboration.go
collaboration_test.go
commit.go
contributors_graph.go chore(cleanup): replaces unnecessary calls to formatting functions by non-formatting equivalents (#7994) 2025-05-29 17:34:29 +02:00
contributors_graph_test.go
create.go
create_test.go fix: ensure consistent empty repository topics field (#7920) 2025-05-29 22:39:53 +02:00
delete.go feat!: Abusive content reporting (#6977) 2025-05-18 08:05:16 +00:00
fork.go
fork_test.go chore: QoL improvements to tests (#7917) 2025-05-21 15:45:56 +02:00
generate.go fix: camel and pascal case transformer (#8034) 2025-06-01 17:06:25 +02:00
generate_test.go fix: camel and pascal case transformer (#8034) 2025-06-01 17:06:25 +02:00
hooks.go
init.go
lfs.go
lfs_test.go
main_test.go
migrate.go
push.go chore(cleanup): replaces unnecessary calls to formatting functions by non-formatting equivalents (#7994) 2025-05-29 17:34:29 +02:00
repository.go chore(cleanup): replaces unnecessary calls to formatting functions by non-formatting equivalents (#7994) 2025-05-29 17:34:29 +02:00
repository_test.go
review.go
review_test.go
setting.go
star.go
sync_fork.go
template.go
transfer.go
transfer_test.go