forgejo/modules/web
Gusted 5706a2452e 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-04-02 15:48:09 +00:00
..
middleware fix(ui): display user-friendly message for range error (#7420) 2025-04-02 15:48:09 +00:00
routing chore: branding import path (#7337) 2025-03-27 19:40:14 +00: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-03-27 19:40:14 +00:00
route.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
route_test.go Update module github.com/golangci/golangci-lint/cmd/golangci-lint to v2 (forgejo) (#7367) 2025-03-28 22:22:21 +00:00
routemock.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
routemock_test.go Update module github.com/golangci/golangci-lint/cmd/golangci-lint to v2 (forgejo) (#7367) 2025-03-28 22:22:21 +00:00