Repository navigation
Development - #3
Merged
Merged
Conversation
Refactored the stapler trait, attachment, and storage drivers to fix a bug when using STAPLER_NULL. Events now fire listeners on the attachment (instead of inside the stapler trait). Deletes and writes are now pushed into queues that are flushed after a save or delete. Added listeners for the 'deleting' event to queue files to be deleted. Simplified file storage driver, various other minor tweaks and improvements.
Swapped out the old resizer bundle that was being used for image processing with the imagine image library. Broke the attachment validation functions into a separate class.
Added the ability to provide callbacks as a style. If a callable is passed as the value of a style option stapler will invoke the callable while also injecting in the current uploaded file object and the current instance of Imagine.
Updated the readme file to include more detailed documentation as well as fix some typos. Updated the s3 config file so that the default region configuration is now set to US Standard*.
Added an attachment destroy method for clearing attachments without having to call the model's save method. Updated the reame documentation.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.