]> cat aescling's git repositories - mastodon.git/commit
Add `/api/v1/accounts/familiar_followers` to REST API (#17700)
authorEugen Rochko <eugen@zeonfederated.com>
Mon, 7 Mar 2022 08:36:47 +0000 (09:36 +0100)
committerGitHub <noreply@github.com>
Mon, 7 Mar 2022 08:36:47 +0000 (09:36 +0100)
commitedf09ec747ebba5a170e27eb13663462a116ec6c
treed8e6c66a345369d21af075e6102382c846a5f248
parentc439e13e1231acd763b38ea6287b60edf51cadc8
Add `/api/v1/accounts/familiar_followers` to REST API (#17700)

* Add `/api/v1/accounts/familiar_followers` to REST API

* Change hide network preference to be stored consistently for local and remote accounts

* Add dummy classes to migration

* Apply suggestions from code review

Co-authored-by: Claire <claire.github-309c@sitedethib.com>
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
22 files changed:
app/controllers/api/v1/accounts/familiar_followers_controller.rb [new file with mode: 0644]
app/controllers/follower_accounts_controller.rb
app/controllers/following_accounts_controller.rb
app/controllers/settings/preferences_controller.rb
app/controllers/settings/profiles_controller.rb
app/lib/user_settings_decorator.rb
app/models/account.rb
app/models/user.rb
app/presenters/familiar_followers_presenter.rb [new file with mode: 0644]
app/serializers/rest/familiar_followers_serializer.rb [new file with mode: 0644]
app/views/follower_accounts/index.html.haml
app/views/following_accounts/index.html.haml
app/views/settings/preferences/other/show.html.haml
app/views/settings/profiles/show.html.haml
config/locales/simple_form.en.yml
config/routes.rb
config/settings.yml
db/migrate/20220304195405_migrate_hide_network_preference.rb [new file with mode: 0644]
db/schema.rb
spec/controllers/follower_accounts_controller_spec.rb
spec/controllers/following_accounts_controller_spec.rb
spec/presenters/familiar_followers_presenter_spec.rb [new file with mode: 0644]