100 Commits

Author SHA1 Message Date
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
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
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
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
Marc-Roig
38bd435f2f test corrupt image upload 2022-08-03 12:48:12 +02:00
Marc-Roig
06e0bde9c0 Merge branch 'master' into fix/app-crashes-on-upload-faulty-image 2022-08-03 11:53:44 +02:00
Marc-Roig
237d12abf4 typos 2022-08-03 09:39:52 +02:00
Marc-Roig
840fc194c8 remove comment 2022-08-03 09:33:47 +02:00
Marc-Roig
fcbff9e5e7 handle image transformation error 2022-08-03 09:26:26 +02:00
Marc-Roig
09fdd984c1 test upload image 2022-08-01 15:53:03 +02:00
Marc-Roig
f0b67b9ec5 add function for uploading image 2022-08-01 12:14:13 +02:00
Marc
47a4486943 do not override width and height 2022-07-30 10:14:37 +02:00
Pierre Noël
faa4fbaaff Fix the bulk delete in the ML when no folders are selected 2022-07-27 17:52:33 +02:00
Gustav Hansen
d886f503ca Jest: add closeTo() utility temporarily 2022-07-27 13:14:49 +02:00
Gustav Hansen
5ca0538651 Upload: Make metrics tests compatible with jest@26 2022-07-27 12:34:27 +02:00
Pierre Noël
3d231fb376 use date-fns + rename variables 2022-07-25 14:28:59 +02:00
Pierre Noël
3741876099 change cron logic for metrics 2022-07-25 11:08:39 +02:00
Pierre Noël
bac1080f13 refactor strapi.cron 2022-07-22 17:28:51 +02:00
Pierre Noël
b78af34ebf fix unit test 2022-07-18 12:05:32 +02:00
Pierre Noël
53d2a3d17d revert jest update + use and refactor strapi.cron 2022-07-13 13:35:32 +02:00
Pierre Noël
bbceef7fbe add unit test + update jest 2022-07-13 13:32:52 +02:00
Pierre Noël
9a7cc93c65 fix unit test + rename destroy 2022-07-13 13:29:13 +02:00
Pierre Noël
d7cee0caa2 change event name + fix cron config 2022-07-13 13:29:13 +02:00
Pierre Noël
acb6ceae15 add backend telemetry events in ML 2022-07-13 13:29:12 +02:00
Gustav Hansen
4fcb38d53d Merge branch 'master' into features/ML-folder 2022-07-05 12:53:51 +02:00