2499 Commits

Author SHA1 Message Date
Jean-Sébastien Herbaux
8276240a2f
Add the create{Type}Localization mutation to every localized content type, refactor the i18n core-api's create localization handler creation (#10909) 2021-09-08 16:38:46 +02:00
Alexandre Bodin
a14b16af51 Move admin auth to global auth system 2021-09-08 16:16:16 +02:00
soupette
c4325b4fd0 Fix tests
Signed-off-by: soupette <cyril@strapi.io>
2021-09-08 14:10:38 +02:00
Marvin Frachet
b77feb9764
I18N settings modal, creation (#10749) 2021-09-08 09:14:31 +02:00
Alexandre Bodin
88752d361f Fix tests 2021-09-07 21:54:27 +02:00
Alexandre Bodin
37bacdb691 Start fixing tests 2021-09-07 21:03:30 +02:00
Alexandre Bodin
c6c4a62d2d Cleanup layout not needed 2021-09-07 16:03:54 +02:00
Alexandre Bodin
caee87bc10 Move U&P permissions to new auth system 2021-09-07 15:11:12 +02:00
Alexandre Bodin
b0609c0d96 Make new format compatible with old permissions format in u&p 2021-09-07 15:11:11 +02:00
Alexandre Bodin
33adde77f6 Cleanup create/update role 2021-09-07 15:11:11 +02:00
Alexandre Bodin
733b5d8690 Cleanup u-p plugin 2021-09-07 15:11:10 +02:00
Alexandre Bodin
561235e7cf Refactor u-p permission syntax 2021-09-07 15:11:10 +02:00
Alexandre Bodin
7aa012da32 Init auth 2021-09-07 15:11:10 +02:00
Alexandre Bodin
3b41a627a4 split server code and init content api auth policy 2021-09-07 15:11:09 +02:00
Alexandre Bodin
0ff3269c3a Use the right api 2021-09-07 15:11:08 +02:00
Alexandre Bodin
9b268b9956 Split users-permissions routes 2021-09-07 15:11:08 +02:00
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