0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2025-02-01 19:29:45 -05:00
forgejo/routers/web/repo
Lunny Xiao 2c802fc8f0
Display friendly error message (#29105) (#29363)
Backport #29105

`ctx.Error` only displays the text but `ctx.ServerError` renders the
usual error page.

Co-authored-by: KN4CK3R <admin@oldschoolhack.me>
(cherry picked from commit a1c0b3a02e54e5fe879dabccb71fba9498b64051)
2024-03-06 12:20:42 +08:00
..
actions Display friendly error message (#29105) (#29363) 2024-03-06 12:20:42 +08:00
setting Preserve BOM in web editor (#28935) (#28959) 2024-01-31 14:18:26 +01:00
activity.go
attachment.go
blame.go Use information from previous blame parts (#28572) (#28577) 2023-12-22 12:10:03 +01:00
branch.go Also sync DB branches on push if necessary (#28361) (#28403) 2023-12-12 15:21:33 +01:00
cherry_pick.go
commit.go Preserve BOM in web editor (#28935) (#28959) 2024-01-31 14:18:26 +01:00
compare.go Preserve BOM in web editor (#28935) (#28959) 2024-01-31 14:18:26 +01:00
download.go
editor.go Preserve BOM in web editor (#28935) (#28959) 2024-01-31 14:18:26 +01:00
editor_test.go
find.go
githttp.go
githttp_test.go
helper.go
helper_test.go
issue.go Rework markup link rendering (#26745) (#28803) 2024-01-16 14:41:11 +00:00
issue_content_history.go [GITEA] Fix panic in canSoftDeleteContentHistory 2024-01-13 22:05:35 +01:00
issue_dependency.go
issue_label.go
issue_label_test.go
issue_lock.go
issue_pin.go Fix missing check (#28406) (#28411) 2023-12-12 15:21:32 +01:00
issue_stopwatch.go
issue_test.go
issue_timetrack.go
issue_watch.go
main_test.go
middlewares.go Fix viewing wiki commit on empty repo (#28040) (#28044) 2023-11-22 17:11:57 +01:00
migrate.go
milestone.go Rework markup link rendering (#26745) (#28803) 2024-01-16 14:41:11 +00:00
packages.go
patch.go
projects.go Rework markup link rendering (#26745) (#28803) 2024-01-16 14:41:11 +00:00
projects_test.go
pull.go Fix error display when merging PRs (#29288) (#29309) 2024-02-22 13:10:12 +01:00
pull_review.go [BUG] split code conversations in diff tab (#2306) 2024-02-16 14:06:43 +01:00
release.go Rework markup link rendering (#26745) (#28803) 2024-01-16 14:41:11 +00:00
release_test.go
render.go Preserve BOM in web editor (#28935) (#28959) 2024-01-31 14:18:26 +01:00
repo.go [GITEA] Handle non-existant commit in Archive request 2024-01-04 23:56:33 +01:00
search.go
topic.go
treelist.go
view.go Preserve BOM in web editor (#28935) (#28959) 2024-01-31 14:18:26 +01:00
view_test.go
wiki.go Rework markup link rendering (#26745) (#28803) 2024-01-16 14:41:11 +00:00
wiki_test.go