You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/routers
Lunny Xiao 5feb1a6bff
Use `CloseIssue` and `ReopenIssue` instead of `ChangeStatus` (#32467)
The behaviors of closing issues and reopening issues are very different.
So splitting it into two different functions makes it easier to
maintain.

- [x] Split ChangeIssueStatus into CloseIssue and ReopenIssue both at
the service layer and model layer
- [x] Rename `isClosed` to `CloseOrReopen` to make it more readable.
- [x] Add transactions for ReopenIssue and CloseIssue

---------

Co-authored-by: Zettat123 <zettat123@gmail.com>
2 months ago
..
api Use `CloseIssue` and `ReopenIssue` instead of `ChangeStatus` (#32467) 2 months ago
common Refactor tmpl and blob_excerpt (#32967) 2 months ago
install Refactor request context (#32956) 2 months ago
private Clarify path param naming (#32969) 2 months ago
utils Refactor external URL detection (#29973) 11 months ago
web Use `CloseIssue` and `ReopenIssue` instead of `ChangeStatus` (#32467) 2 months ago
init.go Add sub issue list support (#32940) 2 months ago