17399 Commits

Author SHA1 Message Date
Pierre Noël
de4579b25e change project structure to use /src folder 2021-09-15 16:41:36 +02:00
Convly
bb7a2470ee Update graphql extension example (myplugin) 2021-09-15 15:56:47 +02:00
Convly
620cbc809a Merge branch 'v4/graphql-schema-generation-refactor' of github.com:strapi/strapi into v4/graphql-schema-generation-refactor 2021-09-15 15:50:55 +02:00
Convly
7e765de7cd Remove useless schema.graphql.js file for the upload plugin 2021-09-15 15:50:37 +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
eabbdc5a13
Merge pull request #10966 from strapi/v4/fix-preview-many-relations
fix previewManyRelations
2021-09-15 14:28:12 +02:00
Pierre Noël
5f42043570 fix previewManyRelations 2021-09-14 16:42:51 +02:00
cyril lopez
de3c41d716
Merge pull request #10956 from strapi/fix/ctb-relations
Fix ctb relation taken attribute
2021-09-14 15:27:07 +02:00
soupette
a2e296f1b0 Fix ctb relation taken attribute
Signed-off-by: soupette <cyril@strapi.io>
2021-09-14 06:06:06 +02:00
Alexandre Bodin
f24b38602a Add constraint altering only when possible 2021-09-13 16:54:14 +02:00
Alexandre Bodin
82551dc6fd Init schema inspector 2021-09-13 16:14:33 +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
9c48580991 Handle authorization for GraphQL queries & mutations 2021-09-13 10:48:26 +02:00
Convly
ee5e7a026f Merge branch 'releases/v4' into v4/graphql-schema-generation-refactor 2021-09-10 15:55:35 +02:00
Convly
64e5a70c64 Migrate upload plugin's graphql config to new extension API 2021-09-10 15:54:19 +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
Convly
b541be3748 Handle cases where the entry is not found in entity-manager.load 2021-09-10 15:51:38 +02:00
Jean-Sébastien Herbaux
8e6de48dc6
Declare a new load method in the entity service (#10930) 2021-09-10 10:24:33 +02:00
Convly
a0cdf693bb Revert unwanted wording changes 2021-09-09 16:58:55 +02:00
Jean-Sébastien Herbaux
37311b2757
[V4] GQL - Handle empty dynamic zone (#10926)
* Add an Error object type

* Fix typo in collection-type queries definition

* Add dynamic zone resolver

* Handle empty dynamic zone (no component attached)
2021-09-09 16:45:38 +02:00
Alexandre Bodin
3d8950e29d Fix admin build and develop scripts 2021-09-09 11:31:38 +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
cyril lopez
8d08e1f2e2
Merge pull request #10922 from strapi/v4/plugin-build
Fix admin build with node_modules paths
2021-09-09 11:27:08 +02:00
Alexandre Bodin
edd2896226 Fix yarn develop in admin package 2021-09-09 11:23:29 +02:00
Alexandre Bodin
388c9a8a35 Fix admin build with node_modules paths 2021-09-09 10:56:57 +02:00
Alexandre BODIN
9c81dbea7f
Merge pull request #10910 from strapi/v4/content-api
Move admin auth to global auth system
2021-09-09 00:26:13 +02:00
Alexandre Bodin
ef12731bd3 Fix missing public access 2021-09-08 18:47:22 +02:00
Alexandre Bodin
4befaea442 Register test auth before load 2021-09-08 18:23:52 +02:00
cyril lopez
58263edf20
Merge pull request #10902 from strapi/v4/admin-plugins
Use enabled plugins to build admin
2021-09-08 18:18:14 +02:00
Alexandre Bodin
ede58ae5be Make plugin copy unnecessary 2021-09-08 17:25:24 +02:00
Convly
b330e315d4 Merge branch 'releases/v4' into v4/graphql-schema-generation-refactor 2021-09-08 16:50:42 +02:00
Alexandre BODIN
2d0f6af9e4
Merge pull request #10859 from strapi/v4/content-api
v4/content api
2021-09-08 16:48:44 +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
a14b16af51 Move admin auth to global auth system 2021-09-08 16:16:16 +02:00
Alexandre Bodin
88752d361f Fix tests 2021-09-07 21:54:27 +02:00
Alexandre Bodin
566805c8ae Update test on /api 2021-09-07 21:29:34 +02:00
Alexandre Bodin
37bacdb691 Start fixing tests 2021-09-07 21:03:30 +02:00
Alexandre Bodin
eb522e73e2 Use enabled plugins to build admin 2021-09-07 17:11:16 +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
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
f606198c1d Fix generator wrong single-type url 2021-09-07 15:11:09 +02:00
Alexandre Bodin
ba15f31f89 Cleanup admin ee and middlewares 2021-09-07 15:11:08 +02:00