forgejo/services/context
Antonin Delpeuch 6d1818ffdb feat: allow PRs between common forks of the same base repository (#9045)
Fixes #6185.

## Checklist

### Tests

- I added test coverage for Go changes...
  - [x] in their respective `*_test.go` for unit tests.
  - [x] in the `tests/integration` directory if it involves interactions with a live Forgejo server.

I also tested the changes manually.

### Documentation

- [ ] I created a pull request [to the documentation](https://codeberg.org/forgejo/docs) to explain to Forgejo users how to use this change.
- [x] 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.
- [x] 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.

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/9045
Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org>
Co-authored-by: Antonin Delpeuch <antonin@delpeuch.eu>
Co-committed-by: Antonin Delpeuch <antonin@delpeuch.eu>
2025-10-01 04:58:12 +02:00
..
upload
access_log.go
api.go
api_org.go
api_test.go
base.go
base_test.go
captcha.go
context.go
context_cookie.go
context_model.go
context_request.go
context_response.go
context_test.go
csrf.go
org.go
package.go
pagination.go
permission.go
private.go
quota.go
repo.go feat: allow PRs between common forks of the same base repository (#9045) 2025-10-01 04:58:12 +02:00
repository.go
response.go
user.go
utils.go Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
xsrf.go
xsrf_test.go