Pierre Noël
947981200b
use { strapi } as params in all lifecycle functions
2021-09-28 16:54:07 +02:00
Convly
20b20a0f92
Fix e2e test for UP, i18n & upload + various i18n fixes
2021-09-27 17:17:24 +02:00
Convly
3da1acebf4
Fix createLocalization mutations
2021-09-27 10:56:43 +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
Convly
f23d375e2d
Merge branch 'releases/v4' into v4/graphql-schema-generation-refactor
2021-09-22 15:01:56 +02:00
Convly
8b139ec162
Merge branch 'releases/v4' into v4/graphql-schema-generation-refactor
2021-09-22 10:48:29 +02:00
Alexandre Bodin
9f337272f1
Refacto entity service API to be more consistent with the DB layer
2021-09-21 17:22:17 +02:00
Convly
12547dd074
Disable i18n 'locale' mutations
2021-09-17 07:16:30 +02:00
Jean-Sébastien Herbaux
5a7a5dc987
[V4] GraphQL - Migrate Users & Permissions GraphQL config to V4 ( #10979 )
...
* Migrate UsersPermissions's GQL configuration to V4
* Remove old graphql configuration
2021-09-15 15:44:42 +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
58294cce6c
Fix cases where the type isn't registered in the type registry (i18n)
2021-09-10 15:52:19 +02:00
Jean-Sébastien Herbaux
8d9ea0f13e
[V4] GraphQL - Single types mutations implementation ( #10923 )
...
* Use new path for Strapi app attribute
* Add 'uid' to the list of existing Strapi scalars
* Fix single types queries definitions
* Remove ID from single types args
* Remove useless comments
* Fix typos
* Fix localizations populate in i18n core-api createLocalization handler
* Single type custom mutations implementation
2021-09-09 11:31:29 +02:00
Convly
b330e315d4
Merge branch 'releases/v4' into v4/graphql-schema-generation-refactor
2021-09-08 16:50:42 +02:00
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
0ff3269c3a
Use the right api
2021-09-07 15:11:08 +02:00
Alexandre Bodin
9aa9837a4c
split i18n routes
2021-09-07 15:11:07 +02:00
Alexandre Bodin
13110994f9
Use router middleware to add i18n middlewares
2021-09-07 15:11:06 +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
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
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
Pierre Noël
9362311924
add extend fn to controller registry
2021-08-30 11:00:30 +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
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
Pierre Noël
c547e64571
fix e2e tests
2021-08-18 11:58:17 +02:00
Pierre Noël
2d7454553a
add extension system for content-types
2021-08-13 15:35:19 +02:00
Pierre Noël
4790e28284
refactor with module approach
2021-08-06 18:09:49 +02:00
Pierre Noël
ce0e67830a
Merge branch 'v4/backend' into v4/plugin-api/modules
2021-08-05 13:59:40 +02:00
Pierre Noël
ed050471d7
fix unit tests
2021-08-02 18:47:45 +02:00
Alexandre Bodin
c02ceab686
Merge branch 'v4/backend' into pluginAPI/loadPlugin
2021-08-02 08:32:02 +02:00
Pierre Noël
3b179169d4
wip
2021-07-29 16:39:26 +02:00
Pierre Noël
eabe72f92e
WIP
2021-07-26 16:59:59 +02:00
Pierre Noël
9c41753e8a
remove comments
2021-07-23 10:33:25 +02:00
Pierre Noël
1ac226b962
WIP
2021-07-08 11:20:13 +02:00
Pierre Noël
5dd7f6c1be
Merge branch 'releases/v4' into pluginAPI/loadPlugin
2021-06-29 12:07:29 +02:00
Pierre Noël
dee087a9be
use format schema, actions, lifecycles
2021-06-21 12:02:10 +02:00
Pierre Noël
323bf21f43
wip
2021-06-09 18:10:44 +02:00