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
Giteabot aadbbf4358
Do not render empty comments (#29039) (#29049)
Backport #29039 by wxiaoguang

Follow #28654

The `comments` might be empty, so the templates shouldn't (and couldn't)
use it to render. When there is no comment, the UI should also be
updated to empty, so returning an empty body is good enough.

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
1 year ago
..
admin Forbid removing the last admin user (#28337) (#28793) 1 year ago
auth Avoid cycle-redirecting user/login page (#28636) (#28658) 1 year ago
devtest Make "cancel" buttons have proper type in modal forms (#25618) 2 years ago
events
explore Next round of `db.DefaultContext` refactor (#27089) 1 year ago
feed Rework markup link rendering (#26745) (#28803) 1 year ago
healthcheck Remove `db.DefaultContext` in `routers/` and `cmd/` (#26076) 2 years ago
misc Refactor CORS handler (#28587) (#28611) 1 year ago
org Rework markup link rendering (#26745) (#28803) 1 year ago
repo Do not render empty comments (#29039) (#29049) 1 year ago
shared Rework markup link rendering (#26745) (#28803) 1 year ago
user Rework markup link rendering (#26745) (#28803) 1 year ago
base.go Fix panic in storageHandler (#27446) (#27479) 1 year ago
githttp.go Refactor CORS handler (#28587) (#28611) 1 year ago
goget.go
home.go Reduce usage of `db.DefaultContext` (#27073) 1 year ago
metrics.go
nodeinfo.go
swagger_json.go Start using template context function (#26254) 2 years ago
web.go Refactor CORS handler (#28587) (#28611) 1 year ago
webfinger.go Add a link to OpenID Issuer URL in WebFinger response (#26000) 2 years ago