forgejo/services/context
0ko 51ff4970ec ui: improve error pages (#7274)
* add testing
* make each page accessible via `/devtest/error`
* allow translating the `Page not found` part of the title
* code: improve consistency, remove unused
* devtest: put index page in a container to fix alignment
* 500: make navbar more like the real one, remove fake menu button
* deadcode: remove unused `func NotFound`: it was added in bdd32f152d and the only usage was removed in 1bfb0a24d8

Preview:
https://codeberg.org/attachments/1b75afb3-e898-410f-be02-f036a5400143

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/7274
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
Reviewed-by: Beowulf <beowulf@beocode.eu>
2025-03-28 19:50:43 +00:00
..
upload chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
access_log.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
api.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
api_org.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
api_test.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
base.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
base_test.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
captcha.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
context.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
context_cookie.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
context_model.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
context_request.go Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
context_response.go ui: improve error pages (#7274) 2025-03-28 19:50:43 +00:00
context_template.go Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
context_test.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
csrf.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
org.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
package.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
pagination.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
permission.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
private.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
quota.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
repo.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
repository.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
response.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
user.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
utils.go Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
xsrf.go Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
xsrf_test.go Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00