cakephp-upload
cakephp-upload copied to clipboard
CakePHP: Handle file uploading sans ridiculous automagic
Hi I recently noticed an issue that files where not being deleted when I was editing a table. (IE: User changes their profile photo.) I have the plugin uploading the...
I was dealing with an issue that duplicates items when I passed `nameCallback` as an array like this `[$object, 'methodName']`, for example, with this config: ```php // inside some Table::initialize()...
So for Rackspace and Amazon S3 a ContentType/Content-Type is required when uploading a file, as the service doesn't automatically set a ContentType for objects that are uploaded. If the content...
When deleting records in a transaction, this plugin seems to delete images using the afterDelete method. If you roll back a transaction, there may be situations where you have records...
Settings to use it ``` 'pathProcessor' => Base64Processor::class, 'base64_extension' => '.jpg', 'transformer' => Base64Transformer::class, 'uploadValidator' => Base64UploadValidator::class, ``` @josegonzalez suggestions on how I could get rid of `is_string()` and `isset()`...
It creates files, but created dir 'filename_dir' has only 700 permissions ``` ` $this->addBehavior('Josegonzalez/Upload.Upload', [ 'image' => [ 'keepFilesOnDelete' => false, 'transformer' => function ($table, $entity, $data, $field, $settings, $filename)...
Fix error "Call to a member function getError() on array" when uploaded file is an array.
Bumps [jinja2](https://github.com/pallets/jinja) from 2.11.3 to 3.1.3. Release notes Sourced from jinja2's releases. 3.1.3 This is a fix release for the 3.1.x feature branch. Fix for GHSA-h5c8-rqwp-cp95. You are affected if...
Hello, I need to add to my software a function to clone an entity containing the upload behavour configured to save files on S3. I use a code like this...
Hello, Is it possible to use Translate Behavior with cakephp-upload ? I ask the question because i got this error while the save : **Cannot convert value of type Laminas\Diactoros\UploadedFile...