Pierre Noël
4ee9757ec3
also count xToOne relations in CM findOne
2022-10-17 18:44:33 +02:00
Pierre Noël
0415f5d677
add getNumberOfDraftRelations route
2022-10-10 14:28:54 +02:00
Pierre Noël
5021f99392
add and use utils isXtoX
2022-10-03 18:54:13 +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
d29aed4530
fix deepPopulate
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
cf49ddbbfc
Prettier and backend fix
2022-08-11 10:20:49 +02:00
Pierre Noël
b307069465
Populate folder for media for findOne in CM
2022-08-09 17:53:47 +02:00
Pierre Noël
0f7c73243f
Merge branch 'master' into features/ML-folder
2022-06-01 18:00:51 +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
Pierre Noël
9d59305b0f
Fix loading time when opening an entity with many related entities
2022-03-04 16:49:22 +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
Alexandre Bodin
58e4deadb6
Update updatedBy on publish / unpublish actions in the CM
2021-11-18 16:13:28 +01:00
Convly
25e62db93a
use 'sanitizers' instead of 'utils'
2021-11-10 17:08:54 +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
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
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
d35e381f6f
fix localizations counted in CM
2021-09-27 11:08:49 +02:00
Pierre Noël
0f123ceb39
fix RBAC
2021-09-27 11:08:48 +02:00
Alexandre Bodin
7cf05bfb10
Move CM files into the new structure
2021-09-24 09:04:44 +02:00