32846 Commits

Author SHA1 Message Date
Gustav Hansen
36ec1a182a
Merge pull request #17191 from strapi/dependabot/npm_and_yarn/webpack-d131db577c
chore(deps): bump the webpack group with 1 update
2023-07-05 10:48:39 +02:00
nathan-pichon
05a46a71f2
fix(review-workflows): remove workflow validation in stage service 2023-07-05 10:35:02 +02:00
nathan-pichon
0072262a91
fix(review-workflows): stage deletion cannot rely on created one
⚠️ this might affect how stages are ordered after a deletion
2023-07-05 10:35:02 +02:00
nathan-pichon
2fa11a8784
fix(review-workflows): on replace, delete before creating new stages
If we try to create stages before deletion, it will try to validate the number of stages that are currently in the workflow + the ones created, and can result in a validation error as the number of stages can be higher than expected (but will be lowered by deletion afterward).
2023-07-05 10:35:02 +02:00
nathan-pichon
b2fe168e4d
feat(review-workflows): use fp for validation pipe
Avoid errors on stage creation that doesn't have any workflow id to relates to.
2023-07-05 10:35:02 +02:00
nathan-pichon
9c70fac0ac
fix(review-workflows): workflow creation
Workflows should be created before as stages needs to have a workflow ID to be created and validated
2023-07-05 10:35:02 +02:00
nathan-pichon
30ff81ecbc
chore(review-workflows): remove useless console.log 2023-07-05 10:35:02 +02:00
nathan-pichon
7bc57af01d
fix(review-workflows): remove migrate validation
As content-type file is only used by workflow service, it doesn't need any new layer of validation
2023-07-05 10:35:02 +02:00
nathan-pichon
02a3e1e592
chore(review-workflows): put default options 2023-07-05 10:35:02 +02:00
nathan-pichon
13218e99d7
test(review-workflows-content-type): fix test by using clearAllMocks instead of resetAllmocks 2023-07-05 10:35:02 +02:00
nathan-pichon
a29f0cb1c1
test(review-workflows): adding validation service tests 2023-07-05 10:35:02 +02:00
nathan-pichon
7a2e7cf65e
test(review-workflows): adding validation service mock to tests 2023-07-05 10:35:02 +02:00
nathan-pichon
9ca8234808
feat(review-workflows): adding validation on licence restrictions 2023-07-05 10:35:02 +02:00
nathan-pichon
c2fc2f7e54
docs(review-workflows): added jsdoc to validation functions 2023-07-05 10:35:02 +02:00
nathan-pichon
ea32c40507
feat(review-workflows): added validation to workflows create and update 2023-07-05 10:35:02 +02:00
nathan-pichon
d0195ff181
feat(review-workflows): store license limits in services 2023-07-05 10:34:58 +02:00
Marc Roig
2f7c279cde
Merge pull request #17182 from strapi/feat/workflow-find-one-meta 2023-07-05 10:20:26 +02:00
Josh
7da44e6406 refactor: remove history from hp tests and refactor Pagination component 2023-07-05 08:53:29 +01:00
Bassel
fdb36fbe03 Merge branch 'feat/data-transfer-assets' of https://github.com/strapi/strapi into feat/data-transfer-assets 2023-07-05 10:48:31 +03:00
Marc-Roig
f29af1fc78
fix: parse string stage ids 2023-07-05 09:40:52 +02:00
Josh
f430548a7e
Merge pull request #17188 from noobCode-69/main 2023-07-05 08:30:17 +01:00
dependabot[bot]
e7c69a396b
chore(deps): bump the webpack group with 1 update
Bumps the webpack group with 1 update: [webpack](https://github.com/webpack/webpack).

- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.86.0...v5.88.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-05 07:13:02 +00:00
dependabot[bot]
ac3016b86b
chore(deps-dev): bump the jest group with 4 updates
Bumps the jest group with 4 updates: [jest](https://github.com/facebook/jest/tree/HEAD/packages/jest), [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest), [jest-circus](https://github.com/facebook/jest/tree/HEAD/packages/jest-circus) and [jest-cli](https://github.com/facebook/jest/tree/HEAD/packages/jest-cli).


Updates `jest` from 29.5.0 to 29.6.0
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/jestjs/jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/jest/commits/v29.6.0/packages/jest)

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

Updates `jest-circus` from 29.5.0 to 29.6.0
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/jestjs/jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/jest/commits/v29.6.0/packages/jest-circus)

Updates `jest-cli` from 29.5.0 to 29.6.0
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/jestjs/jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/jest/commits/v29.6.0/packages/jest-cli)

---
updated-dependencies:
- dependency-name: jest
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: jest
- dependency-name: "@types/jest"
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: jest
- dependency-name: jest-circus
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: jest
- dependency-name: jest-cli
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: jest
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-05 07:10:53 +00:00
Gustav Hansen
27505e6741
Merge pull request #17184 from strapi/chore/dependabot-groups
Chore: Group dependabot updates
2023-07-05 09:05:45 +02:00
so_hell
8bd5f4d7f8 Fix bug #17187: updated the handleClick function 2023-07-05 09:52:39 +05:30
Marc-Roig
f48e9cab75
chore: findById jsodcs 2023-07-04 17:47:52 +02:00
Christian Capeans
c57b411703 Fix provider stored in database 2023-07-04 17:46:07 +02:00
dependabot[bot]
8b0de32c6e
chore(deps): bump graphql-scalars from 1.20.1 to 1.22.2
Bumps [graphql-scalars](https://github.com/Urigo/graphql-scalars) from 1.20.1 to 1.22.2.
- [Release notes](https://github.com/Urigo/graphql-scalars/releases)
- [Changelog](https://github.com/Urigo/graphql-scalars/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Urigo/graphql-scalars/compare/v1.20.1...v1.22.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-04 15:33:41 +00:00
Gustav Hansen
da46061869 Chore: Group dependabot updates 2023-07-04 17:32:00 +02:00
Jean-Sébastien Herbaux
670f4a65e1
Merge pull request #16785 from strapi/dependabot/npm_and_yarn/lerna-6.6.2 2023-07-04 17:31:55 +02:00
Marc-Roig
62be7cabe6
test: count meta 2023-07-04 17:26:33 +02:00
Marc-Roig
83aefda65a
feat: return workflow count 2023-07-04 16:39:11 +02:00
dependabot[bot]
a324ebeed8
chore(deps-dev): bump lerna from 6.5.1 to 6.6.2
Bumps [lerna](https://github.com/lerna/lerna/tree/HEAD/packages/lerna) from 6.5.1 to 6.6.2.
- [Release notes](https://github.com/lerna/lerna/releases)
- [Changelog](https://github.com/lerna/lerna/blob/main/packages/lerna/CHANGELOG.md)
- [Commits](https://github.com/lerna/lerna/commits/6.6.2/packages/lerna)

---
updated-dependencies:
- dependency-name: lerna
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-04 14:35:33 +00:00
Josh
bc87e695db
Merge pull request #17126 from strapi/chore/remove-unique-identifier 2023-07-04 15:05:39 +01:00
Gustav Hansen
e59a080e45 Chore: Update yarn lockfile 2023-07-04 15:47:05 +02:00
Maxime Castres
b724d9abe8 Chore: Remove unique identifier 2023-07-04 15:46:12 +02:00
Christian Capeans
b2a98a4a8d Fix push transfer with external assets provider 2023-07-04 15:36:38 +02:00
Josh
83ada24a02
Merge pull request #17064 from smorimoto/update-yarn-3.6.0 2023-07-04 09:16:06 +01:00
Christian Capeans
668237709f Merge branch 'main' into feat/data-transfer-assets 2023-07-04 10:05:51 +02:00
Bassel
7bb15e0b70 Merge branch 'feat/data-transfer-assets' of https://github.com/strapi/strapi into feat/data-transfer-assets 2023-07-04 10:57:18 +03:00
Boaz Poolman
282c29564a feat: Add an any type for strapi.admin 2023-07-03 20:58:09 +02:00
Sora Morimoto
45cc9518e4 Update Yarn to v3.6.1
Signed-off-by: Sora Morimoto <sora@morimoto.io>
2023-07-04 03:09:43 +09:00
Josh
2f67950deb
Merge pull request #17169 from strapi/chore/update-ds-181 2023-07-03 16:22:54 +01:00
Jean-Sébastien Herbaux
8c7ea46ccf
Merge pull request #17122 from strapi/fix/dts-pull-hang 2023-07-03 17:20:54 +02:00
Jamie Howard
2d4db7a482
Merge pull request #17128 from strapi/fix/rw-webhooks 2023-07-03 15:24:10 +01:00
Josh
d301b8a7ad chore: update DS to 1.8.1 2023-07-03 15:14:38 +01:00
Christian Capeans
f127c3a4a3 Specify the right path 2023-07-03 16:11:19 +02:00
Josh
9bc4e05325
Merge pull request #17140 from strapi/fix/useRBAC-infinite-loop 2023-07-03 14:24:55 +01: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
Josh
a0fb526155
Merge pull request #17164 from strapi/dependabot/npm_and_yarn/webpack-bundle-analyzer-4.9.0 2023-07-03 10:36:53 +01:00