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/api/v1
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
..
activitypub Remove SHA1 for support for ssh rsa signing (#31857) 6 months ago
admin Clarify path param naming (#32969) 2 months ago
misc Fix markup render regression and fix some tests (#32640) 3 months ago
notify Clarify path param naming (#32969) 2 months ago
org Clarify path param naming (#32969) 2 months ago
packages remove util.OptionalBool and related functions (#29513) 1 year ago
repo Use `CloseIssue` and `ReopenIssue` instead of `ChangeStatus` (#32467) 2 months ago
settings Move context from modules to services (#29440) 1 year ago
shared Refactor names (#31405) 8 months ago
swagger Implement update branch API (#32433) 3 months ago
user Clarify path param naming (#32969) 2 months ago
utils Move admin routers from /admin to /-/admin (#32189) 5 months ago
api.go Clarify path param naming (#32969) 2 months ago