Skip to content
This repository has been archived by the owner on Mar 5, 2022. It is now read-only.

Releases: burzum/cakephp-file-storage

CakePHP 4.0 support

08 Jan 14:53
b84bd74
Compare
Choose a tag to compare

Version 3 is for CakePHP 4.0. This is a beta version, so expect bugs and changes.

Maintenance release, Cake 3.6+ compatibility and more

24 Apr 11:13
e0cc17e
Compare
Choose a tag to compare

07030bf Added test for Image::imageUrl
3c91789 Merge branch '2.0' of https://github.com/burzum/cakephp-file-storage into 2.0
9848c6d Fix url generation in cake if hash is empty
6fe9648 Try not to manually install/update composer & the dependencies
7a612d2 Do not allow failures in Travis CI with PHP 7.3
06ba45a Allow Gaufrette 0.7.x & 0.8.x side by side
1e2acf3 Update Gaufrette to 0.8.1
cd81cf1 Allow failures in Travis with PHP 7.3
3f53ed7 Load Plugin for CakePHP greater or equal 3.7.0
f300fbb Add empty Plugin class
f4a1555 Only load the plugin during test suite bootstrap when lower than CakePHP 3.7
bc3234b Add backwards compatibility to CakePHP lower than 3.7.0
a1ed7e5 Remove unnecessary plugin loading of Burzum/Imagine
70533bc Comment out full if clause, not just body
52f73ef Simplify path extraction
21e9156 Update to CakePHP 3.7.5
3256eb3 Add PHP 7.3 to test suite
c0b3eef Skip log set config in bootstrap if already defined
4650ea0 Fix deprecated warnings for CakePHP 3.7

Bug fix release (Image rotation & image shell)

28 Feb 10:05
Compare
Choose a tag to compare

CakePHP 3.4 Support

16 Feb 14:27
Compare
Choose a tag to compare

1.2 is mostly just an upgrade to CakePHP 3.4. CakePHP 3.4 is required to run this release.

Improving the storage event listeners

20 Jan 23:59
Compare
Choose a tag to compare

Exceptions to the rescue!

There is now an exception throw if a listener can't work with a specific adapter. Also I've introduced a new BaseListener that doesn't have any restrictions on which adapter it will take. In theory you can use it with any storage backend as long as the path it builds for the files is compatible with your chosen storage backend.

The reason for this change is that you'll end up with the "Why the fuck is it not storing my file?" because there is no hard break when the described scenario happens. The exception with it's informative message should make this now pretty clear.

For details please review this commit 9bece86

A new shell command...

...has been introduced to store a file via command line.

bin/cake storage store <some-file-to-store-here>
File successfully saved!
UUID: ebb21e79-029d-441d-8f2e-d8c20ca8f5a9
Path: file_storage/18/ef/b4/ebb21e79029d441d8f2ed8c20ca8f5a9/<some-file-to-store-here>

Documentation update

The Quick Start tutorial has been updated as well.

Maintenance release, mostly

14 Jan 22:07
Compare
Choose a tag to compare

Commit summary

  • cc787f7 - Adding fileToUploadArray for uploadArray, keeping uploadArray as alias
  • 8e08f63 - Improving the BasePathBuilderTest
  • bdd98d6 - Improving the StorageException throwing
  • 31dcc62 - Added new events to prepare future changes.
  • 904c34c - Fixing the broken StorageUtils::normalizeGlobalFilesArray()
  • 63c57d1 - Refining the path building.

Added new events to prepare future changes.

⚠️ The following events will be triggered after a file was stored/removed from a storage backend.

  • FileStorage.afterStoreFile
  • FileStorage.afterDeleteFile

You can listen to them to do image processing or other post processing there or flag them for processing or whatever else you want. This might become the new way of handling the already existing image processing functionality. In a later 2.0 release.

1.1.0 Released!

18 Dec 15:57
Compare
Choose a tag to compare
  • PathBuilders have been introduced! The complete logic of building the storage path and filenames lives now in this set of classes.
  • The whole image processing system has been refactored as well.
  • Everything in Burzum\FileStorage\Event has been deprecated but will stay there until 2.0 to give people time to update. The replacements for the classes in there are now in Burzum\FileStorage\Storage\Listener
  • Everything in Burzum\FileStorage\Lib has been deprecated but will stay there until 2.0 to give people time to update. The replacements for the classes in there are now in Burzum\FileStorage\Storage\Storage

1.1.0 Release Candidate 1

18 Nov 23:58
Compare
Choose a tag to compare
  • PathBuilders have been introduced! The complete logic of building the storage path and filenames lives now in this set of classes.
  • The whole image processing system has been refactored as well.
  • Everything in Burzum\FileStorage\Event has been deprecated but will stay there until 2.0 to give people time to update. The replacements for the classes in there are now in Burzum\FileStorage\Storage\Listener
  • Everything in Burzum\FileStorage\Lib has been deprecated but will stay there until 2.0 to give people time to update. The replacements for the classes in there are now in Burzum\FileStorage\Storage\Storage

1.1.0 Beta Release

14 Oct 07:39
Compare
Choose a tag to compare
  • PathBuilders have been introduced! The complete logic of building the storage path and filenames lives now in this set of classes.
  • The whole image processing system has been refactored as well.
  • Everything in Burzum\FileStorage\Event has been deprecated but will stay there until 2.0 to give people time to update. The replacements for the classes in there are now in Burzum\FileStorage\Storage\Listener
  • Everything in Burzum\FileStorage\Lib has been deprecated but will stay there until 2.0 to give people time to update. The replacements for the classes in there are now in Burzum\FileStorage\Storage\Storage

1.1.0 Alpha Release

25 Aug 07:28
Compare
Choose a tag to compare

This is the first release of the 1.1 branch of the plugin.

  • PathBuilders have been introduced! The complete logic of building the storage path and filenames lives now in this set of classes.
  • The whole image processing system has been refactored as well.
  • Everything in Burzum\FileStorage\Event has been deprecated but will stay there until 2.0 to give people time to update. The replacements for the classes in there are now in Burzum\FileStorage\Storage\Listener
  • Everything in Burzum\FileStorage\Lib has been deprecated but will stay there until 2.0 to give people time to update. The replacements for the classes in there are now in Burzum\FileStorage\Storage\Storage