semantics + description for instance access section
This commit is contained in:
parent
2322646442
commit
09e3735e37
|
@ -57,7 +57,7 @@
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<h3>{{ $t('admin_dash.instance.captcha_header') }}</h3>
|
<h3>{{ $t('admin_dash.instance.captcha_header') }}</h3>
|
||||||
</li>
|
<ul class="setting-list">
|
||||||
<li>
|
<li>
|
||||||
<BooleanSetting :path="[':pleroma', 'Pleroma.Captcha', ':enabled']"/>
|
<BooleanSetting :path="[':pleroma', 'Pleroma.Captcha', ':enabled']"/>
|
||||||
<ul class="setting-list suboptions">
|
<ul class="setting-list suboptions">
|
||||||
|
@ -75,34 +75,48 @@
|
||||||
:parent-path="[':pleroma', 'Pleroma.Captcha', ':enabled']"
|
:parent-path="[':pleroma', 'Pleroma.Captcha', ':enabled']"
|
||||||
/>
|
/>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
<li
|
||||||
<ul
|
|
||||||
v-if="adminDraft[':pleroma']['Pleroma.Captcha'][':enabled'] && adminDraft[':pleroma']['Pleroma.Captcha'][':method'] === 'Pleroma.Captcha.Kocaptcha'"
|
v-if="adminDraft[':pleroma']['Pleroma.Captcha'][':enabled'] && adminDraft[':pleroma']['Pleroma.Captcha'][':method'] === 'Pleroma.Captcha.Kocaptcha'"
|
||||||
class="setting-list suboptions"
|
|
||||||
>
|
>
|
||||||
<h4>{{ $t('admin_dash.instance.kocaptcha') }}</h4>
|
<h4>{{ $t('admin_dash.instance.kocaptcha') }}</h4>
|
||||||
|
<ul class="setting-list">
|
||||||
<li>
|
<li>
|
||||||
<StringSetting :path="[':pleroma', 'Pleroma.Captcha.Kocaptcha', ':endpoint']"/>
|
<StringSetting :path="[':pleroma', 'Pleroma.Captcha.Kocaptcha', ':endpoint']"/>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
<div class="setting-item">
|
<div class="setting-item">
|
||||||
<h2>{{ $t('admin_dash.instance.access') }}</h2>
|
<h2>{{ $t('admin_dash.instance.access') }}</h2>
|
||||||
<ul class="setting-list">
|
<ul class="setting-list">
|
||||||
<li>
|
<li>
|
||||||
<BooleanSetting path=":pleroma.:instance.:public"/>
|
<BooleanSetting
|
||||||
|
override-backend-description
|
||||||
|
override-backend-description-label
|
||||||
|
path=":pleroma.:instance.:public"
|
||||||
|
/>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<ChoiceSetting
|
||||||
|
override-backend-description
|
||||||
|
override-backend-description-label
|
||||||
|
path=":pleroma.:instance.:limit_to_local_content"
|
||||||
|
/>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<h3>{{ $t('admin_dash.instance.restrict.header') }}</h3>
|
<h3>{{ $t('admin_dash.instance.restrict.header') }}</h3>
|
||||||
</li>
|
<p>
|
||||||
<li>
|
{{ $t('admin_dash.instance.restrict.description') }}
|
||||||
<ChoiceSetting path=":pleroma.:instance.:limit_to_local_content"/>
|
</p>
|
||||||
</li>
|
<ul class="setting-list">
|
||||||
<li>
|
<li>
|
||||||
<h4>{{ $t('admin_dash.instance.restrict.timelines') }}</h4>
|
<h4>{{ $t('admin_dash.instance.restrict.timelines') }}</h4>
|
||||||
</li>
|
<ul class="setting-list">
|
||||||
<li>
|
<li>
|
||||||
<BooleanSetting
|
<BooleanSetting
|
||||||
path=":pleroma.:restrict_unauthenticated.:timelines.:local"
|
path=":pleroma.:restrict_unauthenticated.:timelines.:local"
|
||||||
|
@ -122,9 +136,11 @@
|
||||||
<li>
|
<li>
|
||||||
<GroupSetting path=":pleroma.:restrict_unauthenticated.:timelines"/>
|
<GroupSetting path=":pleroma.:restrict_unauthenticated.:timelines"/>
|
||||||
</li>
|
</li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<h4>{{ $t('admin_dash.instance.restrict.profiles') }}</h4>
|
<h4>{{ $t('admin_dash.instance.restrict.profiles') }}</h4>
|
||||||
</li>
|
<ul class="setting-list">
|
||||||
<li>
|
<li>
|
||||||
<BooleanSetting
|
<BooleanSetting
|
||||||
path=":pleroma.:restrict_unauthenticated.:profiles.:local"
|
path=":pleroma.:restrict_unauthenticated.:profiles.:local"
|
||||||
|
@ -144,9 +160,11 @@
|
||||||
<li>
|
<li>
|
||||||
<GroupSetting path=":pleroma.:restrict_unauthenticated.:profiles"/>
|
<GroupSetting path=":pleroma.:restrict_unauthenticated.:profiles"/>
|
||||||
</li>
|
</li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<h4>{{ $t('admin_dash.instance.restrict.activities') }}</h4>
|
<h4>{{ $t('admin_dash.instance.restrict.activities') }}</h4>
|
||||||
</li>
|
<ul class="setting-list">
|
||||||
<li>
|
<li>
|
||||||
<BooleanSetting
|
<BooleanSetting
|
||||||
path=":pleroma.:restrict_unauthenticated.:activities.:local"
|
path=":pleroma.:restrict_unauthenticated.:activities.:local"
|
||||||
|
@ -167,6 +185,10 @@
|
||||||
<GroupSetting path=":pleroma.:restrict_unauthenticated.:activities"/>
|
<GroupSetting path=":pleroma.:restrict_unauthenticated.:activities"/>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
|
@ -869,7 +869,8 @@
|
||||||
"kocaptcha": "KoCaptcha settings",
|
"kocaptcha": "KoCaptcha settings",
|
||||||
"access": "Instance access",
|
"access": "Instance access",
|
||||||
"restrict": {
|
"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",
|
"timelines": "Timelines access",
|
||||||
"profiles": "User profiles access",
|
"profiles": "User profiles access",
|
||||||
"activities": "Statues/activities access"
|
"activities": "Statues/activities access"
|
||||||
|
@ -905,6 +906,14 @@
|
||||||
"temp_overrides": {
|
"temp_overrides": {
|
||||||
":pleroma": {
|
":pleroma": {
|
||||||
":instance": {
|
":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": {
|
":description_limit": {
|
||||||
"label": "Limit",
|
"label": "Limit",
|
||||||
"description": "Character limit for attachment descriptions"
|
"description": "Character limit for attachment descriptions"
|
||||||
|
|
Loading…
Reference in New Issue