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/templates
wxiaoguang 1c8bc4081a
Show friendly 500 error page to users and developers (#24110)
Close #24104

This also introduces many tests to cover many complex error handling
functions.

### Before

The details are never shown in production.

<details>

![image](https://user-images.githubusercontent.com/2114189/231805004-13214579-4fbe-465a-821c-be75c2749097.png)

</details>

### After

The details could be shown to site admin users. It is safe.

![image](https://user-images.githubusercontent.com/2114189/231803912-d5660994-416f-4b27-a4f1-a4cc962091d4.png)
2 years ago
..
admin Use auto-updating, natively hoverable, localized time elements (#23988) 2 years ago
api/packages/pypi Remove incorrect HTML self close tag (#23748) 2 years ago
base Show friendly 500 error page to users and developers (#24110) 2 years ago
code Use data-tooltip-content for tippy tooltip (#23649) 2 years ago
custom Add footer extra links template (#9576) 5 years ago
devtest Show friendly 500 error page to users and developers (#24110) 2 years ago
explore Use auto-updating, natively hoverable, localized time elements (#23988) 2 years ago
mail Remove incorrect HTML self close tag (#23748) 2 years ago
org Fix admin team access mode value in team_unit table (#24012) 2 years ago
package Use auto-updating, natively hoverable, localized time elements (#23988) 2 years ago
projects Add cardtype to org/user level project on creation, edit and view (#24043) 2 years ago
repo Fix difficult translation for other languages (#24070) 2 years ago
shared Add monospace toggle button to textarea (#24034) 2 years ago
status Show friendly 500 error page to users and developers (#24110) 2 years ago
swagger Add activity feeds API (#23494) 2 years ago
user Add tooltips to `Hide comment type` settings where necessary (#21306) 2 years ago
home.tmpl Improve home page template, fix Sort dropdown menu flash (#23856) 2 years ago
install.tmpl Remove incorrect HTML self close tag (#23748) 2 years ago
post-install.tmpl Remove incorrect HTML self close tag (#23748) 2 years ago