Files
danbooru/test/unit
evazion 015c6dc7db Fix #4965: Account for metatag prefixes when searching/linking
Drop the ability to write e.g. `create alias foo -> char:bar` in a BUR
to change the tag's type as a side effect. You can only use these
tag type prefixes in tag edits now.

This feature was only intended to be used in tag edits. The fact it
worked elsewhere was unintended behavior.

This feature was problematic because it relied on `Tag.find_or_create_by_name`
automagically changing the tag's category when the tag name contained a
tag category prefix, e.g. `char:hatsune_miku`. This meant that merely
looking up a tag could have the side effect of changing its category.
It was also bad because `find_or_create_by_name` had a hidden dependency
on the current user, which may not be set or available in all contexts.
2022-09-10 04:49:24 -05:00
..
2022-08-24 02:03:37 -05:00
2020-03-21 21:07:35 -05:00
2020-06-20 00:20:39 -05:00
2022-08-24 02:03:37 -05:00
2022-01-15 22:02:47 -06:00
2021-01-11 05:12:09 -06:00
2022-05-20 22:51:02 -05:00