All notable changes to this project will be documented in this file. The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
2.1.1 - 2024-10-23
- Merged the fixes from v2.0.1
2.1.0 - 2024-10-14
- Upgrade phpunit to 11.x
- Support of PHP 8.1
2.0.1 - 2024-10-23
- Fixed empty error box for errorous add folder and rename folder actions
2.0.0 - 2024-10-10
- New methods for building the paths to the thumbnail easier:
ThumbnailResourceInterface
:getPathToThumbnailFile
,getUrlToThumbnailFile
- New response strategy
ResponseInterface::errorResponseAsJson
- New module setting added to handle allowed file extensions
ModuleSettingsInterface::getAllowedExtensions
- Validations for File: Cannot start from dot, Cannot be empty string. Extensions checked to be from the allowed list. #0007025
- Validations for Directory: Cannot start from dot, cannot be empty string.
- Validations for Uploaded file: All regular file validations + Checking if file was successfully uploaded at all. #0006785
- New method to get uploaded file data
UIRequestInterface::getUploadedFile
, alsoUploadedFileInterface
data type.
- Improved the element layout to show errors with better visibility.
- Improved the way errors handled from controllers to user interface during upload, addfolder and rename actions.
ModuleSettingsInterface
moved toSettings
domain/namespace.NamingServiceInterface::sanitizeFilename
method input parameter renamed to$fileName
- Use correct interface for shop id calculation
- Reformat js and styles for better readability
- The thumbnail generation process doesn't explode anymore if something goes wrong, like - the origin is missing #0006785
validateFileName
method in NamingServiceInterface. This part extracted to Validation domain, and now expanded to handle various cases.
1.0.0 - 2024-03-12
Module extracted from wysiwyg module, and used by it now
- Folder functionality for media library
- Possibility to rename of images
- Check for allowed file types during upload PR-19
- All file types enabled in config.inc.php are uploadable now including to not only images
- Thumbnails are generated on demand and the type of thumbnail file is matching the original image type
- Alternative image directory setting renamed to fit its functionality: Alternative image URL