gitforge/routers/web/repo
limiting-factor d3db2674b9 [v16.0/forgejo] fix: make assignment of projects to issues consistent (#13504)
**Backport:** https://codeberg.org/forgejo/forgejo/pulls/13066

A partial backport of the `tests/forgery` changes from `feat: make delete repository transcation READ COMMITTED (#12856)` is included and makes it a clean cherry-pick.

- Move the permissions and consistency logic to services/context/project.go
- When an invalid `project=id` is provided in the query string to display the form to create a new issue, it will now fail instead of silently discard the invalid id

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/13504
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
2026-07-17 23:29:06 +02:00
..
actions feat: add warnings for usage of unsupported permissions: in Actions workflows (#13164) 2026-06-23 21:30:19 +02:00
badges fix: introduce lint-single-response to prevent control flow continuing past a ctx.Error(...)-style method (#13087) 2026-06-14 17:06:03 +02:00
flags chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
setting fix: compliance with [migrations].ALLOWED_DOMAINS, ...BLOCKED_DOMAINS, and ....ALLOW_LOCALNETWORKS for git & LFS ops (#13129) 2026-06-23 23:40:25 +02:00
TestViewProjectPRLinkVisibility 2026-06-10 security patches (#13001) 2026-06-10 06:05:01 +02:00
action_aggregator_test.go chore: ensure consistent import aliasing for services and models (#10253) 2025-11-30 17:00:57 +01:00
activity.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
attachment.go 2026-05-12 security patches (#12493) 2026-05-12 04:54:25 +02:00
blame.go blame: count lines without reading blob 2025-06-24 17:36:13 +02:00
branch.go chore: add modernizer linter (#11936) 2026-04-02 03:29:37 +02:00
card.go feat: strip newlines on og image rendering (#10914) 2026-01-19 18:41:20 +01:00
cherry_pick.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
code_frequency.go chore: ensure consistent import aliasing for services and models (#10253) 2025-11-30 17:00:57 +01:00
commit.go feat: show breadcrumb path in path filtered commit history view (#12116) 2026-05-01 01:53:10 +02:00
commit_test.go fix(ui): improve Git notes editing (#11365) 2026-03-10 23:49:18 +01:00
compare.go fix: compare branches with names diff or patch (#12227) 2026-04-23 00:35:11 +02:00
contributors.go chore: ensure consistent import aliasing for services and models (#10253) 2025-11-30 17:00:57 +01:00
download.go git/commit: re-implement submodules file reader (#8438) 2025-07-15 00:20:00 +02:00
editor.go fix: introduce lint-single-response to prevent control flow continuing past a ctx.Error(...)-style method (#13087) 2026-06-14 17:06:03 +02:00
editor_test.go Update module github.com/golangci/golangci-lint/cmd/golangci-lint to v2 (forgejo) (#7367) 2025-03-28 22:22:21 +00:00
find.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
githttp.go 2026-05-12 security patches (#12493) 2026-05-12 04:54:25 +02:00
githttp_test.go Update module github.com/golangci/golangci-lint/cmd/golangci-lint to v2 (forgejo) (#7367) 2025-03-28 22:22:21 +00:00
helper.go feat(build): improve lint-locale-usage further (#8736) 2025-08-27 23:47:34 +02:00
helper_test.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
issue.go [v16.0/forgejo] fix: make assignment of projects to issues consistent (#13504) 2026-07-17 23:29:06 +02:00
issue_content_history.go 2025-11-21 combined security patches (#10037) 2025-11-21 05:23:43 +01:00
issue_dependency.go fix: introduce lint-single-response to prevent control flow continuing past a ctx.Error(...)-style method (#13087) 2026-06-14 17:06:03 +02:00
issue_label.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
issue_label_test.go chore: add modernizer linter (#11936) 2026-04-02 03:29:37 +02:00
issue_lock.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
issue_pin.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
issue_stopwatch.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
issue_test.go refactor(forgery): CreateProject helper to reduce dependency on global fixture when testing (#12796) 2026-05-31 16:46:54 +02:00
issue_timetrack.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
issue_watch.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
main_test.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
middlewares.go chore: fix typos throughout the codebase (#10753) 2026-01-26 22:57:33 +01:00
migrate.go fix: compliance with [migrations].ALLOWED_DOMAINS, ...BLOCKED_DOMAINS, and ....ALLOW_LOCALNETWORKS for git & LFS ops (#13129) 2026-06-23 23:40:25 +02:00
milestone.go chore: add modernizer linter (#11936) 2026-04-02 03:29:37 +02:00
packages.go chore: add modernizer linter (#11936) 2026-04-02 03:29:37 +02:00
patch.go chore: fix typos throughout the codebase (#10753) 2026-01-26 22:57:33 +01:00
projects.go fix: introduce lint-single-response to prevent control flow continuing past a ctx.Error(...)-style method (#13087) 2026-06-14 17:06:03 +02:00
projects_test.go 2026-06-10 security patches (#13001) 2026-06-10 06:05:01 +02:00
pull.go [v16.0/forgejo] fix: make assignment of projects to issues consistent (#13504) 2026-07-17 23:29:06 +02:00
pull_review.go feat(api,ui): add multiline comment on pullrequest (#12582) 2026-06-03 16:06:29 +02:00
pull_review_test.go feat(api,ui): add multiline comment on pullrequest (#12582) 2026-06-03 16:06:29 +02:00
pull_test.go fix(ui): improve Git notes editing (#11365) 2026-03-10 23:49:18 +01:00
recent_commits.go Hide activity contributors, recent commits and code frequrency left tabs if there is no code permission (#34053) 2025-04-01 02:28:02 +02:00
release.go fix(10359): Count releases correctly when using filters (q) (#10387) 2025-12-11 05:13:21 +01:00
release_test.go fix(10359): Count releases correctly when using filters (q) (#10387) 2025-12-11 05:13:21 +01:00
render.go feat: detect Interlisp sources as text (#8377) 2025-07-02 07:38:46 +02:00
repo.go [v16.0/forgejo] feat: granular settings for watched repo units (#13385) 2026-07-09 20:56:52 +02:00
search.go fix(ui): add missing translation for code search when keyword is empty string (#10964) 2026-01-21 16:42:18 +01:00
topic.go chore: tidy up uploading migration code (#12577) 2026-05-16 11:46:14 +02:00
treelist.go git/commit: re-implement submodules file reader (#8438) 2025-07-15 00:20:00 +02:00
view.go fix: introduce lint-single-response to prevent control flow continuing past a ctx.Error(...)-style method (#13087) 2026-06-14 17:06:03 +02:00
view_test.go
wiki.go fix: introduce lint-single-response to prevent control flow continuing past a ctx.Error(...)-style method (#13087) 2026-06-14 17:06:03 +02:00
wiki_test.go feat: fsck incoming objects (#12695) 2026-05-25 14:51:04 +02:00