17 Commits

Author SHA1 Message Date
Arnelle Balane
e44dae0a42
Allow deleting file that is already deleted in Cloudinary (#8410)
Signed-off-by: Arnelle Balane <arnellebalane@gmail.com>
2020-11-10 09:55:50 +01:00
Laurens Kling
7545f9501a
Update index.js (#8242)
Fix `TypeError: Cannot read property 'message' of undefined` and use `error.message` directly instead of `error.error.message`
2020-10-09 14:50:13 +02:00
Pierre Noël
567401f0c1
Fix/warn file too big (#8033)
* handle fileTooBig errors

Signed-off-by: Pierre Noël <petersg83@gmail.com>

* add entityTooLarge error in provider plugins

Signed-off-by: Pierre Noël <petersg83@gmail.com>

* fix linter

Signed-off-by: Pierre Noël <petersg83@gmail.com>

* refacto

Signed-off-by: Pierre Noël <petersg83@gmail.com>

* Add better error message for 413 errors in ML

Signed-off-by: soupette <cyril.lpz@gmail.com>

* refacto

Signed-off-by: Pierre Noël <petersg83@gmail.com>

* refacto

Signed-off-by: Pierre Noël <petersg83@gmail.com>

Co-authored-by: soupette <cyril.lpz@gmail.com>
2020-09-29 12:00:25 +02:00
Sudhir Shrestha
0a38ec7bf0
Fix cloudinary upload error message (#6525)
Signed-off-by: Sudhir Shrestha <sudhirshrestha@live.com>
2020-06-24 10:26:02 +02:00
Alexandre Bodin
bd5f3cb1ab Wrap cloudinary error info in an error object
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-03-26 14:01:45 +01:00
Alexandre Bodin
3889fb87dc Add previewUrl field and impl in cloudinary
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-03-16 14:09:35 +01:00
Alexandre Bodin
b144b19372 Add thumbnail on upload and handle deletion
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-03-06 17:01:32 +01:00
Alexandre Bodin
9159bb1c65 Migrate upload providers to new config system
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-03-02 16:46:44 +01:00
Daniel Kvistgaard
66cdd9d068
Merge branch 'master' into bugfix/cloudinary-delete-resource-type 2019-10-02 09:34:20 +02:00
Abdón Rodríguez Davila
21a14ee737 Remove definitions for rules were not found 2019-08-28 12:20:27 +02:00
Daniel Kvistgaard
0ab5a8a407 Setting up provider_metadata field.
To store necessary metadata for upload providers. In this case it's used
for public_id and resource_type for Cloudinary.
2019-08-05 13:05:54 +02:00
Daniel Kvistgaard
04b91d9b34 Fix Cloudinary deletion of other files than images
Fixed by adding a resource_type on the file which is required for the
detroy method. It defaults to 'image', so if it isn't defined then it
will try to remove an image with the passed public_id.
2019-07-29 15:45:46 +02:00
davidkartuzinski
c0e37d5c1c changed from double quotes to single quotes 2019-05-14 11:18:15 +02:00
davidkartuzinski
cbbce676ce fixed input field to password type 2019-04-27 12:09:07 +02:00
Dorell James Galang
d3a21463c8
Fix upload for videos and other format 2018-11-28 13:54:04 +08:00
Jesús Pérez
78b85e734c Fixes Cloudinary upload plugin "delete" method 2018-11-22 21:48:05 +01:00
Jim LAURIE
404afec5de Prefix providers 2018-10-19 09:26:09 +02:00