diff options
Diffstat (limited to 'src/components/AdminSettings.vue')
-rw-r--r-- | src/components/AdminSettings.vue | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/components/AdminSettings.vue b/src/components/AdminSettings.vue index 4a79e237..cf4a0310 100644 --- a/src/components/AdminSettings.vue +++ b/src/components/AdminSettings.vue @@ -31,6 +31,19 @@ {{ t('richdocuments', 'Collabora Online is a powerful LibreOffice-based online office suite with collaborative editing, which supports all major documents, spreadsheet and presentation file formats and works together with all modern browsers.') }} </p> + <!-- FIXME: Update this to NcNoteCard for NC25+ once we update the Nextcloud Vue-component library --> + <div v-if="settings.wopi_url && settings.wopi_url !== '' && !settings.wopi_allowlist" id="security-warning-state-warning"> + <span class="icon icon-error-white" /> + <span class="message"> + {{ t('richdocuments', 'You have not configured the allow-list for WOPI requests. Without this setting users may download restricted files via WOPI requests to the Nextcloud server.') }} + <a title="WOPI settings documentation" + href="https://docs.nextcloud.com/server/latest/admin_manual/office/configuration.html#wopi-settings" + target="_blank" + rel="noopener" + class="external">{{ t('richdocuments', 'Click here for more info') }}</a> + </span> + </div> + <div v-if="settings.wopi_url && settings.wopi_url !== ''"> <div v-if="serverError == 2 && isNginx && serverMode === 'builtin'" id="security-warning-state-failure"> <span class="icon icon-close-white" /><span class="message">{{ t('richdocuments', 'Could not establish connection to the Collabora Online server. This might be due to a missing configuration of your web server. For more information, please visit: ') }}<a title="Connecting Collabora Online Single Click with Nginx" @@ -304,6 +317,7 @@ <li>{{ t('richdocuments', 'The settings only apply to compatible office files that are opened in Nextcloud Office') }}</li> <li>{{ t('richdocuments', 'The following options within Nextcloud Office will be disabled: Copy, Download, Export, Print') }}</li> <li>{{ t('richdocuments', 'Files may still be downloadable through Nextcloud unless restricted otherwise through sharing or access control settings') }}</li> + <li>{{ t('richdocuments', 'Files may still be downloadable via WOPI requests if WOPI settings are not correctly configured') }}</li> <li>{{ t('richdocuments', 'Previews will be blocked for watermarked files to not leak the first page of documents') }}</li> </ul> <SettingsCheckbox v-model="settings.watermark.enabled" |