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
Showing
- app/assets/javascripts/components/features/compose/components/compose_form.jsx 3 additions, 17 deletions...s/components/features/compose/components/compose_form.jsx
- app/assets/javascripts/components/features/compose/components/privacy_dropdown.jsx 1 addition, 1 deletion...mponents/features/compose/components/privacy_dropdown.jsx
- app/assets/javascripts/components/features/compose/components/warning.jsx 25 additions, 0 deletions...cripts/components/features/compose/components/warning.jsx
- app/assets/javascripts/components/features/compose/containers/compose_form_container.jsx 12 additions, 26 deletions...ts/features/compose/containers/compose_form_container.jsx
- app/assets/javascripts/components/features/compose/containers/warning_container.jsx 48 additions, 0 deletions...ponents/features/compose/containers/warning_container.jsx
- app/assets/javascripts/components/locales/en.jsx 1 addition, 1 deletionapp/assets/javascripts/components/locales/en.jsx
- app/assets/stylesheets/accounts.scss 2 additions, 1 deletionapp/assets/stylesheets/accounts.scss
- app/assets/stylesheets/components.scss 23 additions, 7 deletionsapp/assets/stylesheets/components.scss
- app/assets/stylesheets/forms.scss 57 additions, 0 deletionsapp/assets/stylesheets/forms.scss
- app/controllers/settings/follower_domains_controller.rb 28 additions, 0 deletionsapp/controllers/settings/follower_domains_controller.rb
- app/models/account.rb 4 additions, 0 deletionsapp/models/account.rb
- app/views/settings/follower_domains/show.html.haml 33 additions, 0 deletionsapp/views/settings/follower_domains/show.html.haml
- app/views/settings/preferences/show.html.haml 1 addition, 1 deletionapp/views/settings/preferences/show.html.haml
- app/workers/import_worker.rb 1 addition, 0 deletionsapp/workers/import_worker.rb
- app/workers/pubsubhubbub/distribution_worker.rb 3 additions, 1 deletionapp/workers/pubsubhubbub/distribution_worker.rb
- app/workers/soft_block_domain_followers_worker.rb 13 additions, 0 deletionsapp/workers/soft_block_domain_followers_worker.rb
- app/workers/soft_block_worker.rb 17 additions, 0 deletionsapp/workers/soft_block_worker.rb
- config/locales/en.yml 23 additions, 7 deletionsconfig/locales/en.yml
- config/locales/nl.yml 48 additions, 49 deletionsconfig/locales/nl.yml
- config/locales/pt-BR.yml 1 addition, 1 deletionconfig/locales/pt-BR.yml
Loading
Please register or sign in to comment