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
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
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
Pierre Noël
39d6c1c251
change wording didnt to doesnt
2022-03-25 16:18:57 +01:00
Pierre Noël
aea7e9fccf
refactor upload bootstrap
2022-03-25 16:17:40 +01:00
Pierre Noël
091a3d3d85
implement uploadStream wrapping for actionOptions
2022-03-25 16:17:39 +01:00
Nick Frasser
8747947cf3
Ensure provider is always assigned on uploaded file
...
Previously the uploaded file data was assigned a provider in the conditional block that calculated dimensions on supported images. This caused the provider to be stored as null in the database for some image uploads such as SVG. The provider property is now assigned unconditionally
2022-03-21 23:22:47 -04:00
Pierre Noël
d48302fec0
fix unit test
2022-03-03 14:56:53 +01:00
Pierre Noël
f8c533a614
Merge branch 'master' into content-68/fix-public-path
2022-03-02 15:32:36 +01:00
Pierre Noël
70b2c3f892
change function name
2022-03-01 14:52:31 +01:00
Pierre Noël
8265a9efdf
Fix the upload of files directly to an entity
2022-02-28 17:44:18 +01:00
Pierre Noël
3998a9048c
fix graphql upload of non-image files
2022-02-28 10:49:16 +01:00
Pierre Noël
83a5aeb8b6
remove rimraf + fix graphql
2022-02-23 11:42:39 +01:00
Pierre Noël
8067dae25b
fix replace + refactor tmpWorkingDirectory
2022-02-23 11:42:39 +01:00
Pierre Noël
7fdd9415d7
better handle optimization
2022-02-23 11:42:39 +01:00
Pierre Noël
de5ee33b5a
fix internal error when no files are sent
2022-02-23 11:42:38 +01:00
Pierre Noël
1b48050440
migrate aws and cloudinary providers
2022-02-23 11:42:38 +01:00
Pierre Noël
7cf2821451
migrate graphql upload to use streams + use fs-extra
2022-02-23 11:42:35 +01:00
Pierre Noël
186ebfd06e
use streams instead of buffers
2022-02-23 11:38:54 +01:00
Pierre Noël
6e17361e32
fix unit test
2022-02-22 11:47:48 +01:00
Pierre Noël
43eeeaa9c0
Use of strapi.dirs.public
2022-02-22 11:47:48 +01:00
Pierre Noël
09f1af4f40
use dirs.public in config instead of public.path
2022-02-22 11:47:47 +01:00
Pierre Noël
fb843f44f6
move public config to server
2022-02-22 11:47:44 +01:00
harimkims
32e4aec852
Refactor code to run the query only when necessary
2021-12-22 17:58:22 +09:00
harimkims
84130ab541
Fix unable to delete an image from the media-library
...
Signed-off-by: harimkims <harimkims@gmail.com>
2021-12-22 09:35:00 +09:00
Convly
0d7d430469
Bump graphql-upload version & link content API scope to the custom mutations
2021-11-30 16:27:59 +01:00
Convly
25e62db93a
use 'sanitizers' instead of 'utils'
2021-11-10 17:08:54 +01:00
Convly
16ab717fb2
Merge branch 'releases/v4' of github.com:strapi/strapi into v4/new-sanitize-fixes
2021-11-08 15:53:58 +01:00
Convly
8d4f8ddd57
Simplify & abstract common sanitize logic
2021-11-08 15:52:42 +01:00
Marvin Frachet
ada4fdec18
Fix ML feebacks from QA ( #11495 )
2021-11-08 13:59:36 +01:00
Pierre Noël
c6a5a047d6
Merge branch 'releases/v4' into v4/error-handling
2021-11-05 10:40:11 +01:00
Convly
7c560e3b94
Move the eventHub sanitize logic to the eventHub declaration
2021-11-05 10:36:10 +01:00
Pierre Noël
db1cb3040c
refactor error-handling PR
2021-11-05 10:13:43 +01:00