]> cat aescling's git repositories - mastodon.git/commit
Add public blocks to /about/blocks (#11298)
authorThibG <thib@sitedethib.com>
Mon, 19 Aug 2019 09:35:48 +0000 (11:35 +0200)
committerEugen Rochko <eugen@zeonfederated.com>
Mon, 19 Aug 2019 09:35:48 +0000 (11:35 +0200)
commit9b6a5ed109e1986149c1f15a41d4f442ae8ae39c
tree14d84b3e2986a9ffb5bd776c43f88230d9212467
parent9e1d28f48e8197690ab4ec9ff02d981f408bf875
Add public blocks to /about/blocks (#11298)

* Add automatic blocklist display in /about/blocks

Inspired by https://github.com/Gargron/mastodon.social-misc

* Add admin option to set who can see instance blocks

* Normalize locales files

* Rename “Sandbox” to “Silence” for consistency

* Disable /about/blocks when in whitelist mode

* Optionally display rationale for domain blocks

* Only display domain blocks that have user-facing limitations, and order them

* Redesign table of blocked domains to better handle long domain names and rationales

* Change domain blocks ordering now that rationales aren't displayed right away

* Only show explanation for block severities actually in use

* Reword instance block explanations and add disclaimer for public fetch mode
app/controllers/about_controller.rb
app/javascript/packs/public.js
app/javascript/styles/mastodon/tables.scss
app/models/domain_block.rb
app/models/form/admin_settings.rb
app/views/about/blocks.html.haml [new file with mode: 0644]
app/views/admin/settings/edit.html.haml
config/locales/en.yml
config/routes.rb
config/settings.yml