forgejo/modules/web/middleware
Gusted 5706a2452e
Some checks are pending
/ release (push) Waiting to run
testing / backend-checks (push) Has been skipped
testing / frontend-checks (push) Has been skipped
testing / test-unit (push) Has been skipped
testing / test-e2e (push) Has been skipped
testing / test-mysql (push) Has been skipped
testing / test-pgsql (push) Has been skipped
testing / test-sqlite (push) Has been skipped
testing / test-remote-cacher (redis) (push) Has been skipped
testing / test-remote-cacher (valkey) (push) Has been skipped
testing / test-remote-cacher (garnet) (push) Has been skipped
testing / test-remote-cacher (redict) (push) Has been skipped
testing / security-check (push) Has been skipped
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
..
binding.go fix(ui): display user-friendly message for range error (#7420) 2025-04-02 15:48:09 +00:00
cookie.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
data.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
flash.go Refactor locale&string&template related code (#29165) 2024-02-16 15:20:52 +01:00
locale.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
request.go Improve template system and panic recovery (#24461) 2023-05-04 14:36:34 +08:00