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
..
2017-07-28 10:20:09 +09:00
2018-09-21 11:02:23 +00:00
2018-06-07 13:28:18 +08:00
2018-10-02 15:24:12 +08:00
2017-07-28 10:20:09 +09:00
2018-06-07 13:28:18 +08:00
2017-07-28 10:20:09 +09:00
2018-02-26 10:25:58 +11:00
2018-04-25 08:44:07 +10:00
2018-06-07 13:28:18 +08:00
2017-07-03 15:26:57 -04:00
2018-10-05 10:23:52 +01:00
2018-04-18 11:32:32 +05:30
2018-06-07 13:28:18 +08:00
2017-07-28 10:20:09 +09:00
2018-08-10 11:34:01 +10:00
2018-09-14 11:43:35 -04:00
2017-07-28 10:20:09 +09:00