registrations tab update
This commit is contained in:
parent
5042db43ab
commit
0a9a3648d6
5 changed files with 53 additions and 4 deletions
|
|
@ -13,6 +13,9 @@
|
||||||
path=":pleroma.:instance.:favicon"
|
path=":pleroma.:instance.:favicon"
|
||||||
/>
|
/>
|
||||||
</li>
|
</li>
|
||||||
|
<li>
|
||||||
|
<StringSetting path=":pleroma.:instance.:contact_username" />
|
||||||
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<StringSetting path=":pleroma.:instance.:email" />
|
<StringSetting path=":pleroma.:instance.:email" />
|
||||||
</li>
|
</li>
|
||||||
|
|
|
||||||
|
|
@ -127,6 +127,13 @@
|
||||||
</li>
|
</li>
|
||||||
</div>
|
</div>
|
||||||
</li>
|
</li>
|
||||||
|
<li>
|
||||||
|
<!-- CONFIRM backend what's difference between here and :extra -->
|
||||||
|
<ListSetting
|
||||||
|
ignore-suggestions
|
||||||
|
path=":pleroma.:uri_schemes.:valid_schemes"
|
||||||
|
/>
|
||||||
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -2,8 +2,10 @@ import BooleanSetting from '../helpers/boolean_setting.vue'
|
||||||
import ChoiceSetting from '../helpers/choice_setting.vue'
|
import ChoiceSetting from '../helpers/choice_setting.vue'
|
||||||
import IntegerSetting from '../helpers/integer_setting.vue'
|
import IntegerSetting from '../helpers/integer_setting.vue'
|
||||||
import StringSetting from '../helpers/string_setting.vue'
|
import StringSetting from '../helpers/string_setting.vue'
|
||||||
|
import TupleSetting from '../helpers/tuple_setting.vue'
|
||||||
import GroupSetting from '../helpers/group_setting.vue'
|
import GroupSetting from '../helpers/group_setting.vue'
|
||||||
import AttachmentSetting from '../helpers/attachment_setting.vue'
|
import AttachmentSetting from '../helpers/attachment_setting.vue'
|
||||||
|
import ListSetting from '../helpers/list_setting.vue'
|
||||||
|
|
||||||
import SharedComputedObject from '../helpers/shared_computed_object.js'
|
import SharedComputedObject from '../helpers/shared_computed_object.js'
|
||||||
|
|
||||||
|
|
@ -19,8 +21,10 @@ const RegistrationsTab = {
|
||||||
ChoiceSetting,
|
ChoiceSetting,
|
||||||
IntegerSetting,
|
IntegerSetting,
|
||||||
StringSetting,
|
StringSetting,
|
||||||
|
TupleSetting,
|
||||||
AttachmentSetting,
|
AttachmentSetting,
|
||||||
GroupSetting
|
GroupSetting,
|
||||||
|
ListSetting
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
...SharedComputedObject()
|
...SharedComputedObject()
|
||||||
|
|
|
||||||
|
|
@ -67,6 +67,19 @@
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
<h3>{{ $t('admin_dash.registrations.autofollow') }}</h3>
|
||||||
|
<ul class="setting-list">
|
||||||
|
<li>
|
||||||
|
<ListSetting
|
||||||
|
path=":pleroma.:instance.:autofollowed_nicknames"
|
||||||
|
/>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<ListSetting
|
||||||
|
path=":pleroma.:instance.:autofollowing_nicknames"
|
||||||
|
/>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
<h3>{{ $t('admin_dash.registrations.welcome.title') }}</h3>
|
<h3>{{ $t('admin_dash.registrations.welcome.title') }}</h3>
|
||||||
<ul class="setting-list">
|
<ul class="setting-list">
|
||||||
<p>{{ $t('admin_dash.registrations.welcome.description') }}</p>
|
<p>{{ $t('admin_dash.registrations.welcome.description') }}</p>
|
||||||
|
|
@ -91,6 +104,7 @@
|
||||||
/>
|
/>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
<GroupSetting path=":pleroma.:welcome.:direct_message" />
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
|
|
@ -104,6 +118,7 @@
|
||||||
<ul class="setting-list suboptions">
|
<ul class="setting-list suboptions">
|
||||||
<li>
|
<li>
|
||||||
<StringSetting
|
<StringSetting
|
||||||
|
tuple
|
||||||
path=":pleroma.:welcome.:chat_message.:sender_nickname"
|
path=":pleroma.:welcome.:chat_message.:sender_nickname"
|
||||||
parent-path=":pleroma.:welcome.:chat_message.:enabled"
|
parent-path=":pleroma.:welcome.:chat_message.:enabled"
|
||||||
/>
|
/>
|
||||||
|
|
@ -115,11 +130,12 @@
|
||||||
/>
|
/>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
<GroupSetting path=":pleroma.:welcome.:chat_message" />
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<h4>{{ $t('admin_dash.registrations.welcome.email') }}</h4>
|
<h4>{{ $t('admin_dash.registrations.welcome.email_message') }}</h4>
|
||||||
<ul class="setting-list">
|
<ul class="setting-list">
|
||||||
<li>
|
<li>
|
||||||
<BooleanSetting
|
<BooleanSetting
|
||||||
|
|
@ -127,7 +143,7 @@
|
||||||
/>
|
/>
|
||||||
<ul class="setting-list suboptions">
|
<ul class="setting-list suboptions">
|
||||||
<li>
|
<li>
|
||||||
<StringSetting
|
<TupleSetting
|
||||||
path=":pleroma.:welcome.:email.:sender"
|
path=":pleroma.:welcome.:email.:sender"
|
||||||
parent-path=":pleroma.:welcome.:email.:enabled"
|
parent-path=":pleroma.:welcome.:email.:enabled"
|
||||||
/>
|
/>
|
||||||
|
|
@ -145,10 +161,26 @@
|
||||||
/>
|
/>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
<GroupSetting path=":pleroma.:welcome.:email" />
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
<h3>{{ $t('admin_dash.registrations.restrictions') }}</h3>
|
||||||
|
<ul class="setting-list">
|
||||||
|
<li>
|
||||||
|
<ListSetting
|
||||||
|
ignore-suggestions
|
||||||
|
:path="[':pleroma', 'Pleroma.User', ':restricted_nicknames']"
|
||||||
|
/>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<ListSetting
|
||||||
|
ignore-suggestions
|
||||||
|
:path="[':pleroma', 'Pleroma.User', ':email_blacklist']"
|
||||||
|
/>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
|
||||||
|
|
@ -1176,6 +1176,7 @@
|
||||||
"captcha_header": "CAPTCHA",
|
"captcha_header": "CAPTCHA",
|
||||||
"kocaptcha": "KoCaptcha settings",
|
"kocaptcha": "KoCaptcha settings",
|
||||||
"access": "Instance access",
|
"access": "Instance access",
|
||||||
|
"rich_metadata": "Metadata",
|
||||||
"restrict": {
|
"restrict": {
|
||||||
"header": "Restrict access for anonymous visitors",
|
"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.",
|
"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.",
|
||||||
|
|
@ -1191,7 +1192,9 @@
|
||||||
"direct_message": "Via direct message",
|
"direct_message": "Via direct message",
|
||||||
"chat_message": "Via chat",
|
"chat_message": "Via chat",
|
||||||
"email_message": "Via email"
|
"email_message": "Via email"
|
||||||
}
|
},
|
||||||
|
"restrictions": "Restrictions",
|
||||||
|
"autofollow": "Autofollow"
|
||||||
},
|
},
|
||||||
"links": {
|
"links": {
|
||||||
"no_scheme": "No scheme",
|
"no_scheme": "No scheme",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue