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