discourse/script/bulk_import
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
..
base.rb Improve Vanilla bulk import script 2018-08-16 22:00:26 +05:30
discourse_merger.rb FEATURE: Mixed case tagging (#6454) 2018-10-05 10:23:52 +01:00
phpbb_postgresql.rb FEATURE: Vanilla bulk importer 2018-02-02 16:28:51 -05:00
vanilla.rb Fix Vanilla bulk import script 2018-08-16 22:12:26 +05:30
vbulletin.rb Add display name to user (#6198) 2018-07-31 14:43:16 +10:00