Commit Graph

4 Commits

Author SHA1 Message Date
Earlopain
a816ee3b34
[BURs] Don't use tag_string_diff for tag nuking
This doesn't have the same issue as mass updates, but
it doesn't hurt to change this away from tag_string_diff as well

Aliases/Implications still do this but considering this has been the case
for 4 years now I don't believe this to be a problem
2024-02-26 16:56:20 +01:00
Earlopain
ca56ef3529
[BURs] Fix mass updates when the tag has been aliased away
Resolving aliases here is not great. Just mass update nothing in these cases, that's much safer.

Using tag_string_diff also wasn't a very bright idea, this too can result in both tags being removed
2024-02-26 16:48:25 +01:00
Earlopain
fc7d84affd
[RuboCop] Enable Style/FrozenStringLiteralComment
This reduces allocations on the posts page by about 5%, from basic testing
2024-02-25 18:15:55 +01:00
Earlopain
0dada96f38
[BURs] Add tests for mass_update blacklist updating and nuking
Also simplifies the logic by doing the same thing aliases are doing
2023-02-26 11:58:30 +01:00