51 Commits

Author SHA1 Message Date
ivanThePleasant
f8ac76491f Convert all server events to new format, refactor admin events userAdminId, refactor tests 2022-08-11 15:56:39 +03:00
ivanThePleasant
7291d2e6cf Change user hashing to be a service on admin, introduce adminUserId property to the send function, refactor several events 2022-08-09 12:20:25 +03:00
Pierre Noël
acb6ceae15 add backend telemetry events in ML 2022-07-13 13:29:12 +02:00
Gustav Hansen
4fcb38d53d Merge branch 'master' into features/ML-folder 2022-07-05 12:53:51 +02:00
Pierre Noël
87056ebd87 allow the query params for GET folder 2022-06-14 09:32:45 +01:00
Pierre Noël
ab2406b93d fix sql concat call 2022-06-13 09:19:18 +01:00
Pierre Noël
1e66f567f8 change folder uid for pathId 2022-06-13 09:16:26 +01:00
Pierre Noël
71f43f0f7a use a transaction for bulk move 2022-05-23 14:31:05 +02:00
Pierre Noël
b7e82614f6 remove pagination on GET /folders 2022-05-20 10:25:58 +02:00
Pierre Noël
eb2ec33426 default populate files 2022-05-19 17:17:06 +02:00
Pierre Noël
6d5ab53f2f add findOne route for folders 2022-05-19 10:52:32 +02:00
Pierre Noël
c3265a74d3 add test move folder inside itself 2022-05-17 11:54:28 +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
34372daf8b add bulk move route 2022-05-06 10:09:01 +02:00
Pierre Noël
c4ce0b56dc add update folder route 2022-05-05 14:50:56 +02:00
Pierre Noël
d724b1a1f6 set correct path for duplicate create error 2022-05-04 16:55:21 +02:00
Pierre Noël
d1c3caf85c add bulk-delete route 2022-04-29 15:56:19 +02:00
Pierre Noël
de2a03268a change tree to folder-structure + fix test 2022-04-25 14:37:59 +02:00
Pierre Noël
52a2a41664 code cleaning 2022-04-25 14:37:59 +02:00
Pierre Noël
ecbf419c3c add tree route 2022-04-25 14:37:58 +02:00
Pierre Noël
041f2f6eb3 apply feedback 2022-04-12 16:32:05 +02:00
Pierre Noël
cfa968c537 sanitize files for the content-api 2022-04-12 16:07:54 +02:00
Pierre Noël
d0bf7310b3 replace path by location + add location to files 2022-04-12 16:07:54 +02:00
Pierre Noël
a1c441e8bf remove path for files + add base for delete folders 2022-04-12 16:07:53 +02:00
Pierre Noël
a44e2cd25e add ability to set and change file folder location 2022-04-12 16:07:53 +02:00
Pierre Noël
fd5d1c2fdc forbid folder name starting or ending with a whitespace 2022-04-12 16:07:52 +02:00
Pierre Noël
94308aa2bc restructure upload controllers + add create and get folders 2022-04-12 16:07:51 +02:00
Jorge Rambla
9ea086aea5
REMOVE count method from upload controller 2022-04-12 11:11:05 +02:00
harimkims
32e4aec852 Refactor code to run the query only when necessary 2021-12-22 17:58:22 +09:00
harimkims
84130ab541 Fix unable to delete an image from the media-library
Signed-off-by: harimkims <harimkims@gmail.com>
2021-12-22 09:35:00 +09:00
Marvin Frachet
ada4fdec18
Fix ML feebacks from QA (#11495) 2021-11-08 13:59:36 +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
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
Dieter Stinglhamber
7e89f091da remove count route from the upload plugin 2021-10-21 14:33:22 +02:00
Marvin Frachet
4b311e777c Add Delete an asset call to the ML (#11186) 2021-10-19 11:26:35 +02:00
Alexandre Bodin
5f5895e8b5 Make sure the results are sanitized 2021-10-07 18:05:06 +02:00
Alexandre Bodin
7676bf8890 Move ML find many to find page 2021-10-07 17:23:42 +02:00
Pierre Noël
6fe8c51df2 remove search admin route for upload plugin 2021-09-27 11:08:48 +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
Alexandre Bodin
c5f9d16105 Rename creator fields 2021-09-22 17:06:16 +02:00
Alexandre Bodin
566805c8ae Update test on /api 2021-09-07 21:29:34 +02:00
Alexandre Bodin
575cbbdc7c Migrate plugin getters 2021-08-19 23:30:49 +02:00
Pierre Noël
98719b6c64 migrate plugin structures to V4 2021-08-19 16:49:33 +02:00
Pierre Noël
f4981dd8e7 Merge branch 'v4/backend' into pluginAPI/loadPlugin 2021-08-10 15:33:06 +02:00