1055 Commits

Author SHA1 Message Date
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
Ben Irvin
496ae40ede
Merge branch 'main' into features/deits 2023-01-02 16:29:27 +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
74c6ec1f61 add validation folder in database 2023-01-02 11:28:48 +01:00
Marc-Roig
ef9c9114f3 Merge branch 'main' into feature/relations-reordering 2023-01-02 09:36:10 +01:00
Hasta
d668e3fa6c
Merge branch 'main' into main 2022-12-28 19:40:57 +01:00
Convly
8f1988367c v4.5.5 2022-12-28 15:17:36 +01:00
Jean-Sébastien Herbaux
e912c0a4d7
Merge branch 'main' into disable-migrations-config 2022-12-28 10:33:14 +01:00
Ben Irvin
36224c24fb
Merge branch 'main' into features/deits 2022-12-22 17:00:36 +01:00
Gustav Hansen
7f37735a5a Merge branch 'main' into feature/relations-reordering 2022-12-21 16:40:34 +01:00
dependabot[bot]
582eea4a87
chore(deps): bump date-fns from 2.29.2 to 2.29.3
Bumps [date-fns](https://github.com/date-fns/date-fns) from 2.29.2 to 2.29.3.
- [Release notes](https://github.com/date-fns/date-fns/releases)
- [Changelog](https://github.com/date-fns/date-fns/blob/main/CHANGELOG.md)
- [Commits](https://github.com/date-fns/date-fns/compare/v2.29.2...v2.29.3)

---
updated-dependencies:
- dependency-name: date-fns
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-21 15:01:04 +00:00
Convly
7c47f4d122 Merge branch 'main' of github.com:strapi/strapi into features/deits 2022-12-21 15:48:35 +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
Marc-Roig
189a67b237 remove unnecessary comments 2022-12-20 10:29:02 +01:00
Marc-Roig
e273f7f76d look for duplicated inverseBy relationships 2022-12-20 10:17:38 +01:00
Hasta
8aa98ebed2
Merge branch 'main' into main 2022-12-19 12:36:47 +01:00
Pierre Noël
0413f278bb remove use of temporary table for inverse order 2022-12-16 15:54:38 +01:00
Ben Irvin
e7ec94dec7
Merge pull request #15175 from strapi/deits/import-links 2022-12-16 15:15:20 +01:00
Hasta
b0966d23d8
Merge branch 'main' into main 2022-12-15 21:05:34 +01:00
Convly
62626cd878 Merge branch 'main' into features/deits 2022-12-14 17:53:31 +01:00
Convly
8716ecc920 v4.5.4 2022-12-14 15:39:30 +01:00
Convly
38f756e1bb Add transfer (import+export) links capabilities 2022-12-14 09:41:49 +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
Convly
84976754a4 Merge branch 'main' into features/deits 2022-12-12 15:58:51 +01:00
Marc-Roig
32bb3a0645 throw validation error when passing wrong relations 2022-12-12 15:48:45 +01:00
Alexandre Bodin
f19da0cbf8 Merge branch 'main' into chore/transactions 2022-12-09 18:32:54 +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
Hasta
b26d0eaea9
Merge branch 'main' into main 2022-12-09 13:37:19 +01:00
Pierre Noël
2cdd96feea
Merge pull request #15034 from strapi/fix/deadlock-components
Reduce transaction size to avoid deadlock
2022-12-09 10:35:21 +01:00
dependabot[bot]
a3d3471a1f
chore(deps): bump debug from 4.3.1 to 4.3.4
Bumps [debug](https://github.com/debug-js/debug) from 4.3.1 to 4.3.4.
- [Release notes](https://github.com/debug-js/debug/releases)
- [Commits](https://github.com/debug-js/debug/compare/4.3.1...4.3.4)

---
updated-dependencies:
- dependency-name: debug
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-07 09:05:10 +00: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