246 Commits

Author SHA1 Message Date
Convly
ef3650f073 Merge branch 'releases/v4' into v4/graphql-schema-generation-refactor 2021-09-27 10:33:31 +02:00
Alexandre Bodin
086a80eb28 Remove unused dependencies 2021-09-27 09:30:32 +02:00
Alexandre Bodin
d2e523d942 Upgrade @strapi/strapi dependencies 2021-09-27 08:30:11 +02:00
Convly
33a822a347 Fix ignored pagination for associations (gql) 2021-09-24 16:31:57 +02:00
Alexandre BODIN
4fadcdee91
Merge pull request #11029 from strapi/features/api-token
API Token backend implementation
2021-09-24 14:21:10 +02:00
Alexandre Bodin
9774e14890 Fixing invalid action name on restart because of lowercasing 2021-09-24 12:23:02 +02:00
Dieter Stinglhamber
b9b98c620c improve scope matching and verification failures 2021-09-24 12:07:00 +02:00
Dieter Stinglhamber
6c6328bc0d remove console.log statement 2021-09-24 12:07:00 +02:00
Dieter Stinglhamber
1a72747672 add api-token auth strategy to the content-api 2021-09-24 12:06:56 +02:00
Alexandre Bodin
b8d388b4a7 Prefix route in U&P with /api 2021-09-24 09:55:01 +02:00
Alexandre Bodin
7cf05bfb10 Move CM files into the new structure 2021-09-24 09:04:44 +02:00
Convly
892c0dc300 Fix broken lint 2021-09-23 18:13:06 +02:00
Convly
74aee6f2d2 Remove old tests (will add more later) 2021-09-23 18:06:43 +02:00
Convly
4737eff9f9 Fix PR review comments 2021-09-23 17:25:25 +02:00
Convly
fa7467dbf8 Remove typo 2021-09-23 16:35:59 +02:00
Convly
9718ce1c52 Fix lint issues 2021-09-23 14:26:31 +02:00
Convly
033d3274d2 Merge branch 'releases/v4' into v4/graphql-schema-generation-refactor 2021-09-23 10:05:31 +02:00
Convly
a303b0e5c4 Don't run shadowCRUD related operations if it's disabled 2021-09-22 18:17:51 +02:00
Alexandre Bodin
c5f9d16105 Rename creator fields 2021-09-22 17:06:16 +02:00
Alexandre Bodin
65eba8f63b Rename timestamps in front 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
c31478b01d Add possibility to disable fields in the graphql shadow crud 2021-09-22 16:52:45 +02:00
Convly
c38b1a0de9 integrate with new entity service params 2021-09-22 15:15:03 +02:00
Convly
f23d375e2d Merge branch 'releases/v4' into v4/graphql-schema-generation-refactor 2021-09-22 15:01:56 +02:00
Convly
6415624168 Use format services for return types in queries & mutationsé 2021-09-22 14:39:36 +02:00
Convly
8b139ec162 Merge branch 'releases/v4' into v4/graphql-schema-generation-refactor 2021-09-22 10:48:29 +02:00
Jean-Sébastien Herbaux
22a9cdb9e0
[V4] Fix GraphQL e2e tests (#11034) 2021-09-21 19:38:15 +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
Alexandre Bodin
5b0ac47435 Merge branch 'releases/v4' into v4/db-migrations 2021-09-21 15:17:02 +02:00
Rémi de Juvigny
b6e1e7a9a1 Add display name to sentry plugin 2021-09-15 16:44:19 +02:00
Rémi de Juvigny
8064e468a0 Format Sentry plugin name in kebab-case 2021-09-15 16:44:19 +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
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
Jean-Sébastien Herbaux
8e6de48dc6
Declare a new load method in the entity service (#10930) 2021-09-10 10:24:33 +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
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
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
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