discourse/app/assets/javascripts/admin/addon/components
Martin Brennan 68a912952c
FIX: min/max not passed to NumberField for site settings (#24402)
When we started using NumberField for integer site settings
in e113eff663, we did not end up
passing down a min/max value for the integer to the field, which
meant that for some fields where negative numbers were allowed
we were not accepting that as valid input.

This commit passes down the min/max options from the server for
integer settings then in turn passes them down to NumberField.

c.f. https://meta.discourse.org/t/delete-user-self-max-post-count-not-accepting-1-to-disable/285162
2023-11-16 12:37:05 +10:00
..
form-template DEV: Rename I18n imports to discourse-i18n (#23915) 2023-10-18 11:07:09 +01:00
modal FIX: Add checkbox-label to more checkbox label elements (#24174) 2023-10-31 08:57:50 +01:00
report-filters DEV: remove slightly less trivial {{action}} usages (#24289) 2023-11-13 13:29:20 +01:00
site-settings FIX: min/max not passed to NumberField for site settings (#24402) 2023-11-16 12:37:05 +10:00
ace-editor.hbs DEV: Colocate all admin component templates 2023-02-13 11:42:38 +00:00
ace-editor.js DEV: Fix ember/require-super-in-lifecycle-hooks (#24007) 2023-10-19 13:47:45 +02:00
admin-backups-logs.hbs DEV: Colocate all admin component templates 2023-02-13 11:42:38 +00:00
admin-backups-logs.js DEV: Rename I18n imports to discourse-i18n (#23915) 2023-10-18 11:07:09 +01:00
admin-config-area-sidebar-experiment.hbs DEV: Make admin experimental sidebar config more forgiving (#24236) 2023-11-07 13:20:57 +10:00
admin-config-area-sidebar-experiment.js DEV: Make admin experimental sidebar config more forgiving (#24236) 2023-11-07 13:20:57 +10:00
admin-editable-field.hbs DEV: Update DButton uses (#23333) 2023-08-31 11:49:35 +02:00
admin-editable-field.js DEV: Sort imports 2023-10-10 21:46:54 +01:00
admin-form-row.hbs FIX: Add checkbox-label to more checkbox label elements (#24174) 2023-10-31 08:57:50 +01:00
admin-form-row.js DEV: Sort imports 2023-10-10 21:46:54 +01:00
admin-graph.js DEV: Fix ember/require-super-in-lifecycle-hooks (#24007) 2023-10-19 13:47:45 +02:00
admin-nav.gjs DEV: Sort imports 2023-10-10 21:46:54 +01:00
admin-penalty-history.hbs DEV: Colocate all admin component templates 2023-02-13 11:42:38 +00:00
admin-penalty-history.js DEV: Sort imports 2023-10-10 21:46:54 +01:00
admin-penalty-post-action.hbs DEV: remove trivial {{action}} usages (#24278) 2023-11-08 10:53:06 +01:00
admin-penalty-post-action.js DEV: Rename I18n imports to discourse-i18n (#23915) 2023-10-18 11:07:09 +01:00
admin-penalty-reason.hbs FEATURE: add silence reason dropdown to admin penalty reason 2023-09-05 18:21:51 -07:00
admin-penalty-reason.js DEV: Rename I18n imports to discourse-i18n (#23915) 2023-10-18 11:07:09 +01:00
admin-penalty-similar-users.hbs DEV: remove slightly less trivial {{action}} usages (#24289) 2023-11-13 13:29:20 +01:00
admin-penalty-similar-users.js DEV: Sort imports 2023-10-10 21:46:54 +01:00
admin-report-chart.hbs DEV: Colocate all admin component templates 2023-02-13 11:42:38 +00:00
admin-report-chart.js DEV: Sort imports 2023-10-10 21:46:54 +01:00
admin-report-counters.hbs DEV: Colocate all admin component templates 2023-02-13 11:42:38 +00:00
admin-report-counters.js DEV: Sort imports 2023-10-10 21:46:54 +01:00
admin-report-counts.hbs DEV: Colocate all admin component templates 2023-02-13 11:42:38 +00:00
admin-report-counts.js DEV: Sort imports 2023-10-10 21:46:54 +01:00
admin-report-inline-table.hbs DEV: Colocate all admin component templates 2023-02-13 11:42:38 +00:00
admin-report-inline-table.js DEV: Sort imports 2023-10-10 21:46:54 +01:00
admin-report-per-day-counts.hbs DEV: Colocate all admin component templates 2023-02-13 11:42:38 +00:00
admin-report-per-day-counts.js DEV: Sort imports 2023-10-10 21:46:54 +01:00
admin-report-radar.hbs DEV: Add support for radar charts when displaying reports. (#24274) 2023-11-08 10:48:12 -03:00
admin-report-radar.js DEV: Add support for radar charts when displaying reports. (#24274) 2023-11-08 10:48:12 -03:00
admin-report-stacked-chart.hbs DEV: Colocate all admin component templates 2023-02-13 11:42:38 +00:00
admin-report-stacked-chart.js DEV: Sort imports 2023-10-10 21:46:54 +01:00
admin-report-storage-stats.hbs DEV: Colocate all admin component templates 2023-02-13 11:42:38 +00:00
admin-report-storage-stats.js DEV: Rename I18n imports to discourse-i18n (#23915) 2023-10-18 11:07:09 +01:00
admin-report-table-cell.hbs DEV: Colocate all admin component templates 2023-02-13 11:42:38 +00:00
admin-report-table-cell.js DEV: Sort imports 2023-10-10 21:46:54 +01:00
admin-report-table-header.hbs DEV: Update DButton uses (#23333) 2023-08-31 11:49:35 +02:00
admin-report-table-header.js DEV: Sort imports 2023-10-10 21:46:54 +01:00
admin-report-table-row.hbs DEV: Colocate all admin component templates 2023-02-13 11:42:38 +00:00
admin-report-table-row.js DEV: Sort imports 2023-10-10 21:46:54 +01:00
admin-report-table.hbs DEV: remove slightly less trivial {{action}} usages (#24289) 2023-11-13 13:29:20 +01:00
admin-report-table.js DEV: Sort imports 2023-10-10 21:46:54 +01:00
admin-report-trust-level-counts.hbs DEV: Colocate all admin component templates 2023-02-13 11:42:38 +00:00
admin-report-trust-level-counts.js DEV: Sort imports 2023-10-10 21:46:54 +01:00
admin-report.hbs DEV: remove trivial {{action}} usages (#24278) 2023-11-08 10:53:06 +01:00
admin-report.js DEV: Rename I18n imports to discourse-i18n (#23915) 2023-10-18 11:07:09 +01:00
admin-theme-editor.hbs DEV: remove slightly less trivial {{action}} usages (#24289) 2023-11-13 13:29:20 +01:00
admin-theme-editor.js DEV: Rename I18n imports to discourse-i18n (#23915) 2023-10-18 11:07:09 +01:00
admin-user-field-item.hbs FIX: Add checkbox-label to more checkbox label elements (#24174) 2023-10-31 08:57:50 +01:00
admin-user-field-item.js DEV: Rename I18n imports to discourse-i18n (#23915) 2023-10-18 11:07:09 +01:00
admin-watched-word.hbs DEV: remove trivial {{action}} usages (#24278) 2023-11-08 10:53:06 +01:00
admin-watched-word.js DEV: Rename I18n imports to discourse-i18n (#23915) 2023-10-18 11:07:09 +01:00
admin-wrapper.js DEV: Convert admin component definitions to native class syntax (#20311) 2023-02-23 15:32:53 +00:00
cancel-link.js DEV: Sort imports 2023-10-10 21:46:54 +01:00
color-input.hbs DEV: remove slightly less trivial {{action}} usages (#24289) 2023-11-13 13:29:20 +01:00
color-input.js DEV: remove slightly less trivial {{action}} usages (#24289) 2023-11-13 13:29:20 +01:00
dashboard-new-feature-item.hbs DEV: Colocate all admin component templates 2023-02-13 11:42:38 +00:00
dashboard-new-feature-item.js DEV: Convert admin component definitions to native class syntax (#20311) 2023-02-23 15:32:53 +00:00
dashboard-new-features.hbs DEV: Update DButton uses (#23333) 2023-08-31 11:49:35 +02:00
dashboard-new-features.js DEV: Sort imports 2023-10-10 21:46:54 +01:00
dashboard-problems.hbs DEV: Update DButton uses (#23333) 2023-08-31 11:49:35 +02:00
dashboard-problems.js DEV: Convert admin component definitions to native class syntax (#20311) 2023-02-23 15:32:53 +00:00
email-styles-editor.hbs DEV: Update DButton uses (#23333) 2023-08-31 11:49:35 +02:00
email-styles-editor.js DEV: Rename I18n imports to discourse-i18n (#23915) 2023-10-18 11:07:09 +01:00
embeddable-host.hbs DEV: remove slightly less trivial {{action}} usages (#24289) 2023-11-13 13:29:20 +01:00
embeddable-host.js DEV: Rename I18n imports to discourse-i18n (#23915) 2023-10-18 11:07:09 +01:00
embedding-setting.hbs DEV: Colocate all admin component templates 2023-02-13 11:42:38 +00:00
embedding-setting.js DEV: Sort imports 2023-10-10 21:46:54 +01:00
emoji-value-list.hbs DEV: remove trivial {{action}} usages (#24278) 2023-11-08 10:53:06 +01:00
emoji-value-list.js DEV: Rename I18n imports to discourse-i18n (#23915) 2023-10-18 11:07:09 +01:00
flag-user-lists.hbs DEV: Colocate all admin component templates 2023-02-13 11:42:38 +00:00
flag-user-lists.js DEV: Sort imports 2023-10-10 21:46:54 +01:00
flag-user.hbs DEV: Colocate all admin component templates 2023-02-13 11:42:38 +00:00
flag-user.js DEV: Convert admin component definitions to native class syntax (#20311) 2023-02-23 15:32:53 +00:00
highlighted-code.hbs DEV: Modernise highlightjs loading (#24197) 2023-11-10 20:39:48 +00:00
highlighted-code.js DEV: Sort imports 2023-10-10 21:46:54 +01:00
inline-edit-checkbox.hbs DEV: Update DButton uses (#23333) 2023-08-31 11:49:35 +02:00
inline-edit-checkbox.js DEV: Sort imports 2023-10-10 21:46:54 +01:00
install-theme-item.hbs DEV: Colocate all admin component templates 2023-02-13 11:42:38 +00:00
install-theme-item.js DEV: Sort imports 2023-10-10 21:46:54 +01:00
ip-lookup.hbs DEV: Update DButton uses (#23333) 2023-08-31 11:49:35 +02:00
ip-lookup.js DEV: Rename I18n imports to discourse-i18n (#23915) 2023-10-18 11:07:09 +01:00
moderation-history-item.js DEV: Sort imports 2023-10-10 21:46:54 +01:00
permalink-form.hbs DEV: remove slightly less trivial {{action}} usages (#24289) 2023-11-13 13:29:20 +01:00
permalink-form.js DEV: Rename I18n imports to discourse-i18n (#23915) 2023-10-18 11:07:09 +01:00
plugin-commit-hash.hbs FIX: Improve admin plugin list and modernize code (#23256) 2023-08-28 10:48:59 +10:00
plugin-commit-hash.js FIX: Improve admin plugin list and modernize code (#23256) 2023-08-28 10:48:59 +10:00
resumable-upload.hbs DEV: Colocate all admin component templates 2023-02-13 11:42:38 +00:00
resumable-upload.js DEV: Convert admin component definitions to native class syntax (#20311) 2023-02-23 15:32:53 +00:00
screened-ip-address-form.hbs DEV: Update DButton uses (#23333) 2023-08-31 11:49:35 +02:00
screened-ip-address-form.js DEV: Rename I18n imports to discourse-i18n (#23915) 2023-10-18 11:07:09 +01:00
secret-value-list.hbs DEV: remove trivial {{action}} usages (#24278) 2023-11-08 10:53:06 +01:00
secret-value-list.js DEV: Rename I18n imports to discourse-i18n (#23915) 2023-10-18 11:07:09 +01:00
setting-validation-message.hbs DEV: Colocate all admin component templates 2023-02-13 11:42:38 +00:00
setting-validation-message.js DEV: Convert admin component definitions to native class syntax (#20311) 2023-02-23 15:32:53 +00:00
silence-details.hbs DEV: Colocate all admin component templates 2023-02-13 11:42:38 +00:00
silence-details.js DEV: Sort imports 2023-10-10 21:46:54 +01:00
simple-list.hbs DEV: remove slightly less trivial {{action}} usages (#24289) 2023-11-13 13:29:20 +01:00
simple-list.js FEATURE: predefined simple list for admin setting (#23953) 2023-10-18 00:25:32 +00:00
site-customization-change-details.hbs DEV: Colocate all admin component templates 2023-02-13 11:42:38 +00:00
site-customization-change-details.js DEV: Convert admin component definitions to native class syntax (#20311) 2023-02-23 15:32:53 +00:00
site-customization-change-field.hbs DEV: Colocate all admin component templates 2023-02-13 11:42:38 +00:00
site-customization-change-field.js DEV: Convert admin component definitions to native class syntax (#20311) 2023-02-23 15:32:53 +00:00
site-setting.hbs DEV: Clean up settings component (#20485) 2023-03-01 10:12:39 +01:00
site-setting.js DEV: Sort imports 2023-10-10 21:46:54 +01:00
site-text-summary.hbs DEV: Update DButton uses (#23333) 2023-08-31 11:49:35 +02:00
site-text-summary.js DEV: Sort imports 2023-10-10 21:46:54 +01:00
staff-actions.hbs DEV: Colocate all admin component templates 2023-02-13 11:42:38 +00:00
staff-actions.js DEV: Sort imports 2023-10-10 21:46:54 +01:00
tags-uploader.hbs DEV: Colocate all admin component templates 2023-02-13 11:42:38 +00:00
tags-uploader.js DEV: Rename I18n imports to discourse-i18n (#23915) 2023-10-18 11:07:09 +01:00
theme-setting-editor.js DEV: Sort imports 2023-10-10 21:46:54 +01:00
theme-setting-relatives-selector.js DEV: Remove layoutName references to site-settings component template 2023-02-13 11:42:38 +00:00
theme-settings-editor.hbs FEATURE: JSON editor for theme settings (#21647) 2023-07-27 13:48:59 -04:00
theme-settings-editor.js DEV: Rename I18n imports to discourse-i18n (#23915) 2023-10-18 11:07:09 +01:00
theme-translation.js DEV: Sort imports 2023-10-10 21:46:54 +01:00
theme-upload-add.hbs DEV: Update DButton uses (#23333) 2023-08-31 11:49:35 +02:00
theme-upload-add.js DEV: Rename I18n imports to discourse-i18n (#23915) 2023-10-18 11:07:09 +01:00
themes-list-item.hbs FEATURE: delete multiple inactive themes/components (#23788) 2023-10-08 21:35:53 +00:00
themes-list-item.js Consistently import escape from discourse-common (#23790) 2023-10-11 22:21:01 +01:00
themes-list.hbs DEV: remove slightly less trivial {{action}} usages (#24289) 2023-11-13 13:29:20 +01:00
themes-list.js DEV: Sort imports 2023-10-10 21:46:54 +01:00
value-list.hbs DEV: remove trivial {{action}} usages (#24278) 2023-11-08 10:53:06 +01:00
value-list.js DEV: Sort imports 2023-10-10 21:46:54 +01:00
version-checks.hbs DEV: Add a plugin outlet for admin upgrade-header (#20274) 2023-02-14 00:03:46 +01:00
version-checks.js DEV: Convert admin component definitions to native class syntax (#20311) 2023-02-23 15:32:53 +00:00
watched-word-form.hbs DEV: remove trivial {{action}} usages (#24278) 2023-11-08 10:53:06 +01:00
watched-word-form.js DEV: Rename I18n imports to discourse-i18n (#23915) 2023-10-18 11:07:09 +01:00
watched-word-uploader.hbs DEV: Colocate all admin component templates 2023-02-13 11:42:38 +00:00
watched-word-uploader.js DEV: Rename I18n imports to discourse-i18n (#23915) 2023-10-18 11:07:09 +01:00
webhook-event-chooser.hbs FEATURE: granular webhooks (#23070) 2023-10-09 03:35:31 +00:00
webhook-event-chooser.js DEV: Rename I18n imports to discourse-i18n (#23915) 2023-10-18 11:07:09 +01:00
webhook-event.hbs DEV: Apply prettier to hbs files 2022-12-28 13:11:12 +00:00
webhook-event.js DEV: Rename I18n imports to discourse-i18n (#23915) 2023-10-18 11:07:09 +01:00
webhook-events.hbs DEV: Add extra whitespace to tidy up prettified templates 2022-12-28 13:11:12 +00:00
webhook-events.js DEV: Sort imports 2023-10-10 21:46:54 +01:00
webhook-status.hbs DEV: Apply prettier to hbs files 2022-12-28 13:11:12 +00:00
webhook-status.js DEV: Rename I18n imports to discourse-i18n (#23915) 2023-10-18 11:07:09 +01:00