377 Commits

Author SHA1 Message Date
Josh
fb358ef030
Merge branch 'main' into feature/relations-reordering 2023-01-16 17:51:52 +00:00
Josh
0f3b1c090d Merge branch 'main' into feature/relations-reordering 2023-01-16 13:00:50 +00:00
Marc
62255e7512
Merge branch 'main' into fix/components-ordering-mysql 2023-01-16 13:05:58 +01:00
Marc-Roig
dd98293a55 better filtering in inverse order column 2023-01-13 10:53:30 +01:00
Marc-Roig
cf01fb8db6 make strict connect explicit when inserting relation 2023-01-11 16:40:06 +01:00
Marc-Roig
51cd3ddc85 rename arr to computedRelations 2023-01-11 16:36:36 +01:00
Marc-Roig
610ce2aadf simplify marking relation as computed 2023-01-10 11:20:16 +01:00
Marc-Roig
5a185f1e00 delete duplicate relation in connect array 2023-01-10 10:58:56 +01:00
Marc-Roig
b81cfb0055 do not allow to connect same relation more than once 2023-01-10 10:45:31 +01:00
denisukvadim
e137627f07
fix runMigrations (15308) 2023-01-07 01:36:38 +02:00
Marc-Roig
a05bdd83ae change firstSeen to mappedRelationsIndex 2023-01-05 16:44:18 +01:00
Marc-Roig
8bf254faac move computeRelation outside for each 2023-01-05 09:31:51 +01:00
Marc-Roig
030c109a95 better circular reference error handling 2023-01-03 16:38:14 +01:00
Marc-Roig
8ec567ef9f move mysql where clause to the correct query 2023-01-03 14:49:00 +01:00
Marc-Roig
621a16119b remove constraints list
it does not apply anymore
2023-01-03 14:19:08 +01:00
Marc-Roig
26fba9f4be test for circular references 2023-01-03 12:21:40 +01:00
Marc-Roig
036cb8b250 filter by entity id when reordering components 2023-01-02 16:48:02 +01:00
Marc-Roig
2528ae5637 Merge branch 'feature/relations-reordering' into relations-reordering/non-strict-connect 2023-01-02 14:44:02 +01:00
Marc-Roig
ef9c9114f3 Merge branch 'main' into feature/relations-reordering 2023-01-02 09:36:10 +01:00
Jean-Sébastien Herbaux
e912c0a4d7
Merge branch 'main' into disable-migrations-config 2022-12-28 10:33:14 +01:00
Gustav Hansen
7f37735a5a Merge branch 'main' into feature/relations-reordering 2022-12-21 16:40:34 +01:00
Marc-Roig
7135f60a73 fix: expect normal throw 2022-12-20 15:09:34 +01:00
Marc-Roig
589571319f change strictConnect to strict 2022-12-20 15:09:21 +01:00
Pierre Noël
0413f278bb remove use of temporary table for inverse order 2022-12-16 15:54:38 +01:00
Gary Alway
80ea7d835b
adds run migrations setting 2022-12-13 19:30:55 +00:00
Marc-Roig
2639f8418e add strict configuration 2022-12-12 18:16:37 +01:00
Marc-Roig
32bb3a0645 throw validation error when passing wrong relations 2022-12-12 15:48:45 +01:00
Josh
c51cde28a8 Merge branch 'main' into feature/relations-reordering 2022-12-09 17:10:00 +00:00
Marc-Roig
b01fc82f52 validate sort array 2022-12-09 16:13:03 +01:00
Pierre Noël
aef49c5410 Use temporary table even for mysql versions above 5 2022-12-09 15:57:23 +01:00
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
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
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
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
Marc-Roig
67beb86c1d test before after when creating relations 2022-11-22 18:57:04 +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