1233 Commits

Author SHA1 Message Date
Alexandre Bodin
9aa9837a4c split i18n routes 2021-09-07 15:11:07 +02:00
Alexandre Bodin
fe5776258d Fix get routes u&p 2021-09-07 15:11:06 +02:00
Alexandre Bodin
13110994f9 Use router middleware to add i18n middlewares 2021-09-07 15:11:06 +02:00
Alexandre Bodin
d4eef8ea75 Add some lazy loading 2021-09-07 15:11:05 +02:00
Alexandre Bodin
4349d6b822 Init new routing layer 2021-09-07 15:11:04 +02:00
soupette
b7f521603e Fix conflicts
Signed-off-by: soupette <cyril@strapi.io>
2021-09-07 13:55:15 +02:00
Jean-Sébastien Herbaux
2b715a6ee9
V4/graphql configuration (#10896)
* Use a scalar to register the i18n locale arg

* Remove useless files & comments

* Use custom config for apollo server & the pagination (better handling of pagination)

* Fix missing strapi variable being transmitted to wrapResolvers/parseMiddlewares

* PR review comments
2021-09-07 11:23:49 +02:00
Convly
e2be869d3b Merge branch 'releases/v4' into v4/graphql-schema-generation-refactor 2021-09-07 11:22:43 +02:00
cyril lopez
13fb791c67
Merge pull request #10893 from strapi/ds-migration/roles-list-header
[v4] migrate roles page header
2021-09-07 10:35:53 +02:00
Mark Kaylor
8891295614 add check permissions 2021-09-07 10:12:37 +02:00
cyril lopez
298ac07160
Merge pull request #10892 from strapi/ds-migration/roles-edit-structure
[v4] Create users-permissions edit role page structure
2021-09-07 09:28:18 +02:00
Mark Kaylor
1389a447c2 migrate roles page header 2021-09-06 20:30:25 +02:00
Rémi de Juvigny
2d75077d01 Add snapshot test 2021-09-06 19:03:08 +02:00
Rémi de Juvigny
714b23273b Create users-permissions edit role page structure 2021-09-06 14:23:40 +02:00
soupette
0f08ab54d1 Fix conflicts
Signed-off-by: soupette <cyril@strapi.io>
2021-09-06 14:03:37 +02:00
bulby97
2e24f87b4c Fix review issues 2021-09-03 16:03:47 +02:00
Convly
e76e7462b7 Merge branch 'releases/v4' into v4/graphql-schema-generation-refactor 2021-09-01 14:10:10 +02:00
Jean-Sébastien Herbaux
357fd163b0
V4/graphql customization (#10850)
* Add basic implementation for the graphql extension service

* Add createPolicyContext in @strapi/utils

* policiesMiddleware implementation for graphql

* wrapResolvers first implementation (authentication, middlewares, policies)

* move the content API schema build from /generators to /content-api. Extract types' register functions into a dedicated folder

* fix schema generation on bootstrap

* update the graphql service file to match new services arch

* fix single type queries

* simplify entity's resolver

* use apollo graphql conventions for resolver's args naming

* use the graphql extension system in i18n to add a locale arg to localized queries & mutations
2021-09-01 12:06:51 +02:00
soupette
54429517a9 Add tests
Signed-off-by: soupette <cyril@strapi.io>
2021-09-01 07:55:48 +02:00
Alexandre Bodin
960578133f Cleanup parse multipart 2021-08-31 19:31:28 +02:00
Alexandre Bodin
8522ef7dfd Add Api load with modules container 2021-08-30 17:02:40 +02:00
Alexandre Bodin
4be69e8bde Init new API loading 2021-08-30 17:02:40 +02:00
soupette
3ef754a64b Upgrade parts
Signed-off-by: soupette <cyril@strapi.io>
2021-08-30 15:04:36 +02:00
soupette
a6e64e3c60 Add tests
Signed-off-by: soupette <cyril@strapi.io>
2021-08-30 11:32:36 +02:00
Pierre Noël
9362311924 add extend fn to controller registry 2021-08-30 11:00:30 +02:00
Alexandre Bodin
89b02e871e Org package to be consistent, complete package.json and add missing package files 2021-08-28 10:50:46 +02:00
soupette
f056bcfb72 Merge branch 'v4/ds-migration' of github.com:strapi/strapi into migration/providers-react-query 2021-08-27 12:30:08 +02:00
soupette
b7c70ac56c Fix PR feedback
Signed-off-by: soupette <cyril@strapi.io>
2021-08-27 12:25:19 +02:00
soupette
a560bce2fa Merge branch 'v4/ds-migration' of github.com:strapi/strapi into migration/providers-form 2021-08-27 09:45:10 +02:00
soupette
05b2db9ccb Fix tests
Signed-off-by: soupette <cyril@strapi.io>
2021-08-27 09:44:37 +02:00
soupette
79ff6adb7f Fix tests with react-query
Signed-off-by: soupette <cyril@strapi.io>
2021-08-27 09:29:37 +02:00
soupette
2e50afab2a Put with react-query
Signed-off-by: soupette <cyril@strapi.io>
2021-08-26 17:01:33 +02:00
ronronscelestes
36dd8dc7af temp 2021-08-26 16:45:49 +02:00
ronronscelestes
c0b039c3b9 replaced with axios 2021-08-26 16:22:29 +02:00
soupette
ae87bafccd Fix tests
Signed-off-by: soupette <cyril@strapi.io>
2021-08-26 15:40:17 +02:00
soupette
38b012f227 Put providers
Signed-off-by: soupette <cyril@strapi.io>
2021-08-26 15:25:10 +02:00
soupette
3e3080d5f4 Init onSubmit providers 2021-08-26 15:12:19 +02:00
soupette
c6c8bc4797 Init form with formik
Signed-off-by: soupette <cyril@strapi.io>
2021-08-26 15:04:47 +02:00
soupette
490a117826 Display form
Signed-off-by: soupette <cyril@strapi.io>
2021-08-26 12:59:56 +02:00
soupette
b1e2b4af78 Refacto providers form
Signed-off-by: soupette <cyril@strapi.io>
2021-08-26 12:08:07 +02:00
soupette
70738b0948 Init FormModal for providers
Signed-off-by: soupette <cyril@strapi.io>
2021-08-26 11:25:03 +02:00
Convly
88e63a5265 Fix mutation names 2021-08-25 17:50:27 +02:00
Convly
a50f93ff1c Merge branch 'releases/v4' into v4/graphql-schema-generation-refactor 2021-08-25 15:09:15 +02:00
Alexandre Bodin
7f30925161 Merge branch 'v4/backend' into releases/v4 2021-08-25 14:45:59 +02:00
Alexandre Bodin
1ee2d2c483 Merge branch 'master' into releases/v4 2021-08-25 14:44:32 +02:00
Convly
466161ca70 Merge branch 'v4/backend' into v4/graphql-schema-generation-refactor 2021-08-24 17:58:14 +02:00
Convly
b221633be5 Refactor graphql services architecture. Prefer using the strapi service API when possible 2021-08-24 17:56:44 +02:00
soupette
f22d20e61b Fix conflicts
Signed-off-by: soupette <cyril@strapi.io>
2021-08-24 16:13:02 +02:00
soupette
b5bfac5ab2 Fix tests
Signed-off-by: soupette <cyril@strapi.io>
2021-08-24 15:12:49 +02:00
soupette
3468cbfa35 Fix tests
Signed-off-by: soupette <cyril@strapi.io>
2021-08-24 15:12:48 +02:00