Ghost/core/server/data/default-settings.json
Sebastian Gierlinger fd4f3051e6 Fix display update notification
closes #1932

- added showUpdateNotification with version check
- added temp workaround for boolean values in database
- changed default value from false to null
- updated tests
2014-01-14 20:46:36 +01:00

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": "[]"
}
}
}