132 Commits

Author SHA1 Message Date
Pierre Noël
87056ebd87 allow the query params for GET folder 2022-06-14 09:32:45 +01:00
Pierre Noël
3c591464bd fix unit tests 2022-06-13 09:19:19 +01:00
Pierre Noël
ab2406b93d fix sql concat call 2022-06-13 09:19:18 +01:00
Pierre Noël
1e66f567f8 change folder uid for pathId 2022-06-13 09:16:26 +01:00
Pierre Noël
a9f53dc53b
Merge pull request #13350 from strapi/ML-folder/transactions
Ml folder/transactions
2022-05-31 18:58:22 +02:00
Gustav Hansen
bf32846a12 Merge branch 'master' into features/ML-folder 2022-05-30 10:47:27 +02:00
Pierre Noël
71f43f0f7a use a transaction for bulk move 2022-05-23 14:31:05 +02:00
Pierre Noël
cd69fca6f9 add transaction for folder update 2022-05-23 14:31:04 +02:00
Pierre Noël
b7e82614f6 remove pagination on GET /folders 2022-05-20 10:25:58 +02:00
Pierre Noël
eb2ec33426 default populate files 2022-05-19 17:17:06 +02:00
Pierre Noël
6d5ab53f2f add findOne route for folders 2022-05-19 10:52:32 +02:00
Pierre Noël
217b675d6a update permissions of folders 2022-05-18 14:00:51 +02:00
Pierre Noël
ccb56b1bd7 apply feedback 2022-05-17 15:41:28 +02:00
Pierre Noël
c3265a74d3 add test move folder inside itself 2022-05-17 11:54:28 +02:00
Pierre Noël
5402209c9f make folderPath and folder fields private 2022-05-17 11:54:27 +02:00
Pierre Noël
922ade1619 files uploaded through the content API go in a specific folder 2022-05-17 11:54:26 +02:00
Alexandre Bodin
aac0e2b465 Merge branch 'master' of github.com:strapi/strapi into fix/mime-type-migration 2022-05-14 09:00:44 +02:00
Pierre Noël
8d5fe3b431 apply feedback 2022-05-13 16:10:18 +02:00
Vincent
3268c71b3e
Merge pull request #13271 from strapi/features/load-providers-at-register
Load storage providers before server start
2022-05-12 10:08:37 +02:00
Gustav Hansen
8b3ba51f3e
Merge pull request #12881 from strapi/fix/upload-mime-type
ML: Apply fallback mime-type if none is set
2022-05-11 12:37:37 +02:00
vincentbpro
6a80b61610 test: added tests for upload plugin register 2022-05-09 16:01:11 +02:00
vincentbpro
1e83cdd73d Merge branch 'master' into features/load-providers-at-register 2022-05-09 15:02:39 +02:00
vincentbpro
715494585f feat: load storage providers at strapi 'register' step 2022-05-09 10:06:47 +02:00
Pierre Noël
34372daf8b add bulk move route 2022-05-06 10:09:01 +02:00
Pierre Noël
c4ce0b56dc add update folder route 2022-05-05 14:50:56 +02:00
Gustav Hansen
1e6e769c9a Apply fallback mime-type to all uploaded files if none could be guessed
Co-authored-by: Alexandre Bodin <alexandre.bodin@strapi.io>
Co-authored-by: Pierre Noël <pierre.noel@strapi.io>
2022-05-05 12:37:31 +02:00
Gustav Hansen
be8b8a241d Upload: Apply fallback mime-type if none is set 2022-05-05 12:37:30 +02:00
Pierre Noël
d724b1a1f6 set correct path for duplicate create error 2022-05-04 16:55:21 +02:00
Pierre Noël
d1c3caf85c add bulk-delete route 2022-04-29 15:56:19 +02:00
Pierre Noël
de2a03268a change tree to folder-structure + fix test 2022-04-25 14:37:59 +02:00
Pierre Noël
52a2a41664 code cleaning 2022-04-25 14:37:59 +02:00
Pierre Noël
ecbf419c3c add tree route 2022-04-25 14:37:58 +02:00
Pierre Noël
c7c94b310a better stack error 2022-04-25 12:12:56 +02:00
Pierre Noël
725aa2e399 fix lint 2022-04-12 16:50:02 +02:00
Pierre Noël
041f2f6eb3 apply feedback 2022-04-12 16:32:05 +02:00
Pierre Noël
cfa968c537 sanitize files for the content-api 2022-04-12 16:07:54 +02:00
Pierre Noël
d0bf7310b3 replace path by location + add location to files 2022-04-12 16:07:54 +02:00
Pierre Noël
7689a340ea replace names by uids in folder path 2022-04-12 16:07:53 +02:00
Pierre Noël
a1c441e8bf remove path for files + add base for delete folders 2022-04-12 16:07:53 +02:00
Pierre Noël
a44e2cd25e add ability to set and change file folder location 2022-04-12 16:07:53 +02:00
Pierre Noël
fd5d1c2fdc forbid folder name starting or ending with a whitespace 2022-04-12 16:07:52 +02:00
Pierre Noël
94308aa2bc restructure upload controllers + add create and get folders 2022-04-12 16:07:51 +02:00
Pierre Noël
c463690649 display error when loading upload provider 2022-04-08 18:41:59 +02:00
Pierre Noël
f245e9dbe2 fix upload bootstrap unit test 2022-03-31 16:00:05 +02:00
Pierre Noël
dd36d43b52 change wording didnt to doesnt 2022-03-31 11:01:40 +02:00
Pierre Noël
7ef77c8481 refactor upload bootstrap 2022-03-31 11:01:39 +02:00
Pierre Noël
8e9c7285dd implement uploadStream wrapping for actionOptions 2022-03-31 11:01:39 +02:00
Gustav Hansen
e776192eed
Revert "Fix actionOptions not taking into account by the upload provider" 2022-03-29 11:29:45 +02:00
Gustav Hansen
bac28de5e8
Merge pull request #12838 from strapi/fix/upload-actionOptions
Fix actionOptions not taking into account by the upload provider
2022-03-29 11:10:04 +02:00
Pierre Noël
cf33ce0b63
Merge pull request #12534 from strapi/content-68/fix-public-path
Move public path config to server.js
2022-03-25 16:35:42 +01:00