discourse/test/javascripts
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
..
acceptance FEATURE: Mixed case tagging (#6454) 2018-10-05 10:23:52 +01:00
admin feedback (see commit description for details) 2018-09-17 09:49:53 +10:00
components FEATURE: Mixed case tagging (#6454) 2018-10-05 10:23:52 +01:00
controllers UX: hide associate accounts if second factor is enabled 2018-09-04 10:42:39 +10:00
ember DEV: introduces prettier for es6 files 2018-06-15 17:03:24 +02:00
fixtures FIX: dashboard test depended on the last month has 31 days 2018-10-01 12:31:27 +08:00
helpers DEV: Support stable branch tests for discourse-spoiler. 2018-08-30 17:20:42 +08:00
initializers DEV: introduces prettier for es6 files 2018-06-15 17:03:24 +02:00
lib FIX: Correctly censor strings starting or ending with non-word characters (#6445) 2018-10-04 15:15:10 +01:00
mixins DEV: introduces prettier for es6 files 2018-06-15 17:03:24 +02:00
models FIX: ensure URLs include subfolder in admin emails UI 2018-08-08 16:48:03 -04:00
widgets Rename humburger_menu_categories_count site setting to header_dropdown_category_count 2018-07-31 09:12:30 +05:30
plugin_tests.js.erb Support for Acceptance tests in plugins 2015-08-27 17:07:11 -04:00
test_helper.js always loadScript with a script tag (#6411) 2018-10-01 10:06:01 +08:00