755 Commits

Author SHA1 Message Date
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
Convly
8c2fb155b8 hanlde morphToOne populate & re-add legacy way of querying DZs 2022-11-15 15:14:28 +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
Convly
605e5b2009 Merge branch 'main' into features/morphs-populate 2022-11-15 11:22:08 +01:00
Jamie Howard
cad6a8da1c fix(entity-manager): knex withSchema.raw error 2022-11-14 16:39:57 +00:00
Marc-Roig
ea5325b46c compact max order and adjacent sql queries into one 2022-11-11 17:08:52 +01:00
Marc-Roig
e151df5da6 add get method 2022-11-10 17:15:58 +01:00
Marc-Roig
6e9424cf00 make relations sorter a pure function 2022-11-10 16:53:44 +01:00
Marc-Roig
8b65fe7b4d Merge branch 'feature/relations-reordering' into relations-reordering/fractional-orderer 2022-11-10 09:50:42 +01:00
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
Convly
4dcfe4ab40 (tmp) init morph populate 2022-11-04 15:06:36 +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
Marc-Roig
70595ae790 access array last element without at 2022-10-26 17:30:22 +02:00
Marc-Roig
aedff736b5 change joincolumn name to integer 2022-10-26 11:29:43 +02:00
Marc-Roig
5f5e3e67db all order columns to float 2022-10-26 09:16:22 +02:00
Marc-Roig
bb6ceaefbe change column type to float 2022-10-25 17:25:39 +02:00
Marc-Roig
7a9f43a027 log relation reorderer error 2022-10-25 16:12:10 +02:00
Pierre Noël
24add7820d Merge branch 'main' into feature/relations-main-view 2022-10-25 16:04:49 +02:00
Marc-Roig
5106ed251e test relation orderer 2022-10-24 15:18:38 +02:00
Marc-Roig
0f330d1410 Merge branch 'feature/relations-reordering' into relations-reordering/fractional-orderer 2022-10-24 14:48:10 +02:00
Marc-Roig
b8cf3a13d7 document relations orderer 2022-10-24 14:47:15 +02:00
Marc-Roig
36ca8d7df6 max order default to 0 if no relations 2022-10-24 11:56:22 +02:00
Marc-Roig
640adedd73 fractional orderer error management 2022-10-24 11:21:44 +02:00
Pierre Noël
05c93d44c5 add content api tests for connect relation format 2022-10-24 11:09:01 +02:00
Marc-Roig
2e7aa7c2a9 use position attribute for positional arguments 2022-10-24 10:21:29 +02:00
Marc-Roig
485355820f add connect disconnect format 2022-10-24 09:22:45 +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