mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-26 20:34:02 +03:00
3f2258e95b
- changed cookieSession to session - added session.regenerate for login and logout - added bookshelf session store - added session table to database - added import for databaseVersion 001 - added grunt task test-api - cleanup of gruntfile to start express when needed only - moved api tests to functional tests
71 lines
1.6 KiB
JSON
71 lines
1.6 KiB
JSON
{
|
|
"core": {
|
|
"databaseVersion": {
|
|
"defaultValue": "001"
|
|
}
|
|
},
|
|
"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": "[]"
|
|
}
|
|
}
|
|
}
|