21 Commits

Author SHA1 Message Date
Marc-Roig
c4732fe50d set default expiry time to 15 minutes 2023-03-24 09:35:22 +01:00
Marc-Roig
22ab52aa4e use getFileKey method 2023-03-21 15:27:05 +01:00
Marc-Roig
456bdcba33 Merge branch 'main' into feature/private-s3-bucket 2023-03-21 14:59:26 +01:00
Alexandre Bodin
5a0caebada Update styling 2023-03-20 12:27:33 +01:00
Marc-Roig
9a66fcfa2d change lodash get to getOr 2023-03-08 10:44:21 +01:00
Marc-Roig
7b8089133c use lodash to have default get value 2023-03-07 14:36:54 +01:00
Marc-Roig
271da71213 change lodash import to be fp 2023-02-28 14:24:50 +01:00
Marc-Roig
af109cbe5e do not sign file if it comes from a different bucket 2023-02-20 12:18:37 +01:00
Marc-Roig
b08c6467ae set ACL parameter 2023-02-14 19:02:00 +01:00
Jamie Howard
aba3eba51f chore(upload-aws-s3): upload isPrivate 2023-02-09 16:38:17 +00:00
Marc-Roig
4e6731ec58 make s3 bucket private 2023-02-09 15:02:15 +01:00
dobrud
2466e664ad
Merge branch 'main' of https://github.com/strapi/strapi into s3-uploader-baseUrl
# Conflicts:
#	packages/providers/upload-aws-s3/lib/__tests__/upload-aws-s3.test.js
#	packages/providers/upload-aws-s3/lib/index.js
2022-10-27 16:37:50 +02:00
dobrud
69d625eaa4
always show deprecation warning 2022-10-27 16:28:02 +02:00
dobrud
2de56a4f59
extract function
# Conflicts:
#	packages/providers/upload-aws-s3/lib/index.js
2022-10-27 16:28:02 +02:00
dobrud
5e3741586b
address PR feedback
# Conflicts:
#	packages/providers/upload-aws-s3/lib/index.js
2022-10-27 16:27:13 +02:00
nathan-pichon
61d1039e67 fix(aws-provider): add https protocol when missing in file url
Adding hard coded https:// to url because Digital Ocean only gives the uri without protocol in response to the upload.

Fix #14288
2022-10-19 09:43:05 +02:00
v-dimitroff
1c3106bc74
Update packages/providers/upload-aws-s3/lib/index.js
Co-authored-by: Sijawusz Pur Rahnama <sija@sija.pl>
2022-09-08 11:21:28 +03:00
v-dimitroff
659528c78c
Update packages/providers/upload-aws-s3/lib/index.js
Co-authored-by: Sijawusz Pur Rahnama <sija@sija.pl>
2022-09-08 11:21:21 +03:00
Valentin Dimitroff
d98afc6e0b Add baseUrl and rootPath properties to s3 uploader configuration 2022-08-18 11:55:04 +02:00
Pierre Noël
1b48050440 migrate aws and cloudinary providers 2022-02-23 11:42:38 +01:00
Alexandre Bodin
a14504e699 Init scoped packages 2021-04-29 12:03:54 +02:00