429 Commits

Author SHA1 Message Date
vincentbpro
73e5b672fd fix: negative limit without maxLimit (graphql) 2021-11-08 17:17:56 +01:00
Convly
16ab717fb2 Merge branch 'releases/v4' of github.com:strapi/strapi into v4/new-sanitize-fixes 2021-11-08 15:53:58 +01:00
Alexandre Bodin
42b87679bb Refactor policies to have a consistent factory API like middlewares 2021-11-08 09:33:36 +01:00
Pierre Noël
c6a5a047d6 Merge branch 'releases/v4' into v4/error-handling 2021-11-05 10:40:11 +01:00
Convly
d6516116b2 Move pipeAsync to @strapi/utils 2021-11-04 16:43:27 +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
Alexandre Bodin
8a018619ef Add /plugins list api and update description to be plain english for now 2021-11-04 12:01:49 +01:00
Pierre Noël
37500df27c fix graphql error handling 2021-11-04 11:42:45 +01:00
Pierre Noël
ec07719f3b better graphql error formatting 2021-11-04 11:42:44 +01:00
Pierre Noël
ebb124de4b change graphql error handling with originalError 2021-11-04 11:42:44 +01:00
Pierre Noël
b4c9ad0440 refacto graphql errors 2021-11-04 11:42:43 +01:00
Pierre Noël
7a82d023fb rename name to displayName 2021-11-02 18:29:17 +01:00
cyril lopez
dbb0243d43
Merge pull request #11204 from strapi/v4/ctb
[V4]: CTB migration
2021-10-26 09:06:10 +02:00
soupette
58790b682b Change icon type for menu Api
Signed-off-by: soupette <cyril@strapi.io>
2021-10-22 14:42:34 +02: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
c1aa57f436 Harmonize and make policies and middlwares more consistent 2021-10-05 10:43:24 +02:00
fdel-car
0980031778 Add watch and ce tests commands & update base front config 2021-10-04 11:54:39 +02:00
fdel-car
6b48af8a23 Ensure command consistencies & use __dirname in local configs 2021-10-01 16:43:46 +02:00
Convly
058859bc40 Handle kebab-cased content type's names 2021-09-30 15:25:33 +02:00
fdel-car
5ec3b43ef7 Update configs in packages & set rootDir in base configs 2021-09-30 15:03:29 +02:00
ivanThePleasant
fbc9dc2382 Package.json script configuration per package 2021-09-30 15:02:31 +02:00
ivanThePleasant
ee757b3276 Created base configs for front testing and unit testing, cleaned up repo root jest configs and introduced projects, added unit and front jest configs for core packages and plugins 2021-09-30 15:01:06 +02:00
Alexandre Bodin
e5a6548532 Merge branch 'releases/v4' into v4/ds-migration 2021-09-29 15:09:32 +02:00
Convly
56032ffb48 Handle case where there are no subscription defined 2021-09-29 13:51:54 +02:00
Convly
96ac7e314b Handle subscriptions in wrapResolvers 2021-09-29 13:35:26 +02:00
Convly
c1e3c41cbd Handle graphql subscriptions 2021-09-29 13:10:33 +02:00
Alexandre BODIN
79dfa0fccf
Merge pull request #11111 from strapi/v4/harmonizing-lifecycle-functions-calls
Use { strapi } as params in all lifecycle functions
2021-09-29 09:38:04 +02:00
Alexandre Bodin
f55276cc73 Merge branch 'releases/v4' into v4/ds-migration 2021-09-28 18:21:21 +02:00
Convly
36adcfe8e4 Update the component's filters input typename to avoid conflict with ct's ones 2021-09-28 17:03:35 +02:00
Pierre Noël
947981200b use { strapi } as params in all lifecycle functions 2021-09-28 16:54:07 +02:00
Convly
9276479f72 Enable inplace updates for components 2021-09-28 14:59:14 +02:00
Convly
6a0d3a859c Add RelationResponseCollection & fix pagination 2021-09-28 12:02:26 +02:00
Convly
667c29bd3a Fix upload & gql-crud e2e tests 2021-09-28 11:11:03 +02:00
Alexandre Bodin
dd9543147c Fix different version break frontend tests 2021-09-28 10:34:14 +02:00
Convly
20b20a0f92 Fix e2e test for UP, i18n & upload + various i18n fixes 2021-09-27 17:17:24 +02:00
Convly
ef3650f073 Merge branch 'releases/v4' into v4/graphql-schema-generation-refactor 2021-09-27 10:33:31 +02:00
Alexandre Bodin
d2e523d942 Upgrade @strapi/strapi dependencies 2021-09-27 08:30:11 +02:00
Convly
33a822a347 Fix ignored pagination for associations (gql) 2021-09-24 16:31:57 +02:00
Convly
892c0dc300 Fix broken lint 2021-09-23 18:13:06 +02:00
Convly
74aee6f2d2 Remove old tests (will add more later) 2021-09-23 18:06:43 +02:00
Convly
4737eff9f9 Fix PR review comments 2021-09-23 17:25:25 +02:00
Convly
fa7467dbf8 Remove typo 2021-09-23 16:35:59 +02:00
Alexandre Bodin
94d6abafaa Use strapi-admin as reference to load frontend of the plugins 2021-09-23 14:33:19 +02:00
Convly
9718ce1c52 Fix lint issues 2021-09-23 14:26:31 +02:00
Alexandre Bodin
f2f485ff17 Add strapi-admin.js 2021-09-23 11:24:15 +02:00
Convly
033d3274d2 Merge branch 'releases/v4' into v4/graphql-schema-generation-refactor 2021-09-23 10:05:31 +02:00
Alexandre Bodin
c5f9d16105 Rename creator fields 2021-09-22 17:06:16 +02:00
Convly
c31478b01d Add possibility to disable fields in the graphql shadow crud 2021-09-22 16:52:45 +02:00
Convly
c38b1a0de9 integrate with new entity service params 2021-09-22 15:15:03 +02:00
Convly
6415624168 Use format services for return types in queries & mutationsé 2021-09-22 14:39:36 +02:00