358 Commits

Author SHA1 Message Date
Ben Irvin
499ed0acdf fix logic for exclude in restore delete 2023-08-23 12:35:08 +02:00
Ben Irvin
f8ceb56bf0 only make file backup when necessary 2023-08-23 10:47:39 +02:00
Ben Irvin
b6f191475f fix extend method names 2023-08-21 18:28:06 +02:00
Ben Irvin
4929d9e2db tests for only 2023-08-21 18:18:37 +02:00
Ben Irvin
4b188f0f1b add test when exclude is not sent 2023-08-21 18:07:11 +02:00
Ben Irvin
bff68b4cdf fix skipping of stages 2023-08-21 18:03:38 +02:00
Ben Irvin
78e2119745 remove the problem line 2023-08-21 14:15:37 +02:00
Ben Irvin
c44553f474 rename to protocolForPath 2023-08-02 10:20:49 +02:00
Ben Irvin
b0170a2632 add type 2023-08-02 10:11:34 +02:00
Ben Irvin
f55ad19141 fix protocol error 2023-08-02 10:01:49 +02:00
Christian Capeans
180ac0c84c Merge branch 'main' of https://github.com/strapi/strapi into fix/deits-relations 2023-07-31 16:57:16 +02:00
Christian Capeans
1c1d77d5f0 Add test to check relations inside components are transferred 2023-07-31 13:02:53 +02:00
Ben Irvin
c46c760f01
Merge pull request #17452 from strapi/chore/improve-dts-errors 2023-07-31 10:25:02 +02:00
Gustav Hansen
20937a7464 Chore: Apply lint autofixable rules 2023-07-31 08:18:00 +02:00
Christian Capeans
b8add03505 Fix failing test 2023-07-27 16:28:50 +02:00
Christian Capeans
a07abba4ea Add the type annotation back 2023-07-27 16:23:11 +02:00
Christian Capeans
1961dbbed6 Fix data transfer relations 2023-07-27 16:14:12 +02:00
Ben Irvin
0e5b7b15d4 simplify logic 2023-07-26 12:40:46 +02:00
Ben Irvin
39655b623a add info on unexpected header 2023-07-26 12:37:41 +02:00
Ben Irvin
87b9861299 improve messaging 2023-07-26 11:58:27 +02:00
Christian Capeans
0389630a42 Add context to the attemptResolveError function 2023-07-24 15:07:15 +02:00
Christian Capeans
26e9bcf3e1 Rename function 2023-07-24 14:12:00 +02:00
Ben Irvin
9bbbcccf7a ensure before attempting 2023-07-24 13:11:22 +02:00
Christian Capeans
6f967c7092 Fix compilation errors 2023-07-21 15:44:09 +02:00
Christian Capeans
4894c9557b Add generic error handlers 2023-07-21 14:31:11 +02:00
Christian Capeans
014fc1b5c2 Fix tests and code cleaning 2023-07-19 12:38:50 +02:00
Christian Capeans
b26fd06202 Remove unnecessary logs 2023-07-19 12:16:15 +02:00
Christian Capeans
d04d944fcd Confirm continuing the transfer process if assets backup fakls 2023-07-19 12:14:30 +02:00
Christian Capeans
999ff029f0 Merge 2023-07-19 12:12:02 +02:00
Bassel
c10955a85f fixing unit test 2023-07-17 15:20:40 +03:00
Bassel
4441147220 fix type issue 2023-07-12 12:57:16 +03:00
Bassel
30e8a4e8bd adding transacting to import raw query 2023-07-12 12:49:38 +03:00
Christian Capeans
c4c810d8aa Fix failing test
Co-authored-by: Bassel Kanso <basselkanso82@gmail.com>
2023-07-11 10:52:14 +02:00
Bassel
9e4a8821e4 stream files entities 2023-07-10 19:23:46 +03:00
Bassel
2eb22bd061 use same delete method for all upload providers 2023-07-10 17:48:12 +03:00
Bassel
4ca425aa3f log warning incase metadata doesn't exist in export file 2023-07-10 17:37:05 +03:00
Bassel
b1057ce3ec improve stringify 2023-07-10 16:42:25 +03:00
Christian Capeans
763645b07b log error 2023-07-10 11:11:13 +02:00
Bassel
6073283d54 Merge branch 'main' into feat/data-transfer-assets 2023-07-10 12:06:58 +03:00
Christian Capeans
8087ae2101 Add error log 2023-07-10 10:22:03 +02:00
Christian Capeans
bd67677f54 Delete merge presence in data transfer strategies 2023-07-06 16:52:44 +02:00
Christian Capeans
924804eff0 Fix local-destination tests 2023-07-05 13:14:39 +02:00
Christian Capeans
abda292fde Add comment to clarify the use of process.nextTick 2023-07-05 11:49:23 +02:00
Christian Capeans
90222db30b Add comments 2023-07-05 11:40:59 +02:00
Christian Capeans
b7bd31aa74 Add backwards compatibility to the assets transfer 2023-07-05 11:35:42 +02:00
Christian Capeans
c57b411703 Fix provider stored in database 2023-07-04 17:46:07 +02:00
Christian Capeans
b2a98a4a8d Fix push transfer with external assets provider 2023-07-04 15:36:38 +02:00
Christian Capeans
668237709f Merge branch 'main' into feat/data-transfer-assets 2023-07-04 10:05:51 +02:00
Christian Capeans
f127c3a4a3 Specify the right path 2023-07-03 16:11:19 +02:00
Christian Capeans
09193142aa Delete assets before transfering to external provider
Co-authored-by: Bassel Kanso <basselkanso82@gmail.com>
2023-07-03 13:38:31 +02:00