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>
|
2021-06-15 00:59:36 +00:00
|
|
|
<li v-if="instanceShoutboxPresent">
|
2021-06-14 19:42:56 +00:00
|
|
|
<BooleanSetting path="hideShoutbox">
|
2021-06-15 00:25:09 +00:00
|
|
|
{{ $t('general.hide') }} {{ $t('shoutbox.title') }}
|
2021-06-14 19:42:56 +00:00
|
|
|
</BooleanSetting>
|
|
|
|
</li>
|
2020-05-25 00:43:55 +00:00
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
<div class="setting-item">
|
|
|
|
<h2>{{ $t('nav.timeline') }}</h2>
|
|
|
|
<ul class="setting-list">
|
|
|
|
<li>
|
2020-09-30 22:43:07 +00:00
|
|
|
<BooleanSetting path="hideMutedPosts">
|
|
|
|
{{ $t('settings.hide_muted_posts') }}
|
|
|
|
</BooleanSetting>
|
2020-05-25 00:43:55 +00:00
|
|
|
</li>
|
|
|
|
<li>
|
2020-09-30 22:43:07 +00:00
|
|
|
<BooleanSetting path="collapseMessageWithSubject">
|
|
|
|
{{ $t('settings.collapse_subject') }}
|
|
|
|
</BooleanSetting>
|
2020-05-25 00:43:55 +00:00
|
|
|
</li>
|
|
|
|
<li>
|
2020-09-30 22:43:07 +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>
|
2020-09-30 22:43:07 +00:00
|
|
|
<BooleanSetting path="useStreamingApi">
|
2020-05-25 00:43:55 +00:00
|
|
|
{{ $t('settings.useStreamingApi') }}
|
|
|
|
<br>
|
|
|
|
<small>
|
|
|
|
{{ $t('settings.useStreamingApiWarning') }}
|
|
|
|
</small>
|
2020-09-30 22:43:07 +00:00
|
|
|
</BooleanSetting>
|
2020-05-25 00:43:55 +00:00
|
|
|
</li>
|
|
|
|
<li>
|
2020-09-30 22:43:07 +00:00
|
|
|
<BooleanSetting path="emojiReactionsOnTimeline">
|
2020-05-25 00:43:55 +00:00
|
|
|
{{ $t('settings.emoji_reactions_on_timeline') }}
|
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>
|
2021-02-01 18:08:36 +00:00
|
|
|
<BooleanSetting path="virtualScrolling">
|
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
|
|
|
</ul>
|
|
|
|
</div>
|
2020-05-10 03:46:06 +00:00
|
|
|
|
2020-05-25 00:43:55 +00:00
|
|
|
<div class="setting-item">
|
|
|
|
<h2>{{ $t('settings.composing') }}</h2>
|
|
|
|
<ul class="setting-list">
|
|
|
|
<li>
|
2020-09-30 22:43:07 +00:00
|
|
|
<BooleanSetting path="scopeCopy">
|
|
|
|
{{ $t('settings.scope_copy') }}
|
|
|
|
</BooleanSetting>
|
2020-05-25 00:43:55 +00:00
|
|
|
</li>
|
|
|
|
<li>
|
2020-09-30 22:43:07 +00:00
|
|
|
<BooleanSetting path="alwaysShowSubjectInput">
|
|
|
|
{{ $t('settings.subject_input_always_show') }}
|
|
|
|
</BooleanSetting>
|
2020-05-25 00:43:55 +00:00
|
|
|
</li>
|
|
|
|
<li>
|
2021-03-11 14:55:14 +00:00
|
|
|
<ChoiceSetting
|
|
|
|
id="subjectLineBehavior"
|
|
|
|
path="subjectLineBehavior"
|
|
|
|
:options="subjectLineOptions"
|
|
|
|
>
|
2020-05-25 00:43:55 +00:00
|
|
|
{{ $t('settings.subject_line_behavior') }}
|
2021-03-11 14:55:14 +00:00
|
|
|
</ChoiceSetting>
|
2020-05-25 00:43:55 +00:00
|
|
|
</li>
|
|
|
|
<li v-if="postFormats.length > 0">
|
2021-03-11 14:55:14 +00:00
|
|
|
<ChoiceSetting
|
|
|
|
id="postContentType"
|
|
|
|
path="postContentType"
|
|
|
|
:options="postContentOptions"
|
|
|
|
>
|
2020-05-25 00:43:55 +00:00
|
|
|
{{ $t('settings.post_status_content_type') }}
|
2021-03-11 14:55:14 +00:00
|
|
|
</ChoiceSetting>
|
2020-05-25 00:43:55 +00:00
|
|
|
</li>
|
|
|
|
<li>
|
2020-09-30 22:43:07 +00:00
|
|
|
<BooleanSetting path="minimalScopesMode">
|
2021-02-23 08:00:23 +00:00
|
|
|
{{ $t('settings.minimal_scopes_mode') }}
|
|
|
|
</BooleanSetting>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<BooleanSetting path="sensitiveByDefault">
|
|
|
|
{{ $t('settings.sensitive_by_default') }}
|
2020-09-30 22:43:07 +00:00
|
|
|
</BooleanSetting>
|
2020-05-25 00:43:55 +00:00
|
|
|
</li>
|
|
|
|
<li>
|
2020-09-30 22:43:07 +00:00
|
|
|
<BooleanSetting path="autohideFloatingPostButton">
|
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>
|
|
|
|
<li>
|
2020-09-30 22:43:07 +00:00
|
|
|
<BooleanSetting path="padEmoji">
|
2020-05-25 00:43:55 +00:00
|
|
|
{{ $t('settings.pad_emoji') }}
|
2020-09-30 22:43:07 +00:00
|
|
|
</BooleanSetting>
|
2020-05-25 00:43:55 +00:00
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
2020-05-10 03:46:06 +00:00
|
|
|
|
2020-05-25 00:43:55 +00:00
|
|
|
<div class="setting-item">
|
2020-05-10 03:46:06 +00:00
|
|
|
<h2>{{ $t('settings.attachments') }}</h2>
|
|
|
|
<ul class="setting-list">
|
|
|
|
<li>
|
2020-09-30 22:43:07 +00:00
|
|
|
<BooleanSetting path="hideAttachments">
|
2020-05-10 03:46:06 +00:00
|
|
|
{{ $t('settings.hide_attachments_in_tl') }}
|
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 path="hideAttachmentsInConv">
|
2020-05-10 03:46:06 +00:00
|
|
|
{{ $t('settings.hide_attachments_in_convo') }}
|
2020-09-30 22:43:07 +00:00
|
|
|
</BooleanSetting>
|
2020-05-10 03:46:06 +00:00
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<label for="maxThumbnails">
|
|
|
|
{{ $t('settings.max_thumbnails') }}
|
|
|
|
</label>
|
|
|
|
<input
|
|
|
|
id="maxThumbnails"
|
2020-09-30 22:43:07 +00:00
|
|
|
path.number="maxThumbnails"
|
2020-05-10 03:46:06 +00:00
|
|
|
class="number-input"
|
|
|
|
type="number"
|
|
|
|
min="0"
|
|
|
|
step="1"
|
2020-05-25 00:43:55 +00:00
|
|
|
>
|
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
|
|
|
|
path="preloadImage"
|
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
|
|
|
|
path="useOneClickNsfw"
|
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>
|
2020-09-30 22:43:07 +00:00
|
|
|
<BooleanSetting path="stopGifs">
|
2020-05-10 03:46:06 +00:00
|
|
|
{{ $t('settings.stop_gifs') }}
|
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 path="loopVideo">
|
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
|
|
|
|
path="loopVideoSilentOnly"
|
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>
|
2020-09-30 22:43:07 +00:00
|
|
|
<BooleanSetting path="playVideosInModal">
|
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>
|
|
|
|
<li>
|
2020-09-30 22:43:07 +00:00
|
|
|
<BooleanSetting path="useContainFit">
|
2020-05-10 03:46:06 +00:00
|
|
|
{{ $t('settings.use_contain_fit') }}
|
2020-09-30 22:43:07 +00:00
|
|
|
</BooleanSetting>
|
2020-05-10 03:46:06 +00:00
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="setting-item">
|
|
|
|
<h2>{{ $t('settings.notifications') }}</h2>
|
|
|
|
<ul class="setting-list">
|
|
|
|
<li>
|
2020-09-30 22:43:07 +00:00
|
|
|
<BooleanSetting path="webPushNotifications">
|
2020-05-10 03:46:06 +00:00
|
|
|
{{ $t('settings.enable_web_push_notifications') }}
|
2020-09-30 22:43:07 +00:00
|
|
|
</BooleanSetting>
|
2020-05-10 03:46:06 +00:00
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="setting-item">
|
|
|
|
<h2>{{ $t('settings.fun') }}</h2>
|
|
|
|
<ul class="setting-list">
|
|
|
|
<li>
|
2020-09-30 22:43:07 +00:00
|
|
|
<BooleanSetting path="greentext">
|
|
|
|
{{ $t('settings.greentext') }}
|
|
|
|
</BooleanSetting>
|
2020-05-10 03:46:06 +00:00
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script src="./general_tab.js"></script>
|