mirror of https://github.com/go-gitea/gitea.git
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 | |
---|---|---|
.. | ||
assignee.go | 3 months ago | |
assignee_test.go | 9 months ago | |
comments.go | 9 months ago | |
commit.go | 2 months ago | |
commit_test.go | 1 year ago | |
content.go | 9 months ago | |
issue.go | 3 months ago | |
issue_test.go | 1 year ago | |
label.go | 1 year ago | |
label_test.go | 1 year ago | |
main_test.go | 4 months ago | |
milestone.go | 2 months ago | |
milestone_test.go | 2 months ago | |
pull.go | 10 months ago | |
reaction.go | 1 year ago | |
reaction_test.go | 1 year ago | |
status.go | 2 months ago | |
template.go | 4 months ago |