discourse/app/assets/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
..
admin FIX: Display errors in single theme pages (#6449) 2018-10-04 02:33:06 +05:30
discourse FEATURE: Mixed case tagging (#6454) 2018-10-05 10:23:52 +01:00
discourse-common UX: improvements to admin theme UI 2018-09-17 09:49:53 +10:00
docs
ember-addons DEV: introduces prettier for es6 files 2018-06-15 17:03:24 +02:00
locales FEATURE: Add Lithuanian locale 2018-09-27 05:26:38 +02:00
pretty-text FIX: Correctly censor strings starting or ending with non-word characters (#6445) 2018-10-04 15:15:10 +01:00
select-kit FEATURE: Mixed case tagging (#6454) 2018-10-05 10:23:52 +01:00
wizard Manage qunit via yarn. 2018-09-11 15:07:28 +08:00
admin.js.erb
application.js DEV: adds Object.entries and Object.assign polyfills (#6173) 2018-07-25 11:45:29 -04:00
deprecated.js
discourse-loader.js
discourse-objects.js
discourse.js.es6 Revert "Rename s3 vars, change condition when displaying s3 uploads" 2018-07-06 15:53:57 +08:00
ember_include.js.erb
ember_jquery.js
ember-shim.js
env.js
google-tag-manager.js extract inline JS for google tag manager 2018-09-17 09:56:00 +10:00
google-universal-analytics.js extract inline JS for google analytics 2018-09-17 09:56:00 +10:00
main_include_admin.js
markdown-it-bundle.js UX: Improve editor and preview scroll syncing. 2017-11-23 17:02:02 +08:00
plugin-third-party.js.erb
plugin.js.erb
polyfills.js DEV: adds Object.entries and Object.assign polyfills (#6173) 2018-07-25 11:45:29 -04:00
preload-application-data.js FIX: s3BaseUrl with small s 2018-10-02 13:06:33 +08:00
preload-store.js.es6 DEV: introduces prettier for es6 files 2018-06-15 17:03:24 +02:00
pretty-text-bundle.js
service-worker.js.erb Prefer throwing a new Error object instead of just a string expression 2018-06-12 12:56:22 +10:00
template_include.js.erb
vendor.js Use Yarn to manage dependencies, cleanup unused bootstrap libs (#6436) 2018-10-03 10:15:43 -04:00
wizard-application.js FIX: Wizard didn't load translations correctly 2018-09-05 15:14:09 +02:00
wizard-vendor.js FEATURE: replaces tag-chooser/tag-group-chooser with select-kit component 2018-02-26 11:42:57 +01:00