Add checksums for thumbnails and a rebuild worker
authorAlexander Ebert <ebert@woltlab.com>
Sun, 12 May 2024 10:37:53 +0000 (12:37 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Sat, 8 Jun 2024 10:19:39 +0000 (12:19 +0200)
commit2b727435ce402aae1b355e3bf49744b51ef62960
treee8dec674b0327806e989e098096023869800d237
parent1d6a66aac231af260623ee5ccf4af53dc4f73ea9
Add checksums for thumbnails and a rebuild worker

The checksum is computed based on the configuration of the thumbnail, allowing to detect when a thumbnail needs to be regenerated. If the checksum matches, the file hash is checked instead to detect damaged files.
wcfsetup/install/files/lib/bootstrap/com.woltlab.wcf.php
wcfsetup/install/files/lib/data/file/thumbnail/FileThumbnail.class.php
wcfsetup/install/files/lib/data/file/thumbnail/FileThumbnailEditor.class.php
wcfsetup/install/files/lib/system/file/processor/FileProcessor.class.php
wcfsetup/install/files/lib/system/file/processor/ThumbnailFormat.class.php
wcfsetup/install/files/lib/system/worker/FileRebuildDataWorker.class.php [new file with mode: 0644]
wcfsetup/install/lang/de.xml
wcfsetup/install/lang/en.xml
wcfsetup/setup/db/install.sql