Skip to content

Make preview generation configurable #1335

@drikqlis

Description

@drikqlis

Describe the bug
After installing Collabora app Nextcloud generates previews for Office and PDF files despite that it is not turned on in 'enabledPreviewProvieders' in nextcloud config.

To Reproduce
Steps to reproduce the behavior:

  1. Do not turn on or disable in config.php Office and PDF preview generation.
  2. Install Collabora app
  3. Create new Office or PDF document - preview is generated.
  4. Do the same with Collabora app turned off - preview is not generated as expected.

Expected behavior
It should not generate previews when not configured. According to Nextcloud documentation:

The following providers are disabled by default due to performance or privacy concerns:

        OC\Preview\Illustrator
        OC\Preview\Movie
        OC\Preview\MSOffice2003
        OC\Preview\MSOffice2007
        OC\Preview\MSOfficeDoc
        OC\Preview\OpenDocument
        OC\Preview\PDF
        OC\Preview\Photoshop
        OC\Preview\Postscript
        OC\Preview\StarOffice
        OC\Preview\SVG
        OC\Preview\TIFF
        OC\Preview\Font

Screenshots
If applicable, add screenshots to help explain your problem.

Client details:

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]
  • Device: [e.g. iPhone6, desktop]

Server details

Operating system: Ubuntu 18.04 LTS

Web server: Apache

Database: MariaDB

PHP version: 7.3

Nextcloud version: 20.0.6

Version of the richdocuments app 3.7.13

Version of Collabora Online 6.4

Logs

Nextcloud log (data/nextcloud.log)

Insert your Nextcloud log here

Browser log

Insert your browser log here, this could for example include:

a) The javascript console log
b) The network log
c) ...

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions