forgejo/routers
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
..
api/v1 API: don't allow merged PRs to be reopened (#17192) 2021-10-02 23:11:17 -04:00
common Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
install Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
private refactor: move from io/ioutil to io and os package (#17109) 2021-09-22 13:38:34 +08:00
utils just add some unit tests (#16291) 2021-06-29 22:00:02 +01:00
web Prevent NPE on invalid diff (#17197) 2021-09-30 21:31:02 +02:00
init.go Always emit the configuration path (#17036) 2021-09-13 21:24:57 -04:00