96 Commits

Author SHA1 Message Date
Alexandre Bodin
f55276cc73 Merge branch 'releases/v4' into v4/ds-migration 2021-09-28 18:21:21 +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
Pierre Noël
b5e2ddfc3b add count feature inside populate field of content-api 2021-09-27 11:08:48 +02:00
Pierre Noël
0f123ceb39 fix RBAC 2021-09-27 11:08:48 +02:00
Convly
ef3650f073 Merge branch 'releases/v4' into v4/graphql-schema-generation-refactor 2021-09-27 10:33:31 +02:00
Alexandre Bodin
4eabcc57c0 Update @strapi/utils dependencies 2021-09-27 08:30:10 +02:00
Alexandre Bodin
c9f1cc6977 Fix sanitze-entity components missing 2021-09-27 08:29:15 +02:00
Alexandre Bodin
c1369c7960 Fix sanitizeEntity 2021-09-24 18:52:49 +02:00
Dieter Stinglhamber
3c1dcbe76d refactor policy API 2021-09-24 09:35:25 +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
Alexandre Bodin
fe85273301 Move published_at to publishedAt in frontend 2021-09-22 17:06:15 +02:00
Alexandre Bodin
58e024d3ad use columnName snake casing and rename timestamp attributes 2021-09-22 17:05:30 +02:00
Convly
8b139ec162 Merge branch 'releases/v4' into v4/graphql-schema-generation-refactor 2021-09-22 10:48:29 +02:00
Alexandre Bodin
0f3f984ea7 Init migration v4
- Hooks registry
- D&P CT migrations
- i18N CT migrations
- Umzug with js / sql migrations
- Eslint updates
2021-09-13 12:03:12 +02:00
Convly
7059686635 Fix pagination (ensureMaxValues) 2021-09-07 16:49:55 +02:00
Convly
cb8322c798 Fix pagination (ensureMaxValues) 2021-09-07 16:49:20 +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
Alexandre Bodin
23f7cdb7fa Fix typos 2021-09-01 21:13:23 +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
Alexandre Bodin
7eaa8ae95e Handle sort query param 2021-08-31 19:31:31 +02:00
Alexandre Bodin
df6b7eca1a Implement fields convert query params 2021-08-31 19:31:30 +02:00
Alexandre Bodin
d6dabb6b02 Support booleans for nested populates 2021-08-31 19:31:30 +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
Alexandre Bodin
86961318f0 Init populate parsing 2021-08-31 19:31:29 +02:00
Alexandre Bodin
960578133f Cleanup parse multipart 2021-08-31 19:31:28 +02:00
Alexandre Bodin
44cf9e161a Load api policies 2021-08-30 17:02:41 +02:00
Pierre Noël
9a2fe3c715 fix policy test 2021-08-30 11:00:31 +02:00
Pierre Noël
9362311924 add extend fn to controller registry 2021-08-30 11:00:30 +02:00
Alexandre Bodin
8f5cb90863 Migrate admin policies 2021-08-25 15:16:17 +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
Alexandre Bodin
03ba7cf3d9 Migrate loaders and cleanups 2021-08-24 17:56:49 +02:00
Alexandre Bodin
f4a4e2ce26 Move routes to js when possible and refactor policies to be objects 2021-08-24 13:59:43 +02:00
Alexandre Bodin
3de76e484c Start to do some cleanup 2021-08-23 21:50:13 +02:00
Convly
40c93fe6c6 Merge branch 'v4/backend' into v4/graphql-schema-generation-refactor 2021-08-23 16:11:57 +02:00
Alexandre Bodin
1350b1cc92 Merge branch 'releases/v4' into pluginAPI/loadPlugin 2021-08-23 14:23:51 +02:00
Alexandre Bodin
ba8d082188 Cleanup sort 2021-08-23 10:51:32 +02:00
Pierre Noël
bc56be3560 Merge branch 'pluginAPI/loadPlugin' of github.com:strapi/strapi into pluginAPI/loadPlugin 2021-08-20 16:32:14 +02:00
Pierre Noël
09945a46df fixes 2021-08-20 15:23:02 +02:00
Alexandre Bodin
575cbbdc7c Migrate plugin getters 2021-08-19 23:30:49 +02:00
Alexandre Bodin
c3642a4f10 Merge branch 'v4/backend' into pluginAPI/loadPlugin 2021-08-19 23:29:55 +02:00
Alexandre Bodin
f528a865cb Merge branch 'master' of github.com:strapi/strapi into releases/v4 2021-08-19 10:12:58 +02:00
Pierre Noël
682e877644 Merge branch 'v4/backend' into pluginAPI/loadPlugin 2021-08-18 18:37:57 +02:00
Convly
3796688d7e Clean todos & some duplicated code 2021-08-18 17:57:12 +02:00