16406 Commits

Author SHA1 Message Date
Ilya Artamonov
2d8d3fdc06
Added missing translations (#10202) 2021-05-11 09:24:30 +02:00
p_0g_8mm3_
0bb208db4b
Update German strapi-admin translations (#10207)
* Fix grammar

* update de translation

* use plural
2021-05-11 09:22:09 +02:00
Ilya Artamonov
807101f290
Added missing translations (#10205) 2021-05-11 09:20:29 +02:00
Ilya Artamonov
e780baddb5
Added missing translation (#10204) 2021-05-11 09:19:22 +02:00
Ilya Artamonov
e2c06e30a6
Removed extra space (#10203) 2021-05-11 09:18:42 +02:00
Kenneth Solberg
95b81cd237
Added norwegian translation. (#9846)
* Added norwegian translation.

* Update the index.js file so the Norwegian translation is available in the dropdown

* Update the index.js file so the Norwegian translation is available in the dropdown

Co-authored-by: Kenneth Solberg <kenneth@codewise.no>
2021-05-11 09:08:03 +02:00
Jean-Sébastien Herbaux
30ccad91c0
Fix compatibility issue for mongo < 4.2 (#10281) 2021-05-11 09:04:58 +02:00
cyril lopez
436d9fdab5
Upgrade @buffet.js (#10270)
Signed-off-by: soupette <cyril.lpz@gmail.com>
2021-05-10 11:25:35 +02:00
Jean-Sébastien Herbaux
934a47eb34
Add possibility to set "required" RBAC conditions (#10185)
* Add optional property 'required' to rbac conditions

Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>

* Fix tests, remove object handler support & fix bug (pm.queryFrom)

* Remove required property, handle required conditions at the engine level (raw)

* Update EE snapshots

* Add hasSuperAdminRole util
2021-05-10 11:24:45 +02:00
Ralph
81a9a63cad
GraphQL Plugin (bug): Content type's attributes marked as private are being exposed in the exported GraphQL schema (#9805)
* Fixes #9804

* Fixes isPrivateAttribute function in strapi utils to take into account the private property within an attribute

* removing comment

* removing isNotPrivate function + adding call to already existing isPrivateAttribute function instead of isNotPrivate

* isPrivateAttribute fixed based on coments from Alexandre and confirmed that the model does indeed contain all private fields in an array at startup time

* removing isNotPrivate function and fixing generateEnumDefinitions to use the already available isPrivateAttribute function

* checking if created_at and update_at are also marked as private and if this is the case then hiding them

* allowIds by default when generating the input model to see if the tests will pass

* moving allowIds back to false by default

* adding isTypeAttributeEnabled function to check if a type attribute has been disabled and remove it from the exported graphql schema

* removing unused var

* only using isTypeAttributeEnabled instead of isPrivateAttribute.

* adding isPrivateAttribute at association level

* Adding isNotPrivate back together with isTypeAttributeEnabled

* adding unit test for removing a disabled attribute from a graphql schema

* renaming person to player in the test model

* Deleting the file as it has been renamed in the strapi master branch

* fixing lint issues

* fixing some lint issues

* adding isTypeAttributeEnabled support

* adding enumeration field in graphql

* adding use strict; to test file

* fixing test checking that disabled attributes in graphql are removed from the graphql schema

* adding test for buidShadowCrud

* Update packages/strapi-plugin-graphql/services/type-builder.js

Co-authored-by: Jean-Sébastien Herbaux <jean-sebastien.herbaux@epitech.eu>

Co-authored-by: Rmaroun <rmaroun@outlook.com>
Co-authored-by: Jean-Sébastien Herbaux <jean-sebastien.herbaux@epitech.eu>
2021-05-10 09:35:07 +02:00
cyril lopez
3198d19906
Fixes #10187 (#10193)
Signed-off-by: soupette <cyril.lpz@gmail.com>
2021-05-07 15:04:16 +02:00
Pierre Noël
0b31bc3f42
make listLocales route available (#10255) 2021-05-07 09:54:55 +02:00
ELABBASSI Hicham
311d8e10e5
Merge pull request #10250 from strapi/fix/sso
Fix SSO success redirection
2021-05-06 11:42:22 +02:00
HichamELBSI
8117d4786e Fix SSO success redirection
Signed-off-by: HichamELBSI <elabbassih@gmail.com>
2021-05-06 11:06:22 +02:00
Alexandre Bodin
458ade114e Disable dependabot PR for now 2021-05-05 09:41:44 +02:00
dependabot[bot]
32e045377f
Bump @babel/core from 7.13.16 to 7.14.0 (#10231)
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.13.16 to 7.14.0.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.14.0/packages/babel-core)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-05 18:30:24 +11:00
dependabot[bot]
a7de8156b1
Bump ora from 5.3.0 to 5.4.0 (#10223)
Bumps [ora](https://github.com/sindresorhus/ora) from 5.3.0 to 5.4.0.
- [Release notes](https://github.com/sindresorhus/ora/releases)
- [Commits](https://github.com/sindresorhus/ora/compare/v5.3.0...v5.4.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-04 17:59:48 +11:00
dependabot[bot]
89bcbb1247
Bump stylelint from 13.12.0 to 13.13.1 (#10213)
Bumps [stylelint](https://github.com/stylelint/stylelint) from 13.12.0 to 13.13.1.
- [Release notes](https://github.com/stylelint/stylelint/releases)
- [Changelog](https://github.com/stylelint/stylelint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/stylelint/stylelint/compare/13.12.0...13.13.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-04 00:44:04 +11:00
Alexandre BODIN
ace6572e80
Update SECURITY.md 2021-05-03 23:24:17 +11:00
dependabot[bot]
cfb1eb549f
Bump apollo-server-koa from 2.23.0 to 2.24.0 (#10214)
Bumps [apollo-server-koa](https://github.com/apollographql/apollo-server/tree/HEAD/packages/apollo-server-koa) from 2.23.0 to 2.24.0.
- [Release notes](https://github.com/apollographql/apollo-server/releases)
- [Changelog](https://github.com/apollographql/apollo-server/blob/main/CHANGELOG.md)
- [Commits](https://github.com/apollographql/apollo-server/commits/apollo-server-koa@2.24.0/packages/apollo-server-koa)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-03 18:12:36 +11:00
dependabot[bot]
e5d10b4120
Bump @fingerprintjs/fingerprintjs from 3.0.7 to 3.1.1 (#10212)
Bumps [@fingerprintjs/fingerprintjs](https://github.com/fingerprintjs/fingerprintjs) from 3.0.7 to 3.1.1.
- [Release notes](https://github.com/fingerprintjs/fingerprintjs/releases)
- [Commits](https://github.com/fingerprintjs/fingerprintjs/compare/v3.0.7...v3.1.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-03 18:11:52 +11:00
dependabot[bot]
a683540105
Bump react-tooltip from 4.2.17 to 4.2.18 (#10192)
Bumps [react-tooltip](https://github.com/wwayne/react-tooltip) from 4.2.17 to 4.2.18.
- [Release notes](https://github.com/wwayne/react-tooltip/releases)
- [Changelog](https://github.com/wwayne/react-tooltip/blob/master/CHANGELOG.md)
- [Commits](https://github.com/wwayne/react-tooltip/compare/v4.2.17...v4.2.18)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-30 18:56:29 +11:00
dependabot[bot]
3bbebdf8af
Bump eslint from 7.24.0 to 7.25.0 (#10188)
Bumps [eslint](https://github.com/eslint/eslint) from 7.24.0 to 7.25.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.24.0...v7.25.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-30 18:56:20 +11:00
dependabot[bot]
c6fec7393d
Bump nodemailer from 6.5.0 to 6.6.0 (#10191)
Bumps [nodemailer](https://github.com/nodemailer/nodemailer) from 6.5.0 to 6.6.0.
- [Release notes](https://github.com/nodemailer/nodemailer/releases)
- [Changelog](https://github.com/nodemailer/nodemailer/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nodemailer/nodemailer/compare/v6.5.0...v6.6.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-30 18:38:24 +11:00
Alexandre Bodin
2fd29041f8 v3.6.1 v3.6.1 2021-04-29 14:34:38 +02:00
Guillaume Douceron
94d8dd0dbd
Update french translation to i18n plugin (#10152)
Fixed a typo and harmonized according to the other plugins.
2021-04-29 22:12:37 +11:00
dependabot[bot]
6970cabce6
Bump react-query from 3.8.3 to 3.13.12 (#10154)
Bumps [react-query](https://github.com/tannerlinsley/react-query) from 3.8.3 to 3.13.12.
- [Release notes](https://github.com/tannerlinsley/react-query/releases)
- [Commits](https://github.com/tannerlinsley/react-query/compare/v3.8.3...v3.13.12)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-29 22:12:23 +11:00
Guilherme Pacheco
3b499e34d2
Fix #10172 (#10173) 2021-04-29 18:52:48 +11:00
markkaylor
c930b2459a
Merge pull request #10171 from strapi/fix/i18n-superAdminRole
fix/i18n-superAdminRole
2021-04-28 14:19:14 +02:00
Mark Kaylor
1e0a849932 confirm superAdminRole exists when syncing permissions 2021-04-28 13:52:39 +02:00
dependabot[bot]
dfe8edb9c2
Bump @testing-library/jest-dom from 5.11.10 to 5.12.0 (#10166)
Bumps [@testing-library/jest-dom](https://github.com/testing-library/jest-dom) from 5.11.10 to 5.12.0.
- [Release notes](https://github.com/testing-library/jest-dom/releases)
- [Changelog](https://github.com/testing-library/jest-dom/blob/main/CHANGELOG.md)
- [Commits](https://github.com/testing-library/jest-dom/compare/v5.11.10...v5.12.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-28 10:33:28 +02:00
dependabot[bot]
8b75a40fb3
Bump ioredis from 4.26.0 to 4.27.1 (#10165)
Bumps [ioredis](https://github.com/luin/ioredis) from 4.26.0 to 4.27.1.
- [Release notes](https://github.com/luin/ioredis/releases)
- [Changelog](https://github.com/luin/ioredis/blob/master/Changelog.md)
- [Commits](https://github.com/luin/ioredis/compare/v4.26.0...v4.27.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-28 09:00:38 +02:00
dependabot[bot]
9a84d5a4df
Bump snyk from 1.551.0 to 1.566.0 (#10153)
Bumps [snyk](https://github.com/snyk/snyk) from 1.551.0 to 1.566.0.
- [Release notes](https://github.com/snyk/snyk/releases)
- [Changelog](https://github.com/snyk/snyk/blob/master/.releaserc)
- [Commits](https://github.com/snyk/snyk/compare/v1.551.0...v1.566.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-27 09:55:44 +02:00
dependabot[bot]
63b285b763
Bump apollo-server-koa from 2.22.1 to 2.23.0 (#10155)
Bumps [apollo-server-koa](https://github.com/apollographql/apollo-server/tree/HEAD/packages/apollo-server-koa) from 2.22.1 to 2.23.0.
- [Release notes](https://github.com/apollographql/apollo-server/releases)
- [Changelog](https://github.com/apollographql/apollo-server/blob/main/CHANGELOG.md)
- [Commits](https://github.com/apollographql/apollo-server/commits/apollo-server-koa@2.23.0/packages/apollo-server-koa)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-27 09:55:21 +02:00
Alexandre BODIN
e94173b38a
Remove cache key so the url is valid for cors policy (#10148) 2021-04-27 09:52:13 +02:00
TheSeally
90b9064c17
Fix issue with incorrect cli termination when using flags quickstart and no-run (#10111)
On Windows, an empty return from the createQuickStartProject function caused the process termination to hang.
Added explicit process termination for this platform
2021-04-27 08:54:11 +02:00
Jean-Sébastien Herbaux
b97fb68f5c
[RBAC] Ignore only non visible attributes instead of non configurable ones (#10139)
* Ignore only non visible attributes instead of non configurable ones

* Update snapshots

* Refacto buildDeepAttributesCollection
2021-04-26 17:35:52 +02:00
SorinGFS
9d0e26b354
Add DKIM config example (#9923) 2021-04-26 17:19:34 +02:00
Ilya Artamonov
859f2d93a7
Updated Russian translate (#10133) 2021-04-26 17:10:58 +02:00
Ilya Artamonov
6c9243dca1
Fixed typo (#10132) 2021-04-26 17:10:35 +02:00
Tom Dyson
5f08fa37e7
Fix typo in query error message (#10116)
The possessive `its` doesn't have an apostrophe.

https://www.dictionary.com/e/its-vs-its/
2021-04-26 17:08:09 +02:00
Alexandre BODIN
196b0895f3
Fix issue relation loosing extra options on ctb update Fixes #3409 (#10102) 2021-04-26 17:05:43 +02:00
Guilherme Pacheco
11a128ead2
Fix #10125 - Accept falsy values returned by controllers in GraphQL queries and mutations (#10145)
* Fix #10125 - accept falsy values returned by controllers

* Add test for falsy ctx.body on built graphql resolver

* Use test instead of it in unit tests
2021-04-26 16:46:37 +02:00
Pierre Noël
631969d4d7
[graphQL + mongo] Fix broken localizations query (#10141)
* fix localizations resolver

* Revert "fix localizations resolver"

This reverts commit 31c92e6380036d29b2008324586ed8e5f082e4f5.

* fix localizations resolver by adding _id to populate option
2021-04-26 16:39:54 +02:00
dependabot[bot]
34ba5e3d2c
Bump @babel/core from 7.13.15 to 7.13.16 (#10097)
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.13.15 to 7.13.16.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.13.16/packages/babel-core)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-26 14:32:47 +02:00
dependabot[bot]
e53adc19e1
Bump @babel/runtime from 7.13.10 to 7.13.17 (#10091)
Bumps [@babel/runtime](https://github.com/babel/babel/tree/HEAD/packages/babel-runtime) from 7.13.10 to 7.13.17.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.13.17/packages/babel-runtime)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-26 14:31:47 +02:00
dependabot[bot]
176568bdc4
Bump chalk from 4.1.0 to 4.1.1 (#10112)
Bumps [chalk](https://github.com/chalk/chalk) from 4.1.0 to 4.1.1.
- [Release notes](https://github.com/chalk/chalk/releases)
- [Commits](https://github.com/chalk/chalk/compare/v4.1.0...v4.1.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-26 10:56:14 +02:00
dependabot[bot]
31179280a1
Bump pg from 8.5.1 to 8.6.0 (#10113)
Bumps [pg](https://github.com/brianc/node-postgres/tree/HEAD/packages/pg) from 8.5.1 to 8.6.0.
- [Release notes](https://github.com/brianc/node-postgres/releases)
- [Changelog](https://github.com/brianc/node-postgres/blob/master/CHANGELOG.md)
- [Commits](https://github.com/brianc/node-postgres/commits/pg@8.6.0/packages/pg)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-26 10:55:54 +02:00
dependabot[bot]
c567e24bdc
Bump aws-sdk from 2.890.0 to 2.892.0 (#10136)
Bumps [aws-sdk](https://github.com/aws/aws-sdk-js) from 2.890.0 to 2.892.0.
- [Release notes](https://github.com/aws/aws-sdk-js/releases)
- [Changelog](https://github.com/aws/aws-sdk-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-js/compare/v2.890.0...v2.892.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-26 10:37:05 +02:00
dependabot[bot]
24c4cc53be
Bump aws-sdk from 2.888.0 to 2.890.0 (#10101)
Bumps [aws-sdk](https://github.com/aws/aws-sdk-js) from 2.888.0 to 2.890.0.
- [Release notes](https://github.com/aws/aws-sdk-js/releases)
- [Changelog](https://github.com/aws/aws-sdk-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-js/compare/v2.888.0...v2.890.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-22 10:14:22 +02:00