]> cat aescling's git repositories - mastodon.git/commit
Add a per-user setting to hide followers count
authorThibaut Girka <thib@sitedethib.com>
Tue, 18 Dec 2018 10:24:44 +0000 (11:24 +0100)
committerThibG <thib@sitedethib.com>
Thu, 20 Dec 2018 13:51:12 +0000 (14:51 +0100)
commitbd23288a527bbbe0f8dcdf2a6ad3a585e4aed740
tree0b40dfba4acd77911e91a685ff1290dd6e9f150a
parent9e04b2e8a4fa6cb45f59000faf2902a727973add
Add a per-user setting to hide followers count

This is only available if the instance-wide setting isn't set and allows
people to hide their own followers count. This does not hide others' to
them.
app/controllers/follower_accounts_controller.rb
app/controllers/settings/preferences_controller.rb
app/helpers/stream_entries_helper.rb
app/lib/user_settings_decorator.rb
app/models/user.rb
app/serializers/rest/account_serializer.rb
app/views/accounts/_header.html.haml
app/views/directories/index.html.haml
app/views/settings/preferences/show.html.haml
config/locales/simple_form.en.yml