vincentbpro
a5ac20dda0
fix: avoid divided by zero issue
2021-12-14 10:41:47 +01:00
vincentbpro
eab466bb65
Merge branch 'master' into v4/fix-fetch-all-entries
2021-12-02 16:04:49 +01:00
Kim, Harim
2b635fe656
Enumeration filter support for GraphQL ( #11754 )
...
* Enumeration filter support for GraphQL
Signed-off-by: harimkims <harimkims@gmail.com>
* Fix failed e2e test
2021-12-02 11:55:29 +01:00
Convly
df8bfe46e9
Merge branch 'master' of github.com:strapi/strapi into plugins/graphql/fix-upload-scopes-and-bump-version
2021-11-30 16:34:35 +01:00
Convly
0d7d430469
Bump graphql-upload version & link content API scope to the custom mutations
2021-11-30 16:27:59 +01:00
Alexandre Bodin
57ec94a4ce
Remove snyk files. We switched to their github integration instead
2021-11-30 14:22:48 +01:00
Alexandre Bodin
b181702f02
v4.0.0
2021-11-29 20:16:44 +01:00
Alexandre Bodin
bda6c8a95b
Merge master
2021-11-29 18:46:14 +01:00
DMehaffy
7e874e00a0
Update all documentation links to new docs url ( #11424 )
...
Signed-off-by: Derrick Mehaffy <derrickmehaffy@gmail.com>
2021-11-29 18:13:52 +01:00
Dieter Stinglhamber
cb7f44ea41
make author and maintainers field consistent accross packages
2021-11-29 16:23:55 +01:00
Alexandre Bodin
c288dcb902
Cleanup and normalize package.json files
2021-11-29 15:13:33 +01:00
Convly
6b2ea4039f
Fix image querying in graphql relations
2021-11-24 16:19:50 +01:00
vincentbpro
cc4ffd1f57
Merge branch 'releases/v4' into v4/fix-fetch-all-entries
2021-11-23 16:22:48 +01:00
vincentbpro
9b244f8816
fix: pageSize meta improved
2021-11-22 10:46:03 +01:00
Alexandre BODIN
85884e42e4
Merge pull request #11630 from strapi/v4/graphql-only-register-writable-attributes-to-inputs
...
[V4] GraphQL - Only keep writable attributes in input types
2021-11-19 09:47:02 +01:00
Convly
7716baa483
Use isWritableAttribute from contentTypes utils
2021-11-18 17:15:33 +01:00
Convly
d9dd66de4d
Only register writable attributes in input types
2021-11-18 16:36:29 +01:00
Convly
4a2f331120
Use getModel instead of contentTypes[] to handle both content types & components in components resolvers
2021-11-18 16:20:08 +01:00
soupette
5767590ac4
Merge branch 'releases/v4' of github.com:strapi/strapi into v4/plugins-page
2021-11-17 14:43:46 +01:00
Convly
f4bc56b1af
Remove manually added timestamps from graphql types definition
2021-11-16 14:04:57 +01:00
Alexandre BODIN
6d18f8c15c
Merge pull request #11580 from strapi/v4/graphql-fix-component-filtering
...
[V4] GraphQL - Fix components' filtering
2021-11-16 11:07:26 +01:00
Convly
44aabde4dd
Fix component filtering
2021-11-15 18:12:06 +01:00
Convly
09aaa1202e
Merge branch 'releases/v4' of github.com:strapi/strapi into v4/graphql-add-id-filter-ct
2021-11-15 15:53:38 +01:00
Convly
e9e16b1fc9
Fix date filtering by not treating date objects as operators groups
2021-11-12 16:30:48 +01:00
Convly
ad8a5e7634
Handle case where the filter is manually disabled
2021-11-12 15:15:41 +01:00
Convly
bac9e8145e
Add an ID filter to the collection type's args
2021-11-12 15:07:32 +01:00
Alexandre BODIN
f4facb654b
Merge pull request #11475 from strapi/v4/new-sanitize-fixes
...
[V4] Enhancements for the new sanitize processes
2021-11-12 14:52:47 +01:00
Convly
da41a49612
Use config module instead
2021-11-12 10:07:08 +01:00
Convly
cf96129d7c
Don't remove Subscription type if subscriptions are disabled
2021-11-12 10:05:11 +01:00
Convly
a7592e04a9
use default config instead of the dedicated service
2021-11-10 16:04:32 +01:00
Convly
69d8b20f1b
Disable subscriptions by default, change how to handle the type in wrapResolvers
2021-11-10 11:18:35 +01:00
vincentbpro
a154b73e9c
Merge branch 'releases/v4' of github.com:strapi/strapi into v4/fix-fetch-all-entries
2021-11-09 11:15:10 +01:00
Convly
cf5e4078b5
Merge branch 'releases/v4' of github.com:strapi/strapi into v4/graphql-subscriptions
2021-11-08 17:35:36 +01:00
vincentbpro
73e5b672fd
fix: negative limit without maxLimit (graphql)
2021-11-08 17:17:56 +01:00
Convly
16ab717fb2
Merge branch 'releases/v4' of github.com:strapi/strapi into v4/new-sanitize-fixes
2021-11-08 15:53:58 +01:00
Alexandre Bodin
42b87679bb
Refactor policies to have a consistent factory API like middlewares
2021-11-08 09:33:36 +01:00
Pierre Noël
c6a5a047d6
Merge branch 'releases/v4' into v4/error-handling
2021-11-05 10:40:11 +01:00
Convly
d6516116b2
Move pipeAsync to @strapi/utils
2021-11-04 16:43:27 +01:00
Jean-Sébastien Herbaux
7f285fb755
[V4] Enhanced sanitize & remove restricted relations from content API's payloads ( #11411 )
...
* Rework sanitizeEntity, first iteration
* remove console.log
* Remove useless comments
* Fix e2e tests
* Fix up user e2e test
* Fix remove-restricted-relations visitor
* Handle grapqhql resolver, prevent access to restricted relations
* Handle polymorphic relation in the related visitor
* Remove morph attribute if empty
* Use only the find action to check if the relation is allowed
2021-11-04 15:47:53 +01:00
Alexandre Bodin
8a018619ef
Add /plugins list api and update description to be plain english for now
2021-11-04 12:01:49 +01:00
Pierre Noël
37500df27c
fix graphql error handling
2021-11-04 11:42:45 +01:00
Pierre Noël
ec07719f3b
better graphql error formatting
2021-11-04 11:42:44 +01:00
Pierre Noël
ebb124de4b
change graphql error handling with originalError
2021-11-04 11:42:44 +01:00
Pierre Noël
b4c9ad0440
refacto graphql errors
2021-11-04 11:42:43 +01:00
Pierre Noël
7a82d023fb
rename name to displayName
2021-11-02 18:29:17 +01:00
cyril lopez
dbb0243d43
Merge pull request #11204 from strapi/v4/ctb
...
[V4]: CTB migration
2021-10-26 09:06:10 +02:00
soupette
58790b682b
Change icon type for menu Api
...
Signed-off-by: soupette <cyril@strapi.io>
2021-10-22 14:42:34 +02:00
Pierre Noël
6fd9f780c7
Merge branch 'v4/ctb' into v4/plural-name-in-CTB
2021-10-22 12:33:48 +02:00
Alexandre Bodin
c1aa57f436
Harmonize and make policies and middlwares more consistent
2021-10-05 10:43:24 +02:00
Convly
058859bc40
Handle kebab-cased content type's names
2021-09-30 15:25:33 +02:00