]> cat aescling's git repositories - mastodon.git/commit
Add preference to hide following/followers lists (#7532)
authorEugen Rochko <eugen@zeonfederated.com>
Fri, 18 May 2018 00:26:51 +0000 (02:26 +0200)
committerGitHub <noreply@github.com>
Fri, 18 May 2018 00:26:51 +0000 (02:26 +0200)
commit1e02dc871533de78174b48a6a527f11b0f2bc7ec
tree85342796b125279d75c6591ef8b9090a11b8b404
parent919eef309820a421d6f5886b8ae811d3924cea97
Add preference to hide following/followers lists (#7532)

* Add preference to hide following/followers lists

- Public pages
- ActivityPub collections (does not return pages but does give total)
- REST API (unless it's your own) (does not federate)

Fix #6901

* Add preference

* Add delegation

* Fix issue

* Fix issue
19 files changed:
app/controllers/api/v1/accounts/follower_accounts_controller.rb
app/controllers/api/v1/accounts/following_accounts_controller.rb
app/controllers/follower_accounts_controller.rb
app/controllers/following_accounts_controller.rb
app/controllers/settings/preferences_controller.rb
app/javascript/styles/mastodon/accounts.scss
app/javascript/styles/mastodon/footer.scss
app/lib/user_settings_decorator.rb
app/models/account.rb
app/models/user.rb
app/views/accounts/_follow_grid.html.haml
app/views/accounts/_follow_grid_hidden.html.haml [new file with mode: 0644]
app/views/follower_accounts/index.html.haml
app/views/following_accounts/index.html.haml
app/views/layouts/public.html.haml
app/views/settings/preferences/show.html.haml
config/locales/en.yml
config/locales/simple_form.en.yml
config/settings.yml