remove unused stuff

This commit is contained in:
Henry Jameson 2023-05-05 01:50:41 +03:00
parent 1492937a7e
commit 6816bc8bad
3 changed files with 43 additions and 129 deletions

View File

@ -13,14 +13,10 @@
<p>{{ $t('admin_dash.frontend.default_frontend_tip2') }}</p> <p>{{ $t('admin_dash.frontend.default_frontend_tip2') }}</p>
</li> </li>
<li> <li>
<StringSetting path=":pleroma.:frontends.:primary.name"> <StringSetting path=":pleroma.:frontends.:primary.name"/>
NAME
</StringSetting>
</li> </li>
<li> <li>
<StringSetting path=":pleroma.:frontends.:primary.ref"> <StringSetting path=":pleroma.:frontends.:primary.ref"/>
REF
</StringSetting>
</li> </li>
<li> <li>
<GroupSetting path=":pleroma.:frontends.:primary" /> <GroupSetting path=":pleroma.:frontends.:primary" />

View File

@ -4,34 +4,22 @@
<h2>{{ $t('admin_dash.instance.instance') }}</h2> <h2>{{ $t('admin_dash.instance.instance') }}</h2>
<ul class="setting-list"> <ul class="setting-list">
<li> <li>
<StringSetting path=":pleroma.:instance.:name"> <StringSetting path=":pleroma.:instance.:name"/>
NAME
</StringSetting>
</li> </li>
<li> <li>
<StringSetting path=":pleroma.:instance.:email"> <StringSetting path=":pleroma.:instance.:email"/>
ADMIN EMAIL
</StringSetting>
</li> </li>
<li> <li>
<StringSetting path=":pleroma.:instance.:description"> <StringSetting path=":pleroma.:instance.:description"/>
DESCRIPTION
</StringSetting>
</li> </li>
<li> <li>
<StringSetting path=":pleroma.:instance.:short_description"> <StringSetting path=":pleroma.:instance.:short_description"/>
SHORT DESCRIPTION
</StringSetting>
</li> </li>
<li> <li>
<AttachmentSetting path=":pleroma.:instance.:instance_thumbnail"> <AttachmentSetting path=":pleroma.:instance.:instance_thumbnail"/>
INSTANCE THUMBNAIL
</AttachmentSetting>
</li> </li>
<li> <li>
<AttachmentSetting path=":pleroma.:instance.:background_image"> <AttachmentSetting path=":pleroma.:instance.:background_image"/>
BACKGROUND IMAGE
</AttachmentSetting>
</li> </li>
</ul> </ul>
</div> </div>
@ -39,53 +27,39 @@
<h2>{{ $t('admin_dash.instance.registrations') }}</h2> <h2>{{ $t('admin_dash.instance.registrations') }}</h2>
<ul class="setting-list"> <ul class="setting-list">
<li> <li>
<BooleanSetting path=":pleroma.:instance.:registrations_open"> <BooleanSetting path=":pleroma.:instance.:registrations_open"/>
REGISTRATIONS OPEN
</BooleanSetting>
<ul class="setting-list suboptions"> <ul class="setting-list suboptions">
<li> <li>
<BooleanSetting <BooleanSetting
path=":pleroma.:instance.:invites_enabled" path=":pleroma.:instance.:invites_enabled"
parent-path=":pleroma.:instance.:registrations_open" parent-path=":pleroma.:instance.:registrations_open"
parent-invert parent-invert
> />
INVITES ENABLED
</BooleanSetting>
</li> </li>
</ul> </ul>
</li> </li>
<li> <li>
<BooleanSetting path=":pleroma.:instance.:birthday_required"> <BooleanSetting path=":pleroma.:instance.:birthday_required"/>
BDEY REQUIRED
</BooleanSetting>
<ul class="setting-list suboptions"> <ul class="setting-list suboptions">
<li> <li>
<IntegerSetting <IntegerSetting
path=":pleroma.:instance.:birthday_min_age" path=":pleroma.:instance.:birthday_min_age"
parent-path=":pleroma.:instance.:birthday_required" parent-path=":pleroma.:instance.:birthday_required"
> />
BDEY age of consent
</IntegerSetting>
</li> </li>
</ul> </ul>
</li> </li>
<li> <li>
<BooleanSetting path=":pleroma.:instance.:account_activation_required"> <BooleanSetting path=":pleroma.:instance.:account_activation_required"/>
ACTIVATION REQUIRED
</BooleanSetting>
</li> </li>
<li> <li>
<BooleanSetting path=":pleroma.:instance.:account_approval_required"> <BooleanSetting path=":pleroma.:instance.:account_approval_required"/>
APPROVAL REQUIRED
</BooleanSetting>
</li> </li>
<li> <li>
<h3>{{ $t('admin_dash.instance.captcha_header') }}</h3> <h3>{{ $t('admin_dash.instance.captcha_header') }}</h3>
</li> </li>
<li> <li>
<BooleanSetting :path="[':pleroma', 'Pleroma.Captcha', ':enabled']"> <BooleanSetting :path="[':pleroma', 'Pleroma.Captcha', ':enabled']"/>
CAPTCHA
</BooleanSetting>
<ul class="setting-list suboptions"> <ul class="setting-list suboptions">
<li> <li>
<ChoiceSetting <ChoiceSetting
@ -95,15 +69,11 @@
'Pleroma.Captcha.Native': $t('admin_dash.captcha.native'), 'Pleroma.Captcha.Native': $t('admin_dash.captcha.native'),
'Pleroma.Captcha.Kocaptcha': $t('admin_dash.captcha.kocaptcha') 'Pleroma.Captcha.Kocaptcha': $t('admin_dash.captcha.kocaptcha')
}" }"
> />
CAPTCHA TYPE
</ChoiceSetting>
<IntegerSetting <IntegerSetting
:path="[':pleroma', 'Pleroma.Captcha', ':seconds_valid']" :path="[':pleroma', 'Pleroma.Captcha', ':seconds_valid']"
:parent-path="[':pleroma', 'Pleroma.Captcha', ':enabled']" :parent-path="[':pleroma', 'Pleroma.Captcha', ':enabled']"
> />
VALID
</IntegerSetting>
</li> </li>
</ul> </ul>
<ul <ul
@ -112,9 +82,7 @@
> >
<h4>{{ $t('admin_dash.instance.kocaptcha') }}</h4> <h4>{{ $t('admin_dash.instance.kocaptcha') }}</h4>
<li> <li>
<StringSetting :path="[':pleroma', 'Pleroma.Captcha.Kocaptcha', ':endpoint']"> <StringSetting :path="[':pleroma', 'Pleroma.Captcha.Kocaptcha', ':endpoint']"/>
cockAPTCHA ENDPOINT
</StringSetting>
</li> </li>
</ul> </ul>
</li> </li>
@ -124,17 +92,13 @@
<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 path=":pleroma.:instance.:public"/>
PUBLIC
</BooleanSetting>
</li> </li>
<li> <li>
<h3>{{ $t('admin_dash.instance.restrict.header') }}</h3> <h3>{{ $t('admin_dash.instance.restrict.header') }}</h3>
</li> </li>
<li> <li>
<ChoiceSetting path=":pleroma.:instance.:limit_to_local_content"> <ChoiceSetting path=":pleroma.:instance.:limit_to_local_content"/>
SEARCH RESTRICTION
</ChoiceSetting>
</li> </li>
<li> <li>
<h4>{{ $t('admin_dash.instance.restrict.timelines') }}</h4> <h4>{{ $t('admin_dash.instance.restrict.timelines') }}</h4>
@ -145,9 +109,7 @@
indeterminate-state=":if_instance_is_private" indeterminate-state=":if_instance_is_private"
swap-description-and-label swap-description-and-label
hide-description hide-description
> />
LOCAL TIMELINES
</BooleanSetting>
</li> </li>
<li> <li>
<BooleanSetting <BooleanSetting
@ -155,14 +117,10 @@
indeterminate-state=":if_instance_is_private" indeterminate-state=":if_instance_is_private"
swap-description-and-label swap-description-and-label
hide-description hide-description
> />
FED TIMELINES
</BooleanSetting>
</li> </li>
<li> <li>
<GroupSetting path=":pleroma.:restrict_unauthenticated.:timelines"> <GroupSetting path=":pleroma.:restrict_unauthenticated.:timelines"/>
TIMELINES
</GroupSetting>
</li> </li>
<li> <li>
<h4>{{ $t('admin_dash.instance.restrict.profiles') }}</h4> <h4>{{ $t('admin_dash.instance.restrict.profiles') }}</h4>
@ -173,9 +131,7 @@
indeterminate-state=":if_instance_is_private" indeterminate-state=":if_instance_is_private"
swap-description-and-label swap-description-and-label
hide-description hide-description
> />
LOCAL PROFILES
</BooleanSetting>
</li> </li>
<li> <li>
<BooleanSetting <BooleanSetting
@ -183,14 +139,10 @@
indeterminate-state=":if_instance_is_private" indeterminate-state=":if_instance_is_private"
swap-description-and-label swap-description-and-label
hide-description hide-description
> />
FED PROFILES
</BooleanSetting>
</li> </li>
<li> <li>
<GroupSetting path=":pleroma.:restrict_unauthenticated.:profiles"> <GroupSetting path=":pleroma.:restrict_unauthenticated.:profiles"/>
PROFILES
</GroupSetting>
</li> </li>
<li> <li>
<h4>{{ $t('admin_dash.instance.restrict.activities') }}</h4> <h4>{{ $t('admin_dash.instance.restrict.activities') }}</h4>
@ -201,9 +153,7 @@
indeterminate-state=":if_instance_is_private" indeterminate-state=":if_instance_is_private"
swap-description-and-label swap-description-and-label
hide-description hide-description
> />
LOCAL STATUSES
</BooleanSetting>
</li> </li>
<li> <li>
<BooleanSetting <BooleanSetting
@ -211,14 +161,10 @@
indeterminate-state=":if_instance_is_private" indeterminate-state=":if_instance_is_private"
swap-description-and-label swap-description-and-label
hide-description hide-description
> />
FED STATUSES
</BooleanSetting>
</li> </li>
<li> <li>
<GroupSetting path=":pleroma.:restrict_unauthenticated.:activities"> <GroupSetting path=":pleroma.:restrict_unauthenticated.:activities"/>
STATUSES
</GroupSetting>
</li> </li>
</ul> </ul>
</div> </div>

View File

@ -11,9 +11,7 @@
source="admin" source="admin"
path=":pleroma.:instance.:limit" path=":pleroma.:instance.:limit"
draft-mode draft-mode
> />
POST LIMIT
</IntegerSetting>
</li> </li>
<li> <li>
<IntegerSetting <IntegerSetting
@ -21,9 +19,7 @@
path=":pleroma.:instance.:remote_limit" path=":pleroma.:instance.:remote_limit"
expert="1" expert="1"
draft-mode draft-mode
> />
POST LIMIT (remote)
</IntegerSetting>
</li> </li>
<li> <li>
<h3>{{ $t('admin_dash.limits.uploads') }}</h3> <h3>{{ $t('admin_dash.limits.uploads') }}</h3>
@ -33,27 +29,21 @@
source="admin" source="admin"
path=":pleroma.:instance.:description_limit" path=":pleroma.:instance.:description_limit"
draft-mode draft-mode
> />
IMAGE DESCRIPTION LIMIT
</IntegerSetting>
</li> </li>
<li> <li>
<IntegerSetting <IntegerSetting
source="admin" source="admin"
path=":pleroma.:instance.:upload_limit" path=":pleroma.:instance.:upload_limit"
draft-mode draft-mode
> />
UPLOAD LIMIT KiB
</IntegerSetting>
</li> </li>
<li> <li>
<IntegerSetting <IntegerSetting
source="admin" source="admin"
path=":pleroma.:instance.:max_media_attachments" path=":pleroma.:instance.:max_media_attachments"
draft-mode draft-mode
> />
MAX ATTACHMENTS
</IntegerSetting>
</li> </li>
<li> <li>
<h3>{{ $t('admin_dash.limits.users') }}</h3> <h3>{{ $t('admin_dash.limits.users') }}</h3>
@ -63,27 +53,21 @@
source="admin" source="admin"
path=":pleroma.:instance.:max_pinned_statuses" path=":pleroma.:instance.:max_pinned_statuses"
draft-mode draft-mode
> />
MAX PINNED POSTS
</IntegerSetting>
</li> </li>
<li> <li>
<IntegerSetting <IntegerSetting
source="admin" source="admin"
path=":pleroma.:instance.:user_bio_length" path=":pleroma.:instance.:user_bio_length"
draft-mode draft-mode
> />
BIO LENGTH
</IntegerSetting>
</li> </li>
<li> <li>
<IntegerSetting <IntegerSetting
source="admin" source="admin"
path=":pleroma.:instance.:user_name_length" path=":pleroma.:instance.:user_name_length"
draft-mode draft-mode
> />
NAME LENGTH
</IntegerSetting>
</li> </li>
<li> <li>
<h4>{{ $t('admin_dash.limits.profile_fields') }}</h4> <h4>{{ $t('admin_dash.limits.profile_fields') }}</h4>
@ -93,9 +77,7 @@
source="admin" source="admin"
path=":pleroma.:instance.:max_account_fields" path=":pleroma.:instance.:max_account_fields"
draft-mode draft-mode
> />
MAX ACCOUNT FIELDS
</IntegerSetting>
</li> </li>
<li> <li>
<IntegerSetting <IntegerSetting
@ -103,27 +85,21 @@
path=":pleroma.:instance.:max_remote_account_fields" path=":pleroma.:instance.:max_remote_account_fields"
draft-mode draft-mode
expert="1" expert="1"
> />
MAX ACCOUNT FIELDS (remote)
</IntegerSetting>
</li> </li>
<li> <li>
<IntegerSetting <IntegerSetting
source="admin" source="admin"
path=":pleroma.:instance.:account_field_name_length" path=":pleroma.:instance.:account_field_name_length"
draft-mode draft-mode
> />
MAX ACCOUNT FIELD NAME
</IntegerSetting>
</li> </li>
<li> <li>
<IntegerSetting <IntegerSetting
source="admin" source="admin"
path=":pleroma.:instance.:account_field_value_length" path=":pleroma.:instance.:account_field_value_length"
draft-mode draft-mode
> />
MAX ACCOUNT VALUE NAME
</IntegerSetting>
</li> </li>
<li> <li>
<h4>{{ $t('admin_dash.limits.user_uploads') }}</h4> <h4>{{ $t('admin_dash.limits.user_uploads') }}</h4>
@ -133,18 +109,14 @@
source="admin" source="admin"
path=":pleroma.:instance.:avatar_upload_limit" path=":pleroma.:instance.:avatar_upload_limit"
draft-mode draft-mode
> />
MAX AVATAR SIZE KiB
</IntegerSetting>
</li> </li>
<li> <li>
<IntegerSetting <IntegerSetting
source="admin" source="admin"
path=":pleroma.:instance.:banner_upload_limit" path=":pleroma.:instance.:banner_upload_limit"
draft-mode draft-mode
> />
MAX BANNER SIZE KiB
</IntegerSetting>
</li> </li>
</ul> </ul>
</div> </div>