forgejo_backup/modules/web
Gusted ae109aa642 fix(ui): display user-friendly message for range error (#7420)
- Instead of displaying 'RangeError: Range' display 'x must be a number between $MIN and $MAX' when the validation fails for a range error check.
- Resolves forgejo/forgejo#3510
- Added integration testing.

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/7420
Reviewed-by: 0ko <0ko@noreply.codeberg.org>
Co-authored-by: Gusted <postmaster@gusted.xyz>
Co-committed-by: Gusted <postmaster@gusted.xyz>
2025-06-02 14:13:12 +02:00
..
middleware fix(ui): display user-friendly message for range error (#7420) 2025-06-02 14:13:12 +02:00
routing chore: branding import path (#7337) 2025-06-02 14:13:08 +02:00
types Refactor web package and context package (#25298) 2023-06-18 09:59:09 +02:00
handler.go chore: branding import path (#7337) 2025-06-02 14:13:08 +02:00
route.go chore: branding import path (#7337) 2025-06-02 14:13:08 +02:00
route_test.go Update module github.com/golangci/golangci-lint/cmd/golangci-lint to v2 (forgejo) (#7367) 2025-06-02 14:13:09 +02:00
routemock.go chore: branding import path (#7337) 2025-06-02 14:13:08 +02:00
routemock_test.go Update module github.com/golangci/golangci-lint/cmd/golangci-lint to v2 (forgejo) (#7367) 2025-06-02 14:13:09 +02:00