discourse/app/assets/javascripts/admin/addon/components
Loïc Guitaut 5c37a5d0f2
FIX: Allow to add the same watched word with a different case (#17799)
Currently we can’t add a case-sensitive watched word if another one
exists with a different case. For example, the existing watched word
`Meta` has been created and is case-sensitive. Now an admin tries to add
`metA` while marking it as case-sensitive too, this won’t work and the
word won’t be added.

This patch changes this behavior by allowing to add same words that have
different cases, so the example above will now work as expected.

We still check for uniqueness but case-sensitivy is now taken
into account. It means that if the watched word `meta` already exists
and is not case-sensitive then it will not be possible to add `Meta`
(case-sensitive or not) as `meta` already matches every possible
variations of this word.
2022-08-05 12:18:17 +02:00
..
report-filters DEV: Sort imports alphabetically (#11382) 2020-12-01 15:31:26 -03:00
site-settings DEV: Extensively use includes() (#17541) 2022-07-17 20:48:36 +02:00
ace-editor.js DEV: Modernize Ember Resolver (#17353) 2022-07-06 14:20:00 +01:00
admin-backups-logs.js DEV: Use method definition syntax consistently (#14915) 2021-11-13 14:01:55 +01:00
admin-editable-field.js
admin-form-row.js
admin-graph.js DEV: Bump eslint-config-discourse (#14868) 2021-11-10 09:31:41 +10:00
admin-nav.js
admin-penalty-history.js FEATURE: Penalty history improvements (#13359) 2021-07-12 11:36:56 -07:00
admin-report-chart.js DEV: drops jquery usage un admin-report-chart (#14661) 2021-10-20 14:28:49 +02:00
admin-report-counters.js
admin-report-counts.js DEV: Sort imports alphabetically (#11382) 2020-12-01 15:31:26 -03:00
admin-report-inline-table.js
admin-report-per-day-counts.js
admin-report-stacked-chart.js FIX: prepare data before creating chart to avoid side effect (#16570) 2022-04-27 14:04:09 +02:00
admin-report-storage-stats.js DEV: Sort imports alphabetically (#11382) 2020-12-01 15:31:26 -03:00
admin-report-table-cell.js DEV: Fix typos "formated" -> "formatted" (#17156) 2022-06-20 20:02:05 +02:00
admin-report-table-header.js DEV: Sort imports alphabetically (#11382) 2020-12-01 15:31:26 -03:00
admin-report-table-row.js
admin-report-table.js DEV: Sort imports alphabetically (#11382) 2020-12-01 15:31:26 -03:00
admin-report-trust-level-counts.js
admin-report.js FIX: ensures we don't apply charts options to other modes (#13570) 2021-06-29 21:58:35 +02:00
admin-theme-editor.js DEV: Extensively use includes() (#17541) 2022-07-17 20:48:36 +02:00
admin-user-field-item.js REFACTOR: admin-user-field-item (#16499) 2022-04-19 13:31:43 +02:00
admin-watched-word.js FEATURE: Add support for case-sensitive Watched Words (#17445) 2022-08-02 10:06:03 +02:00
admin-web-hook-event-chooser.js DEV: Sort imports alphabetically (#11382) 2020-12-01 15:31:26 -03:00
admin-web-hook-event.js DEV: Sort imports alphabetically (#11382) 2020-12-01 15:31:26 -03:00
admin-web-hook-status.js DEV: Remove 'htmlSafe' string prototype extensions (#16766) 2022-05-13 14:58:26 -05:00
admin-wrapper.js FEATURE: Add admin-area class to HTML tag (#12459) 2021-03-22 11:36:26 +11:00
cancel-link.js
color-input.js FEATURE: Use native color-picker (#15748) 2022-02-01 11:18:13 -03:00
dashboard-new-feature-item.js DEV: Generate template backing classes for app (#17300) 2022-07-04 01:27:29 +02:00
dashboard-new-features.js DEV: Fix set-after-destroy issues (#15078) 2021-11-24 20:13:52 +01:00
dashboard-problems.js DEV: Generate template backing classes for app (#17300) 2022-07-04 01:27:29 +02:00
email-styles-editor.js UX: Allow saving with cmd+s/ctrl+s with Ace editor (#12674) 2021-05-04 12:56:10 +01:00
embeddable-host.js FIX: Display embeddable host's post to category. (#14517) 2021-10-05 13:59:27 -03:00
embedding-setting.js DEV: Remove 'dasherize' string prototype extensions (#16740) 2022-05-13 10:56:23 -05:00
emoji-value-list.js DEV: Introduce discourseLater (#17532) 2022-07-17 00:50:49 +02:00
flag-user-lists.js
flag-user.js DEV: Generate template backing classes for app (#17300) 2022-07-04 01:27:29 +02:00
highlighted-code.js DEV: Sort imports alphabetically (#11382) 2020-12-01 15:31:26 -03:00
inline-edit-checkbox.js FIX: Checkbox value should not leak between themes (#11327) 2020-11-24 12:10:28 +02:00
install-theme-item.js
ip-lookup.js DEV: Introduce discourseLater (#17532) 2022-07-17 00:50:49 +02:00
moderation-history-item.js
penalty-post-action.js DEV: Sort imports alphabetically (#11382) 2020-12-01 15:31:26 -03:00
permalink-form.js DEV: jquery removal/listeners/cleanup of permalink form (#14944) 2021-11-16 10:25:54 +01:00
resumable-upload.js DEV: Generate template backing classes for app (#17300) 2022-07-04 01:27:29 +02:00
screened-ip-address-form.js DEV: Fix submit-on-enter and de-jQ two components (#17484) 2022-07-14 08:59:33 +08:00
secret-value-list.js FIX: Inputs using focusout regressed in #17345 (#17389) 2022-07-08 13:00:33 +02:00
setting-validation-message.js DEV: Generate template backing classes for app (#17300) 2022-07-04 01:27:29 +02:00
silence-details.js
simple-list.js FIX: Inputs using focusout regressed in #17345 (#17389) 2022-07-08 13:00:33 +02:00
site-customization-change-details.js DEV: Generate template backing classes for app (#17300) 2022-07-04 01:27:29 +02:00
site-customization-change-field.js DEV: Generate template backing classes for app (#17300) 2022-07-04 01:27:29 +02:00
site-setting.js DEV: Sort imports alphabetically (#11382) 2020-12-01 15:31:26 -03:00
site-text-summary.js DEV: Remove jQuery autoellipsis dependency (#15336) 2021-12-17 11:45:12 -05:00
staff-actions.js DEV: drops jquery/simplify code/removes leaked event (#14947) 2021-11-16 10:26:39 +01:00
suspension-details.js Fix typo (#13087) 2021-05-19 11:09:50 +10:00
tags-uploader.js FEATURE: Use uppy for tags uploader (#14821) 2021-11-08 08:18:09 +10:00
theme-setting-editor.js DEV: Sort imports alphabetically (#11382) 2020-12-01 15:31:26 -03:00
theme-setting-relatives-selector.js DEV: Sort imports alphabetically (#11382) 2020-12-01 15:31:26 -03:00
theme-translation.js DEV: Sort imports alphabetically (#11382) 2020-12-01 15:31:26 -03:00
themes-list-item.js DEV: Remove jquery from themes list (#16980) 2022-06-02 16:01:24 -05:00
themes-list.js FEATURE: Add filter box to the themes/components list (#13767) 2021-07-19 09:33:58 +08:00
value-list.js DEV: Extensively use includes() (#17541) 2022-07-17 20:48:36 +02:00
version-checks.js DEV: Generate template backing classes for app (#17300) 2022-07-04 01:27:29 +02:00
watched-word-form.js FIX: Allow to add the same watched word with a different case (#17799) 2022-08-05 12:18:17 +02:00
watched-word-uploader.js FIX: Make watched words uploads work as intended (#17097) 2022-06-17 11:07:58 +02:00