376 Commits

Author SHA1 Message Date
Convly
59ce604ca7 Merge branch 'main' of github.com:strapi/strapi into features/deits 2022-11-09 16:09:13 +01:00
Convly
33debd5701 v4.5.0 2022-11-09 15:47:52 +01:00
Convly
bb7d566d42 Merge branch 'main' of github.com:strapi/strapi into features/deits 2022-11-09 15:15:28 +01:00
Alexandre Bodin
5d77a53c06 Merge branch 'main' into chore/rename-e2e-to-api 2022-11-07 16:29:37 +01:00
Convly
73b47a3901 v4.4.7 2022-11-04 16:52:57 +01:00
Gustav Hansen
e0901fe5e4
Merge branch 'main' into feature/relations-main-view 2022-11-03 11:54:37 +01:00
Convly
06d2b6e911 Merge branch 'main' of github.com:strapi/strapi into features/deits 2022-11-02 14:29:13 +01:00
Convly
788ea22ba6 v4.4.6 2022-11-02 14:09:37 +01: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
Jamie Howard
a3d182e045
Merge pull request #14453 from strapi/fix/13893/collection-name-clash
Avoid content type `pluralName` DB clashes
2022-10-27 16:45:10 +01:00
Convly
bc4b412aa2 Remove useless comment 2022-10-27 17:35:22 +02:00
Convly
a0a8e06c54 Push values to stream from a regular loop instead of shifting the initial array 2022-10-27 16:00:07 +02:00
Convly
1cfb30658a Remove useless checks & fix the limit 2022-10-27 15:50:44 +02:00
Convly
fa4dcb669b Fix limit & offset computation 2022-10-27 14:32:48 +02:00
Convly
78c5f82c37 Update symbols 2022-10-27 14:17:14 +02:00
Convly
125269d4fa Add readable stream capabilities to the query builder 2022-10-27 11:51:44 +02:00
Pierre Noël
24add7820d Merge branch 'main' into feature/relations-main-view 2022-10-25 16:04:49 +02:00
Pierre Noël
05c93d44c5 add content api tests for connect relation format 2022-10-24 11:09:01 +02:00
Convly
b4f4b499b9 Fix a bug that was not automatically adding the join column to the select list when populated 2022-10-20 15:32:51 +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
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
bd82249ab6 fix xToOne relations + finish e2e tests 2022-10-10 14:28:57 +02:00
Pierre Noël
541f4b6a40
Merge pull request #14574 from strapi/relations-main-view/fix-order
Use transformLoadParamsToQuery instead of transformParamsToQuery to f…
2022-10-10 14:28:18 +02:00
Pierre Noël
da70af1294 remove offset & limit when counting in populate 2022-10-07 20:21:15 +02:00
Pierre Noël
95f3abfa6b remove TODO comments 2022-10-07 15:42:48 +02:00
Pierre Noël
6e67d82f5f add transaction in DB entity manager 2022-10-06 18:03:10 +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
Jamie Howard
b81d7bec39 chore: improve error message 2022-10-04 16:39:43 +01:00
Pierre Noël
a17b3a0ba2 add and use loadPages 2022-10-03 17:52:12 +02:00
Alexandre Bodin
15cb9900b4 Add ordering option to populate 2022-09-30 23:38:05 +02:00
Alexandre Bodin
7c4b7e02c8 Refactor populate 2022-09-30 23:38:05 +02:00
Marc-Roig
9edb46c310 check if set is empty 2022-09-30 10:54:44 +02:00
Pierre Noël
3e60852fa0 fix partial update delete 2022-09-30 10:54:44 +02:00
Pierre Noël
bf16d07463 throw when deletePreviousAnyToOneRelations and deletePreviousOneToAnyRelations are called for non compatible relations 2022-09-30 10:54:43 +02:00
Pierre Noël
8248458a1f fix cleanOrder query for mysql 2022-09-30 10:54:43 +02:00
Pierre Noël
3acb08cd5b fix onConflict for components 2022-09-30 10:54:42 +02:00
Pierre Noël
8e5543b21d fix cleanOrder + use hasOrderColumn and hasInverseOrderColumn 2022-09-30 10:54:41 +02:00
Pierre Noël
a56879e12b implement cleanOrder function 2022-09-30 10:54:41 +02:00
Pierre Noël
9830910312 fix morphToMany order 2022-09-30 10:54:40 +02:00
Pierre Noël
eb8d79e0c8 restructure updateRelations - connect 2022-09-30 10:54:40 +02:00
Pierre Noël
3ffc748b86 improve max query in updateRelations - connect 2022-09-30 10:54:39 +02:00
Pierre Noël
43106732a2 improve max query in insertRelations 2022-09-30 10:54:39 +02:00
Pierre Noël
2cebbc2de4 fix unique index 2022-09-30 10:54:38 +02:00
Pierre Noël
a9819dc375 use onConflict in updateRelations 2022-09-30 10:54:38 +02:00
Pierre Noël
3b0d6b6e7f refactor deleteAllRelations 2022-09-30 10:54:37 +02:00