forgejo/routers/api/v1
Giteabot 120a173e24
Fix PR creation via api between branches of same repo with head field namespaced (#26986) (#29857)
Backport #26986 by @norohind

Fix #20175

Current implementation of API does not allow creating pull requests
between branches of the same
repo when you specify *namespace* (owner of the repo) in `head` field in
http request body.

---------

Co-authored-by: norohind <60548839+norohind@users.noreply.github.com>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
(cherry picked from commit 408c92938ba6f38eea1210cae2c485e1f19d4982)
2024-03-21 17:09:50 +01:00
..
activitypub
admin Forbid removing the last admin user (#28337) (#28793) 2024-01-16 14:41:11 +00:00
misc
notify
org
packages
repo Fix PR creation via api between branches of same repo with head field namespaced (#26986) (#29857) 2024-03-21 17:09:50 +01:00
settings
swagger
user Fix comment permissions (#28213) (#28216) 2023-11-26 13:56:50 +01:00
utils Fix: system webhooks API bug (#28531) (#28666) 2024-01-16 14:16:55 +00:00
api.go Require token for GET subscription endpoint (#28765) (#28768) 2024-01-16 14:39:23 +00:00