502 Commits

Author SHA1 Message Date
Alexandre Bodin
dee0e195c1 Fix invalid require using internal paths 2023-03-02 22:16:29 +01:00
dependabot[bot]
a4bd8b57b2
chore(deps): bump tar and @types/tar
Bumps [tar](https://github.com/npm/node-tar) and [@types/tar](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/tar). These dependencies needed to be updated together.

Updates `tar` from 6.1.12 to 6.1.13
- [Release notes](https://github.com/npm/node-tar/releases)
- [Changelog](https://github.com/isaacs/node-tar/blob/main/CHANGELOG.md)
- [Commits](https://github.com/npm/node-tar/compare/v6.1.12...v6.1.13)

Updates `@types/tar` from 6.1.3 to 6.1.4
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/tar)

---
updated-dependencies:
- dependency-name: tar
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: "@types/tar"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-02 10:58:42 +00:00
Sora Morimoto
930a3afec7 chore: Add all undeclared packages to package.json
This reverts commit 6c283862daa0c8846a544c183e72623b65907cc3.

chore: Add all undeclared packages to package.json

Add all undeclared packages to package.json (Round 2)

Signed-off-by: Sora Morimoto <sora@morimoto.io>

chore: move core deps to peer

codemirror5

Signed-off-by: Sora Morimoto <sora@morimoto.io>

Add all undeclared packages to `package.json` (Round 2)

Signed-off-by: Sora Morimoto <sora@morimoto.io>

_

Signed-off-by: Sora Morimoto <sora@morimoto.io>

Add all undeclared "safe" packages to `package.json`

Signed-off-by: Sora Morimoto <sora@morimoto.io>

Add all undeclared "unsafe" packages to `package.json`

Signed-off-by: Sora Morimoto <sora@morimoto.io>

helper-plugin: remove `fs-extra`

Signed-off-by: Sora Morimoto <sora@morimoto.io>

https://github.com/strapi/strapi/pull/15797

i18n-plugin: move redux from devDependencies to dependencies

Signed-off-by: Sora Morimoto <sora@morimoto.io>

database: sqlite3 was a false-detected dependency

Signed-off-by: Sora Morimoto <sora@morimoto.io>

generators: revert changes

Signed-off-by: Sora Morimoto <sora@morimoto.io>

Regenerate yarn.lock

Signed-off-by: Sora Morimoto <sora@morimoto.io>

chore: update react-intl

chore: fix post rebase

chore: remove axios from packages that dont need it

chore: ensure projects install r rd rrd & s

Revert "chore: ensure projects install r rd rrd & s"

This reverts commit 2e87a1d0fcaf21e187ce558f4690d41ff854d58d.

Revert "Revert "chore: ensure projects install r rd rrd & s""

This reverts commit b53a3d49987b00abb393966738d2a34f59c9dc71.

chore: Add all undeclared packages to package.json
2023-03-02 10:12:14 +00:00
Alexandre Bodin
0307fb4bf7 v4.7.1 2023-03-02 10:24:10 +01:00
Convly
948dbb3121 v4.7.0 2023-02-27 20:33:14 +01:00
Ben Irvin
731e2cf4c9 allow sending errors without uuid 2023-02-27 13:49:49 +01:00
Bassel
117579f4c1 replacing map with for, for async functions
Co-authored-by: Christian <christiancp100@gmail.com>
Co-authored-by: Jean-Sébastien Herbaux <Convly@users.noreply.github.com>
2023-02-24 17:30:42 +02:00
Jean-Sébastien Herbaux
fd87132a03
Merge pull request #15902 from strapi/data-transfer/fix-transfer-transaction-close 2023-02-24 15:42:42 +01:00
Convly
163ff97fa7 Send a null payload to force the stream end event on the push controller 2023-02-24 15:41:31 +01:00
Convly
8555ff138f Merge branch 'features/data-transfer' of github.com:strapi/strapi into data-transfer/fix-transfer-transaction-close 2023-02-24 15:29:32 +01:00
Jean-Sébastien Herbaux
acbb752d95
Merge pull request #15912 from strapi/data-transfer/end-transfer 2023-02-24 15:27:43 +01:00
Convly
390897d30d Merge branch 'features/data-transfer' of github.com:strapi/strapi into data-transfer/fix-transfer-transaction-close 2023-02-24 15:26:30 +01:00
Jean-Sébastien Herbaux
2be65be5d0
Merge pull request #15880 from strapi/data-transfer/progress 2023-02-24 15:24:20 +01:00
Jean-Sébastien Herbaux
4d0823b601
Merge pull request #15909 from strapi/data-transfer/batch 2023-02-24 15:23:56 +01:00
Convly
baef75dd2e Fix the asset transfer when there are no assets 2023-02-24 15:23:20 +01:00
Convly
5a80534b3f Gracefully end the transfer 2023-02-24 15:18:35 +01:00
Ben Irvin
d79d962006
Merge branch 'features/data-transfer' into data-transfer/fix-transfer-transaction-close 2023-02-24 14:56:53 +01:00
Convly
8f6058aacd Merge branch 'main' of github.com:strapi/strapi into features/data-transfer 2023-02-24 14:47:47 +01:00
Bassel
c0ef863c8a remove unnecessary logs 2023-02-24 15:28:24 +02:00
Bassel
c968b3e2d7 remove console log 2023-02-24 14:51:10 +02:00
Bassel
4f9f0a11cd fix typing 2023-02-24 14:46:58 +02:00
Bassel
2bea33bf67 Batching using the amount of bytes
Co-authored-by: Jean-Sébastien Herbaux <Convly@users.noreply.github.com>
2023-02-24 13:31:58 +02:00
Ben Irvin
1de054d71f always return a message to client instead of throwing error on server and await rollbacks
Co-authored-by: Jean-Sébastien Herbaux <Convly@users.noreply.github.com>
2023-02-24 12:08:25 +01:00
Ben Irvin
5889463574 Merge branch 'data-transfer/progress' into data-transfer/fix-transfer-transaction-close 2023-02-24 10:07:47 +01:00
Ben Irvin
e85b3a18aa cleanup 2023-02-24 09:58:54 +01:00
Ben Irvin
fa6df72fa7 handle errors from ws response
Co-authored-by: Jean-Sébastien Herbaux <Convly@users.noreply.github.com>
2023-02-24 09:46:03 +01:00
Ben Irvin
06aea362c4 close transactions on failed transfer
Co-authored-by: Christian <christiancp100@gmail.com>
Co-authored-by: Bassel Kanso <basselkanso82@gmail.com>
Co-authored-by: Jean-Sébastien Herbaux <Convly@users.noreply.github.com>
2023-02-23 18:00:06 +01:00
Bassel
db1c010f5b add typing for asset batch 2023-02-23 16:53:11 +02:00
Simone Taeggi
610b2d0fa4 fix eslint error 2023-02-23 14:28:45 +01:00
Bassel
e40e411433 refactor assets streaming 2023-02-23 15:25:19 +02:00
Convly
bae505f44c v4.6.2 2023-02-22 19:06:25 +01:00
Bassel
1c5fd3d1b1 stream assets in batches 2023-02-22 17:27:39 +02:00
Christian Capeans
6733ffab9f Abstract logging progress logic 2023-02-22 14:08:06 +01:00
Bassel
ea9cc4eb2f Merge branch 'features/data-transfer' into data-transfer/batch 2023-02-22 11:15:20 +02:00
Convly
58200a9930 init progress 2023-02-22 09:59:29 +01:00
Simone Taeggi
dba158774e remove automatically eslint fix 2023-02-21 15:10:32 +01:00
Simone Taeggi
bf3981d5ed merge features/data-transfer and fix conflicts 2023-02-21 09:49:40 +01:00
Bassel
4c6a4d97dc send chunks of data instead of 1 at a time 2023-02-20 18:04:39 +02:00
Convly
478127d7c7 Merge branch 'main' of github.com:strapi/strapi into features/data-transfer 2023-02-20 16:58:46 +01:00
Gustav Hansen
614b7e248c Run prettier 2023-02-20 11:46:18 +01:00
dependabot[bot]
25d013c123 chore(deps): bump prettier from 2.7.1 to 2.8.4
Bumps [prettier](https://github.com/prettier/prettier) from 2.7.1 to 2.8.4.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/2.7.1...2.8.4)

---
updated-dependencies:
- dependency-name: prettier
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-20 11:44:07 +01:00
Convly
e80cfe2363 Update the init check 2023-02-14 11:13:46 +01:00
Convly
67216696a5 Update delta to indexesDifference 2023-02-13 14:40:35 +01:00
Convly
a19d73f2ac Implement a transfer flow to restrict ops 2023-02-13 11:14:30 +01:00
Convly
f143b7e57a Implement the ws status command 2023-02-08 18:19:08 +01:00
Convly
1dd825035c Merge branch 'main' of github.com:strapi/strapi into features/data-transfer 2023-02-08 17:22:20 +01:00
Convly
17a7845e3d v4.6.1 2023-02-08 17:00:11 +01:00
Convly
9e4436b15a Add a verify util to the transfer runner handler 2023-02-08 10:46:16 +01:00
akcyp
079a0fc984 Fix data import on linux alpine 2023-02-08 09:29:27 +01:00
Convly
386579ff66 Update transfer services, fix api tests 2023-02-06 10:03:08 +01:00