]> cat aescling's git repositories - mastodon.git/commit
Change trending hashtags to be affected be reblogs (#16164)
authorEugen Rochko <eugen@zeonfederated.com>
Fri, 7 May 2021 12:33:43 +0000 (14:33 +0200)
committerGitHub <noreply@github.com>
Fri, 7 May 2021 12:33:43 +0000 (14:33 +0200)
commit74081433d0078784b7c2139f6caaa812740632b2
tree02af62ad9e8dad4d2b9d7c504c7ffce27cdf26ac
parent2c77d97e0d59e045a9b04fccc83f0f24d190d8d8
Change trending hashtags to be affected be reblogs (#16164)

If a status with a hashtag becomes very popular, it stands to
reason that the hashtag should have a chance at trending

Fix no stats being recorded for hashtags that are not allowed
to trend, and stop ignoring bots

Remove references to hashtags in profile directory from the code
and the admin UI
20 files changed:
app/controllers/directories_controller.rb
app/lib/activitypub/activity/announce.rb
app/lib/activitypub/activity/create.rb
app/models/account.rb
app/models/account_tag_stat.rb [deleted file]
app/models/tag.rb
app/models/tag_filter.rb
app/models/trending_tags.rb
app/services/process_hashtags_service.rb
app/services/reblog_service.rb
app/views/admin/tags/_tag.html.haml
app/views/admin/tags/index.html.haml
app/views/admin/tags/show.html.haml
config/locales/en.yml
config/locales/simple_form.en.yml
config/routes.rb
db/post_migrate/20210502233513_drop_account_tag_stats.rb [new file with mode: 0644]
db/schema.rb
spec/models/account_tag_stat_spec.rb [deleted file]
spec/models/trending_tags_spec.rb