30539 Commits

Author SHA1 Message Date
nathan-pichon
6bbd7c2671
fix(review-workflows): stage attribute should not be visible 2023-03-03 16:31:42 +01:00
Marc
6846491a30
Merge branch 'main' into fix/publish-webhook-with-publishedAt 2023-03-03 16:17:36 +01:00
Josh
0c2aa6d5bc fix: add default params to cache key to avoid flickering of unlocalised relations 2023-03-03 15:02:55 +00:00
Josh
1e40b73f3b
Merge pull request #15984 from strapi/fix/alignment 2023-03-03 14:46:25 +00:00
Josh
08160f1943 fix: alignment should be center not flex-start 2023-03-03 14:26:54 +00:00
Josh
687df3b785 chore: rename relation to capital 2023-03-03 14:22:54 +00:00
Josh
fee48616bc Update examples/getstarted/src/api/relation-locale/content-types/relation-locale/schema.json
Co-authored-by: Jamie Howard <48524071+jhoward1994@users.noreply.github.com>
2023-03-03 14:17:23 +00:00
Josh
cad6fb7429 chore: remove unnecessary test 2023-03-03 14:17:23 +00:00
Josh
f4f2b5ab2e fix: dont merge the state if the ID changes
fix: dont merge the state if the ID changes

fix: pass id to querykey & add cleanup method to useRelation hook

fix: pass defaultParams as part of the cache key

Revert "fix: reset cache for `relation` keys in i18n plugin"

This reverts commit 34b2fd9fabfcb93fb9f416616802e10b79133112.

fix: pass defaultParams as part of the cache key

chore: spread cachekey in search query

fix: move logic to useRelations hook that handles removing from the store.

fix: broken test

refactor: rename method to onUnmount
2023-03-03 14:17:23 +00:00
dependabot[bot]
6b19d1bf42
Bump react-select from 5.6.0 to 5.7.0
Bumps [react-select](https://github.com/JedWatson/react-select) from 5.6.0 to 5.7.0.
- [Release notes](https://github.com/JedWatson/react-select/releases)
- [Changelog](https://github.com/JedWatson/react-select/blob/master/docs/CHANGELOG.md)
- [Commits](https://github.com/JedWatson/react-select/compare/react-select@5.6.0...react-select@5.7.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-03 14:13:10 +00:00
Josh
05a83874c1
Merge pull request #15972 from strapi/chore/update-DS 2023-03-03 14:09:55 +00:00
Ben Irvin
927e21bde7 refactor and fix tests 2023-03-03 14:40:44 +01:00
Marc
c942ca2564
Update entity-manager.js 2023-03-03 14:02:56 +01:00
Marc
8c1ec39e8d
Update entity-manager.js 2023-03-03 14:02:44 +01:00
Ben Irvin
ef21662b79 catch errors from graceful abort 2023-03-03 12:38:58 +01:00
Ben Irvin
70013c4a61 remove delay 2023-03-03 12:37:50 +01:00
Ben Irvin
68522cbeb9 remove delay 2023-03-03 12:37:22 +01:00
Ben Irvin
c7bdb421f3 catch signals within transfer process to abort gracefully 2023-03-03 12:18:03 +01:00
Josh
3b7173bfa2 chore: only run FE unit on 18 & run build in matrix 2023-03-03 11:12:15 +00:00
nathan-pichon
ecc36bc030
test(review-workflows): update mock to test method PUT 2023-03-03 12:09:39 +01:00
nathan-pichon
a70f8f5e41
test(review-workflows): add test for review workflows activation 2023-03-03 12:05:05 +01:00
nathan-pichon
1431249c84
test(review-workflows): update mocks 2023-03-03 11:30:42 +01:00
nathan-pichon
f121209c9b
chore(example): get previous state on content-type address 2023-03-03 11:17:02 +01:00
dependabot[bot]
64e484f494
chore(deps): bump glob from 7.2.0 to 7.2.3
Bumps [glob](https://github.com/isaacs/node-glob) from 7.2.0 to 7.2.3.
- [Release notes](https://github.com/isaacs/node-glob/releases)
- [Changelog](https://github.com/isaacs/node-glob/blob/main/changelog.md)
- [Commits](https://github.com/isaacs/node-glob/compare/v7.2.0...v7.2.3)

---
updated-dependencies:
- dependency-name: glob
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-03 10:11:25 +00:00
dependabot[bot]
875a2cb7ba
chore(deps): bump chalk from 4.1.1 to 4.1.2
Bumps [chalk](https://github.com/chalk/chalk) from 4.1.1 to 4.1.2.
- [Release notes](https://github.com/chalk/chalk/releases)
- [Commits](https://github.com/chalk/chalk/compare/v4.1.1...v4.1.2)

---
updated-dependencies:
- dependency-name: chalk
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-03 10:09:15 +00:00
Marc
fbad5cd13c
Merge branch 'main' into fix/publish-webhook-with-publishedAt 2023-03-03 10:25:01 +01:00
Christian Capeans
2892fa55fa Refactor controllers logic to handle pull transfer
Co-authored-by: Jean-Sébastien Herbaux <Convly@users.noreply.github.com>
2023-03-03 09:49:46 +01:00
Nathan Pichon
a7778b81f0
Merge branch 'feature/review-workflow' into feature/review-workflow-stage-in-entities 2023-03-03 09:43:53 +01:00
Cameron Paczek
0da597202f enfoce name to be supplied when removing cron jobs 2023-03-02 14:28:36 -08:00
Cameron Paczek
99d50d8447 add ability to list jobs 2023-03-02 14:24:46 -08:00
Alexandre Bodin
dee0e195c1 Fix invalid require using internal paths 2023-03-02 22:16:29 +01:00
nathan-pichon
ad0da5cd06
chore(review-workflows): add comments 2023-03-02 18:09:36 +01:00
Ben Irvin
606a88e5f2 add jsdoc 2023-03-02 17:56:05 +01:00
nathan-pichon
983ed97e38
fix(review-workflows): use raw query to update joinTable
Much more efficient to directly insert rows inside the joinTable.
For 126k entities, the time decrease from 5min to 123ms to migrate all entities.
2023-03-02 17:53:50 +01:00
Ben Irvin
a1f34b312a cancelling prompts is treated as error 2023-03-02 17:42:43 +01:00
Ben Irvin
a9620ba6e4 aborting prompts displays as error 2023-03-02 17:34:47 +01:00
Bassel Kanso
6e7b9980c9
Merge branch 'main' into fix/transfer-wrong-url 2023-03-02 16:42:42 +02:00
Fernando Chávez
6b493cd023
Merge pull request #15963 from strapi/docs/useCustomFields
Add new page to helper-plugin's storybook about useCustomFields hook
2023-03-02 14:30:58 +01:00
Bassel
687c4d0fd6 don't send headers to websocket if it's undefined 2023-03-02 15:22:51 +02:00
Josh
d209390fbe chore: update DS to 1.6.4 2023-03-02 13:17:01 +00:00
Fernando Chavez
a6a9fc1648 improves to useCustomFields typescript 2023-03-02 13:59:10 +01:00
Bassel
ab5f2f4b8e Merge branch 'main' into fix/transfer-wrong-url 2023-03-02 14:56:53 +02:00
Bassel
bf6c00cadd send more details in error message 2023-03-02 14:56:20 +02:00
Alexandre BODIN
97536d9a3f
Merge pull request #15473 from strapi/dependabot/npm_and_yarn/vscode/sqlite3-5.1.2 2023-03-02 13:36:17 +01:00
Alexandre BODIN
61824d2eeb
Merge pull request #15888 from strapi/dependabot/npm_and_yarn/tar-and-types/tar-6.1.13 2023-03-02 13:35:32 +01:00
Fernando Chávez
24fa0fbf32
Update packages/core/helper-plugin/lib/src/hooks/useCustomFields/useCustomFields.stories.mdx
Co-authored-by: Josh <37798644+joshuaellis@users.noreply.github.com>
2023-03-02 13:25:14 +01:00
Fernando Chávez
ac15879247
Update packages/core/helper-plugin/lib/src/hooks/useCustomFields/useCustomFields.stories.mdx
Co-authored-by: Josh <37798644+joshuaellis@users.noreply.github.com>
2023-03-02 13:24:44 +01:00
Bassel
944ddfb190 capture websocket connection error and throw correct error 2023-03-02 13:47:50 +02: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
Josh
63c0993e93
Merge pull request #15968 from strapi/chore/add-all-undeclared-packages 2023-03-02 10:54:55 +00:00