18 Commits

Author SHA1 Message Date
Chris Winch
6e5eb9d724 update upload size type to decimal 2019-10-24 13:58:05 +01:00
Chris Winch
c9fd4535bc update upload file size type to integer so that graphQl can sort as expected 2019-10-24 09:44:52 +01: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
Jesús Pérez
78b85e734c Fixes Cloudinary upload plugin "delete" method 2018-11-22 21:48:05 +01:00
Jakub Skořepa
4771cc9575
Revert previous changes and save hash to new field sha256 2018-08-09 19:46:23 +02:00
Jim Laurie
efdcc4cde9 Fix morph table creation 2018-04-24 16:19:17 +02:00
Aurelsicoko
0f581fa5c3 Be able to retrieve polymorphic association using GraphQL (File Upload) 2018-04-05 15:20:24 +02:00
Jim Laurie
ed63df0ae6 Fix delete file on aws s3 2018-03-07 14:18:15 +01:00
Jim Laurie
be7e95b48c Add createdAt updatedAt for mongoose 2018-03-05 17:26:55 +01:00
Jim Laurie
7af7922f2b Backend content type builder media type
Co-authored-by: soupette <cyril.lpz@gmail.com>
2018-02-26 16:33:27 +01:00
Aurelsicoko
7e6b762c58 Merge branch 'master' of github.com:strapi/strapi into feature/upload 2018-02-26 11:14:24 +01:00
Aurelsicoko
e63a1f19fc Handle empty relationships on morph side 2018-02-26 11:12:49 +01:00
Jim Laurie
543f21cdb1 Fix PR feedback 2018-02-23 14:57:58 +01:00
Jim Laurie
00d78b7133 Delete AWS S3 file 2018-02-22 14:43:10 +01:00
Jim Laurie
b7ee56d78f Add sizeLimit 2018-02-21 14:46:10 +01:00
Jim Laurie
ab93e7113f Move upload in modules 2018-02-20 15:57:34 +01:00
Jim Laurie
cf029dac07 Create db entry on upload and get uploads 2018-02-19 15:41:26 +01:00