Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Latest commit

 

History

History
History
22 lines (16 loc) · 1.69 KB

File metadata and controls

22 lines (16 loc) · 1.69 KB
Copy raw file
Download raw file
Outline
Edit and raw actions

Changes of the FileStorage plugin

List of changes done to the plugin versions

0.3.2

  • Fix: Removed model FileStorage::$createVersions property, instead of creating no versions no file at all was saved. As replacement for FileStorage::$createVersions the LocalImageStorageListener won't create any revisions if it can find any configuration for the given model. This caused a notice before and further issues.
  • Fix: The event ImageStorage.beforeSave was not triggered
  • Fix: StorageManager::config($configName) now returns the correct config instead of always active
  • Fix: ImageStorage::afterSave() does not call the parent anymore to avoid that the regular file storage event listener saves the image already, this happened when an image and a normal file were used within the same form
  • Fix: Duplicate error message when UploadValidatorBehavior::validateAllowedMimeTypes() fails
  • Change: LocalImageProcessingListener is deprecated, used ImageProcessingListener
  • Change: The / that was prepended in the ImageHelper::imageUrl has been move to the LocalImageProcessingListener because the / won't be used by all, mostly external, adapters
  • Change: LocalImageProcessingListener::_tmpFile() is throwing an exception now instead of returning false
  • Feature: Adding a new ImageProcessingListener that works with Amazon S3 and Local adapters, it can be pretty simple enhanced, let me know or do a PR with your changes for another adapter
  • Feature: ImageProcessingListener can be configured to preserve the original filename instead of using an uuid for the filename, see it's constructor
  • Feature: Added jpeg to the allowed extensions besides jpg of the ImageStorage model

Change log before 0.3.2

Not available.

Morty Proxy This is a proxified and sanitized view of the page, visit original site.