Merge branch 'master' into patch-1

This commit is contained in:
Jim LAURIE 2018-05-08 12:10:40 +02:00 committed by GitHub
commit a9f9b6f428
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
15 changed files with 243 additions and 4 deletions

View File

@ -196,7 +196,11 @@ Most of the application's configurations are defined by environment. It means th
"username": "fooUsername",
"password": "fooPwd"
},
"options": {}
"options": {
"authenticationDatabase": "",
"ssl": true,
"minimize": true
}
},
"postgres": {
"connector": "strapi-bookshelf",
@ -209,7 +213,9 @@ Most of the application's configurations are defined by environment. It means th
"database": "${process.env.PWD}",
"schema": "public"
},
"options": {}
"options": {
"debug": true
}
},
"mysql": {
"connector": "strapi-bookshelf",
@ -240,6 +246,9 @@ Most of the application's configurations are defined by environment. It means th
> Please refer to the [dynamic configurations section](#dynamic-configurations) to use global environment variable to configure the databases.
***
## Request

View File

@ -75,6 +75,8 @@ $RECYCLE.BIN/
*#
ssl
.editorconfig
.gitattributes
.idea
nbproject

View File

@ -178,6 +178,7 @@ module.exports = function (strapi) {
});
collection.schema.set('timestamps', _.get(definition, 'options.timestamps') === true);
collection.schema.set('minimize', _.get(definition, 'options.minimize', false) === true);
collection.schema.options.toObject = collection.schema.options.toJSON = {
virtuals: true,

View File

@ -75,6 +75,8 @@ $RECYCLE.BIN/
*#
ssl
.editorconfig
.gitattributes
.idea
nbproject

View File

@ -75,6 +75,8 @@ $RECYCLE.BIN/
*#
ssl
.editorconfig
.gitattributes
.idea
nbproject

View File

@ -75,6 +75,8 @@ $RECYCLE.BIN/
*#
ssl
.editorconfig
.gitattributes
.idea
nbproject

View File

@ -19,8 +19,7 @@
"generate": "node ./node_modules/strapi-helper-plugin/node_modules/.bin/plop --plopfile ./node_modules/strapi-helper-plugin/lib/internals/generators/index.js",
"lint": "node ./node_modules/strapi-helper-plugin/node_modules/.bin/eslint --ignore-path .gitignore --ignore-pattern '/admin/build/' --config ./node_modules/strapi-helper-plugin/lib/internals/eslint/.eslintrc.json admin",
"prettier": "node ./node_modules/strapi-helper-plugin/node_modules/.bin/prettier --single-quote --trailing-comma es5 --write \"{admin,__{tests,mocks}__}/**/*.js\"",
"test": "npm run lint",
"prepublishOnly": "npm run build"
"test": "npm run lint"
},
"dependencies": {
"sendmail": "^1.2.0"

View File

@ -75,6 +75,8 @@ $RECYCLE.BIN/
*#
ssl
.editorconfig
.gitattributes
.idea
nbproject

View File

@ -75,6 +75,8 @@ $RECYCLE.BIN/
*#
ssl
.editorconfig
.gitattributes
.idea
nbproject

View File

@ -0,0 +1,103 @@
############################
# OS X
############################
.DS_Store
.AppleDouble
.LSOverride
Icon
.Spotlight-V100
.Trashes
._*
############################
# Linux
############################
*~
############################
# Windows
############################
Thumbs.db
ehthumbs.db
Desktop.ini
$RECYCLE.BIN/
*.cab
*.msi
*.msm
*.msp
############################
# Packages
############################
*.7z
*.csv
*.dat
*.dmg
*.gz
*.iso
*.jar
*.rar
*.tar
*.zip
*.com
*.class
*.dll
*.exe
*.o
*.seed
*.so
*.swo
*.swp
*.swn
*.swm
*.out
*.pid
############################
# Logs and databases
############################
*.log
*.sql
############################
# Misc.
############################
*#
ssl
.editorconfig
.gitattributes
.idea
nbproject
############################
# Node.js
############################
lib-cov
lcov.info
pids
logs
results
node_modules
.node_history
############################
# Tests
############################
test
testApp
coverage

View File

@ -75,6 +75,8 @@ $RECYCLE.BIN/
*#
ssl
.editorconfig
.gitattributes
.idea
nbproject

View File

@ -76,6 +76,9 @@ $RECYCLE.BIN/
############################
*#
ssl
.editorconfig
.gitattributes
.idea
nbproject

View File

@ -0,0 +1,104 @@
############################
# OS X
############################
.DS_Store
.AppleDouble
.LSOverride
Icon
.Spotlight-V100
.Trashes
._*
############################
# Linux
############################
*~
############################
# Windows
############################
Thumbs.db
ehthumbs.db
Desktop.ini
$RECYCLE.BIN/
*.cab
*.msi
*.msm
*.msp
############################
# Packages
############################
*.7z
*.csv
*.dat
*.dmg
*.gz
*.iso
*.jar
*.rar
*.tar
*.zip
*.com
*.class
*.dll
*.exe
*.o
*.seed
*.so
*.swo
*.swp
*.swn
*.swm
*.out
*.pid
############################
# Logs and databases
############################
.tmp
*.log
*.sql
*.sqlite
############################
# Misc.
############################
*#
ssl
.editorconfig
.gitattributes
.idea
nbproject
############################
# Node.js
############################
lib-cov
lcov.info
pids
logs
results
build
node_modules
.node_history
############################
# Tests
############################
test

View File

@ -76,6 +76,9 @@ $RECYCLE.BIN/
############################
*#
ssl
.editorconfig
.gitattributes
.idea
nbproject

View File

@ -76,6 +76,9 @@ $RECYCLE.BIN/
############################
*#
ssl
.editorconfig
.gitattributes
.idea
nbproject