mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-15 11:34:24 +03:00
fd4f3051e6
closes #1932 - added showUpdateNotification with version check - added temp workaround for boolean values in database - changed default value from false to null - updated tests
80 lines
1.8 KiB
JSON
80 lines
1.8 KiB
JSON
{
|
|
"core": {
|
|
"databaseVersion": {
|
|
"defaultValue": "001"
|
|
},
|
|
"dbHash": {
|
|
"defaultValue": null
|
|
},
|
|
"nextUpdateCheck": {
|
|
"defaultValue": null
|
|
},
|
|
"displayUpdateNotification": {
|
|
"defaultValue": null
|
|
}
|
|
},
|
|
"blog": {
|
|
"title": {
|
|
"defaultValue": "Ghost"
|
|
},
|
|
"description": {
|
|
"defaultValue": "Just a blogging platform."
|
|
},
|
|
"email": {
|
|
"defaultValue": "ghost@example.com",
|
|
"validations": {
|
|
"notNull": true,
|
|
"isEmail": true
|
|
}
|
|
},
|
|
"logo": {
|
|
"defaultValue": ""
|
|
},
|
|
"cover": {
|
|
"defaultValue": ""
|
|
},
|
|
"defaultLang": {
|
|
"defaultValue": "en_US",
|
|
"validations": {
|
|
"notNull": true
|
|
}
|
|
},
|
|
"postsPerPage": {
|
|
"defaultValue": "6",
|
|
"validations": {
|
|
"notNull": true,
|
|
"isInt": true,
|
|
"max": 1000
|
|
}
|
|
},
|
|
"forceI18n": {
|
|
"defaultValue": "true",
|
|
"validations": {
|
|
"notNull": true,
|
|
"isIn": ["true", "false"]
|
|
}
|
|
},
|
|
"permalinks": {
|
|
"defaultValue": "/:slug/",
|
|
"validations": {
|
|
"is": "^(/:?[a-z]+){1,}/$",
|
|
"regex": "(:id|:slug)",
|
|
"notContains": "/ghost/"
|
|
}
|
|
}
|
|
},
|
|
"theme": {
|
|
"activeTheme": {
|
|
"defaultValue": "casper"
|
|
}
|
|
},
|
|
"plugin": {
|
|
"activePlugins": {
|
|
"defaultValue": "[]"
|
|
},
|
|
"installedPlugins": {
|
|
"defaultValue": "[]"
|
|
}
|
|
}
|
|
}
|