223 Commits

Author SHA1 Message Date
Pierre Noël
312a5551ad
Merge pull request #15221 from strapi/fix/faster-ML
Improve ML reactivity when there are many files
2022-12-20 18:05:04 +01:00
Nathan Pichon
76bdf07031
Merge pull request #15151 from strapi/fix/media-upload-diacritics
fix(upload): normalize the string used as basename
2022-12-20 15:45:18 +01:00
Pierre Noël
daf30921f0 add indexes for sortable columns of files 2022-12-20 14:14:26 +01:00
Jamie Howard
07febfa69e Merge remote-tracking branch 'origin/main' into feature/media-library-ctv 2022-12-16 13:57:57 +00:00
nathan-pichon
0cf5d3c654
fix(upload): normalize the string used as basename 2022-12-12 11:45:29 +01:00
Jamie Howard
4f7f672a7a chore(upload): revert test value 2022-12-12 10:17:35 +00:00
Jamie Howard
268efc629f chore(upload): review feedback 2022-12-12 10:05:22 +00:00
ivanThePleasant
2af669c961 Merge branch 'main' into chore/user-level-data 2022-11-23 09:35:16 +02:00
Jamie Howard
a0aa2b0901 Merge remote-tracking branch 'origin/main' into feature/media-library-ctv 2022-11-22 11:05:34 +00:00
Jamie Howard
358e26ed18 chore(upload) 2022-11-22 11:04:45 +00:00
Pierre Noël
82b2cd4805 fix unit tests 2022-11-17 12:01:09 +01:00
Pierre Noël
9ff4f19660 fix schema support for postgres when using raw queries 2022-11-17 10:08:49 +01:00
Jamie Howard
c8c1678006 feat(upload): configure the view
test: e2e
chore: naming
2022-10-31 17:21:51 +00:00
ivanThePleasant
16c0e79557 Revert to use crypto module on the server code, fix couple of minor code issues 2022-10-25 16:42:47 +03:00
ivanThePleasant
01bb760793 Clean up unnecessary code 2022-09-29 14:15:07 +03:00
ivanThePleasant
5a4362faf7 Refactor changes to use request context 2022-09-29 11:24:11 +03:00
ivanThePleasant
b5c98ae0cd Refactor event calls to follow old format, encapsulate hashing in the sender, refactor the format of event payload to better correspond to the new api 2022-09-02 14:43:51 +03:00
ivanThePleasant
cbfde4a11c Merge branch 'main' into chore/user-level-data 2022-09-02 12:22:12 +03:00
Gustav Hansen
269c9cb988 chore: Resolve jest@26 TODO 2022-08-30 15:44:12 +02:00
ivanThePleasant
a1ea7439ea Merge branch 'main' into chore/user-level-data 2022-08-25 15:21:39 +03:00
Marc
21d06ce7d0
Merge pull request #13996 from strapi/fix/upload-image-without-extension
Fix: upload media image with non standard urls
2022-08-17 09:29:29 +02:00
ivanThePleasant
de26abb7ff Merge branch 'master' into chore/user-level-data 2022-08-16 12:53:49 +03:00
ivanThePleasant
459de9774d Refactor hash function, add uuid to the admin hash, remove debug console logs 2022-08-16 11:58:15 +03:00
ivanThePleasant
3ead6f2487 Move hash function to user services instead of it being a separate service 2022-08-12 10:19:40 +03:00
ivanThePleasant
7e5b38d588 Merge branch 'master' into chore/user-level-data 2022-08-11 18:28:58 +03:00
Pierre Noël
8668ba9aea fix eslint issues 2022-08-11 16:59:02 +02:00
Marc-Roig
e34381faff Merge branch 'master' into fix/upload-image-without-extension 2022-08-11 16:34:48 +02:00
Marc-Roig
654e65c6ae wrap image uploads with promise all
wrap image uploads with promise all
2022-08-11 16:21:19 +02:00
ivanThePleasant
f8ac76491f Convert all server events to new format, refactor admin events userAdminId, refactor tests 2022-08-11 15:56:39 +03:00
Alexandre Bodin
cf49ddbbfc Prettier and backend fix 2022-08-11 10:20:49 +02:00
Alexandre Bodin
0ae14c06cb 1st fix pass 2022-08-11 10:20:48 +02:00
ivanThePleasant
7291d2e6cf Change user hashing to be a service on admin, introduce adminUserId property to the send function, refactor several events 2022-08-09 12:20:25 +03:00
WalkingPizza
544b1258dd Properly flag that upload has multiple files 2022-08-08 15:26:09 +02:00
WalkingPizza
4e1d735803 Generate a fileInfo array on when necessary 2022-08-08 15:08:26 +02:00
WalkingPizza
073e6cc3be Generate fileInfo for every file when uploading in bulk 2022-08-08 15:00:12 +02:00
Marc-Roig
08cb683bd1 clean url when uploading media from url 2022-08-08 14:06:30 +02:00
Marc-Roig
5a90357622 get extension from mime type if not available 2022-08-08 10:38:42 +02:00
Marc-Roig
4de86c4927 get extension from filename when bin 2022-08-08 09:37:37 +02:00
Marc-Roig
41dae37e1f get extension from file name 2022-08-08 09:33:01 +02:00
Marc-Roig
97c695f597 add prefix to extension 2022-08-05 16:53:41 +02:00
Marc-Roig
de8ffeaa7b extract file type from mime type if possible 2022-08-05 15:50:27 +02:00
Marc-Roig
d266c41c01 remove faulty image tests 2022-08-04 17:35:44 +02:00
Marc-Roig
03c8ba6bba fix optimization file 2022-08-04 17:16:43 +02:00
Marc-Roig
aa588b4629 update corrupt image test 2022-08-04 16:07:12 +02:00
Marc-Roig
d8c218a089 change writableDiscardStream name 2022-08-04 13:05:25 +02:00
Marc-Roig
39102d185e change writableDiscardStream name 2022-08-04 12:58:47 +02:00
Marc-Roig
d61104de72 check if image is faulty in enhanceFile 2022-08-04 12:56:58 +02:00
Marc-Roig
096dba7983 expect Application Error in test 2022-08-04 09:37:38 +02:00
Marc-Roig
5b0bcab7b1 move try catch to image manipulation 2022-08-03 20:39:44 +02:00
Marc-Roig
ff932b1cb3 remove image 2022-08-03 12:49:34 +02:00