Skip to content
Snippets Groups Projects
Unverified Commit 507e1d22 authored by Darius Kazemi's avatar Darius Kazemi Committed by GitHub
Browse files

Allow admins to toggle public statistics API (#22833)


* Allow admins to toggle public statistics API

* Normalize i18n

Co-authored-by: default avatarClaire <claire.github-309c@sitedethib.com>
parent 745bdb11
No related branches found
No related tags found
No related merge requests found
......@@ -29,6 +29,11 @@
.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')
%h4= t('admin.settings.discovery.publish_statistics')
.fields-group
= f.input :activity_api_enabled, as: :boolean, wrapper: :with_label, recommended: :recommended
%h4= t('admin.settings.discovery.publish_discovered_servers')
.fields-group
......
......@@ -715,6 +715,7 @@ en:
profile_directory: Profile directory
public_timelines: Public timelines
publish_discovered_servers: Publish discovered servers
publish_statistics: Publish statistics
title: Discovery
trends: Trends
domain_blocks:
......
......@@ -74,6 +74,7 @@ en:
hide: Completely hide the filtered content, behaving as if it did not exist
warn: Hide the filtered content behind a warning mentioning the filter's title
form_admin_settings:
activity_api_enabled: Counts of locally published posts, active users, and new registrations in weekly buckets
backups_retention_period: Keep generated user archives for the specified number of days.
bootstrap_timeline_accounts: These accounts will be pinned to the top of new users' follow recommendations.
closed_registrations_message: Displayed when sign-ups are closed
......@@ -230,6 +231,7 @@ en:
hide: Hide completely
warn: Hide with a warning
form_admin_settings:
activity_api_enabled: Publish aggregate statistics about user activity in the API
backups_retention_period: User archive retention period
bootstrap_timeline_accounts: Always recommend these accounts to new users
closed_registrations_message: Custom message when sign-ups are not available
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment