-
-
Notifications
You must be signed in to change notification settings - Fork 7.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add public blocks to /about/blocks #11298
Add public blocks to /about/blocks #11298
Conversation
b5c07d3
to
829e2f4
Compare
Note that it lacks the rationale (as there is currently none included in the database), and it doesn't support censoring domain names. |
I need such a feature! It's a real pain in the ass to manually maintain a public blocklist. |
I am more interested on that "Sandbox" severity. (But it's more like soft-block) |
That's just a more commonly understandable phrasing. Sandbox means "silenced". The text and format of the page is taken from mastodon.social's published blocklist on GitHub. Since that was a standalone thing I felt comfortable using different terminology with explanations, but within Mastodon, it might be worthwhile to either a) use "silence" consistently or b) consistently rename all mod actions from "silence" to "sandbox". |
@Gargron is "silence" also prevent notification from stranger too? if so, Current hint message from admin UI below should be changed.
|
04ca1c1
to
657ee33
Compare
Changed “Sandbox” to “Silence” and rebased on latest master. |
Grouping domains by string-equal rationale would be good when adding rationale is supported. |
I feel like rationales should be discussed in another PR. What makes sense is to just have a set list of tags admins can control and allow filtering by tag. |
152ec2e
to
50a6962
Compare
50a6962
to
6a6afcf
Compare
ab5a281
to
8075864
Compare
Edited to add support for optionally showing the public comment (rationale). As for showing the blocklist at all, it can be set to show the rationale to anyone, logged in users, or nobody. |
8075864
to
8998bae
Compare
f892945
to
01dd49f
Compare
01dd49f
to
51ff4ad
Compare
b508c52
to
49e46d0
Compare
@Gargron I think the text is fine, can this be merged? |
* 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
…bout/blocks * 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
Add an option to display domain blocks on /about/blocks.
This setting has three options:
It comes with a similar setting to show the rationale.
Without rationale
With rationale