395 Commits

Author SHA1 Message Date
Alexandre Bodin
bcb1b7f472 v4.5.2 2022-11-22 17:54:52 +01:00
Alexandre BODIN
8faf635975
Merge branch 'main' into fix/relation-mysql-below-8 2022-11-21 17:12:53 +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
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
Pierre Noël
11d6f7803c alias version 2022-11-17 13:07:01 +01:00
Pierre Noël
b4295cf521 fix typo 2022-11-17 11:41:12 +01:00
Pierre Noël
9ff4f19660 fix schema support for postgres when using raw queries 2022-11-17 10:08:49 +01:00
Pierre Noël
952a05514f use knex arguments when dropping the temporary table 2022-11-16 18:36:07 +01:00
Pierre Noël
eba2da51af refactor the way database version is fetched 2022-11-16 18:32:32 +01:00
Convly
8c20ea2b5c v4.5.1 2022-11-16 18:00:30 +01:00
Pierre Noël
6103e4de1f
Merge branch 'main' into fix/relation-mysql-below-8 2022-11-16 15:26:47 +01:00
Sid
7d2a8bb337 chore: fixing spelling cont., missed a file 2022-11-16 14:17:17 +01:00
Sid
2ca3443a21 chore:fix spelling of SchemaProvideer to SchemaProvider 2022-11-16 14:17:17 +01:00
Pierre Noël
6ca7814a43
add missing await
Co-authored-by: Nathan Pichon <npichon.walchshofer@gmail.com>
2022-11-16 12:45:44 +01:00
Jamie Howard
04295573f1 chore(entity-manager): revert to not handle multiple pg schemas 2022-11-16 11:22:22 +00:00
Pierre Noël
5e5d1c92c2 use getDatabaseInformation instead of databaseInformation 2022-11-16 10:58:28 +01:00
Jamie Howard
4b1f8101e6 fix(entity-manager): use db.connection for .raw()
chore(database): revert getConnection()
2022-11-16 09:34:08 +00:00
Pierre Noël
306d5c4abc finally drop temp table 2022-11-15 18:57:13 +01:00
Pierre Noël
e2234ed9f1 use connection instead of getConnection 2022-11-15 18:42:18 +01:00
Pierre Noël
887ea1ae59 Avoid use of window functions for MySQL versions below 8 2022-11-15 16:43:04 +01:00
Jamie Howard
5553538c18 chore 2022-11-15 13:37:18 +00:00
Jamie Howard
0f7eb70fd2 fix(database): refactor getConnection to not use schemas 2022-11-15 13:28:35 +00:00
Jamie Howard
cad6a8da1c fix(entity-manager): knex withSchema.raw error 2022-11-14 16:39:57 +00:00
Convly
33debd5701 v4.5.0 2022-11-09 15:47:52 +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
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
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