discourse/app
Martin Brennan db993cf8fd
FIX: Do not allow , or . in site setting integer input (#27618)
Followup to e113eff663

We previously sanitized input for integer site settings
on the server side only, which was a bit confusing when
users would enter e.g. 100.5 and end up with 1005, and
not see this reflected in the UI.

Now that we are using native number inputs for these settings,
we can improve the experience a bit by not allowing `.` or `,`
in the input, because it should be whole numbers only, and
add a step size of 1. All other characters are already prevented
in this native number input.
2024-07-05 10:36:41 +10:00
..
assets FIX: Do not allow , or . in site setting integer input (#27618) 2024-07-05 10:36:41 +10:00
controllers FIX: Always noindex /u routes (#27712) 2024-07-04 19:48:38 +08:00
helpers FIX: Regression in custom homepage modifier used in theme components (#27569) 2024-06-21 11:24:11 -04:00
jobs DEV: Remove summarization code (#27373) 2024-07-02 08:51:47 -07:00
mailers FIX: correctly compute the window for email summaries 2024-05-27 22:33:51 +02:00
models DEV: Upgrade Rails to version 7.1 2024-07-04 10:58:21 +02:00
serializers DEV: use new 'ignore allowed groups' site settings (#27670) 2024-07-04 19:27:26 +02:00
services DEV: Upgrade Rails to version 7.1 2024-07-04 10:58:21 +02:00
views DEV: Block accidental serialization of entire AR models (#27668) 2024-07-01 17:08:48 -03:00