9373 Commits

Author SHA1 Message Date
Josh
e128e30d26 fix: anticipate oldValue being undefined 2022-11-02 11:58:50 +01:00
Josh
d13a2c8dad test(fix): useRelation 2022-11-02 11:58:50 +01:00
Josh
e82e32a25f fix: unit tests 2022-11-02 11:58:50 +01:00
Josh
d85bbf2461 refactor: PR updates 2022-11-02 11:58:50 +01:00
Josh
b0a127aba2 Update packages/core/admin/admin/src/content-manager/components/RelationInputDataManager/RelationInputDataManager.js
Co-authored-by: Gustav Hansen <gustav.hansen@strapi.io>
2022-11-02 11:58:50 +01:00
Josh
ed358e3218 Update packages/core/admin/admin/src/content-manager/components/EditViewDataManagerProvider/utils/cleanData.js
Co-authored-by: Gustav Hansen <gustav.hansen@strapi.io>
2022-11-02 11:58:50 +01:00
Josh
187039633e fix: keep useRelation hook in sync with browser state
also normalize relation on connection
2022-11-02 11:58:50 +01:00
Josh
d681351901 test: add cleanData tests for relations 2022-11-02 11:58:50 +01:00
Josh
99fa4c3696 fix: RelationInputDataManager test 2022-11-02 11:58:50 +01:00
Josh
5235e25698 fix: broken clean data test 2022-11-02 11:58:50 +01:00
Josh
f50f8a9dd4 test: EditViewDataManger reducer 2022-11-02 11:58:50 +01:00
Josh
2cc18becf4 fix: bug with default values in repeatable and dynamic components 2022-11-02 11:58:50 +01:00
Josh
04a223b0ba test: add tests for findLeafByPathAndReplace 2022-11-02 11:58:50 +01:00
Josh
55fbc3732f test: add more for recursivelyFindPathsBasedOnCondition 2022-11-02 11:58:50 +01:00
Josh
d445966dd2 refactor: make findLeafByPath more generic
it's a replacing function, let someone pick what they want to replace with.
2022-11-02 11:58:50 +01:00
Josh
69ad01c388 fix: dynamic zones with relations 2022-11-02 11:58:50 +01:00
Josh
c57f46f506 fix: use modifiedData if we have it 2022-11-02 11:58:50 +01:00
Josh
34f69999f9 refactor(wip): repeatable components 2022-11-02 11:58:50 +01:00
Josh
5ef96b9741 fix: handle components and nested components 2022-11-02 11:58:50 +01:00
Josh
22c8ec1c26 fix: reducer and clean data tests 2022-11-02 11:58:50 +01:00
Josh
8c1756abfc feat: add diff relations test 2022-11-02 11:58:50 +01:00
Josh
08ba321ca5 fix: useRelation test pt2 2022-11-02 11:58:50 +01:00
Josh
b08d7739e6 fix: normalizeRelation tests 2022-11-02 11:58:50 +01:00
Josh
5e3490104b refactor: return the same data format for search and relations 2022-11-02 11:58:50 +01:00
Josh
cf23e39892 fix: RelationInput tests 2022-11-02 11:58:50 +01:00
Josh
6383fc85ce fix: tests with useRelation 2022-11-02 11:58:50 +01:00
Josh
eec478a63c fix: RIDM tests 2022-11-02 11:58:50 +01:00
Josh
e0907a64e3 chore: fix dispatch callbacks 2022-11-02 11:58:50 +01:00
Josh
19da435de2 chore: minor amends 2022-11-02 11:58:50 +01:00
Josh
36bbdd0bd6 fix: XtoMany relations 2022-11-02 11:58:49 +01:00
Josh
549a39adb5 feat: add search 2022-11-02 11:58:49 +01:00
Josh
bbf2726cf3 fix: saving relations to server 2022-11-02 11:58:49 +01:00
Julie Plantey
19f7860844 temp 2022-11-02 11:58:49 +01:00
Simone Taeggi
75d4483901 Merge branch 'main' into enhancement/axios-refactoring 2022-11-02 11:55:13 +01:00
Simone Taeggi
130b996fa4 first implementation of the useFetchClient construct and use case example with Api token v2 2022-11-02 11:49:36 +01:00
Gustav Hansen
6e2b51c280 chore: Update snapshot tests 2022-11-02 11:33:06 +01:00
Convly
43e2447e77 Fix unit tests failing due to using the entity service instead of the query builder 2022-11-02 11:27:19 +01:00
dmoKruso
c692770071
Merge branch 'main' into fix-ptBR-lang 2022-11-02 10:25:17 +00:00
dmoKruso
d2af6be270
Merge branch 'main' into fix-pt-lang 2022-11-02 10:25:06 +00:00
dmoKruso
84ce4290fe
Merge branch 'main' into fix-en-lang 2022-11-02 10:24:56 +00:00
Ben Irvin
bae741a701 expect encyption.enabled to always be set 2022-11-02 11:07:32 +01:00
Ben Irvin
a9d9c3f6a0 use rimraf 2022-11-02 11:02:21 +01:00
Jamie Howard
639c3a290f Merge branch 'feature/relations-main-view' of github.com:strapi/strapi into fix/relations/rel-error-handling 2022-11-02 09:57:37 +00:00
Pierre Noël
cbcf02eeca Merge branch 'main' into feature/relations-main-view 2022-11-02 10:48:27 +01:00
Pierre Noël
5f73c296f1 remove populate.js file 2022-11-02 10:43:30 +01:00
Ben Irvin
0985073bf5 don't expose cipher 2022-11-02 10:24:35 +01:00
Ben Irvin
99e445782d add build:clean 2022-11-02 10:23:25 +01:00
Christian Capeans
2b482b5d1e Merge branch 'features/deits' into deits/cli-tests 2022-11-02 10:19:34 +01:00
dmo
129bedb4ed Update pt-BR.json
Update pt-BR.json
2022-11-01 23:23:09 +00:00
dmoKruso
56142c70f8 Update en.json 2022-11-01 23:22:31 +00:00