0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-26 00:14:53 +01:00
gitea/routers/api/v1
Norwin 1f45b3a629
API: don't allow merged PRs to be reopened (#17192)
* api: dont open merged PRs

* don't change base branch when already merged

* don't allow any state change

* also validate opening merged PRs in EditIssue

Co-authored-by: John Olheiser <john.olheiser@gmail.com>
Co-authored-by: 6543 <6543@obermui.de>
2021-10-02 23:11:17 -04:00
..
admin Move login related structs and functions to models/login (#17093) 2021-09-24 19:32:56 +08:00
misc Add nodeinfo endpoint for federation purposes (#16953) 2021-09-28 01:38:06 +02:00
notify
org
repo API: don't allow merged PRs to be reopened (#17192) 2021-10-02 23:11:17 -04:00
settings
swagger Add nodeinfo endpoint for federation purposes (#16953) 2021-09-28 01:38:06 +02:00
user Move login related structs and functions to models/login (#17093) 2021-09-24 19:32:56 +08:00
utils Move login related structs and functions to models/login (#17093) 2021-09-24 19:32:56 +08:00
api.go Add nodeinfo endpoint for federation purposes (#16953) 2021-09-28 01:38:06 +02:00