Allow admins to toggle public statistics API
This commit is contained in:
parent
dec4afe6d7
commit
97e267bb8c
|
@ -34,6 +34,11 @@
|
||||||
.fields-group
|
.fields-group
|
||||||
= f.input :peers_api_enabled, as: :boolean, wrapper: :with_label, recommended: :recommended
|
= f.input :peers_api_enabled, as: :boolean, wrapper: :with_label, recommended: :recommended
|
||||||
|
|
||||||
|
%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.follow_recommendations')
|
%h4= t('admin.settings.discovery.follow_recommendations')
|
||||||
|
|
||||||
.fields-group
|
.fields-group
|
||||||
|
|
|
@ -713,6 +713,7 @@ en:
|
||||||
profile_directory: Profile directory
|
profile_directory: Profile directory
|
||||||
public_timelines: Public timelines
|
public_timelines: Public timelines
|
||||||
publish_discovered_servers: Publish discovered servers
|
publish_discovered_servers: Publish discovered servers
|
||||||
|
publish_statistics: Publish statistics
|
||||||
title: Discovery
|
title: Discovery
|
||||||
trends: Trends
|
trends: Trends
|
||||||
domain_blocks:
|
domain_blocks:
|
||||||
|
|
|
@ -75,6 +75,7 @@ en:
|
||||||
hide: Completely hide the filtered content, behaving as if it did not exist
|
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
|
warn: Hide the filtered content behind a warning mentioning the filter's title
|
||||||
form_admin_settings:
|
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.
|
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.
|
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
|
closed_registrations_message: Displayed when sign-ups are closed
|
||||||
|
@ -236,6 +237,7 @@ en:
|
||||||
hide: Hide completely
|
hide: Hide completely
|
||||||
warn: Hide with a warning
|
warn: Hide with a warning
|
||||||
form_admin_settings:
|
form_admin_settings:
|
||||||
|
activity_api_enabled: Publish aggregate statistics about user activity in the API
|
||||||
backups_retention_period: User archive retention period
|
backups_retention_period: User archive retention period
|
||||||
bootstrap_timeline_accounts: Always recommend these accounts to new users
|
bootstrap_timeline_accounts: Always recommend these accounts to new users
|
||||||
closed_registrations_message: Custom message when sign-ups are not available
|
closed_registrations_message: Custom message when sign-ups are not available
|
||||||
|
|
Loading…
Reference in New Issue