35 Commits

Author SHA1 Message Date
Jamie Howard
85ecd814c2 test(content-manager): api test for single types with locale=all 2022-12-14 15:14:53 +00:00
Pierre Noël
12f3bb794c add comment 2022-12-06 14:29:56 +01:00
Pierre Noël
09bd93e28d add test that is sensible to foreign key deadlocks 2022-12-06 14:29:56 +01:00
Alexandre Bodin
5d77a53c06 Merge branch 'main' into chore/rename-e2e-to-api 2022-11-07 16:29:37 +01:00
Alexandre Bodin
57e1eb5ee8 Move e2e to api tests and unify test command 2022-10-27 19:49:37 +02:00
Pierre Noël
1200e43618 update tests using findExisting relations 2022-10-10 14:42:22 +02:00
Pierre Noël
ff1e021aa1 fix i18n findExistingRelations tests 2022-10-04 10:54:18 +02:00
Pierre Noël
eb8d79e0c8 restructure updateRelations - connect 2022-09-30 10:54:40 +02:00
Pierre Noël
3ff32e91eb use entityService + redo permissions 2022-09-06 12:17:54 +02:00
Pierre Noël
aa496ff4a7 handle i18n dimension 2022-08-30 15:12:04 +02: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
Pierre Noël
5e9b684ce7 add bulk delete e2e test 2022-04-08 18:04:35 +02:00
Pierre Noël
d1ade9c610 add e2e test 2022-02-04 17:17:42 +01:00
harimkims
364a5f2b3d Remove old _id field 2022-01-06 20:24:35 +09:00
Kim, Harim
93de45cc2e
Add test for Content API filter by locale (#11961)
* Fix unable to filter by locale

Signed-off-by: harimkims <harimkims@gmail.com>

* Fix failed e2e test

* Revert modifying decorator test, Add locale filter key

* Revert supporting both locale, _locale format

* Replace _locale with locale

* Replace _locale params with locale in test

* Rename testing for default locale filtering

Co-authored-by: Jean-Sébastien Herbaux <jean-sebastien.herbaux@epitech.eu>
2021-12-21 13:43:25 +01:00
Pierre Noël
c6a5a047d6 Merge branch 'releases/v4' into v4/error-handling 2021-11-05 10:40:11 +01:00
Pierre Noël
db1cb3040c refactor error-handling PR 2021-11-05 10:13:43 +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
6fd9f780c7 Merge branch 'v4/ctb' into v4/plural-name-in-CTB 2021-10-22 12:33:48 +02:00
Convly
20b20a0f92 Fix e2e test for UP, i18n & upload + various i18n fixes 2021-09-27 17:17:24 +02:00
Alexandre Bodin
58e024d3ad use columnName snake casing and rename timestamp attributes 2021-09-22 17:05:30 +02:00
Pierre Noël
64940edbae CTB handles singular and plural names 2021-09-14 15:30:37 +02:00
Alexandre Bodin
575cbbdc7c Migrate plugin getters 2021-08-19 23:30:49 +02:00
Pierre Noël
18da6e2188 Merge branch 'v4/backend' into pluginAPI/loadPlugin 2021-08-09 11:06:34 +02:00
Alexandre Bodin
5b5434c001 Fix CI and some tests 2021-08-06 18:46:30 +02:00
Pierre Noël
4790e28284 refactor with module approach 2021-08-06 18:09:49 +02:00
Alexandre Bodin
ea39cb4904 I18N basic impl 2021-07-19 16:47:24 +02:00
Alexandre Bodin
81dd94c6ec Refactor all query() calls 2021-07-08 18:15:32 +02:00
Alexandre Bodin
3711ca3072 wip 2021-07-02 02:26:14 +02:00
Alexandre Bodin
fe4e355b24 Branch i18n bootstrap 2021-06-28 22:37:19 +02:00
Alexandre Bodin
5e46f2999e Remove connection 2021-06-24 09:09:29 +02:00
Alexandre Bodin
356ee09ed2 Merge branch 'master' into releases/v4 2021-06-23 18:23:54 +02:00
Alexandre Bodin
a14504e699 Init scoped packages 2021-04-29 12:03:54 +02:00