333 Commits

Author SHA1 Message Date
Pierre Noël
24add7820d Merge branch 'main' into feature/relations-main-view 2022-10-25 16:04:49 +02:00
Pierre Noël
2f8a9cd1a0 Add CM documentation for getAvailable, getExisting and numberOfDraftRelations 2022-10-24 18:35:09 +02:00
Pierre Noël
6f24dda45b add relation test for the admin api 2022-10-24 12:54:27 +02:00
Pierre Noël
987987e2df
Merge pull request #14599 from strapi/relations-main-view/validation-test-findExisting-findAvailable
add validation tests on findAvailable and findExisting relations
2022-10-24 09:52:24 +02:00
Convly
65feb971b8 v4.4.5 2022-10-19 18:49:19 +02:00
Convly
02f7b3b65d v4.4.4 2022-10-19 15:19:00 +02:00
Pierre Noël
d517beb0be fix e2e tests 2022-10-17 18:55:21 +02:00
Pierre Noël
4ee9757ec3 also count xToOne relations in CM findOne 2022-10-17 18:44:33 +02:00
Pierre Noël
3245c4b466 add validation tests on findAvailable and findExisting relations 2022-10-17 15:41:35 +02:00
Pierre Noël
d4b8c00a5c use data format for xToOne relations in findExisting 2022-10-13 14:42:53 +02:00
Pierre Noël
be5e6ebc05 Merge branch 'feature/relations-main-view' into relations-main-view/refactor-find-existing-find-available 2022-10-11 12:38:04 +02:00
Julie Plantey
41b1bcf8cd Merge branch 'main' of https://github.com/strapi/strapi into feature/relations-main-view 2022-10-11 11:16:00 +02:00
Pierre Noël
241393eaa3 implement new findAvailable route 2022-10-10 14:42:23 +02:00
Pierre Noël
1200e43618 update tests using findExisting relations 2022-10-10 14:42:22 +02:00
Pierre Noël
3aa26deb1f implement new findExisting route 2022-10-10 14:42:19 +02:00
Pierre Noël
bd82249ab6 fix xToOne relations + finish e2e tests 2022-10-10 14:28:57 +02:00
Pierre Noël
8f73a1d761 use data format + init e2e tests 2022-10-10 14:28:56 +02:00
Pierre Noël
29d567198c JSDoc getDeepPopulateDraftCount 2022-10-10 14:28:56 +02:00
Pierre Noël
a5ae89fa2d JSDoc for sumDraftCounts
Co-authored-by: Jamie Howard <48524071+jhoward1994@users.noreply.github.com>
2022-10-10 14:28:55 +02:00
Pierre Noël
212d80f4fa Update singletype controller
Co-authored-by: Jamie Howard <48524071+jhoward1994@users.noreply.github.com>
2022-10-10 14:28:55 +02:00
Pierre Noël
d4436892bf Update singletype route
Co-authored-by: Jamie Howard <48524071+jhoward1994@users.noreply.github.com>
2022-10-10 14:28:54 +02:00
Pierre Noël
0415f5d677 add getNumberOfDraftRelations route 2022-10-10 14:28:54 +02:00
Pierre Noël
256e7164d5 fix tests 2022-10-07 21:37:14 +02:00
Pierre Noël
98e8bc61e0 use transformLoadParamsToQuery instead of transformParamsToQuery to fix ordering being ignored in loadPages() 2022-10-07 18:49:15 +02:00
Convly
3ddf1626e7 Revert "v4.4.3"
This reverts commit 3d42ce32952b2d5ad51b46604a4cf20d2709469a.
2022-10-05 16:22:44 +02:00
Convly
3d42ce3295 v4.4.3 2022-10-05 16:15:29 +02:00
Convly
f99314ead7 v4.4.3 2022-10-05 16:04:25 +02:00
Convly
f33e7c97ab v4.4.2 2022-10-05 15:32:01 +02:00
Pierre Noël
ff1e021aa1 fix i18n findExistingRelations tests 2022-10-04 10:54:18 +02:00
Pierre Noël
5021f99392 add and use utils isXtoX 2022-10-03 18:54:13 +02:00
Pierre Noël
9409b3a5e6 Remove idsToOmit + comment 2022-10-03 18:11:33 +02:00
Pierre Noël
a17b3a0ba2 add and use loadPages 2022-10-03 17:52:12 +02:00
Pierre Noël
0f7852d8d8 use query().load() to get existing relations 2022-10-03 11:12:22 +02:00
Pierre Noël
da0f17be75 add idsToInclude 2022-09-30 15:38:49 +02:00
Pierre Noël
83c29436ca adapt all entity-manager with 2 order columns 2022-09-30 10:54:33 +02:00
Convly
fa503ef438 v4.4.1 2022-09-29 23:50:44 +02:00
Convly
d9febfb963 v4.4.0 2022-09-28 14:25:44 +02:00
Pierre Noël
3a43ba5d9a
Merge pull request #14462 from strapi/relations/temp-fix-xToOne
[Fix] xToOne relations not showing
2022-09-22 18:29:04 +02:00
Pierre Noël
8d36a07fc4 Merge branch 'main' into feature/relations-main-view 2022-09-22 17:46:04 +02:00
Julie Plantey
360f1d4593 fix more e2e tests 2022-09-22 17:30:28 +02:00
Julie Plantey
04fe7f84be fix e2e tests 2022-09-22 14:20:04 +02:00
Julie Plantey
c407c20d05 fix xtoOne + conditions to enbale fetch + count label 2022-09-22 14:01:56 +02:00
Alexandre Bodin
8ebf58d9ed v4.3.9 2022-09-21 14:17:36 +02:00
Pierre Noël
3f72ff3a73 Merge branch 'main' into feature/relations-main-view 2022-09-08 15:41:31 +02:00
Alexandre BODIN
59b83c5953
Merge pull request #14320 from strapi/chore/eslint
chore/eslint
2022-09-08 14:45:12 +02:00
Pierre Noël
ea35195ea1 fix no relations return for find available when no relations are set 2022-09-08 11:10:57 +02:00
Alexandre Bodin
6654ad3528 Add node 18 2022-09-08 08:44:27 +02:00
Alexandre Bodin
c44f21d5ba v4.3.8 2022-09-07 16:47:41 +02:00
Pierre Noël
fb666bc22e fix tests 2022-09-07 15:46:15 +02:00
Alexandre Bodin
73f523b983 v4.3.7 2022-09-07 14:24:30 +02:00