2020-05-10 03:46:06 +00:00
|
|
|
<template>
|
2020-05-25 00:43:55 +00:00
|
|
|
<div :label="$t('settings.general')">
|
|
|
|
<div class="setting-item">
|
|
|
|
<h2>{{ $t('settings.interface') }}</h2>
|
|
|
|
<ul class="setting-list">
|
|
|
|
<li>
|
|
|
|
<interface-language-switcher />
|
|
|
|
</li>
|
|
|
|
<li v-if="instanceSpecificPanelPresent">
|
2020-09-30 22:43:07 +00:00
|
|
|
<BooleanSetting path="hideISP">
|
2020-05-25 00:43:55 +00:00
|
|
|
{{ $t('settings.hide_isp') }}
|
2020-09-30 22:43:07 +00:00
|
|
|
</BooleanSetting>
|
2020-05-25 00:43:55 +00:00
|
|
|
</li>
|
2021-05-26 22:22:55 +00:00
|
|
|
<li>
|
|
|
|
<BooleanSetting path="sidebarRight">
|
|
|
|
{{ $t('settings.right_sidebar') }}
|
|
|
|
</BooleanSetting>
|
|
|
|
</li>
|
2020-12-16 16:25:07 +00:00
|
|
|
<li v-if="instanceWallpaperUsed">
|
2021-02-01 18:08:36 +00:00
|
|
|
<BooleanSetting path="hideInstanceWallpaper">
|
2020-12-16 16:25:07 +00:00
|
|
|
{{ $t('settings.hide_wallpaper') }}
|
2021-02-01 18:08:36 +00:00
|
|
|
</BooleanSetting>
|
2020-12-16 16:25:07 +00:00
|
|
|
</li>
|
2020-05-25 00:43:55 +00:00
|
|
|
<li>
|
2021-06-08 13:14:01 +00:00
|
|
|
<BooleanSetting path="stopGifs">
|
|
|
|
{{ $t('settings.stop_gifs') }}
|
2020-09-30 22:43:07 +00:00
|
|
|
</BooleanSetting>
|
2020-05-25 00:43:55 +00:00
|
|
|
</li>
|
|
|
|
<li>
|
2022-02-28 16:23:32 +00:00
|
|
|
<BooleanSetting path="streaming">
|
2020-05-25 00:43:55 +00:00
|
|
|
{{ $t('settings.streaming') }}
|
2020-09-30 22:43:07 +00:00
|
|
|
</BooleanSetting>
|
2020-05-25 00:43:55 +00:00
|
|
|
<ul
|
|
|
|
class="setting-list suboptions"
|
|
|
|
:class="[{disabled: !streaming}]"
|
2020-05-10 03:46:06 +00:00
|
|
|
>
|
2020-05-25 00:43:55 +00:00
|
|
|
<li>
|
2020-09-30 22:43:07 +00:00
|
|
|
<BooleanSetting
|
|
|
|
path="pauseOnUnfocused"
|
2020-05-25 00:43:55 +00:00
|
|
|
:disabled="!streaming"
|
2020-05-10 03:46:06 +00:00
|
|
|
>
|
2020-05-25 00:43:55 +00:00
|
|
|
{{ $t('settings.pause_on_unfocused') }}
|
2020-09-30 22:43:07 +00:00
|
|
|
</BooleanSetting>
|
2020-05-25 00:43:55 +00:00
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
<li>
|
2022-02-28 16:23:32 +00:00
|
|
|
<BooleanSetting
|
|
|
|
path="useStreamingApi"
|
|
|
|
expert="1"
|
|
|
|
>
|
2020-05-25 00:43:55 +00:00
|
|
|
{{ $t('settings.useStreamingApi') }}
|
2020-09-30 22:43:07 +00:00
|
|
|
</BooleanSetting>
|
2020-05-25 00:43:55 +00:00
|
|
|
</li>
|
2020-09-29 10:18:37 +00:00
|
|
|
<li>
|
2022-02-28 16:23:32 +00:00
|
|
|
<BooleanSetting
|
|
|
|
path="virtualScrolling"
|
|
|
|
expert="1"
|
|
|
|
>
|
2020-09-29 10:18:37 +00:00
|
|
|
{{ $t('settings.virtual_scrolling') }}
|
2021-02-01 18:08:36 +00:00
|
|
|
</BooleanSetting>
|
2020-09-29 10:18:37 +00:00
|
|
|
</li>
|
2020-05-25 00:43:55 +00:00
|
|
|
<li>
|
2022-02-28 16:23:32 +00:00
|
|
|
<BooleanSetting
|
|
|
|
path="alwaysShowNewPostButton"
|
|
|
|
expert="1"
|
|
|
|
>
|
2022-02-22 21:31:40 +00:00
|
|
|
{{ $t('settings.always_show_post_button') }}
|
|
|
|
</BooleanSetting>
|
|
|
|
</li>
|
|
|
|
<li>
|
2022-02-28 16:23:32 +00:00
|
|
|
<BooleanSetting
|
|
|
|
path="autohideFloatingPostButton"
|
|
|
|
expert="1"
|
|
|
|
>
|
2020-05-25 00:43:55 +00:00
|
|
|
{{ $t('settings.autohide_floating_post_button') }}
|
2020-09-30 22:43:07 +00:00
|
|
|
</BooleanSetting>
|
2020-05-25 00:43:55 +00:00
|
|
|
</li>
|
2021-06-16 10:52:13 +00:00
|
|
|
<li v-if="instanceShoutboxPresent">
|
2022-02-28 16:23:32 +00:00
|
|
|
<BooleanSetting
|
|
|
|
path="hideShoutbox"
|
|
|
|
expert="1"
|
|
|
|
>
|
2021-06-16 10:52:13 +00:00
|
|
|
{{ $t('settings.hide_shoutbox') }}
|
2020-09-30 22:43:07 +00:00
|
|
|
</BooleanSetting>
|
2020-05-25 00:43:55 +00:00
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
<div class="setting-item">
|
2021-06-08 13:14:01 +00:00
|
|
|
<h2>{{ $t('settings.post_look_feel') }}</h2>
|
2020-05-10 03:46:06 +00:00
|
|
|
<ul class="setting-list">
|
|
|
|
<li>
|
2021-06-08 13:14:01 +00:00
|
|
|
<BooleanSetting path="collapseMessageWithSubject">
|
|
|
|
{{ $t('settings.collapse_subject') }}
|
2020-09-30 22:43:07 +00:00
|
|
|
</BooleanSetting>
|
2020-05-10 03:46:06 +00:00
|
|
|
</li>
|
|
|
|
<li>
|
2022-02-28 16:23:32 +00:00
|
|
|
<BooleanSetting
|
|
|
|
path="emojiReactionsOnTimeline"
|
|
|
|
expert="1"
|
|
|
|
>
|
2021-06-08 13:14:01 +00:00
|
|
|
{{ $t('settings.emoji_reactions_on_timeline') }}
|
2020-09-30 22:43:07 +00:00
|
|
|
</BooleanSetting>
|
2020-05-10 03:46:06 +00:00
|
|
|
</li>
|
2022-02-22 21:31:40 +00:00
|
|
|
<li>
|
2022-02-28 16:23:32 +00:00
|
|
|
<BooleanSetting
|
|
|
|
v-if="user"
|
|
|
|
path="serverSide_stripRichContent"
|
|
|
|
expert="1"
|
|
|
|
>
|
2022-02-22 21:31:40 +00:00
|
|
|
{{ $t('settings.no_rich_text_description') }}
|
|
|
|
</BooleanSetting>
|
|
|
|
</li>
|
2021-06-08 13:14:01 +00:00
|
|
|
<h3>{{ $t('settings.attachments') }}</h3>
|
2020-05-10 03:46:06 +00:00
|
|
|
<li>
|
2022-02-28 16:23:32 +00:00
|
|
|
<BooleanSetting
|
|
|
|
path="useContainFit"
|
|
|
|
expert="1"
|
|
|
|
>
|
2021-06-08 13:14:01 +00:00
|
|
|
{{ $t('settings.use_contain_fit') }}
|
|
|
|
</BooleanSetting>
|
2020-05-10 03:46:06 +00:00
|
|
|
</li>
|
|
|
|
<li>
|
2020-09-30 22:43:07 +00:00
|
|
|
<BooleanSetting path="hideNsfw">
|
2020-05-10 03:46:06 +00:00
|
|
|
{{ $t('settings.nsfw_clickthrough') }}
|
2020-09-30 22:43:07 +00:00
|
|
|
</BooleanSetting>
|
2020-05-10 03:46:06 +00:00
|
|
|
</li>
|
|
|
|
<ul class="setting-list suboptions">
|
|
|
|
<li>
|
2020-09-30 22:43:07 +00:00
|
|
|
<BooleanSetting
|
2022-02-28 16:23:32 +00:00
|
|
|
path="preloadImage"
|
|
|
|
expert="1"
|
2020-05-10 03:46:06 +00:00
|
|
|
:disabled="!hideNsfw"
|
2020-05-25 00:43:55 +00:00
|
|
|
>
|
2020-05-10 03:46:06 +00:00
|
|
|
{{ $t('settings.preload_images') }}
|
2020-09-30 22:43:07 +00:00
|
|
|
</BooleanSetting>
|
2020-05-10 03:46:06 +00:00
|
|
|
</li>
|
|
|
|
<li>
|
2020-09-30 22:43:07 +00:00
|
|
|
<BooleanSetting
|
2022-02-28 16:23:32 +00:00
|
|
|
path="useOneClickNsfw"
|
|
|
|
expert="1"
|
2020-05-10 03:46:06 +00:00
|
|
|
:disabled="!hideNsfw"
|
2020-05-25 00:43:55 +00:00
|
|
|
>
|
2020-05-10 03:46:06 +00:00
|
|
|
{{ $t('settings.use_one_click_nsfw') }}
|
2020-09-30 22:43:07 +00:00
|
|
|
</BooleanSetting>
|
2020-05-10 03:46:06 +00:00
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
<li>
|
2022-02-28 16:23:32 +00:00
|
|
|
<BooleanSetting
|
|
|
|
path="loopVideo"
|
|
|
|
expert="1"
|
|
|
|
>
|
2020-05-10 03:46:06 +00:00
|
|
|
{{ $t('settings.loop_video') }}
|
2020-09-30 22:43:07 +00:00
|
|
|
</BooleanSetting>
|
2020-05-10 03:46:06 +00:00
|
|
|
<ul
|
|
|
|
class="setting-list suboptions"
|
|
|
|
:class="[{disabled: !streaming}]"
|
2020-05-25 00:43:55 +00:00
|
|
|
>
|
2020-05-10 03:46:06 +00:00
|
|
|
<li>
|
2020-09-30 22:43:07 +00:00
|
|
|
<BooleanSetting
|
2022-02-28 16:23:32 +00:00
|
|
|
path="loopVideoSilentOnly"
|
|
|
|
expert="1"
|
2020-05-10 03:46:06 +00:00
|
|
|
:disabled="!loopVideo || !loopSilentAvailable"
|
2020-05-25 00:43:55 +00:00
|
|
|
>
|
2020-05-10 03:46:06 +00:00
|
|
|
{{ $t('settings.loop_video_silent_only') }}
|
2020-09-30 22:43:07 +00:00
|
|
|
</BooleanSetting>
|
2020-05-10 03:46:06 +00:00
|
|
|
<div
|
|
|
|
v-if="!loopSilentAvailable"
|
|
|
|
class="unavailable"
|
2020-05-25 00:43:55 +00:00
|
|
|
>
|
2020-10-20 19:13:19 +00:00
|
|
|
<FAIcon icon="globe" />! {{ $t('settings.limited_availability') }}
|
2020-05-10 03:46:06 +00:00
|
|
|
</div>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
<li>
|
2022-02-28 16:23:32 +00:00
|
|
|
<BooleanSetting
|
|
|
|
path="playVideosInModal"
|
|
|
|
expert="1"
|
|
|
|
>
|
2020-05-10 03:46:06 +00:00
|
|
|
{{ $t('settings.play_videos_in_modal') }}
|
2020-09-30 22:43:07 +00:00
|
|
|
</BooleanSetting>
|
2020-05-10 03:46:06 +00:00
|
|
|
</li>
|
2022-02-22 21:31:40 +00:00
|
|
|
<h3>{{ $t('settings.mention_links') }}</h3>
|
2022-01-10 06:16:33 +00:00
|
|
|
<li>
|
|
|
|
<ChoiceSetting
|
|
|
|
id="mentionLinkDisplay"
|
|
|
|
path="mentionLinkDisplay"
|
|
|
|
:options="mentionLinkDisplayOptions"
|
|
|
|
>
|
|
|
|
{{ $t('settings.mention_link_display') }}
|
|
|
|
</ChoiceSetting>
|
|
|
|
</li>
|
|
|
|
<ul
|
|
|
|
class="setting-list suboptions"
|
|
|
|
>
|
2022-02-22 21:31:40 +00:00
|
|
|
<li v-if="mentionLinkDisplay === 'short'">
|
2022-02-28 16:23:32 +00:00
|
|
|
<BooleanSetting
|
|
|
|
path="mentionLinkShowTooltip"
|
|
|
|
expert="1"
|
|
|
|
>
|
2022-01-10 06:16:33 +00:00
|
|
|
{{ $t('settings.mention_link_show_tooltip') }}
|
|
|
|
</BooleanSetting>
|
|
|
|
</li>
|
2022-02-22 21:31:40 +00:00
|
|
|
</ul>
|
|
|
|
<li>
|
2022-02-28 16:23:32 +00:00
|
|
|
<BooleanSetting
|
|
|
|
path="useAtIcon"
|
|
|
|
expert="1"
|
|
|
|
>
|
|
|
|
{{ $t('settings.use_at_icon') }}
|
|
|
|
</BooleanSetting>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<BooleanSetting path="mentionLinkShowAvatar">
|
|
|
|
{{ $t('settings.mention_link_show_avatar') }}
|
|
|
|
</BooleanSetting>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<BooleanSetting
|
|
|
|
path="mentionLinkFadeDomain"
|
|
|
|
expert="1"
|
|
|
|
>
|
|
|
|
{{ $t('settings.mention_link_fade_domain') }}
|
|
|
|
</BooleanSetting>
|
|
|
|
</li>
|
|
|
|
<li v-if="user">
|
|
|
|
<BooleanSetting
|
|
|
|
path="mentionLinkBoldenYou"
|
|
|
|
expert="1"
|
|
|
|
>
|
|
|
|
{{ $t('settings.mention_link_bolden_you') }}
|
|
|
|
</BooleanSetting>
|
|
|
|
</li>
|
|
|
|
<h3 v-if="expertLevel > 0">
|
|
|
|
{{ $t('settings.fun') }}
|
|
|
|
</h3>
|
|
|
|
<li>
|
|
|
|
<BooleanSetting
|
|
|
|
path="greentext"
|
|
|
|
expert="1"
|
|
|
|
>
|
2022-02-22 21:31:40 +00:00
|
|
|
{{ $t('settings.greentext') }}
|
|
|
|
</BooleanSetting>
|
|
|
|
</li>
|
|
|
|
<li v-if="user">
|
2022-02-28 16:23:32 +00:00
|
|
|
<BooleanSetting
|
|
|
|
path="mentionLinkShowYous"
|
|
|
|
expert="1"
|
|
|
|
>
|
2022-02-22 21:31:40 +00:00
|
|
|
{{ $t('settings.show_yous') }}
|
|
|
|
</BooleanSetting>
|
|
|
|
</li>
|
2020-05-10 03:46:06 +00:00
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
|
2022-02-28 16:23:32 +00:00
|
|
|
<div
|
|
|
|
v-if="user"
|
|
|
|
class="setting-item"
|
|
|
|
>
|
2021-06-08 13:14:01 +00:00
|
|
|
<h2>{{ $t('settings.composing') }}</h2>
|
2020-05-10 03:46:06 +00:00
|
|
|
<ul class="setting-list">
|
|
|
|
<li>
|
2022-02-22 21:31:40 +00:00
|
|
|
<label for="default-vis">
|
2022-02-28 16:23:32 +00:00
|
|
|
{{ $t('settings.default_vis') }} <ServerSideIndicator :server-side="true" />
|
2022-02-22 21:31:40 +00:00
|
|
|
<ScopeSelector
|
|
|
|
class="scope-selector"
|
|
|
|
:show-all="true"
|
|
|
|
:user-default="serverSide_defaultScope"
|
|
|
|
:initial-scope="serverSide_defaultScope"
|
|
|
|
:on-scope-change="changeDefaultScope"
|
|
|
|
/>
|
|
|
|
</label>
|
|
|
|
</li>
|
|
|
|
<li>
|
2022-02-24 13:00:08 +00:00
|
|
|
<!-- <BooleanSetting path="serverSide_defaultNSFW"> -->
|
|
|
|
<BooleanSetting path="sensitiveByDefault">
|
2022-02-22 21:31:40 +00:00
|
|
|
{{ $t('settings.sensitive_by_default') }}
|
|
|
|
</BooleanSetting>
|
|
|
|
</li>
|
|
|
|
<li>
|
2022-02-28 16:23:32 +00:00
|
|
|
<BooleanSetting
|
|
|
|
path="scopeCopy"
|
|
|
|
expert="1"
|
|
|
|
>
|
2021-06-08 13:14:01 +00:00
|
|
|
{{ $t('settings.scope_copy') }}
|
|
|
|
</BooleanSetting>
|
|
|
|
</li>
|
|
|
|
<li>
|
2022-02-28 16:23:32 +00:00
|
|
|
<BooleanSetting
|
|
|
|
path="alwaysShowSubjectInput"
|
|
|
|
expert="1"
|
|
|
|
>
|
2021-06-08 13:14:01 +00:00
|
|
|
{{ $t('settings.subject_input_always_show') }}
|
|
|
|
</BooleanSetting>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<ChoiceSetting
|
|
|
|
id="subjectLineBehavior"
|
|
|
|
path="subjectLineBehavior"
|
|
|
|
:options="subjectLineOptions"
|
2022-02-22 21:31:40 +00:00
|
|
|
expert="1"
|
2021-06-08 13:14:01 +00:00
|
|
|
>
|
|
|
|
{{ $t('settings.subject_line_behavior') }}
|
|
|
|
</ChoiceSetting>
|
|
|
|
</li>
|
|
|
|
<li v-if="postFormats.length > 0">
|
|
|
|
<ChoiceSetting
|
|
|
|
id="postContentType"
|
|
|
|
path="postContentType"
|
|
|
|
:options="postContentOptions"
|
|
|
|
>
|
|
|
|
{{ $t('settings.post_status_content_type') }}
|
|
|
|
</ChoiceSetting>
|
|
|
|
</li>
|
|
|
|
<li>
|
2022-02-28 16:23:32 +00:00
|
|
|
<BooleanSetting
|
|
|
|
path="minimalScopesMode"
|
|
|
|
expert="1"
|
|
|
|
>
|
2021-06-08 13:14:01 +00:00
|
|
|
{{ $t('settings.minimal_scopes_mode') }}
|
|
|
|
</BooleanSetting>
|
|
|
|
</li>
|
|
|
|
<li>
|
2022-02-28 16:23:32 +00:00
|
|
|
<BooleanSetting
|
|
|
|
path="alwaysShowNewPostButton"
|
|
|
|
expert="1"
|
|
|
|
>
|
2022-01-24 17:12:17 +00:00
|
|
|
{{ $t('settings.always_show_post_button') }}
|
|
|
|
</BooleanSetting>
|
|
|
|
</li>
|
|
|
|
<li>
|
2022-02-28 16:23:32 +00:00
|
|
|
<BooleanSetting
|
|
|
|
path="autohideFloatingPostButton"
|
|
|
|
expert="1"
|
|
|
|
>
|
2022-01-24 17:12:17 +00:00
|
|
|
{{ $t('settings.autohide_floating_post_button') }}
|
|
|
|
</BooleanSetting>
|
|
|
|
</li>
|
2021-06-08 13:14:01 +00:00
|
|
|
<li>
|
2022-02-28 16:23:32 +00:00
|
|
|
<BooleanSetting
|
|
|
|
path="padEmoji"
|
|
|
|
expert="1"
|
|
|
|
>
|
2021-06-08 13:14:01 +00:00
|
|
|
{{ $t('settings.pad_emoji') }}
|
2020-09-30 22:43:07 +00:00
|
|
|
</BooleanSetting>
|
2020-05-10 03:46:06 +00:00
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script src="./general_tab.js"></script>
|