gitea/routers/web
YaFou e947f309b1
Some checks are pending
release-nightly / nightly-binary (push) Waiting to run
release-nightly / nightly-docker-rootful (push) Waiting to run
release-nightly / nightly-docker-rootless (push) Waiting to run
Add API routes to lock and unlock issues (#34165)
This pull request adds a GitHub-compatible API endpoint to lock and
unlock an issue.

The following routes exist now:
- `PUT /api/v1/repos/{owner}/{repo}/issues/{id}/lock` to lock an issue
- `DELETE /api/v1/repos/{owner}/{repo}/issues/{id}/lock` to unlock an issue

Fixes #33677
Fixes #20012

---------

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2025-04-21 00:43:43 +00:00
..
admin Make ROOT_URL support using request Host header (#32564) 2025-04-20 11:43:48 +00:00
auth Enable addtional linters (#34085) 2025-04-01 10:14:01 +00:00
devtest Enable addtional linters (#34085) 2025-04-01 10:14:01 +00:00
events
explore Improve issue & code search (#33860) 2025-03-13 11:07:48 +08:00
feed Enable addtional linters (#34085) 2025-04-01 10:14:01 +00:00
healthcheck
misc Refactor cache-control (#33861) 2025-03-13 07:04:50 +08:00
org Restore form inputs on organization create error (#34201) 2025-04-15 08:21:51 +00:00
repo Add API routes to lock and unlock issues (#34165) 2025-04-21 00:43:43 +00:00
shared Actions Runner rest api (#33873) 2025-04-18 15:22:41 +00:00
user refactor organization menu (#33928) 2025-04-10 12:12:55 -07:00
base.go Enable addtional linters (#34085) 2025-04-01 10:14:01 +00:00
githttp.go Fix git client accessing renamed repo (#34034) 2025-03-28 07:28:58 +08:00
goget.go Enable addtional linters (#34085) 2025-04-01 10:14:01 +00:00
home.go Refactor error system (#33610) 2025-02-16 22:13:17 -08:00
metrics.go
nodeinfo.go Enable addtional linters (#34085) 2025-04-01 10:14:01 +00:00
passkey.go
swagger_json.go
web.go Add middleware for request prioritization (#33951) 2025-04-14 16:25:48 +02:00
webfinger.go Enable addtional linters (#34085) 2025-04-01 10:14:01 +00:00