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/repo
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
..
actions Only check online runner when detecting matching runners in workflows (#28286) (#28512) 1 year ago
setting Preserve BOM in web editor (#28935) (#28959) 1 year ago
activity.go Implement FSFE REUSE for golang files (#21840) 2 years ago
attachment.go More refactoring of `db.DefaultContext` (#27083) 1 year ago
blame.go Use information from previous blame parts (#28572) (#28577) 1 year ago
branch.go Also sync DB branches on push if necessary (#28361) (#28403) 1 year ago
cherry_pick.go Sync branches into databases (#22743) 2 years ago
commit.go Preserve BOM in web editor (#28935) (#28959) 1 year ago
compare.go Preserve BOM in web editor (#28935) (#28959) 1 year ago
download.go Less naked returns (#25713) 2 years ago
editor.go Preserve BOM in web editor (#28935) (#28959) 1 year ago
editor_test.go Move web/api context related testing function into a separate package (#26859) 2 years ago
find.go Implement FSFE REUSE for golang files (#21840) 2 years ago
githttp.go Fix http protocol auth (#27875) (#27876) 1 year ago
githttp_test.go Fix http protocol auth (#27875) (#27876) 1 year ago
helper.go Improve tree not found page (#26570) (#27346) 1 year ago
helper_test.go Make web context initialize correctly for different cases (#26726) 2 years ago
issue.go Rework markup link rendering (#26745) (#28803) 1 year ago
issue_content_history.go Fix missing check (#28406) (#28411) 1 year ago
issue_dependency.go Add context parameter to some database functions (#26055) 2 years ago
issue_label.go Next round of `db.DefaultContext` refactor (#27089) 1 year ago
issue_label_test.go Move web/api context related testing function into a separate package (#26859) 2 years ago
issue_lock.go Use fetch form action for lock/unlock/pin/unpin on sidebar (#25380) 2 years ago
issue_pin.go Fix missing check (#28406) (#28411) 1 year ago
issue_stopwatch.go Next round of `db.DefaultContext` refactor (#27089) 1 year ago
issue_test.go Implement FSFE REUSE for golang files (#21840) 2 years ago
issue_timetrack.go Add context parameter to some database functions (#26055) 2 years ago
issue_watch.go Next round of `db.DefaultContext` refactor (#27089) 1 year ago
main_test.go Implement FSFE REUSE for golang files (#21840) 2 years ago
middlewares.go Fix viewing wiki commit on empty repo (#28040) (#28044) 1 year ago
migrate.go Next round of `db.DefaultContext` refactor (#27089) 1 year ago
milestone.go Rework markup link rendering (#26745) (#28803) 1 year ago
packages.go Fix the display of org level badges (#26504) 1 year ago
patch.go Sync branches into databases (#22743) 2 years ago
projects.go Rework markup link rendering (#26745) (#28803) 1 year ago
projects_test.go Move web/api context related testing function into a separate package (#26859) 2 years ago
pull.go Modernize merge button (#28140) (#28786) 1 year ago
pull_review.go Do not render empty comments (#29039) (#29049) 1 year ago
release.go Rework markup link rendering (#26745) (#28803) 1 year ago
release_test.go Move web/api context related testing function into a separate package (#26859) 2 years ago
render.go Preserve BOM in web editor (#28935) (#28959) 1 year ago
repo.go Another round of `db.DefaultContext` refactor (#27103) (#27262) 1 year ago
search.go Refactor indexer (#25174) 2 years ago
topic.go Next round of `db.DefaultContext` refactor (#27089) 1 year ago
treelist.go Implement FSFE REUSE for golang files (#21840) 2 years ago
view.go Preserve BOM in web editor (#28935) (#28959) 1 year ago
view_test.go Implement FSFE REUSE for golang files (#21840) 2 years ago
wiki.go Rework markup link rendering (#26745) (#28803) 1 year ago
wiki_test.go Move web/api context related testing function into a separate package (#26859) 2 years ago