From 09e3735e375b9b8248d9aa1153d065a118abca58 Mon Sep 17 00:00:00 2001 From: Henry Jameson Date: Mon, 8 May 2023 21:36:18 +0300 Subject: [PATCH] semantics + description for instance access section --- .../admin_tabs/instance_tab.vue | 212 ++++++++++-------- src/i18n/en.json | 11 +- 2 files changed, 127 insertions(+), 96 deletions(-) diff --git a/src/components/settings_modal/admin_tabs/instance_tab.vue b/src/components/settings_modal/admin_tabs/instance_tab.vue index d537adb6..a7ef0f68 100644 --- a/src/components/settings_modal/admin_tabs/instance_tab.vue +++ b/src/components/settings_modal/admin_tabs/instance_tab.vue @@ -57,32 +57,35 @@
  • {{ $t('admin_dash.instance.captcha_header') }}

    -
  • -
  • - -
      +
      • - - -
      • -
      -
        -

        {{ $t('admin_dash.instance.kocaptcha') }}

        -
      • - + +
          +
        • + + +
        • +
        • +

          {{ $t('admin_dash.instance.kocaptcha') }}

          +
            +
          • + +
          • +
          +
        • +
      @@ -92,79 +95,98 @@

      {{ $t('admin_dash.instance.access') }}

      • - + +
      • +
      • +
      • {{ $t('admin_dash.instance.restrict.header') }}

        -
      • -
      • - -
      • -
      • -

        {{ $t('admin_dash.instance.restrict.timelines') }}

        -
      • -
      • - -
      • -
      • - -
      • -
      • - -
      • -
      • -

        {{ $t('admin_dash.instance.restrict.profiles') }}

        -
      • -
      • - -
      • -
      • - -
      • -
      • - -
      • -
      • -

        {{ $t('admin_dash.instance.restrict.activities') }}

        -
      • -
      • - -
      • -
      • - -
      • -
      • - +

        + {{ $t('admin_dash.instance.restrict.description') }} +

        +
          +
        • +

          {{ $t('admin_dash.instance.restrict.timelines') }}

          +
            +
          • + +
          • +
          • + +
          • +
          • + +
          • +
          +
        • +
        • +

          {{ $t('admin_dash.instance.restrict.profiles') }}

          +
            +
          • + +
          • +
          • + +
          • +
          • + +
          • +
          +
        • +
        • +

          {{ $t('admin_dash.instance.restrict.activities') }}

          +
            +
          • + +
          • +
          • + +
          • +
          • + +
          • +
          +
        • +
      diff --git a/src/i18n/en.json b/src/i18n/en.json index 072ce952..33f48225 100644 --- a/src/i18n/en.json +++ b/src/i18n/en.json @@ -869,7 +869,8 @@ "kocaptcha": "KoCaptcha settings", "access": "Instance access", "restrict": { - "header": "Restrict access", + "header": "Restrict access for anonymous visitors", + "description": "Detailed setting for allowing/disallowing access to certain aspects of API. By default (indeterminate state) it will disallow if instance is not public, ticked checkbox means disallow access even if instance is public, unticked means allow access even if instance is private. Please note that unexpected behavior might happen if some settings are set, i.e. if profile access is disabled posts will show without profile information.", "timelines": "Timelines access", "profiles": "User profiles access", "activities": "Statues/activities access" @@ -905,6 +906,14 @@ "temp_overrides": { ":pleroma": { ":instance": { + ":public": { + "label": "Instance is public", + "description": "Disabling this will make all API accessible only for logged-in users, this will make Public and Federated timelines inaccessible to anonymous visitors." + }, + ":limit_to_local_content": { + "label": "Limit search to local content", + "description": "Disables global network search for unauthenticated (default), all users or none" + }, ":description_limit": { "label": "Limit", "description": "Character limit for attachment descriptions"