glitch-soc / mastodon

A glitchy but lovable microblogging server
https://glitch-soc.github.io/docs/
GNU Affero General Public License v3.0
688 stars 184 forks source link

Enable domain based moderation on nodeinfo and other endpoint metadata #638

Open kyzh opened 6 years ago

kyzh commented 6 years ago

As an instance administrator, I'd like to be able to block or silence instance based on its metadata. So I could choose to make sure peertube instances are blocked by default or to reject pixelfed instances media files. I see there are some information available already on what metadata is provided on fediverse.network [1]

I have no idea how to implement it myself. That said, I'd love to be a patron and fund this feature (If glitch-soc admin would find it useful).

[1] https://fediverse.network/info#instance


lanodan commented 6 years ago

:+1: for nodeinfo (displaying it and providing it) :-1: for it’s usage to block instances per-software

ealgase commented 5 years ago

Any update on this? It's been implemented here: https://github.com/tootsuite/mastodon/pull/10079

kyzh commented 5 years ago

From my point of view, I already block user agent for some implementation of mastodon. I would love to be able to do this from mastodon, instead of the webserver level. I'd take the tradeoff perfomance hit for the ease of access (eg, doing the change in the admin interface instead of SSH to change the webserver's config)

ealgase commented 5 years ago

I disagree with that feature and also blocking specific user agents. It shouldn't be encouraged.