forgejo/routers/web
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
..
admin Forbid removing the last admin user (#28337) (#28793) 2024-01-16 14:41:11 +00:00
auth [GITEA] rework long-term authentication 2024-01-16 14:14:46 +00:00
devtest
events
explore
feed Rework markup link rendering (#26745) (#28803) 2024-01-16 14:41:11 +00:00
healthcheck
misc Refactor CORS handler (#28587) (#28611) 2024-01-16 14:08:38 +00:00
org Rework markup link rendering (#26745) (#28803) 2024-01-16 14:41:11 +00:00
repo Display friendly error message (#29105) (#29363) 2024-03-06 12:20:42 +08:00
shared Fix project counter in organization/individual profile (#28068) (#29361) 2024-03-06 12:20:42 +08:00
user [GITEA] Fix NPE in UsernameSubRoute 2024-01-18 15:31:04 +01:00
base.go
githttp.go Refactor CORS handler (#28587) (#28611) 2024-01-16 14:08:38 +00:00
goget.go
home.go [GITEA] rework long-term authentication 2024-01-16 14:14:46 +00:00
metrics.go
nodeinfo.go
swagger_json.go
web.go [GITEA] rework long-term authentication 2024-01-16 14:14:46 +00:00
webfinger.go