discourse/test/javascripts/components
David Taylor 9bf522f227
FEATURE: Mixed case tagging (#6454)
- By default, behaviour is not changed: tags are made lowercase upon creation and edit.

- If force_lowercase_tags is disabled, then mixed case tags are allowed.

- Tags must remain case-insensitively unique. This is enforced by ActiveRecord and Postgres.

- A migration is added to provide a `UNIQUE` index on `lower(name)`. Migration includes a safety to correct any current tags that do not meet the criteria.

- A `where_name` scope is added to `models/tag.rb`, to allow easy case-insensitive lookups. This is used instead of `Tag.where(name: "blah")`.

- URLs remain lowercase. Mixed case URLs are functional, but have the lowercase equivalent as the canonical.
2018-10-05 10:23:52 +01:00
..
ace-editor-test.js.es6 DEV: introduces prettier for es6 files 2018-06-15 17:03:24 +02:00
admin-report-test.js.es6 FEATURE: makes reports loadable in bulk (#6309) 2018-08-24 15:28:01 +02:00
categories-admin-dropdown-test.js.es6 Fix test 2018-10-02 15:20:11 -04:00
category-chooser-test.js.es6 DEV: migrate tests to async/await 2018-07-30 12:21:05 +02:00
category-selector-test.js.es6 DEV: migrate tests to async/await 2018-07-30 12:21:05 +02:00
combo-box-test.js.es6 DEV: migrate tests to async/await 2018-07-30 12:21:05 +02:00
d-button-test.js.es6 DEV: introduces prettier for es6 files 2018-06-15 17:03:24 +02:00
d-editor-test.js.es6 DEV: migrate tests to async/await 2018-07-30 12:21:05 +02:00
d-icon-test.js.es6 DEV: introduces prettier for es6 files 2018-06-15 17:03:24 +02:00
group-membership-button-test.js.es6 DEV: introduces prettier for es6 files 2018-06-15 17:03:24 +02:00
keyboard-shortcuts-test.js.es6 DEV: introduces prettier for es6 files 2018-06-15 17:03:24 +02:00
list-setting-test.js.es6 DEV: migrate tests to async/await 2018-07-30 12:21:05 +02:00
mini-tag-chooser-test.js.es6 FEATURE: Mixed case tagging (#6454) 2018-10-05 10:23:52 +01:00
multi-select-test.js.es6 FIX: allows forcing unsafe string in select-kit (#6386) 2018-09-12 12:19:04 +02:00
pinned-options-test.js.es6 DEV: migrate components tests to async/await 2018-07-24 22:41:14 +02:00
share-button-test.js.es6 DEV: introduces prettier for es6 files 2018-06-15 17:03:24 +02:00
single-select-test.js.es6 FIX: ensures onSelect/onDeselect are called 2018-09-18 11:31:23 +02:00
tag-drop-test.js.es6 FEATURE: Mixed case tagging (#6454) 2018-10-05 10:23:52 +01:00
text-field-test.js.es6 DEV: introduces prettier for es6 files 2018-06-15 17:03:24 +02:00
topic-footer-mobile-dropdown-test.js.es6 DEV: migrate tests to async/await 2018-07-30 12:21:05 +02:00
topic-notifications-button-test.js.es6 DEV: migrate components tests to async/await 2018-07-24 22:41:14 +02:00
topic-notifications-options-test.js.es6 DEV: migrate tests to async/await 2018-07-30 12:21:05 +02:00
value-list-test.js.es6 FEATURE: introduces list/compact_list components 2018-08-03 16:41:37 -04:00