]> cat aescling's git repositories - mastodon.git/commit
Change how hashtags are normalized (#18795)
authorEugen Rochko <eugen@zeonfederated.com>
Wed, 13 Jul 2022 13:03:28 +0000 (15:03 +0200)
committeraescling <aescling+gitlab@cat.family>
Mon, 5 Sep 2022 04:27:55 +0000 (00:27 -0400)
commitfc22f3b3e23721ff179e24998123faf3c790829a
tree1be0882e24ccd7f5de235b5db081690577aa3010
parentcc901d19fc9ca1fa7452d02bba3a58bc4fa5c51a
Change how hashtags are normalized (#18795)

* Change how hashtags are normalized

* Fix tests
29 files changed:
app/controllers/admin/tags_controller.rb
app/controllers/api/v1/featured_tags_controller.rb
app/controllers/settings/featured_tags_controller.rb
app/javascript/mastodon/actions/compose.js
app/lib/ascii_folding.rb [new file with mode: 0644]
app/lib/hashtag_normalizer.rb [new file with mode: 0644]
app/models/account.rb
app/models/custom_filter.rb
app/models/custom_filter_keyword.rb
app/models/featured_tag.rb
app/models/tag.rb
app/serializers/activitypub/hashtag_serializer.rb
app/serializers/rest/featured_tag_serializer.rb
app/serializers/rest/tag_serializer.rb
app/views/accounts/show.html.haml
app/views/accounts/show.rss.ruby
app/views/admin/tags/show.html.haml
app/views/admin/trends/tags/_tag.html.haml
app/views/admin_mailer/_new_trending_tags.text.erb
app/views/settings/featured_tags/index.html.haml
app/views/tags/_og.html.haml
app/views/tags/show.html.haml
app/views/tags/show.rss.ruby
config/initializers/inflections.rb
db/migrate/20220710102457_add_display_name_to_tags.rb [new file with mode: 0644]
db/schema.rb
spec/lib/hashtag_normalizer_spec.rb [new file with mode: 0644]
spec/models/tag_spec.rb
streaming/index.js