69 Commits

Author SHA1 Message Date
Bassel Kanso
94b1ae4c70 Merge branch 'master' into features/api-token-v2 2022-08-04 14:11:28 +03:00
Jean-Sébastien Herbaux
ce6c3f911e
Merge pull request #13855 from strapi/fix/dz-populate-same-field-name
Better handle populating of dynamic-zones
2022-08-01 11:31:04 +02:00
Pierre Noël
952bca2dce better handle populating dz 2022-07-26 17:13:59 +02:00
Pierre Noël
c7e522ef1f Merge branch 'master' into features/ML-folder 2022-07-13 13:28:28 +02:00
Alex V
89a8f91773 Make updateContentTypeConfiguration endpoint return full data (contentType and components)
Fix issue 13675
2022-07-02 23:28:40 +09:00
Pierre Noël
89db9b6be8 fix count 2022-06-13 09:22:25 +01:00
Pierre Noël
0f7c73243f Merge branch 'master' into features/ML-folder 2022-06-01 18:00:51 +02:00
Gustav Hansen
bf32846a12 Merge branch 'master' into features/ML-folder 2022-05-30 10:47:27 +02:00
Pierre Noël
b7e82614f6 remove pagination on GET /folders 2022-05-20 10:25:58 +02:00
Pierre Noël
2982fa781e remove limit on deep populate on components 2022-05-16 14:47:58 +02:00
Convly
b11623d365 Allow setting CT's config from the CTB services 2022-05-10 06:58:25 +02:00
Pierre Noël
8abc6a73cb apply feedback 2022-04-28 13:29:04 +02:00
Pierre Noël
ca708d3f4d fix date unit test 2022-04-12 15:36:20 +02:00
Gustav Hansen
8aaaff77d4 Chore: Prettify all files 2022-03-29 14:20:41 +02:00
DMehaffy
086c449fbe
Merge pull request #12690 from strapi/fix/edit-relations-restart
CM: Fix sync layouts in case no relation is set
2022-03-08 10:37:13 -07:00
derrickmehaffy
d309628644 Merge branch 'master' into fix/edit-relations-restart 2022-03-08 09:53:49 -07:00
Alexandre Bodin
6a9db23311 Fix sanitize media 2022-03-08 17:45:31 +01:00
Pierre Noël
9d59305b0f Fix loading time when opening an entity with many related entities 2022-03-04 16:49:22 +01:00
soupette
d1d0214be7 Fix conflicts
Signed-off-by: soupette <cyril@strapi.io>
2022-03-02 10:08:55 +01:00
Alexandre BODIN
e764f35dd2
Merge pull request #12579 from strapi/fix/populate-with-filtering
Fix the populate filtering
2022-03-01 13:32:38 +01:00
Gustav Hansen
64d31b8bac CM: Fix sync layouts in case no relation is set 2022-02-28 16:21:56 +01:00
Gustav Hansen
e88cce8924 CM: Add e2e test for resetted relations after server restart 2022-02-28 13:11:46 +01:00
Convly
9b1f3ca1ae Add first set of tests for the populate filtering 2022-02-25 15:16:26 +01:00
Gustav Hansen
fb9cbc1a23
Merge pull request #12609 from strapi/CONTENT-10/e2e-tests
CM: Add e2e tests for layout updates
2022-02-23 14:31:21 +01:00
Gustav Hansen
f136552d8d Refactor test to utilize lodash.merge 2022-02-23 13:20:38 +01:00
Gustav Hansen
28a526b0a6 Refactor test to be more readable and compare the whole layout 2022-02-22 12:47:09 +01:00
Gustav Hansen
1d87a6dc52 CM: Add e2e tests for layout updates
Co-authored-by: Pierre Noël <pierre.noel@strapi.io>
2022-02-21 12:42:12 +01:00
Pierre Noël
97e8d7da3a remove unecessary code 2022-02-18 15:47:13 +01:00
Gustav Hansen
26e275e9fe CM: Fix changed field sizes during the bootstrap process 2022-02-18 11:34:27 +01:00
Pierre Noël
0dba1fc644 allow components in the list view 2022-01-10 12:06:36 +01:00
Alexandre Bodin
95935bbd2c Pass entity down to the validatCreation for publish and handle undefined value 2021-11-29 19:22:49 +01:00
Dieter Stinglhamber
2e4acfcd2d uncomment assertions 2021-11-25 09:09:13 +01:00
Dieter Stinglhamber
0d76556491 update e2e tests 2021-11-24 16:20:57 +01:00
Alexandre Bodin
997882c526 Update tests accordingly 2021-11-18 16:46:07 +01:00
Alexandre Bodin
58e4deadb6 Update updatedBy on publish / unpublish actions in the CM 2021-11-18 16:13:28 +01:00
Alexandre Bodin
3bc73a28c0 Add createdAt and updatedAt back into the CM layouts and metas 2021-11-15 19:26:56 +01:00
Alexandre BODIN
f4facb654b
Merge pull request #11475 from strapi/v4/new-sanitize-fixes
[V4] Enhancements for the new sanitize processes
2021-11-12 14:52:47 +01:00
Convly
25e62db93a use 'sanitizers' instead of 'utils' 2021-11-10 17:08:54 +01:00
Convly
07fef39592 Merge branch 'releases/v4' of github.com:strapi/strapi into v4/up-resolvers-picker-fix 2021-11-09 18:38:20 +01:00
Convly
16ab717fb2 Merge branch 'releases/v4' of github.com:strapi/strapi into v4/new-sanitize-fixes 2021-11-08 15:53:58 +01:00
Convly
8d4f8ddd57 Simplify & abstract common sanitize logic 2021-11-08 15:52:42 +01:00
Alexandre Bodin
42b87679bb Refactor policies to have a consistent factory API like middlewares 2021-11-08 09:33:36 +01:00
Pierre Noël
c6a5a047d6 Merge branch 'releases/v4' into v4/error-handling 2021-11-05 10:40:11 +01:00
Convly
7c560e3b94 Move the eventHub sanitize logic to the eventHub declaration 2021-11-05 10:36:10 +01:00
Convly
d6516116b2 Move pipeAsync to @strapi/utils 2021-11-04 16:43:27 +01:00
Jean-Sébastien Herbaux
7f285fb755
[V4] Enhanced sanitize & remove restricted relations from content API's payloads (#11411)
* Rework sanitizeEntity, first iteration

* remove console.log

* Remove useless comments

* Fix e2e tests

* Fix up user e2e test

* Fix remove-restricted-relations visitor

* Handle grapqhql resolver, prevent access to restricted relations

* Handle polymorphic relation in the related visitor

* Remove morph attribute if empty

* Use only the find action to check if the relation is allowed
2021-11-04 15:47:53 +01:00
Convly
14d6a5b2c4 Fix users-permissions user controllers permissions 2021-11-04 15:18:09 +01:00
Pierre Noël
cb098ec280 clean yup validations 2021-11-04 11:42:45 +01:00
Pierre Noël
b4c9ad0440 refacto graphql errors 2021-11-04 11:42:43 +01:00
Pierre Noël
b58274aecb refactor error handling 2021-11-04 11:41:29 +01:00