forgejo/models/git
oliverpool 09699c1506 feat: always publish the link to the commit status (#8177)
See https://codeberg.org/forgejo/forgejo/pulls/4801#issuecomment-5094525 and #8152 for more context.

The current implementation is limited to self-hosted actions and buggy as soon as multiple repos are involved, like for the homepage (because each permission must be fetched individually).

Ideally this feature should work for all kind of status (with some setting indicating which collaborator can access with status). Probably inside the `git_model.ParseCommitsWithStatus` function.

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/8177
Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org>
Co-authored-by: oliverpool <git@olivier.pfad.fr>
Co-committed-by: oliverpool <git@olivier.pfad.fr>
2025-06-13 12:41:34 +02:00
..
TestIterateRepositoryIDsWithLFSMetaObjects Refactor LFS GC functions 2024-04-05 16:49:15 +02:00
branch.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
branch_list.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
branch_test.go Update module github.com/golangci/golangci-lint/cmd/golangci-lint to v2 (forgejo) (#7367) 2025-03-28 22:22:21 +00:00
commit_status.go feat: always publish the link to the commit status (#8177) 2025-06-13 12:41:34 +02:00
commit_status_summary.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
commit_status_test.go feat: always publish the link to the commit status (#8177) 2025-06-13 12:41:34 +02:00
lfs.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
lfs_lock.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
lfs_lock_list.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
lfs_test.go chore: merge tests.AddFixtures and unittest.OverrideFixtures (#7648) 2025-04-25 09:14:33 +00:00
main_test.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
protected_branch.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
protected_branch_list.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
protected_branch_list_test.go Update module github.com/golangci/golangci-lint/cmd/golangci-lint to v2 (forgejo) (#7367) 2025-03-28 22:22:21 +00:00
protected_branch_test.go Update module github.com/golangci/golangci-lint/cmd/golangci-lint to v2 (forgejo) (#7367) 2025-03-28 22:22:21 +00:00
protected_tag.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
protected_tag_test.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00