25 Commits

Author SHA1 Message Date
Tim Izzo
c7cc3d72e3 Move import-default to utils package 2022-10-17 14:51:19 +02:00
WalkingPizza
41ec9596ed Automatically convert plugin name to kebab-case 2022-03-28 11:17:49 +02:00
Pierre Noël
fdc60b86ce replace urlJoin by joinBy 2022-03-15 11:51:43 +01:00
Pierre Noël
c0fb7619ef rename toGraphQLName + check enum values don't start with a number 2022-03-03 16:35:41 +01:00
Pierre Noël
e85cfe73f0 allow special characters in an enum 2022-03-03 16:35:41 +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
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
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
Alexandre Bodin
edbad96c2c Remove old query params and remove _where occurences 2021-10-11 21:05:23 +02:00
Convly
10be2a5e65 Merge branch 'releases/v4' into v4/graphql-schema-generation-refactor 2021-09-27 17:19:22 +02:00
Pierre Noël
491a662692 clean some code 2021-09-27 12:28:17 +02:00
Convly
e2be869d3b Merge branch 'releases/v4' into v4/graphql-schema-generation-refactor 2021-09-07 11:22:43 +02:00
Convly
e76e7462b7 Merge branch 'releases/v4' into v4/graphql-schema-generation-refactor 2021-09-01 14:10:10 +02:00
Alexandre Bodin
3784cc5b5e Implement rest api populate syntax and Init refactor convert query params for v4 2021-08-31 19:31:29 +02:00
Pierre Noël
9362311924 add extend fn to controller registry 2021-08-30 11:00:30 +02:00
Convly
40c93fe6c6 Merge branch 'v4/backend' into v4/graphql-schema-generation-refactor 2021-08-23 16:11:57 +02:00
Pierre Noël
09945a46df fixes 2021-08-20 15:23:02 +02:00
Convly
02785294f4 Handle pagination, sort & rework + polymorphic relation update 2021-07-30 11:44:26 +02:00
Alexandre Bodin
3711ca3072 wip 2021-07-02 02:26:14 +02:00
Jean-Sébastien Herbaux
6d9d8ab1ef
Add @strapi/logger (#10340)
* Add @strapi/logger package using winstonjs

* Fix logger require in Strapi.js

* Rework default configuration. Exports custom formats

* Simplify logger middleware
2021-05-20 08:55:18 +02:00
Alexandre Bodin
a14504e699 Init scoped packages 2021-04-29 12:03:54 +02:00