180 Commits

Author SHA1 Message Date
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
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
Alexandre Bodin
4a27d9d46b Merge branch 'master' into documentation 2020-09-24 14:55:21 +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
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
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
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
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
Convly
a2578a2ab5 Merge branch 'master' into documentation 2020-09-16 15:33:46 +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
Rémi de Juvigny
899e2eb21d
Parameters docs typo (#7833) 2020-09-14 09:37:57 +02:00
KULDIP PIPALIYA
eba0afd4c4
Update controllers.md (#7814) 2020-09-14 09:37:07 +02:00
William Cheong Weelau
74ed5a2e2d
Update email.md (#7769)
* Update email.md

to emphasize the part that developer need to pay attention to, especially the file name, and rewrite the part of the sentences on updating default sender email to make it works with the new email provider. Such that those who read this documentation could avoid hours of troubleshooting this configuration, (like what I had)

Signed-off-by: William Cheong Weelau <cheongweelau@gmail.com>

* Update email.md

Added the missing `:::` to close the newly added tip paragraph

Signed-off-by: William Cheong Weelau <cheongweelau@gmail.com>
2020-09-14 09:32:44 +02:00
Ove
5509d68c48
Fix minor typos on model documentation (#7619)
* Fix minor typos on model documentation

found 3 minor typos and replaced them

* fix typo in model 3.x docs
2020-09-14 09:29:19 +02:00
Mattias van den Belt
66bffcb84e
Update controllers.md (#7829)
Signed-off-by: MattieBelt <mattiasvandenbelt@gmail.com>
2020-09-11 09:26:42 -07:00
Derrick Mehaffy
50a65cdfe5 Fix missing note about Node v12 in cli docs 2020-09-09 13:09:31 -07:00
Jim LAURIE
b13ecc5da3
docs: update Roles & Permissions left menu mentions (#7796)
Signed-off-by: Jim LAURIE <j.laurie6993@gmail.com>
2020-09-08 15:12:58 +02:00
Khalid Elshafie
3e23646f1b
Add LinkedIn auth provider (#7490)
* Add LinkedIn auth provider

Signed-off-by: Khalid Elshafie <abolkog@gmail.com>
2020-09-04 14:37:30 +02:00
Amir
f8437184ca
Fix typo in controllers.md (#7721)
The default SingleType service doesn't have an findOne() function only find().
See https://github.com/strapi/strapi/issues/7718 for details

Signed-off-by: Amir Lellouche <lalosher@gmail.com>
2020-09-04 13:58:46 +02:00
Jason Prado
69706d7587
Add sqlite details to unit testing guide (#7603) 2020-09-04 12:27:43 +02:00
Abdón Rodríguez Davila
d2ef1d4b8c
Allow more options to the Apollo Server config (#7665)
* Extract server config to a constant

Signed-off-by: Abdón Rodríguez Davila <a@abdonrd.com>

* Omit options to server config

Signed-off-by: Abdón Rodríguez Davila <a@abdonrd.com>

* Move default config to serverParams

Signed-off-by: Abdón Rodríguez Davila <a@abdonrd.com>

* Simplify Apollo server config

Signed-off-by: Abdón Rodríguez Davila <a@abdonrd.com>

* Simplify with a new apolloServerConfig property

Signed-off-by: Abdón Rodríguez Davila <a@abdonrd.com>

* Update tracing documentation

Signed-off-by: Abdón Rodríguez Davila <a@abdonrd.com>

* Extract deprecated options

Signed-off-by: Abdón Rodríguez Davila <a@abdonrd.com>

* Add default options

Signed-off-by: Abdón Rodríguez Davila <a@abdonrd.com>

* Update documentation

Signed-off-by: Abdón Rodríguez Davila <a@abdonrd.com>

* Rename to deprecatedApolloServerConfig

Signed-off-by: Abdón Rodríguez Davila <a@abdonrd.com>

* Empty default options

Signed-off-by: Abdón Rodríguez Davila <a@abdonrd.com>

* Update default config

Signed-off-by: Abdón Rodríguez Davila <a@abdonrd.com>

* Add warning note

Signed-off-by: Abdón Rodríguez Davila <a@abdonrd.com>

* Add documentation note

Signed-off-by: Abdón Rodríguez Davila <a@abdonrd.com>

* Update documentation note

Signed-off-by: Abdón Rodríguez Davila <a@abdonrd.com>

* Fix the config check

Signed-off-by: Abdón Rodríguez Davila <a@abdonrd.com>

* Fix the config check

Signed-off-by: Abdón Rodríguez Davila <a@abdonrd.com>

* Refactor old code and rename param to appoloServer to avoid redondancy

Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>

* Fix typo

Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>

Co-authored-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-09-04 09:51:11 +02:00
Jim LAURIE
b3b335c090
Merge pull request #7661 from strapi/docs/heroku/pg
Heroku PG DB env variable deconstruction automatically
2020-09-03 19:01:23 +02:00
Pierre Noël
af773f4d5c Merge branch 'master' into documentation 2020-09-03 16:13:50 +02:00
DMehaffy
b02bb62cc1
Add example for PG SSL CA verification (#7700) 2020-09-02 08:23:55 -07:00
Alexandre Bodin
6905be68bc Merge branch 'documentation' 2020-09-02 17:23:41 +02:00
DMehaffy
024b337b09
Update node version requirements for v10 to v12 (#7409)
Signed-off-by: Derrick Mehaffy <derrickmehaffy@gmail.com>
2020-09-02 17:11:59 +02:00
Igor Samokhovets
91ace0d1ec
Fix kind attribute update query in beta.17 to beta.18 migration guide (#7583)
* Update migration-guide-beta.17-to-beta.18.md

Replace positional operator ($) with all positional operator($[])

* $ -> $[]
2020-09-02 17:07:25 +02:00
An owlet
74d7295911
Remove flag in language selection (#7102)
* Flag is not language!

Signed-off-by: 潘志坚 <jim.pan@dji.com>

* Flag is not language

Signed-off-by: 潘志坚 <jim.pan@dji.com>

* Change locale to native name

Signed-off-by: 潘志坚 <jim.pan@dji.com>

* Add test languageNativeNames

Signed-off-by: 潘志坚 <jim.pan@dji.com>

* Uppercase the first letter of the native language name

Signed-off-by: 潘志坚 <jim.pan@dji.com>
2020-09-02 13:52:14 +02:00
Derrick Mehaffy
5900b488de Heroku PG DB env variable deconstruction automatically 2020-08-31 14:25:33 -07:00
Valerian Pereira
e6511a9f74
GraphQL Typos fixed to improve documentation (#7644)
Signed-off-by: Valerian Pereira <valerianpereira25@gmail.com>
2020-08-30 14:39:05 -07:00
Derrick Mehaffy
4324f170c9
Add warning to unit testing guide for windows/SQLite
Signed-off-by: Derrick Mehaffy <derrickmehaffy@gmail.com>
2020-08-19 06:55:38 -07:00
Maxime Castres
28f1d6df86
Integration documentation (#7282)
* Cleanup shelljs

Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>

* Bump koa-session from 5.13.1 to 6.0.0 (#7254)

Bumps [koa-session](https://github.com/koajs/session) from 5.13.1 to 6.0.0.
- [Release notes](https://github.com/koajs/session/releases)
- [Changelog](https://github.com/koajs/session/blob/master/History.md)
- [Commits](https://github.com/koajs/session/compare/5.13.1...6.0.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Fix #7252: fix relation name
fix regression issue due to pull #7204

Signed-off-by: Akash P <aksdevac@gmail.com>

* v3.1.3

* Add React Integration

* Remove character

* Created a new component for less code

* Review modifications

* Review modifications 2

* Add Vue.js, Next.js, Nuxt.js, Gatsby and GraphQL inte

* Change Select with Checkboxes

* Remove useless fonction in Next.js

* Update Next.js

* Update Next.js 2

* Update Vue.js and Nuxt.js

* Update React and Next.js

* Update Post example

* Update all

* Last reviews

Co-authored-by: Alexandre Bodin <bodin.alex@gmail.com>
Co-authored-by: Alexandre BODIN <alexandrebodin@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Akash P <aksdevac@gmail.com>
2020-08-17 10:29:04 -07:00
XuluWarrior
122e4b7664 Boom middleware needs to be loaded before sentry middleware
Signed-off-by: XuluWarrior <github@metaliving.plus.com>
2020-08-14 15:05:27 +01:00
Jim LAURIE
009522d078
Merge pull request #7441 from dr5hn/improve/Docs
Add how to change login page's logo
2020-08-14 15:07:00 +02:00
Jim LAURIE
cfcfea06c4 docs: remove tips in login provider tab causing templating issues
Signed-off-by: Jim LAURIE <j.laurie6993@gmail.com>
2020-08-14 11:53:33 +02:00
Joeri Damme
0adc210956
chore: fixing typo in Plugin Development -> Frontend Development documentation. (#7461)
Signed-off-by: Joeri Damme <joeri.damme@kpn.com>
2020-08-13 15:30:21 -07:00
Alexandre Bodin
331b73801f Merge branch 'documentation' 2020-08-13 19:12:56 +02:00
David Janas
11f900085e
Increase parser arrayLimit to 100 (#7430)
* Add queryStringParser settings to parser middleware

Signed-off-by: David Janas <davidjanasr@gmail.com>

* add queryStringParser config to middleware documentation

Signed-off-by: David Janas <davidjanasr@gmail.com>
2020-08-13 18:35:38 +02:00
Jim LAURIE
a16542c9b7
Merge pull request #7408 from strapi/docs/FAQ/rbacUpdate
Update FAQ with latest RBAC information
2020-08-13 12:16:27 +02:00
Darshan Gada
143e85cb8d ADD: How to change login page's logo
Signed-off-by: Darshan Gada <gadadarshan@gmail.com>
2020-08-12 18:35:01 +05:30
Alexandre Bodin
acf11ed9b1 Merge branch 'documentation'
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-08-12 14:52:37 +02:00
KULDIP PIPALIYA
fa8dfcc7cf
Formatting enhancements and Fixes (#6858)
* Fix: formatting

Signed-off-by: KULDIP PIPALIYA <kuldipem@gmail.com>

* Fix: formatting

Signed-off-by: KULDIP PIPALIYA <kuldipem@gmail.com>

* Enhance: consistance formatting for NOTE

Signed-off-by: KULDIP PIPALIYA <kuldipem@gmail.com>

* Enhance: consistance formatting for NOTE

Signed-off-by: KULDIP PIPALIYA <kuldipem@gmail.com>
2020-08-12 12:33:54 +02:00
JuanCarlosJr97
1afbdd663f
Updating email documentation adding a tip during initial setup to avoid issues during strapi creation (#7413)
Signed-off-by: Juan Carlos Blanco Delgado <juancarlosjr97@gmail.com>
2020-08-12 12:18:17 +02:00
Anthony Valera
f93bff8bfb
Fixes link to AWS Free landing page (#7291)
Signed-off-by: Anthony Valera <anthony@anthonyvalera.com>
2020-08-12 12:08:32 +02:00