358 Commits

Author SHA1 Message Date
Ben Irvin
e6efa4681a move middleware to utils 2023-05-09 15:07:59 +02:00
Christian
1811a7ca36
Merge branch 'fix/dts-bypass-schema-check' into fix/dts-engine-test 2023-05-09 14:38:30 +02:00
Christian Capeans
ba37055eed Fix failing test 2023-05-09 14:15:05 +02:00
Ben Irvin
7b717f1ebb move confirmation messages outside of engine 2023-05-09 12:22:17 +02:00
Ben Irvin
c0d9b62fad remove schemaDiffs class property 2023-05-08 17:32:04 +02:00
Ben Irvin
46fc2b4ae8 add generic to Next 2023-05-08 17:29:12 +02:00
Ben Irvin
e68a233820 move types to types file 2023-05-08 16:56:38 +02:00
Ben Irvin
d81966f5b6 clean up comments and typos 2023-05-08 15:14:16 +02:00
Bassel
66983dffa5 fix transfer pull, wait for websocket to open only once 2023-05-08 13:58:53 +03:00
Ben Irvin
ff82ffff62 fix signals and add messaging for specific features 2023-05-08 12:41:07 +02:00
Ben Irvin
58b8c18870 add confirmation to transfer and import 2023-05-08 10:44:29 +02:00
Ben Irvin
4b37d806ca report diffs before confirming 2023-05-07 16:10:20 +02:00
Ben Irvin
9cbdad0a70 add middleware for schema diff handling 2023-05-07 15:48:14 +02:00
Ben Irvin
b012dc6e78 Bypass schema check and ignore fields and links that do not exist in destination
Co-authored-by: Jean-Sébastien Herbaux <Convly@users.noreply.github.com>
2023-05-05 16:15:13 +02:00
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