1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-28 13:49:13 -05:00
forgejo/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 Notifications API: respond with updated notifications (#17064) 2021-09-17 19:40:50 -04:00
org Calculate label URL on API (#16186) 2021-09-10 18:03:16 +02:00
repo API: don't allow merged PRs to be reopened (#17192) 2021-10-02 23:11:17 -04:00
settings Make mirror feature more configurable (#16957) 2021-09-07 17:49:36 +02:00
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