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>
2024-12-25 07:38:30 +00:00
..
admin Clarify path param naming (#32969) 2024-12-24 13:47:45 +00:00
auth Clarify path param naming (#32969) 2024-12-24 13:47:45 +00:00
devtest Add auto-expanding running actions step (#30058) 2024-12-22 18:57:17 +00:00
events Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
explore Refactor template & test related code (#32938) 2024-12-22 15:33:19 +00:00
feed Clarify path param naming (#32969) 2024-12-24 13:47:45 +00:00
healthcheck Always enable caches (#28527) 2023-12-19 09:29:05 +00:00
misc Refactor template & test related code (#32938) 2024-12-22 15:33:19 +00:00
org Clarify path param naming (#32969) 2024-12-24 13:47:45 +00:00
repo Use `CloseIssue` and `ReopenIssue` instead of `ChangeStatus` (#32467) 2024-12-25 07:38:30 +00:00
shared Clarify path param naming (#32969) 2024-12-24 13:47:45 +00:00
user Clarify path param naming (#32969) 2024-12-24 13:47:45 +00:00
base.go Fix `missing signature key` error when pulling Docker images with `SERVE_DIRECT` enabled (#32365) 2024-10-31 15:28:25 +00:00
githttp.go Fix LFS route mock, realm, middleware names (#32488) 2024-11-13 16:58:09 +08:00
goget.go Refactor RepoRefByType (#32413) 2024-11-05 06:35:54 +00:00
home.go Refactor template & test related code (#32938) 2024-12-22 15:33:19 +00:00
metrics.go
nodeinfo.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
passkey.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
swagger_json.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
web.go Refactor tmpl and blob_excerpt (#32967) 2024-12-25 00:51:13 +08:00
webfinger.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00