From e662d4e83e31c203eb8d46cccd5de173cd5d87f1 Mon Sep 17 00:00:00 2001 From: Ember Date: Sat, 29 Jun 2024 20:53:22 +1000 Subject: [PATCH] remove junk i added --- app/helpers/admin/settings/discovery_helper.rb | 12 ------------ app/views/admin/instances/show.html.haml | 3 +-- config/locales/en-GB.yml | 1 - config/locales/en.yml | 2 -- 4 files changed, 1 insertion(+), 17 deletions(-) diff --git a/app/helpers/admin/settings/discovery_helper.rb b/app/helpers/admin/settings/discovery_helper.rb index d1ee4a85726125..0aa4d4368f30bf 100644 --- a/app/helpers/admin/settings/discovery_helper.rb +++ b/app/helpers/admin/settings/discovery_helper.rb @@ -12,16 +12,4 @@ def discovery_hint_text def discovery_recommended_value authorized_fetch_overridden? ? :overridden : nil end - - def public_feed_auth? - Setting.timeline_preview - end - - def public_timelines_recommended_value - public_feed_auth? ? :overridden : nil - end - - def public_timelines_warning_hint_text - public_feed_auth? ? t('admin.settings.security.public_timelines_warning_hint') : nil - end end diff --git a/app/views/admin/instances/show.html.haml b/app/views/admin/instances/show.html.haml index c42363401d7aa6..29922ca07291b9 100644 --- a/app/views/admin/instances/show.html.haml +++ b/app/views/admin/instances/show.html.haml @@ -68,10 +68,9 @@ %hr.spacer/ -// %p= t('admin.instances.local_stats.description_html') - if @instance.domain_block %h3= t('admin.instances.local_stats.title') - + .table-wrapper %table.table.horizontal-table %tbody diff --git a/config/locales/en-GB.yml b/config/locales/en-GB.yml index 821bb85f3b4f09..e8b3c5325e19d3 100644 --- a/config/locales/en-GB.yml +++ b/config/locales/en-GB.yml @@ -498,7 +498,6 @@ en-GB: title: Content policies local_stats: title: Stats - # description_html: Uhh yeah domain_digest: Domain Digest edited: Edited created: Created diff --git a/config/locales/en.yml b/config/locales/en.yml index f0fe6641d75742..95ef9bac1fa958 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -498,7 +498,6 @@ en: title: Content policies local_stats: title: Stats - # description_html: Uhh yeah domain_digest: Domain Digest edited: Edited created: Created @@ -787,7 +786,6 @@ en: authorized_fetch_hint: Requiring authentication from federated servers enables stricter enforcement of both user-level and server-level blocks. However, this comes at the cost of a performance penalty, reduces the reach of your replies, and may introduce compatibility issues with some federated services. In addition, this will not prevent dedicated actors from fetching your public posts and accounts. authorized_fetch_overridden_hint: You are currently unable to change this setting because it is overridden by an environment variable. federation_authentication: Federation authentication enforcement - public_timelines_warning_hint: Setting only has an effect when 'Allow unauthenticated access to public timelines' is off title: Server settings site_uploads: delete: Delete uploaded file