24 Commits

Author SHA1 Message Date
ivanThePleasant
b5c98ae0cd Refactor event calls to follow old format, encapsulate hashing in the sender, refactor the format of event payload to better correspond to the new api 2022-09-02 14:43:51 +03:00
Alexandre Bodin
cf49ddbbfc Prettier and backend fix 2022-08-11 10:20:49 +02:00
Alexandre Bodin
0ae14c06cb 1st fix pass 2022-08-11 10:20:48 +02:00
harimkims
e918293fc4 Update sanitizer mocking in i18n test 2022-05-07 17:27:15 +09:00
chisus
f6c01bd013 Add fake container to pass i18n unit test 2022-04-21 01:04:18 +09:00
Pierre Noël
db4e56af07 fix unit tests 2022-02-23 10:31:33 +01:00
Pierre Noël
f802db69d5 populate nested images for getNonLocalisedFields 2022-02-22 19:31:25 +01:00
Pierre Noël
d1ade9c610 add e2e test 2022-02-04 17:17:42 +01:00
Pierre Noël
909e29b9f9 remove scalar attributes from populate 2022-02-04 17:17:41 +01:00
Pierre Noël
ef3bc08521 add non-localized compo and dz in /get-non-localized-fields response 2022-02-04 17:17:41 +01:00
Pierre Noël
d581c43349 add non-localized media in /get-non-localized-fields response 2022-02-04 17:17:41 +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
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
Alexandre Bodin
c5f9d16105 Rename creator fields 2021-09-22 17:06:16 +02:00
Alexandre Bodin
fe85273301 Move published_at to publishedAt in frontend 2021-09-22 17:06:15 +02:00
Alexandre Bodin
9f337272f1 Refacto entity service API to be more consistent with the DB layer 2021-09-21 17:22:17 +02:00
Alexandre Bodin
13110994f9 Use router middleware to add i18n middlewares 2021-09-07 15:11:06 +02:00
Pierre Noël
4790e28284 refactor with module approach 2021-08-06 18:09:49 +02:00
Pierre Noël
ed050471d7 fix unit tests 2021-08-02 18:47:45 +02:00
Pierre Noël
eabe72f92e WIP 2021-07-26 16:59:59 +02:00
Pierre Noël
1ac226b962 WIP 2021-07-08 11:20:13 +02:00
Pierre Noël
323bf21f43 wip 2021-06-09 18:10:44 +02:00