194 Commits

Author SHA1 Message Date
Christian
af7b42e8d1
Merge pull request #16553 from strapi/fix/protect-assets-backup 2023-04-28 17:17:23 +02:00
Christian Capeans
a8924d2ce6 Remove unnecessary comma 2023-04-28 14:59:50 +02:00
Christian Capeans
890169a17f Improve error message 2023-04-28 14:54:53 +02:00
Christian Capeans
1b52da5cd7 Improve error message 2023-04-28 13:19:14 +02:00
Ben Irvin
b47b339a49 replace uuid package with crypto.randomUUID 2023-04-28 12:02:35 +02:00
Christian Capeans
fff1cd3933 Avoid creating the backup folder if assets are not transfered 2023-04-27 22:07:19 +02:00
Christian Capeans
1b8a5a7866 Improve error when assets backup folder cannot be created 2023-04-27 14:06:30 +02:00
Ben Irvin
cb2133d8ff remove return value 2023-04-21 09:31:04 +02:00
Ben Irvin
095af63f5e fix getmetadata 2023-04-21 09:23:29 +02:00
Ben Irvin
b0bc481a47 comments 2023-04-18 18:01:29 +02:00
Ben Irvin
568de18120 test mixed path behaviour 2023-04-18 17:55:33 +02:00
Ben Irvin
e2f4e7b296 add comment 2023-04-18 17:52:05 +02:00
Ben Irvin
4c19721b18 test special characters 2023-04-18 17:39:00 +02:00
Ben Irvin
9a4a6c7ff4
Merge branch 'main' into fix/windows-import-export 2023-04-18 17:16:23 +02:00
Ben Irvin
d11699c79b Add tests and comments and PR co-author credit
Co-Authored-By: Anton Mikaskin <garrakombo@gmail.com>
Co-Authored-By: vnguyen42
2023-04-18 17:09:47 +02:00
Ben Irvin
d6965e562c add comment 2023-04-18 12:38:30 +02:00
Ben Irvin
e429fb7ee9 fix assets output paths and clean up 2023-04-18 12:34:54 +02:00
Ben Irvin
7e474161bb
Merge pull request #16268 from strapi/fix/exclude-optional-admin-types-in-schema-check 2023-04-18 11:54:28 +02:00
Ben Irvin
4f4107af84 move and fix path comparison functions 2023-04-18 10:42:56 +02:00
Ben Irvin
6dae6d113a Merge branch 'fix/windows-import-export' of https://github.com/strapi/strapi into fix/windows-import-export 2023-04-17 12:10:41 +02:00
Ben Irvin
2c776ad5aa only load metadata during bootstrap 2023-04-17 12:10:04 +02:00
Ben Irvin
51b8f519cb
Merge branch 'main' into fix/windows-import-export 2023-04-14 18:49:38 +02:00
Ben Irvin
4ec704416f filesystem agnostic loading of tar files 2023-04-14 18:28:46 +02:00
Ben Irvin
39f180a814 improve error handling 2023-04-14 18:19:08 +02:00
Ben Irvin
87c678b351 always export posix paths 2023-04-14 18:02:01 +02:00
Ben Irvin
e0e0576330 Add error message when schema can't be loaded 2023-04-14 17:56:50 +02:00
Ben Irvin
4dd7a3ff07
Update packages/core/data-transfer/src/engine/validation/schemas/index.ts
Co-authored-by: Jean-Sébastien Herbaux <jean-sebastien.herbaux@epitech.eu>
2023-04-14 10:58:39 +02:00
Ben Irvin
e720eba0cf export files with consistent internal paths 2023-04-12 15:48:44 +02:00
Ben Irvin
5040305ba8 explicitly return false instead of undefined 2023-04-11 10:37:42 +02:00
Ben Irvin
8c38e30305 exclude optional admin types 2023-03-31 18:08:59 +02:00
Bassel
cd2133998f remove types from remote-destination 2023-03-30 11:43:05 +03:00
Bassel
3f92a2818a Merge branch 'main' into fix/await-websocket-connection 2023-03-30 11:19:03 +03:00
Bassel
250469fcee add coonectToWebsocket to provider utils 2023-03-30 11:15:54 +03:00
Ben Irvin
2e4387ed44 fix tests 2023-03-29 13:11:17 +02:00
Ben Irvin
c59dd105f5 move trimTrailingSlash to remote providers 2023-03-29 09:41:39 +02:00
Ben Irvin
84a8b1a419 move logic to provider utils 2023-03-29 09:30:49 +02:00
Ben Irvin
9bea9793ad
Merge branch 'main' into fix/allow-slash-in-data-transfer-url 2023-03-29 08:58:42 +02:00
Ben Irvin
7fbad9fb9d strip a single trailing slash from admin url 2023-03-29 08:53:06 +02:00
Convly
9598beeb30 Fix unit test (outdated push url) 2023-03-28 18:25:27 +02:00
Ben Irvin
2621ea6325 fix merge conflicts 2023-03-27 10:48:47 +02:00
Ben Irvin
205e5f9d55 Merge branch 'main' into features/data-transfer 2023-03-27 10:45:13 +02:00
Bassel
052606514a fix failing tests 2023-03-24 11:01:56 +02:00
Bassel
28a4704210 change error handling 2023-03-23 11:54:58 +02:00
Bassel
a201021ca5 small improvement 2023-03-23 11:39:47 +02:00
Christian Capeans
0383af72b3 Fix typo 2023-03-20 17:12:22 +01:00
Bassel
27a7f3bc32 Merge branch 'main' into fix/transfer-wrong-url 2023-03-17 15:18:23 +02:00
Convly
366eb8a0d0 Merge branch 'main' into features/data-transfer 2023-03-16 16:47:11 +01:00
Convly
d8614487de Handle ws connexion status code & fix token validation 2023-03-14 12:43:15 +01:00
Convly
d85c05d246 Update types for data-transfer handlers 2023-03-14 11:27:40 +01:00
Bassel Kanso
92893e749b
Update packages/core/data-transfer/src/strapi/providers/remote-destination/index.ts
Co-authored-by: Ben Irvin <ben@innerdvations.com>
2023-03-14 12:10:25 +02:00