]> cat aescling's git repositories - mastodon.git/commit
Followers-only post federation (#2111)
authorEugen <eugen@zeonfederated.com>
Sun, 23 Apr 2017 22:38:37 +0000 (00:38 +0200)
committerGitHub <noreply@github.com>
Sun, 23 Apr 2017 22:38:37 +0000 (00:38 +0200)
commit501514960a9de238e23cd607d2e8f4c1ff9f16c1
treecf15e7726e7dfda032502c237af4e91cc92ed46a
parentef5937da1ff2d6caca244439dd9b9b9ed85fb278
Followers-only post federation (#2111)

* Make private toots get PuSHed to subscription URLs that belong to domains where you have approved followers

* Authorized followers controller, stub for bulk action

* Soft block in the background

* Add simple test for new controller

* Rename Settings::FollowersController to Settings::FollowerDomainsController, paginate results,
rename "private" post setting to "followers-only", fix pagination style, improve post privacy
preferences style, improve warning style

* Extract compose form warnings into own container, show warning when posting to followers-only with unlocked account
27 files changed:
app/assets/javascripts/components/features/compose/components/compose_form.jsx
app/assets/javascripts/components/features/compose/components/privacy_dropdown.jsx
app/assets/javascripts/components/features/compose/components/warning.jsx [new file with mode: 0644]
app/assets/javascripts/components/features/compose/containers/compose_form_container.jsx
app/assets/javascripts/components/features/compose/containers/warning_container.jsx [new file with mode: 0644]
app/assets/javascripts/components/locales/en.jsx
app/assets/stylesheets/accounts.scss
app/assets/stylesheets/components.scss
app/assets/stylesheets/forms.scss
app/controllers/settings/follower_domains_controller.rb [new file with mode: 0644]
app/models/account.rb
app/views/settings/follower_domains/show.html.haml [new file with mode: 0644]
app/views/settings/preferences/show.html.haml
app/workers/import_worker.rb
app/workers/pubsubhubbub/distribution_worker.rb
app/workers/soft_block_domain_followers_worker.rb [new file with mode: 0644]
app/workers/soft_block_worker.rb [new file with mode: 0644]
config/locales/en.yml
config/locales/nl.yml
config/locales/pt-BR.yml
config/locales/simple_form.en.yml
config/locales/zh-CN.yml
config/navigation.rb
config/routes.rb
spec/controllers/settings/follower_domains_controller_spec.rb [new file with mode: 0644]
spec/controllers/settings/preferences_controller_spec.rb
spec/rails_helper.rb