532 Commits

Author SHA1 Message Date
Pierre Noël
83c29436ca adapt all entity-manager with 2 order columns 2022-09-30 10:54:33 +02:00
Pierre Noël
c4031449fb implement 2 columns + adapt attachRelations 2022-09-30 10:54:32 +02:00
Pierre Noël
a1d1879ffb fix create entity with relations in connect 2022-09-30 10:54:32 +02:00
Pierre Noël
b7a1e312b4 implement simple partial update 2022-09-30 10:54:31 +02:00
Pierre Noël
e29c069e2a add first base for reordering 2022-09-30 10:54:31 +02:00
Jamie Howard
9270ee9f27 fix(database): detect clashing DB tables
chore: rollback front end implementation
2022-09-27 17:25:48 +01:00
Pierre Noël
b601daa36b Merge branch 'main' into feature/relations-main-view 2022-09-14 11:36:44 +02:00
Pierre Noël
72eec1fb7c Merge branch 'main' into fix/upload-new-file-to-entity 2022-09-13 16:00:05 +02:00
Alexandre Bodin
0d73def370 Implicit transactioning 2022-09-12 15:26:08 +02:00
Pierre Noël
3f72ff3a73 Merge branch 'main' into feature/relations-main-view 2022-09-08 15:41:31 +02:00
Alexandre BODIN
59b83c5953
Merge pull request #14320 from strapi/chore/eslint
chore/eslint
2022-09-08 14:45:12 +02:00
Pierre Noël
79e0671e61
Merge branch 'main' into fix/upload-new-file-to-entity 2022-09-08 11:49:27 +02:00
Alexandre Bodin
886fcc015d Create id column as nullable to avoid conflict with default null values 2022-09-07 15:59:07 +02:00
Alexandre BODIN
c84fe78a13
Merge pull request #14332 from strapi/chore/increments-updates
Improve pk management in schema builder
2022-09-07 11:11:15 +02:00
Alexandre Bodin
019e13d8e9 Improve pk management in schema builder 2022-09-07 09:11:50 +02:00
Pierre Noël
1850264b3c
Merge pull request #14262 from strapi/relations-main-view/get-relations
Add "get relations" route and remove "preview relations"
2022-09-06 16:56:49 +02:00
Gustav Hansen
931f6cdc8f Merge branch 'main' into feature/relations-main-view 2022-09-06 14:39:03 +02:00
Alexandre BODIN
ec040e6075
Merge pull request #14267 from WalkingPizza/fix/14193
Allow USE RETURNING in SQLite
2022-09-06 14:28:07 +02:00
Pierre Noël
79355cf239 properly handle knex queries for in and notIn 2022-09-06 12:17:55 +02:00
Pierre Noël
1958e08559 replace previewMany by getExistingRelations 2022-09-06 12:17:54 +02:00
Alexandre Bodin
70b6966458 Fix eslint database 2022-09-05 19:44:58 +02:00
Pierre Noël
b68aa8fcc6 fix conflict 2022-09-05 16:31:05 +02:00
Pierre Noël
23657b7b5a factorize code 2022-09-05 16:18:37 +02:00
Pierre Noël
aa53790bd5 refactor with groupby 2022-09-05 16:18:37 +02:00
Pierre Noël
a658c6cc0a handle component use case 2022-09-05 16:18:36 +02:00
Pierre Noël
8100cffb3d use a grouped approach for where 2022-09-05 16:18:36 +02:00
Pierre Noël
f681c064c4 Fix relation not correctly set when uploadinga new file to an entity 2022-09-05 16:18:35 +02:00
WalkingPizza
f40c1f517a Allow USE RETURNING in SQLite 2022-08-31 10:56:06 +02:00
Pierre Noël
b4f6c87fd4 avoid using db metadata 2022-08-30 15:12:05 +02:00
Pierre Noël
7f521c9348 refactor relation findNew route 2022-08-30 15:12:03 +02:00
Marc-Roig
b2abaa9018 Merge branch 'main' into fix/delete-components-when-deleting-entity 2022-08-29 09:08:59 +02:00
Marc-Roig
6f2134bcd6 load components from entity manager load 2022-08-26 14:22:05 +02:00
Alexandre Bodin
8f44422e8e Handles sqlite not able to add an increment table 2022-08-19 11:14:38 +02:00
Alexandre Bodin
714268f310 Add primary keys to relational table 2022-08-19 09:58:20 +02:00
Alexandre BODIN
2a9050d0d7
Merge pull request #14017 from strapi/chore/use-eslint-config
Chore/use eslint config
2022-08-11 16:19:29 +02:00
Pierre Noël
d49d687e72
Merge pull request #14032 from strapi/fix/populate-dz
Ignore if populating a scalar attribute
2022-08-11 15:38:41 +02:00
Alexandre Bodin
b4572b7fb5 Refactor some multi class files 2022-08-11 10:20:50 +02:00
Alexandre Bodin
cf49ddbbfc Prettier and backend fix 2022-08-11 10:20:49 +02:00
Alexandre Bodin
0ae14c06cb 1st fix pass 2022-08-11 10:20:48 +02:00
Pierre Noël
6168d38617 ignore if populating a scalar attribute 2022-08-09 12:19:58 +02:00
Bassel Kanso
cdd8be759c Merge branch 'master' into fix/counting-when-deep-filtering 2022-08-09 10:46:50 +03:00
Bassel Kanso
f92ff683ea make 'id' default value for count 2022-08-09 10:45:58 +03:00
Bassel Kanso
9619cf69a3 only use countDistinct when needed 2022-08-03 14:46:07 +03:00
Alexandre BODIN
ffaff7c66a
Merge pull request #13655 from lkho/pr/database-schema-diff-columns
fix: diff indexes columns
2022-08-03 12:33:51 +02:00
Bassel Kanso
2b576869b6 only use id when state.count is * 2022-08-03 12:59:30 +03:00
Bassel Kanso
b218ec3997 count columns based on distinct ID 2022-08-01 12:15:05 +03:00
Convly
2d6afbf044 Merge branch 'releases/4.3.0' into features/ML-folder 2022-07-27 10:32:43 +02:00
Convly
0b8c7b59c6 Merge branch 'master' into features/typescript 2022-07-25 09:30:18 +02:00
Gustav Hansen
01784575bf Merge branch 'master' into features/ML-folder 2022-07-22 12:48:41 +02:00
Alexandre BODIN
bc60b90b9e
Merge pull request #13578 from meherchandan/fix/case-insensitive-equal-filter
fix: added new eqi operator for case insensitive equal search
2022-07-21 15:53:25 +02:00