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 peers API endpoint toggle to Server Settings #22810
Add peers API endpoint toggle to Server Settings #22810
Conversation
This places the toggle under "Discovery" and expands the hint text to explain further what the endpoint is used for. Added a "Recommended" tag since it was recommended in v3 before it was removed. Fixes mastodon#22222
Out of curiosity, is it possible to also restore |
@PinballsWizard Oh, good idea. I will certainly implement that in Hometown, and I will make a similar PR here too. |
@PinballsWizard Done! See #22833 |
@Gargron I have noticed that the For example, if |
@dariusk My understanding is that is intended, and I recently made a PR to fix the Misskey implementation to match. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure “Discovery” (maybe a new “Other” section would make more sense) is the right fit for it, but otherwise I'm all for it.
It is intended, as you don't want to make blocked servers any easier to discover, and a while ago, people misinterpreted the peers list to mean those were instances you were actively peering with. |
Just to be clear, I think this makes blocked servers easier to discover than simply listing out all known servers (through inference, as I mentioned in my example of mastodon.social) -- but also, yeah, I could see people interpret it as a list of servers you federate with and misunderstandings arising from that. I also certainly don't want my server potentially advertising the existence of the domains I have blocked. So I think the filtering of the list is a compromise but a decent one. |
It creates plausible deniability, which is enough. Maybe less plausible in the case of |
This PR adds back the admin panel toggle for the
api/v1/instance/peers
endpoint, which was removed in #19407. It lives under Administration -> Site Settings -> Discovery.This also expands the hint text to explain further what the endpoint is used for. Added a "Recommended" tag since it was recommended in v3 before it was removed.
Fixes #22222