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
f402731adf
split upload routes
2021-09-07 15:11:07 +02:00
Alexandre Bodin
08ee60791a
split email 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
e4abd6f4dc
Move server into services
2021-09-07 15:11:05 +02:00
Alexandre Bodin
58dde6837f
use proxy and router prefix config in server
2021-09-07 15:11:04 +02:00
Alexandre Bodin
ae8c970661
Make use of new server in router middleware before removing it
2021-09-07 15:11:04 +02:00
Alexandre Bodin
4349d6b822
Init new routing layer
2021-09-07 15:11:04 +02:00
Alexandre Bodin
bc2760f14f
Init server and http-server
2021-09-07 15:11:03 +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
76d1ac7ada
Merge pull request #10877 from strapi/v4/migrate-email-upload-plugin
...
Make email, upload, CM and CTB plugins internal
2021-09-06 13:36:53 +00:00
Pierre Noël
4b30d03ed6
remove possibility to disable an internal plugin
2021-09-06 12:03:52 +02:00
Alexandre BODIN
52bc4642b8
Merge pull request #10868 from strapi/v4/plugin-api/local-plugin-loading
...
Append strapi.dir to plugin path if relative
2021-09-06 07:56:33 +00:00
Pierre Noël
70eec366f9
make email, upload, CM and CTB plugins internal
2021-09-03 15:24:32 +02:00
Pierre Noël
ce85d3d69d
try to resolve as a module first
2021-09-03 10:57:46 +02:00
Pierre Noël
a31e301701
Shorter regex + direct use of resolve
2021-09-02 14:01:13 +02:00
Pierre Noël
13cec4cadb
append strapi.dir to plugin path if relative
2021-09-02 12:14:44 +02:00
Alexandre BODIN
c1bc942632
Merge pull request #10846 from strapi/v4/rest-api
...
v4/rest api
2021-09-02 10:05:17 +02:00
Alexandre BODIN
056f734e1a
Merge pull request #10858 from strapi/v4/plugin-api/migrate-myplugin
...
Migrate locale plugin "myplugin" to v4
2021-09-02 10:03:15 +02:00
Alexandre Bodin
266dcf5d88
Refactor some code
2021-09-02 09:33:18 +02:00
Alexandre Bodin
23f7cdb7fa
Fix typos
2021-09-01 21:13:23 +02:00
Pierre Noël
56ffa3a63f
migrate myplugin to v4
2021-09-01 18:38:40 +02:00
Alexandre Bodin
d7bc8bc780
Fix wrong parameter name check
2021-09-01 15:28:42 +02:00
Convly
64d9a2031d
Fix releases/v4 merge
2021-09-01 14:28:16 +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
1cf79d88b8
Merge pull request #10843 from strapi/v4/rest-api-request-format
...
[v4] Move request format in core-api
2021-09-01 09:15:20 +02:00
Alexandre Bodin
5d702453a6
Move request format in core-api
2021-08-31 22:22:52 +02:00
Alexandre Bodin
4b81731941
Fix tests
2021-08-31 19:31:32 +02:00
Alexandre Bodin
b781213b01
Implement pagination logic in core api
2021-08-31 19:31:31 +02:00
Alexandre Bodin
b44a552eee
Implement REST API pagination with paged or offset and withCount
2021-08-31 19:31:31 +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
5a9371b5c3
Suport media format
2021-08-31 19:31:29 +02:00
Alexandre Bodin
68826f7ae0
Transform response relations to use data & meta
2021-08-31 19:31:28 +02:00
Alexandre Bodin
960578133f
Cleanup parse multipart
2021-08-31 19:31:28 +02:00
Alexandre BODIN
070d24fe91
Merge pull request #10829 from strapi/v4/plugin-api/extensions
...
V4/plugin api/extensions
2021-08-31 15:26:27 +02:00
Alexandre Bodin
9b239fc753
Fix router & routes generation
2021-08-31 12:04:03 +02:00
Alexandre Bodin
c591d93829
Use kebabCase for normalizing api & api CT names
2021-08-31 11:51:11 +02:00
Alexandre Bodin
2013164680
Fix wrong router loop
2021-08-31 10:46:50 +02:00
Alexandre Bodin
7259bc54f6
Fix mapValues wrong arguments
2021-08-30 18:44:08 +02:00
Alexandre Bodin
44cf9e161a
Load api policies
2021-08-30 17:02:41 +02:00