19 Commits

Author SHA1 Message Date
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
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
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
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
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
3bc73a28c0 Add createdAt and updatedAt back into the CM layouts and metas 2021-11-15 19:26:56 +01:00
Pierre Noël
c6a5a047d6 Merge branch 'releases/v4' into v4/error-handling 2021-11-05 10:40:11 +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
Pierre Noël
b58274aecb refactor error handling 2021-11-04 11:41:29 +01:00
Pierre Noël
7a82d023fb rename name to displayName 2021-11-02 18:29:17 +01:00
Pierre Noël
6fd9f780c7 Merge branch 'v4/ctb' into v4/plural-name-in-CTB 2021-10-22 12:33:48 +02:00
Alexandre Bodin
7cf05bfb10 Move CM files into the new structure 2021-09-24 09:04:44 +02:00