0
0
Fork 0
mirror of https://github.com/nextcloud/server.git synced 2025-05-02 13:00:42 +00:00
nextcloud_server/lib/private/Preview
Dario Mehlich b540da607e
fix(preview): Filter for folders in cleanup old preview job
Fixes #35936.
When running `OC\Preview\BackgroundCleanupJob`, the main iteration loop
in `run()` expects a folder, however, `getOldPreviewLocations()`
currently does not filter by mimetype and therefore can yield a
non-folder entry which causes an Exception when constructing the Folder
impl.
Filtering for `httpd/unix-directory`, as `getNewPreviewLocations()`
already does, fixes this issue.

Signed-off-by: Dario Mehlich <d.mehlich@gmail.com>
2025-04-01 11:05:14 +02:00
..
Storage Use storage filter when fetching previews to cleanup 2021-08-26 22:03:05 +02:00
BackgroundCleanupJob.php fix(preview): Filter for folders in cleanup old preview job 2025-04-01 11:05:14 +02:00
Bitmap.php fix(preview): check mime type before processing with Imagick 2024-05-15 20:14:10 +00:00
BMP.php
Bundled.php fix php-lint 2023-04-17 17:18:09 +02:00
EMF.php feat: add preview provider for emf files based on office 2023-11-13 12:35:54 +01:00
Font.php fix(preview): check mime type before processing with Imagick 2024-05-15 20:14:10 +00:00
Generator.php fix: Apply new coding standard to all files 2024-04-04 11:45:22 +02:00
GeneratorHelper.php composer run cs:fix 2023-01-20 11:45:08 +01:00
GIF.php
HEIC.php fix(preview): check mime type before processing with Imagick 2024-05-15 20:14:10 +00:00
Illustrator.php fix(preview): check mime type before processing with Imagick 2024-05-15 20:14:10 +00:00
Image.php composer run cs:fix 2023-01-20 11:45:08 +01:00
IMagickSupport.php cache formats supported by imagick 2023-02-13 14:57:06 +01:00
Imaginary.php chore: apply changes from Nextcloud coding standards 1.1.1 2023-11-23 10:36:13 +01:00
JPEG.php
Krita.php Fix typing in OC\Preview 2022-02-24 14:42:55 +01:00
MarkDown.php Use Image class from public API 2022-06-02 00:37:36 +00:00
MimeIconProvider.php fix: Fix newly spotted psalm issues, add exhaustive typed magic properties for LDAP classes 2025-03-24 10:45:21 +01:00
Movie.php Lower failed movie preview to info 2024-02-03 18:52:05 +01:00
MP3.php feat: log file id and path when extracting the mp3 cover fails 2024-07-06 14:24:27 +02:00
MSOffice2003.php
MSOffice2007.php
MSOfficeDoc.php
Office.php fix: use png as preview right away 2023-11-13 22:00:45 +01:00
OpenDocument.php Fix typing in OC\Preview 2022-02-24 14:42:55 +01:00
PDF.php fix(preview): check mime type before processing with Imagick 2024-05-15 20:14:10 +00:00
Photoshop.php fix(preview): check mime type before processing with Imagick 2024-05-15 20:14:10 +00:00
PNG.php
Postscript.php fix(preview): check mime type before processing with Imagick 2024-05-15 20:14:10 +00:00
Provider.php
ProviderV1Adapter.php Save getting the parent node when generating the preview 2022-08-24 22:20:32 +02:00
ProviderV2.php fix(preview): gracefully handle file not being opened in ProviderV2 2024-09-10 11:26:38 +00:00
SGI.php fix(preview): check mime type before processing with Imagick 2024-05-15 20:14:10 +00:00
StarOffice.php
SVG.php Merge pull request #45337 from nextcloud/backport/44710/stable29 2024-05-16 16:41:49 +02:00
TGA.php fix(preview): check mime type before processing with Imagick 2024-05-15 20:14:10 +00:00
TIFF.php fix(preview): check mime type before processing with Imagick 2024-05-15 20:14:10 +00:00
TXT.php Use Image class from public API 2022-06-02 00:37:36 +00:00
Watcher.php Check if the node has a null ID before deleting in preview watcher 2023-10-23 20:32:15 +05:30
WatcherConnector.php chore: apply changes from Nextcloud coding standards 1.1.1 2023-11-23 10:36:13 +01:00
WebP.php
XBitmap.php