31 Commits

Author SHA1 Message Date
Jamie Howard
37d14ac49b test(content-manager): basic-dz api 2022-11-10 11:55:01 +00:00
Jamie Howard
6add2542e9 Merge branch 'main' into fix/relations/rel-error-handling 2022-11-09 16:11:07 +00:00
Jamie Howard
f8f330d2e6 chore: test organisation
fix: relations existence checks
2022-11-09 15:08:06 +00: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
6f24dda45b add relation test for the admin api 2022-10-24 12:54:27 +02:00
Pierre Noël
4ee9757ec3 also count xToOne relations in CM findOne 2022-10-17 18:44:33 +02:00
Pierre Noël
be5e6ebc05 Merge branch 'feature/relations-main-view' into relations-main-view/refactor-find-existing-find-available 2022-10-11 12:38:04 +02:00
Pierre Noël
1200e43618 update tests using findExisting relations 2022-10-10 14:42:22 +02:00
Pierre Noël
bd82249ab6 fix xToOne relations + finish e2e tests 2022-10-10 14:28:57 +02:00
Pierre Noël
8f73a1d761 use data format + init e2e tests 2022-10-10 14:28:56 +02:00
Pierre Noël
fb666bc22e fix tests 2022-09-07 15:46:15 +02:00
Pierre Noël
ba401b93f4
Merge pull request #14244 from strapi/relations-main-view/get-entity-with-count
Relations main view/get entity with count
2022-09-06 17:07:16 +02:00
Pierre Noël
247499dd8a add tests 2022-09-06 12:17:54 +02:00
Pierre Noël
43b99db451 add e2e tests for CM findOne 2022-09-06 12:17:37 +02:00
Alexandre BODIN
2a9050d0d7
Merge pull request #14017 from strapi/chore/use-eslint-config
Chore/use eslint config
2022-08-11 16:19:29 +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
c115e268cb update test 2022-08-09 12:26:54 +02:00
Pierre Noël
952bca2dce better handle populating dz 2022-07-26 17:13:59 +02:00
Convly
b11623d365 Allow setting CT's config from the CTB services 2022-05-10 06:58:25 +02:00
Gustav Hansen
8aaaff77d4 Chore: Prettify all files 2022-03-29 14:20:41 +02:00
Alexandre Bodin
6a9db23311 Fix sanitize media 2022-03-08 17:45:31 +01:00
soupette
d1d0214be7 Fix conflicts
Signed-off-by: soupette <cyril@strapi.io>
2022-03-02 10:08:55 +01:00
Convly
9b1f3ca1ae Add first set of tests for the populate filtering 2022-02-25 15:16:26 +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
b58274aecb refactor error handling 2021-11-04 11:41:29 +01:00
Pierre Noël
7a82d023fb rename name to displayName 2021-11-02 18:29:17 +01:00
Pierre Noël
6fd9f780c7 Merge branch 'v4/ctb' into v4/plural-name-in-CTB 2021-10-22 12:33:48 +02:00
Alexandre Bodin
7cf05bfb10 Move CM files into the new structure 2021-09-24 09:04:44 +02:00