discourse/app/assets/javascripts/admin/addon/components/site-settings
Ted Johansson e113eff663
DEV: Sanitize integer site settings in front- and back-end (#23816)
Currently, if you set an integer site setting in the admin interface and include thousands separators, you will silently configure the wrong value.

This PR replaces TextField inputs for integer site settings with NumberField. It also cleans the numeric input of any non-digits in the backend in case any separators make it through.
2023-10-06 19:21:01 +02:00
..
bool.hbs DEV: Colocate all admin component templates 2023-02-13 11:42:38 +00:00
bool.js DEV: Convert admin component definitions to native class syntax (#20311) 2023-02-23 15:32:53 +00:00
category-list.hbs DEV: Colocate all admin component templates 2023-02-13 11:42:38 +00:00
category-list.js DEV: Convert admin component definitions to native class syntax (#20311) 2023-02-23 15:32:53 +00:00
category.hbs DEV: Colocate all admin component templates 2023-02-13 11:42:38 +00:00
category.js DEV: Convert admin component definitions to native class syntax (#20311) 2023-02-23 15:32:53 +00:00
color.hbs DEV: Colocate all admin component templates 2023-02-13 11:42:38 +00:00
color.js DEV: Convert admin component definitions to native class syntax (#20311) 2023-02-23 15:32:53 +00:00
compact-list.hbs DEV: Colocate all admin component templates 2023-02-13 11:42:38 +00:00
compact-list.js DEV: Convert admin component definitions to native class syntax (#20311) 2023-02-23 15:32:53 +00:00
emoji-list.hbs DEV: Colocate all admin component templates 2023-02-13 11:42:38 +00:00
emoji-list.js DEV: Convert admin component definitions to native class syntax (#20311) 2023-02-23 15:32:53 +00:00
enum.hbs DEV: Colocate all admin component templates 2023-02-13 11:42:38 +00:00
enum.js DEV: Convert admin component definitions to native class syntax (#20311) 2023-02-23 15:32:53 +00:00
group-list.hbs DEV: Colocate all admin component templates 2023-02-13 11:42:38 +00:00
group-list.js DEV: Convert admin component definitions to native class syntax (#20311) 2023-02-23 15:32:53 +00:00
host-list.hbs DEV: Colocate all admin component templates 2023-02-13 11:42:38 +00:00
host-list.js DEV: Convert admin component definitions to native class syntax (#20311) 2023-02-23 15:32:53 +00:00
integer.hbs DEV: Sanitize integer site settings in front- and back-end (#23816) 2023-10-06 19:21:01 +02:00
integer.js DEV: Sanitize integer site settings in front- and back-end (#23816) 2023-10-06 19:21:01 +02:00
list.hbs DEV: Colocate all admin component templates 2023-02-13 11:42:38 +00:00
list.js DEV: Convert admin component definitions to native class syntax (#20311) 2023-02-23 15:32:53 +00:00
named-list.hbs DEV: Colocate all admin component templates 2023-02-13 11:42:38 +00:00
named-list.js DEV: Convert admin component definitions to native class syntax (#20311) 2023-02-23 15:32:53 +00:00
secret-list.hbs DEV: Colocate all admin component templates 2023-02-13 11:42:38 +00:00
secret-list.js DEV: Convert admin component definitions to native class syntax (#20311) 2023-02-23 15:32:53 +00:00
simple-list.hbs DEV: Colocate all admin component templates 2023-02-13 11:42:38 +00:00
simple-list.js DEV: Convert admin component definitions to native class syntax (#20311) 2023-02-23 15:32:53 +00:00
string.hbs DEV: Update JSON Editor to Glimmer and use new modalAPI (#22421) 2023-07-05 10:27:29 +01:00
string.js DEV: Update JSON Editor to Glimmer and use new modalAPI (#22421) 2023-07-05 10:27:29 +01:00
tag-group-list.hbs FEATURE: Add new site setting type for tag-group lists (#21993) 2023-06-09 11:02:55 -04:00
tag-group-list.js FEATURE: Add new site setting type for tag-group lists (#21993) 2023-06-09 11:02:55 -04:00
tag-list.hbs DEV: Colocate all admin component templates 2023-02-13 11:42:38 +00:00
tag-list.js DEV: Convert admin component definitions to native class syntax (#20311) 2023-02-23 15:32:53 +00:00
upload.hbs DEV: Colocate all admin component templates 2023-02-13 11:42:38 +00:00
upload.js DEV: Convert admin component definitions to native class syntax (#20311) 2023-02-23 15:32:53 +00:00
uploaded-image-list.hbs DEV: Update DButton uses (#23333) 2023-08-31 11:49:35 +02:00
uploaded-image-list.js DEV: Convert `uploaded-image-list` modal to component-based API (#23245) 2023-08-25 09:20:14 -05:00
url-list.hbs DEV: Colocate all admin component templates 2023-02-13 11:42:38 +00:00
url-list.js DEV: Convert admin component definitions to native class syntax (#20311) 2023-02-23 15:32:53 +00:00
value-list.hbs DEV: Colocate all admin component templates 2023-02-13 11:42:38 +00:00
value-list.js DEV: Convert admin component definitions to native class syntax (#20311) 2023-02-23 15:32:53 +00:00