Add peers API endpoint toggle to Server Settings (#22810)
* Add peers endpoint toggle to Server Settings 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 https://github.com/mastodon/mastodon/issues/22222 * i18n normalize steplolsob-rspec
parent
27751cd101
commit
2fa96eee25
|
@ -29,6 +29,11 @@
|
||||||
.fields-group
|
.fields-group
|
||||||
= f.input :noindex, as: :boolean, wrapper: :with_label, label: t('admin.settings.default_noindex.title'), hint: t('admin.settings.default_noindex.desc_html')
|
= f.input :noindex, as: :boolean, wrapper: :with_label, label: t('admin.settings.default_noindex.title'), hint: t('admin.settings.default_noindex.desc_html')
|
||||||
|
|
||||||
|
%h4= t('admin.settings.discovery.publish_discovered_servers')
|
||||||
|
|
||||||
|
.fields-group
|
||||||
|
= f.input :peers_api_enabled, as: :boolean, wrapper: :with_label, recommended: :recommended
|
||||||
|
|
||||||
%h4= t('admin.settings.discovery.follow_recommendations')
|
%h4= t('admin.settings.discovery.follow_recommendations')
|
||||||
|
|
||||||
.fields-group
|
.fields-group
|
||||||
|
|
|
@ -714,6 +714,7 @@ en:
|
||||||
preamble: Surfacing interesting content is instrumental in onboarding new users who may not know anyone Mastodon. Control how various discovery features work on your server.
|
preamble: Surfacing interesting content is instrumental in onboarding new users who may not know anyone Mastodon. Control how various discovery features work on your server.
|
||||||
profile_directory: Profile directory
|
profile_directory: Profile directory
|
||||||
public_timelines: Public timelines
|
public_timelines: Public timelines
|
||||||
|
publish_discovered_servers: Publish discovered servers
|
||||||
title: Discovery
|
title: Discovery
|
||||||
trends: Trends
|
trends: Trends
|
||||||
domain_blocks:
|
domain_blocks:
|
||||||
|
|
|
@ -81,6 +81,7 @@ en:
|
||||||
custom_css: You can apply custom styles on the web version of Mastodon.
|
custom_css: You can apply custom styles on the web version of Mastodon.
|
||||||
mascot: Overrides the illustration in the advanced web interface.
|
mascot: Overrides the illustration in the advanced web interface.
|
||||||
media_cache_retention_period: Downloaded media files will be deleted after the specified number of days when set to a positive value, and re-downloaded on demand.
|
media_cache_retention_period: Downloaded media files will be deleted after the specified number of days when set to a positive value, and re-downloaded on demand.
|
||||||
|
peers_api_enabled: A list of domain names this server has encountered in the fediverse. No data is included here about whether you federate with a given server, just that your server knows about it. This is used by services that collect statistics on federation in a general sense.
|
||||||
profile_directory: The profile directory lists all users who have opted-in to be discoverable.
|
profile_directory: The profile directory lists all users who have opted-in to be discoverable.
|
||||||
require_invite_text: When sign-ups require manual approval, make the “Why do you want to join?” text input mandatory rather than optional
|
require_invite_text: When sign-ups require manual approval, make the “Why do you want to join?” text input mandatory rather than optional
|
||||||
site_contact_email: How people can reach you for legal or support inquiries.
|
site_contact_email: How people can reach you for legal or support inquiries.
|
||||||
|
@ -236,6 +237,7 @@ en:
|
||||||
custom_css: Custom CSS
|
custom_css: Custom CSS
|
||||||
mascot: Custom mascot (legacy)
|
mascot: Custom mascot (legacy)
|
||||||
media_cache_retention_period: Media cache retention period
|
media_cache_retention_period: Media cache retention period
|
||||||
|
peers_api_enabled: Publish list of discovered servers in the API
|
||||||
profile_directory: Enable profile directory
|
profile_directory: Enable profile directory
|
||||||
registrations_mode: Who can sign-up
|
registrations_mode: Who can sign-up
|
||||||
require_invite_text: Require a reason to join
|
require_invite_text: Require a reason to join
|
||||||
|
|
Loading…
Reference in New Issue