18 Commits

Author SHA1 Message Date
nathan-pichon
2f1b44db8a
fix(upload): add populate query to findOne method 2023-01-18 17:23:14 +01:00
WalkingPizza
544b1258dd Properly flag that upload has multiple files 2022-08-08 15:26:09 +02:00
WalkingPizza
4e1d735803 Generate a fileInfo array on when necessary 2022-08-08 15:08:26 +02:00
WalkingPizza
073e6cc3be Generate fileInfo for every file when uploading in bulk 2022-08-08 15:00:12 +02:00
Gustav Hansen
4fcb38d53d Merge branch 'master' into features/ML-folder 2022-07-05 12:53:51 +02:00
Pierre Noël
5402209c9f make folderPath and folder fields private 2022-05-17 11:54:27 +02:00
Pierre Noël
922ade1619 files uploaded through the content API go in a specific folder 2022-05-17 11:54:26 +02:00
Pierre Noël
8d5fe3b431 apply feedback 2022-05-13 16:10:18 +02:00
Pierre Noël
8abc6a73cb apply feedback 2022-04-28 13:29:04 +02:00
Pierre Noël
9c3dcfecbc sanitize files for the content-api 2022-04-28 13:29:04 +02:00
Pierre Noël
4ee7519b4f restructure upload controllers + add create and get folders 2022-04-28 13:29:00 +02:00
Jorge Rambla
9ea086aea5
REMOVE count method from upload controller 2022-04-12 11:11:05 +02: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
Alexandre Bodin
7676bf8890 Move ML find many to find page 2021-10-07 17:23:42 +02:00
Pierre Noël
0f123ceb39 fix RBAC 2021-09-27 11:08:48 +02:00
Pierre Noël
d02c7ab741 Use new filters format in the upload plugin 2021-09-27 11:08:47 +02:00