Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/richdocuments.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2022-11-10 10:17:50 +0300
committerGitHub <noreply@github.com>2022-11-10 10:17:50 +0300
commit5b1880513c87da3303d631190f1413961bb7ced9 (patch)
tree03efcb18e6f4a563861b17b97d4efd9362922bb8
parent16b85c84ad7e4ce8c57f780a1ffc538e2bbf8c74 (diff)
parenta99b08c8b141705fa85b920b951ee463eff7ad6b (diff)
Merge pull request #2607 from nextcloud/backport/2604/stable25stable25
-rw-r--r--src/components/AdminSettings.vue14
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"