123 Commits

Author SHA1 Message Date
Pierre Noël
ff1e021aa1 fix i18n findExistingRelations tests 2022-10-04 10:54:18 +02:00
Pierre Noël
5021f99392 add and use utils isXtoX 2022-10-03 18:54:13 +02:00
Pierre Noël
9409b3a5e6 Remove idsToOmit + comment 2022-10-03 18:11:33 +02:00
Pierre Noël
a17b3a0ba2 add and use loadPages 2022-10-03 17:52:12 +02:00
Pierre Noël
0f7852d8d8 use query().load() to get existing relations 2022-10-03 11:12:22 +02:00
Pierre Noël
da0f17be75 add idsToInclude 2022-09-30 15:38:49 +02:00
Pierre Noël
83c29436ca adapt all entity-manager with 2 order columns 2022-09-30 10:54:33 +02:00
Julie Plantey
360f1d4593 fix more e2e tests 2022-09-22 17:30:28 +02:00
Julie Plantey
04fe7f84be fix e2e tests 2022-09-22 14:20:04 +02:00
Julie Plantey
c407c20d05 fix xtoOne + conditions to enbale fetch + count label 2022-09-22 14:01:56 +02:00
Pierre Noël
3f72ff3a73 Merge branch 'main' into feature/relations-main-view 2022-09-08 15:41:31 +02:00
Pierre Noël
ea35195ea1 fix no relations return for find available when no relations are set 2022-09-08 11:10:57 +02:00
Pierre Noël
fb666bc22e fix tests 2022-09-07 15:46:15 +02:00
Pierre Noël
5c8bac1a40 change populate params for all CM actions responses 2022-09-07 11:43:01 +02:00
Pierre Noël
ba401b93f4
Merge pull request #14244 from strapi/relations-main-view/get-entity-with-count
Relations main view/get entity with count
2022-09-06 17:07:16 +02:00
Pierre Noël
e3996ea2d6 check field existance before permission 2022-09-06 15:10:08 +02:00
Pierre Noël
3ff32e91eb use entityService + redo permissions 2022-09-06 12:17:54 +02:00
Pierre Noël
247499dd8a add tests 2022-09-06 12:17:54 +02:00
Pierre Noël
1958e08559 replace previewMany by getExistingRelations 2022-09-06 12:17:54 +02:00
Pierre Noël
d29aed4530 fix deepPopulate 2022-09-06 12:17:37 +02:00
Pierre Noël
43b99db451 add e2e tests for CM findOne 2022-09-06 12:17:37 +02:00
Pierre Noël
60a7fb082f count many relations on CM findOne 2022-09-06 12:17:37 +02:00
Alexandre Bodin
eab835e301 Fix eslint content-manager 2022-09-05 16:20:47 +02:00
Pierre Noël
29376f8113
Merge pull request #14014 from strapi/relations-main-view/find-new-relations
refactor relation findNew route
2022-09-01 11:11:06 +02:00
Gustav Hansen
4e8d012b3d Merge branch 'main' into feature/relations-main-view 2022-08-31 17:47:38 +02:00
Gustav Hansen
45ff887a21 chore: Update backend snapshot tests 2022-08-30 15:44:12 +02:00
Pierre Noël
be7c669bed apply feeback 2022-08-30 15:12:07 +02:00
Pierre Noël
bf807f1ddf use containsi for _q param 2022-08-30 15:12:07 +02:00
Pierre Noël
c0239cd68c use where. 2022-08-30 15:12:06 +02:00
Pierre Noël
9d23799b5d use transformParamsToQuery 2022-08-30 15:12:06 +02:00
Pierre Noël
796350533e use entity manager 2022-08-30 15:12:06 +02:00
Pierre Noël
b4f6c87fd4 avoid using db metadata 2022-08-30 15:12:05 +02:00
Pierre Noël
c84ad063bb fix permission + simplify test 2022-08-30 15:12:05 +02:00
Pierre Noël
35a13433f0 fix some linter errors 2022-08-30 15:12:04 +02:00
Pierre Noël
73f85a7c08 renaming + add permission check on entity 2022-08-30 15:12:04 +02:00
Pierre Noël
aa496ff4a7 handle i18n dimension 2022-08-30 15:12:04 +02:00
Pierre Noël
8dfa1c70d1 add e2e tests 2022-08-30 15:12:03 +02:00
Pierre Noël
7f521c9348 refactor relation findNew route 2022-08-30 15:12:03 +02:00
Gustav Hansen
c010656521 Merge branch 'main' into feature/relations-main-view 2022-08-30 09:40:49 +02:00
Jose Gomez
39b8ece5c9 Check if the current time matches the selected interval 2022-08-24 12:42:08 +02:00
Jose Gomez
f30fd3e812 Fix lint errors 2022-08-24 12:42:08 +02:00
Jose Gomez
612112e499 Add step input for datetime/time fields 2022-08-24 12:42:07 +02:00
Gustav Hansen
a024a40d1a Merge branch 'main' into feature/relations-main-view 2022-08-22 09:28:39 +02:00
markkaylor
a8ff3aef2f
Merge pull request #13901 from ihmpavel/unify-template-variables-spacing
chore: Unify template spacing
2022-08-16 09:20:37 +02:00
Pierre Noël
76fd68a934 Merge branch 'master' into feature/relations-main-view 2022-08-11 16:42:27 +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
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
b307069465 Populate folder for media for findOne in CM 2022-08-09 17:53:47 +02:00