566 Commits

Author SHA1 Message Date
Pierre Noël
05f3335b2a reduce temporary table name length 2022-12-06 17:21:48 +01:00
Pierre Noël
b174c7a5d8 use table instead of temporary table for mysql 5 2022-12-06 14:29:56 +01:00
Pierre Noël
ded213f13f manual rollback 2022-12-06 14:29:56 +01:00
Pierre Noël
3a2f6490e6 reduce transaction size 2022-12-06 14:29:56 +01:00
Marc-Roig
02a23a00ef rephrase connect relation error 2022-12-05 14:41:20 +01:00
Marc-Roig
1ccb35486b refactor tests to have more clear descriptions 2022-12-05 11:40:51 +01:00
Josh
23bf8c5dac Merge branch 'main' into feature/relations-reordering 2022-12-05 10:00:01 +00:00
Marc-Roig
2c854a0cc5 change connect array error string to be more clear 2022-12-05 10:55:19 +01:00
Marc-Roig
b0e37e832b sort connect array only when necessary 2022-12-05 10:54:26 +01:00
Marc-Roig
05e09eee46 test disordered relations with initial relations 2022-12-01 16:44:46 +01:00
Marc-Roig
36ad92b2d6 sort connect array 2022-12-01 14:13:24 +01:00
Hasta
8af2dc0b0d
Merge branch 'main' into main 2022-12-01 13:55:19 +01:00
Marc-Roig
a148b81d85 Merge branch 'main' into feature/relations-reordering 2022-12-01 09:31:08 +01:00
Marc
9cef257369
Merge pull request #15003 from strapi/fix/many-to-many-relationship-to-the-same-content 2022-12-01 09:25:48 +01:00
Hasta
b210dac830
Update where.js 2022-11-30 16:48:23 +01:00
Convly
5453885f7a v4.5.3 2022-11-30 16:27:25 +01:00
Simone Taeggi
b12ee6b0f7 Merge branch 'main' into features/deits 2022-11-29 21:38:33 +01:00
Marc-Roig
c73971f9fd allow connecting the same id multiple times 2022-11-25 16:19:04 +01:00
Marc-Roig
a7f37ba45d change order column name to inv 2022-11-25 11:50:53 +01:00
Jean-Sébastien Herbaux
f67c4b440f
Merge branch 'main' into features/morphs-populate 2022-11-23 16:13:09 +01:00
Marc-Roig
15460a60fb Merge branch 'main' into feature/relations-reordering 2022-11-23 14:35:45 +01:00
Convly
d99dc608f4 Merge branch 'main' of github.com:strapi/strapi into features/deits 2022-11-23 11:35:53 +01:00
Marc-Roig
6d49a36f54 rename to relations-orderer 2022-11-23 11:13:26 +01:00
Marc-Roig
6f183c3cf3 remove maxOrder from jsdoc 2022-11-23 11:12:50 +01:00
Alexandre Bodin
8a8359c3ed Merge branch 'main' into chore/transactions 2022-11-23 10:19:52 +01:00
Marc-Roig
67beb86c1d test before after when creating relations 2022-11-22 18:57:04 +01:00
Alexandre Bodin
bcb1b7f472 v4.5.2 2022-11-22 17:54:52 +01:00
Marc-Roig
37b1ab9b52 fix typo 2022-11-22 14:27:56 +01:00
Marc-Roig
e1810df0cb Merge branch 'feature/relations-reordering' into relations-reordering/database-logic-refactor 2022-11-22 13:25:31 +01:00
Marc-Roig
37d50e0b59 Merge branch 'main' into feature/relations-reordering 2022-11-22 13:25:16 +01:00
Convly
5da0015215 Merge branch 'main' of github.com:strapi/strapi into features/morphs-populate 2022-11-22 11:41:18 +01:00
Convly
0bf53f3416 Merge branch 'main' into features/deits 2022-11-21 17:19:39 +01:00
Alexandre BODIN
8faf635975
Merge branch 'main' into fix/relation-mysql-below-8 2022-11-21 17:12:53 +01:00
Marc-Roig
6a1100b4f9 fix tests 2022-11-21 15:00:47 +01:00
Alexandre Bodin
69a5133b60 Rename to more generic window functions 2022-11-21 15:00:31 +01:00
Alexandre Bodin
ce6143790c Group supportX functions 2022-11-21 14:46:06 +01:00
Alexandre Bodin
25507f8328 Simplify main PR 2022-11-21 14:30:55 +01:00
Convly
2459e20282 Merge branch 'main' of github.com:strapi/strapi into features/morphs-populate 2022-11-21 11:02:59 +01:00
Convly
7c1837bbe1 Add test + update logic 2022-11-21 11:02:38 +01:00
Marc-Roig
c3c8f40d5b remove adjacent relations sorting as it is not necessary 2022-11-20 10:50:31 +01:00
Marc-Roig
114d67a9f2 fix adjacentRelations query to look for joinColum name 2022-11-20 10:49:59 +01:00
Marc-Roig
5fad91721b add reordering in attachRelations 2022-11-20 10:49:24 +01:00
Pierre Noël
c11ce77597 remove console log 2022-11-19 02:22:59 +01:00
Pierre Noël
b016113ded remove throw error 2022-11-19 02:15:12 +01:00
Pierre Noël
6a530cbbfc put add-schema in knex util file 2022-11-19 00:01:10 +01:00
Pierre Noël
0c76c5ae1a add error management 2022-11-18 23:57:46 +01:00
Marc-Roig
a6993feab4 Merge branch 'feature/relations-reordering' into relations-reordering/database-logic-refactor 2022-11-18 09:29:13 +01:00
Marc-Roig
c568197c45 Merge branch 'main' into feature/relations-reordering 2022-11-18 09:28:57 +01:00
Convly
981c918dcc Merge branch 'main' of github.com:strapi/strapi into features/morphs-populate 2022-11-17 15:07:30 +01:00
Pierre Noël
11d6f7803c alias version 2022-11-17 13:07:01 +01:00