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/web
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
..
admin Clarify path param naming (#32969) 2 months ago
auth Clarify path param naming (#32969) 2 months ago
devtest Add auto-expanding running actions step (#30058) 2 months ago
events Move context from modules to services (#29440) 12 months ago
explore Refactor template & test related code (#32938) 2 months ago
feed Clarify path param naming (#32969) 2 months ago
healthcheck
misc Refactor template & test related code (#32938) 2 months ago
org Clarify path param naming (#32969) 2 months ago
repo Use `CloseIssue` and `ReopenIssue` instead of `ChangeStatus` (#32467) 2 months ago
shared Clarify path param naming (#32969) 2 months ago
user Clarify path param naming (#32969) 2 months ago
base.go Fix `missing signature key` error when pulling Docker images with `SERVE_DIRECT` enabled (#32365) 4 months ago
githttp.go Fix LFS route mock, realm, middleware names (#32488) 3 months ago
goget.go Refactor RepoRefByType (#32413) 3 months ago
home.go Refactor template & test related code (#32938) 2 months ago
metrics.go
nodeinfo.go Move context from modules to services (#29440) 12 months ago
passkey.go Move context from modules to services (#29440) 12 months ago
swagger_json.go Move context from modules to services (#29440) 12 months ago
web.go Refactor tmpl and blob_excerpt (#32967) 2 months ago
webfinger.go Move context from modules to services (#29440) 12 months ago