1
1
mirror of https://github.com/go-gitea/gitea synced 2025-01-09 09:24:25 +00:00
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>
2024-12-25 07:38:30 +00:00
..
2024-06-19 06:32:45 +08:00
2024-12-24 13:47:45 +00:00
2024-12-24 13:47:45 +00:00
2024-12-24 11:43:57 +08:00
2024-12-24 11:43:57 +08:00
2024-12-24 11:43:57 +08:00
2024-12-24 13:47:45 +00:00
2024-06-19 06:32:45 +08:00
2024-12-24 13:47:45 +00:00
2024-12-24 13:47:45 +00:00
2024-12-24 13:47:45 +00:00
2024-10-01 15:25:08 -04:00
2024-12-24 13:47:45 +00:00
2024-12-24 13:47:45 +00:00
2024-12-24 13:47:45 +00:00
2024-12-24 13:47:45 +00:00
2024-06-19 06:32:45 +08:00
2024-12-24 13:47:45 +00:00
2024-12-24 13:47:45 +00:00
2024-12-24 13:47:45 +00:00
2024-12-24 11:43:57 +08:00
2024-12-24 13:47:45 +00:00
2024-12-24 13:47:45 +00:00