| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | |
| | |
| | |
| | | |
Signed-off-by: Simon L <szaimen@e.mail.de>
|
|\ \ \
| | | |
| | | | |
Signed-off-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
|
| |\ \ \
| | | | |
| | | | | |
Prevent the OpenDocument preview generator from trying to open empty files
|
| | | | |
| | | | |
| | | | |
| | | | | |
Signed-off-by: Simon L <szaimen@e.mail.de>
|
| | | | |
| | | | |
| | | | | |
Co-authored-by: Carl Schwan <carl@carlschwan.eu>
|
| | |/ /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Rationale: does not make sense, and triggers a deprecation error in
\ZipArchive.
Signed-off-by: Claus-Justus Heine <himself@claus-justus-heine.de>
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Glandos <bugs-github@antipoul.fr>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
use directory listing in both functions to gain 25% speed on run where
every preview already exist.
Signed-off-by: Glandos <bugs-github@antipoul.fr>
|
| | | |
| | | |
| | | | |
Signed-off-by: Glandos <bugs-github@antipoul.fr>
|
| | | |
| | | |
| | | | |
Signed-off-by: Glandos <bugs-github@antipoul.fr>
|
| | | |
| | | |
| | | | |
Signed-off-by: Glandos <bugs-github@antipoul.fr>
|
| | | |
| | | |
| | | | |
Signed-off-by: Glandos <bugs-github@antipoul.fr>
|
| |/ /
| | |
| | |
| | |
| | |
| | | |
getCachedPreview used to call `getFile`, and this calls `getDirectoryListing` (or underlying function that list directory) to find the file. This was done for every preview spec.
Now, this is done only once at the beginning of the loop, and the array is just iterated when needed to find the correct entry.
Signed-off-by: Glandos <bugs-github@antipoul.fr>
|
|/ /
| |
| |
| | |
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
|
| |
| |
| |
| | |
Signed-off-by: Simon L <szaimen@e.mail.de>
|
| |
| |
| | |
Signed-off-by: Glandos <bugs-github@antipoul.fr>
|
| |
| |
| | |
Signed-off-by: Glandos <bugs-github@antipoul.fr>
|
| |
| |
| |
| |
| |
| | |
The use of `exec` will spawn a shell, using `/bin/sh` on POSIX platforms. But in restricted environment, such as AppArmor, this means giving execution to `/bin/sh`, which renders the execution restriction quite useless.
Using an array with `proc_open` reduces this, and paved the way for file streaming instead of temporary file.
Signed-off-by: Glandos <bugs-github@antipoul.fr>
|
|/
|
|
|
|
| |
turns out this can be quite slow
Signed-off-by: Robin Appelman <robin@icewind.nl>
|
|
|
|
| |
Signed-off-by: Simon L <szaimen@e.mail.de>
|
|
|
|
| |
Signed-off-by: Simon L <szaimen@e.mail.de>
|
|
|
|
| |
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
|
|
|
|
| |
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
|
|
|
|
| |
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
|
|
|
|
| |
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
|
|
|
|
| |
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
|
|
|
|
| |
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
|
|
|
|
| |
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
|
|
|
|
|
| |
Signed-off-by: Bowen Ding <dbw9580@live.com>
Signed-off-by: szaimen <szaimen@e.mail.de>
|
|
|
|
| |
Signed-off-by: Julius Härtl <jus@bitgrid.net>
|
|
|
|
| |
Signed-off-by: Julius Härtl <jus@bitgrid.net>
|
|
|
|
| |
Signed-off-by: Christopher Ng <chrng8@gmail.com>
|
|\ |
|
| |
| |
| |
| | |
Signed-off-by: Julius Härtl <jus@bitgrid.net>
|
| |
| |
| |
| |
| |
| |
| |
| | |
Make sure that when fetching the image from the cache we don't
accidentally fetch the cropped image just because it also start with
256-256
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
|
|/
|
|
|
|
|
| |
The $crop parameter was not propagated to the imaginary pipeline and
instead it used the smartcrop algorithm always
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
|
|\
| |
| |
| | |
nextcloud/fix/noid/preview-duplicate-folder-creation
|
| |
| |
| |
| | |
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
|
|/
|
|
|
|
| |
Issue #32263
Signed-off-by: Alexander Fleischer <Alexander.Fleischer@tu-ilmenau.de>
|
|
|
|
| |
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
|
|
|
|
| |
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Now do the operation in two steps:
1. Rotate the image according the exif data
2. Do the actual operation
This should only have a performance impact on image with exif rotation
data to do the rotation. For all the other images the autorotate steps
should be almost instant.
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
|
|\
| |
| | |
Send images to Imaginary docker to generate previews
|
| |
| |
| |
| |
| | |
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Co-Authored-by: Vincent Petry <vincent@nextcloud.com>
|
| |
| |
| |
| |
| |
| |
| | |
When an odt file is xml and not zip, it would throw a ValueError.
It will now just ignore this file and return null for the preview.
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
|
| |
| |
| |
| | |
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
|
| |
| |
| |
| | |
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
|
|/
|
|
| |
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
|
|
|
|
|
|
|
|
|
|
| |
for movies under 5 seconds
Signed-off-by: UmbrellaCodr <umbrella@biohazard.cc>
Update lib/private/Preview/Movie.php
Co-authored-by: Simon L. <szaimen@e.mail.de>
|
|
|
|
| |
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
|