14409 Commits

Author SHA1 Message Date
Alexandre Bodin
a22baf9a0d Fix peer deps
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-09-30 12:46:05 +02:00
dependabot[bot]
e6d14482c4
Bump stylelint-processor-styled-components from 1.6.0 to 1.10.0 (#8002)
Bumps [stylelint-processor-styled-components](https://github.com/styled-components/stylelint-processor-styled-components) from 1.6.0 to 1.10.0.
- [Release notes](https://github.com/styled-components/stylelint-processor-styled-components/releases)
- [Changelog](https://github.com/styled-components/stylelint-processor-styled-components/blob/master/CHANGELOG.md)
- [Commits](https://github.com/styled-components/stylelint-processor-styled-components/compare/v1.6.0...v1.10.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-30 10:37:34 +02:00
dependabot[bot]
adb7e5c9f6
Bump eslint-plugin-react-hooks from 2.5.1 to 4.1.2 (#8103)
Bumps [eslint-plugin-react-hooks](https://github.com/facebook/react/tree/HEAD/packages/eslint-plugin-react-hooks) from 2.5.1 to 4.1.2.
- [Release notes](https://github.com/facebook/react/releases)
- [Changelog](https://github.com/facebook/react/blob/master/packages/eslint-plugin-react-hooks/CHANGELOG.md)
- [Commits](https://github.com/facebook/react/commits/HEAD/packages/eslint-plugin-react-hooks)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-30 10:17:11 +02:00
dependabot[bot]
cc568a3929
Bump apollo-server-koa from 2.17.0 to 2.18.1 (#8104)
Bumps [apollo-server-koa](https://github.com/apollographql/apollo-server/tree/HEAD/packages/apollo-server-koa) from 2.17.0 to 2.18.1.
- [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.18.1/packages/apollo-server-koa)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-30 09:24:50 +02:00
Mattias van den Belt
c5275958b0
Per hook timeout config option (#8081)
* Add per hook timeout config

Signed-off-by: MattieBelt <mattiasvandenbelt@gmail.com>

* Update hook docs with timeout config options

Signed-off-by: MattieBelt <mattiasvandenbelt@gmail.com>
2020-09-29 16:07:10 +02:00
Igor Nikolenko
4700f79bcf
Fix validation of Date and Time field types for Mongoose connector (#7801)
Signed-off-by: richardgrey <richie.grey@gmail.com>
2020-09-29 14:53:56 +02:00
Jonas De Kegel
42fab5d953
Assume selection is text when creating a link (#8071)
Fixes #7890

Signed-off-by: Jonas De Kegel <jonas@fluid.desi>
2020-09-29 14:13:11 +02:00
erictsangx
1e4c3b7237
Allow browser options while using watch-admin (#8054)
Signed-off-by: erictsangx <erictsangx@gmail.com>
2020-09-29 14:12:38 +02:00
Rami Yushuvaev
b5ce86a805
Add translations to Hebrew language (#7871)
* Translate Strapi admin to Hebrew language

Signed-off-by: Rami Yushuvaev <r_a_m_i@hotmail.com>

* Translate Strapi plugin upload to Hebrew language

Signed-off-by: Rami Yushuvaev <r_a_m_i@hotmail.com>
2020-09-29 14:09:26 +02:00
Filip Sauer
c1ae95c3bf
Update strapi-admin polish translation (#7507)
Signed-off-by: Filip Sauer <sauer.filip@gmail.com>
2020-09-29 14:08:38 +02:00
Pierre Noël
567401f0c1
Fix/warn file too big (#8033)
* handle fileTooBig errors

Signed-off-by: Pierre Noël <petersg83@gmail.com>

* add entityTooLarge error in provider plugins

Signed-off-by: Pierre Noël <petersg83@gmail.com>

* fix linter

Signed-off-by: Pierre Noël <petersg83@gmail.com>

* refacto

Signed-off-by: Pierre Noël <petersg83@gmail.com>

* Add better error message for 413 errors in ML

Signed-off-by: soupette <cyril.lpz@gmail.com>

* refacto

Signed-off-by: Pierre Noël <petersg83@gmail.com>

* refacto

Signed-off-by: Pierre Noël <petersg83@gmail.com>

Co-authored-by: soupette <cyril.lpz@gmail.com>
2020-09-29 12:00:25 +02:00
Jim LAURIE
8a21a113ca
Merge pull request #8031 from strapi/templates/questions
Move questions link to forums
2020-09-28 16:02:42 +02:00
Jim LAURIE
2efb5e4064
Merge branch 'master' into templates/questions 2020-09-28 14:57:07 +02:00
Pierre Noël
cd9abb4961 fix cropped size too big
Signed-off-by: Pierre Noël <petersg83@gmail.com>
2020-09-25 17:03:07 +02:00
dependabot[bot]
082a178f5b
Bump koa-body from 4.1.1 to 4.2.0 (#8042)
Bumps [koa-body](https://github.com/dlau/koa-body) from 4.1.1 to 4.2.0.
- [Release notes](https://github.com/dlau/koa-body/releases)
- [Changelog](https://github.com/dlau/koa-body/blob/master/CHANGELOG.md)
- [Commits](https://github.com/dlau/koa-body/compare/v4.1.1...v4.2.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-25 10:22:14 +02:00
Derrick Mehaffy
a0424ec17d Move questions link to forums
Signed-off-by: Derrick Mehaffy <derrickmehaffy@gmail.com>
2020-09-24 07:00:31 -07:00
Alexandre Bodin
4a27d9d46b Merge branch 'master' into documentation 2020-09-24 14:55:21 +02:00
Alexandre Bodin
3c7c33eab7 v3.1.6 v3.1.6 2020-09-24 14:51:49 +02:00
Alexandre BODIN
3a51ea83b4
Merge pull request #8027 from strapi/fix/analytics-registration
Fix analytics registration bad info
2020-09-24 14:46:56 +02:00
Alexandre BODIN
c97f33bf53
Merge pull request #7716 from strapi/fix/7699
Fixes Admin bugs
2020-09-24 14:41:10 +02:00
Alexandre Bodin
00c094d8f8 Fix analytics registration bad info
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-09-24 14:31:08 +02:00
Alexandre BODIN
fb033314fe
Merge pull request #7999 from derappelt/patch-2
Update services.md
2020-09-24 09:47:58 +02:00
Diego Albitres
0670c896e3
Add privateAttributes to global and per model response (#7331)
* Added privateAttributes globally and per model

Signed-off-by: Diego Albitres <diego.albitres@gmail.com>

* Added tests for sanitizeEntity

Signed-off-by: Diego Albitres <diego.albitres@gmail.com>

* Fixed broken test

Signed-off-by: Diego Albitres <diego.albitres@gmail.com>

* Added privateAttributes to GraphQL responses

Signed-off-by: Diego Albitres <diego.albitres@gmail.com>

* Added docs for privateAttributes

Signed-off-by: Diego Albitres <diego.albitres@gmail.com>

* Refactored and fixed PR comments

Signed-off-by: Diego Albitres <diego.albitres@gmail.com>

* Merged tests and fixed broken tests from merge

Signed-off-by: Diego Albitres <diego.albitres@gmail.com>

* Updated documentation for new option

Signed-off-by: Diego Albitres <diego.albitres@gmail.com>

* Refactored GraphQL implementation

Signed-off-by: Diego Albitres <diego.albitres@gmail.com>

* Fixed PR comments

Signed-off-by: Diego Albitres <diego.albitres@gmail.com>

* Fixed tests for sanitize-entity

Signed-off-by: Diego Albitres <diego.albitres@gmail.com>

* Removed code and tests for ignorePrivateFor

Signed-off-by: Diego Albitres <diego.albitres@gmail.com>

* Exported getPrivateAttributes for GraphQL plugin

Signed-off-by: Diego Albitres <diego.albitres@gmail.com>

* Removed ignorePrivateFor from docs

Signed-off-by: Diego Albitres <diego.albitres@gmail.com>
2020-09-24 09:40:10 +02:00
dependabot[bot]
6b1ac6e91d
Bump request-promise-native from 1.0.8 to 1.0.9 (#8018)
Bumps [request-promise-native](https://github.com/request/request-promise-native) from 1.0.8 to 1.0.9.
- [Release notes](https://github.com/request/request-promise-native/releases)
- [Commits](https://github.com/request/request-promise-native/compare/v1.0.8...v1.0.9)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-24 09:37:43 +02:00
Simon Appelt
8254aca5f2
Bugfix to last commit 2020-09-23 18:35:16 +02:00
Simon Appelt
c9fe16d38c
Update services.md
I updated the code so it looks more like the strapi internal implementation.
https://github.com/strapi/strapi/blob/master/packages/strapi/lib/services/entity-service.js#L65
2020-09-23 18:31:29 +02:00
Adam
94f3b24ee2
feat(server): allow listening on unix socket through server.socket config (#7824)
* feat(server): allow listening on unix socket through `server.socket` configuration

Signed-off-by: Adam Lee <duo1123@gmail.com>

* docs(server): documentation for socket config

Signed-off-by: Adam Lee <duo1123@gmail.com>
2020-09-23 11:59:31 +02:00
dependabot[bot]
e1875f0616
Bump react-helmet from 6.0.0 to 6.1.0 (#8001)
Bumps [react-helmet](https://github.com/nfl/react-helmet) from 6.0.0 to 6.1.0.
- [Release notes](https://github.com/nfl/react-helmet/releases)
- [Changelog](https://github.com/nfl/react-helmet/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nfl/react-helmet/compare/6.0.0...6.1.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-23 11:48:30 +02:00
Simon Appelt
510556b5b5
Update services.md
Added entityValidator to create and update service, so it act like the default service and doesn't throw a 500 Error on invalid data.
2020-09-23 09:34:38 +02:00
Christopher Wray
a0705063b5
Updated Models Page Grammar (#7912)
* Updated Models Page Grammar

Quickly went through the models' page in the documentation and updated some grammar as well as added some emphasis and brief clarification in a couple of places.

* Edited slight typo.

* Updated Models Page Grammar

Quickly went through the models' page in the documentation and updated some grammar as well as added some emphasis and brief clarification in a couple of places.

Signed-off-by: Christopher Wray <53663762+cwray-tech@users.noreply.github.com>

* Edited slight typo.

Signed-off-by: Christopher Wray <53663762+cwray-tech@users.noreply.github.com>
2020-09-22 19:28:32 -07:00
Daniel dos Santos Pereira
f5f0853942
fix(plugin-graphql): Fix associaion resolver for manyWay nature. (#7959)
This fixes strapi/strapi#4353 and all its duplicates.

Signed-off-by: Daniel dos Santos Pereira <danield1591998@gmail.com>
2020-09-22 17:05:27 +02:00
Abdón Rodríguez Davila
79a996f871
Update graphql plugin dependencies (#7953)
Signed-off-by: Abdón Rodríguez Davila <a@abdonrd.com>
2020-09-22 17:00:40 +02:00
Peter Etelej
318f20e826
Bump up minimum required Node to 10.16 (#7962)
Updated README docs & package.json `engine` versions to bump up the
minimum required Node version from `10.10` to `10.16` (or `10.16.0+`)

Strapi no longer supports `10.10` since it updated `sharp` to `0.26.0`
( https://github.com/strapi/strapi/pull/7729 ) which requires Node 10.16.0+
(See https://github.com/lovell/sharp/blob/master/docs/changelog.md#v0260---25th-august-2020 )

` yarn create strapi-app my-project --quickstart` on 10.10 fails with error
```
error sharp@0.26.0: The engine "node" is incompatible with this module. Expected version ">=10.16.0". Got "10.10.0"
error Found incompatible module.
```

Signed-off-by: Peter Etelej <peter@etelej.com>
2020-09-22 16:00:13 +02:00
dependabot[bot]
16a7be23de
Bump markdown-it from 11.0.0 to 11.0.1 (#7983)
Bumps [markdown-it](https://github.com/markdown-it/markdown-it) from 11.0.0 to 11.0.1.
- [Release notes](https://github.com/markdown-it/markdown-it/releases)
- [Changelog](https://github.com/markdown-it/markdown-it/blob/master/CHANGELOG.md)
- [Commits](https://github.com/markdown-it/markdown-it/compare/11.0.0...11.0.1)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-22 13:24:38 +02:00
dependabot[bot]
a41f9d82ef
Bump @babel/core from 7.9.0 to 7.11.6 (#7982)
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.9.0 to 7.11.6.
- [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.11.6/packages/babel-core)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-22 13:24:24 +02:00
DMehaffy
42ceba9d88
Remove bad example with array for method (#7972)
Signed-off-by: Derrick Mehaffy <derrickmehaffy@gmail.com>
2020-09-21 07:53:23 -07:00
DMehaffy
a3a77b417c
Remove outdated reference in getting started guide (#7968) 2020-09-21 03:17:45 -07:00
Alexandre Bodin
8b8c27111d Remove codecov annotations
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-09-21 11:16:17 +02:00
François de Metz
49ce4649cc
Encode the URL before fetching it. (#7934)
Signed-off-by: François de Metz <francois@2metz.fr>
2020-09-18 10:05:34 +02:00
dependabot[bot]
885dc8aa3c
Bump @babel/plugin-proposal-async-generator-functions (#7915)
Bumps [@babel/plugin-proposal-async-generator-functions](https://github.com/babel/babel/tree/HEAD/packages/babel-plugin-proposal-async-generator-functions) from 7.8.3 to 7.10.5.
- [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.10.5/packages/babel-plugin-proposal-async-generator-functions)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-18 10:01:31 +02:00
dependabot[bot]
1b90e3c78d
Bump webpackbar from 3.2.0 to 4.0.0 (#7827)
Bumps [webpackbar](https://github.com/nuxt/webpackbar) from 3.2.0 to 4.0.0.
- [Release notes](https://github.com/nuxt/webpackbar/releases)
- [Changelog](https://github.com/nuxt/webpackbar/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nuxt/webpackbar/compare/v3.2.0...v4.0.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-18 10:01:13 +02:00
dependabot[bot]
803aae0e70
Bump @babel/polyfill from 7.8.7 to 7.11.5 (#7662)
Bumps [@babel/polyfill](https://github.com/babel/babel/tree/HEAD/packages/babel-polyfill) from 7.8.7 to 7.11.5.
- [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.11.5/packages/babel-polyfill)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-18 10:00:58 +02:00
margielewski
80c0337faf
translation improvement (#7926)
"EditForm.inputToggle.label.email-reset-password": "Straona resetowania hasła"   <--- should be "Strona resetowania hasła"
2020-09-18 10:00:42 +02:00
Jim LAURIE
4eb7f65c85
Merge pull request #7821 from strapi/docs/node/v12
Fix missing note about Node v12 in cli docs
2020-09-17 11:53:17 +02:00
Alexandre Bodin
fe451d1f74 Fix logo location
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-09-16 17:22:13 +02:00
Convly
a2578a2ab5 Merge branch 'master' into documentation 2020-09-16 15:33:46 +02:00
Convly
736a580001 v3.1.5 v3.1.5 2020-09-16 15:26:12 +02:00
jbergeron03
adedf1f1b2
Typo in contributing.md (#7909)
Buidler -> Builder
2020-09-16 10:22:13 +02:00
Rud Wangrungarun
9ca0743ed4
Edit understanding login flow to be more readable (#7858)
* Edit `understanding login flow` to be more readable

- Edit steps 2 and 4 to make it more readable. The previous one is quite confusing when I read it.
- Edit assumption `Let's say...` to be more readable
- Change github to GitHub for consistency

Signed-off-by: Rud Wangrungarun <rudwna@gmail.com>

* Revert change in Understanding the login flow assumption

Signed-off-by: Rud Wangrungarun <rudwna@gmail.com>
2020-09-15 09:56:51 +02:00
Adam Hunter
435248ab1c
Update docs to include MySQL and MariaDB ocker-compose.yaml (#7892)
Signed-off-by: Adam Hunter <arhunter@gmail.com>
2020-09-15 09:54:26 +02:00