mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-03 23:00:14 -05:00
38a261daac
closes #6406 - adding timeZone Service to get the offset (=timezone reg. moment-timezone) overall available - new publishedAtOffset date as CP using timeZone service and moment-timezone to calculate offset incl. DST - removing timezone-obj transform as it became obsolete with moment-timezone - reading timezones from configuration/timezones api endpoint - adding a moment-utc transform to only work with utc times in backend - when switching the timezone in the select box, the user will be shown the local time of the selected timezone - added clock service to show actual time ticking below select box - default timezone is '(GMT) Greenwich Mean Time : Dublin, Edinburgh, London' - if no timezone is saved in the settings yet, the default value will be used - showing local time in 'Publish Date' when it's a draft and no actual publishedAt value exists - Removed the format 'DD MMM YY @ HH:mm (UTC Z)' which resolves to '01 Jan 16 @ 14:00 (UTC +02:00)' - Changing the date.js helper in core/server for moment-timezone - Fix timezone select: updates `selectedTimezone` to return the matching object from `availableTimezones` - Including timezones in test for date-helper - update to moment-timezone 0.5.1 - moving form-group of 'selectTimezone' further up so - Tests: - Set except for clock service in test env - adding fixtures to mirage - adding 'service.ajax' to navigation-test.js - adding 'service:ghostPaths' to navigation-test.js - Code improvements - Changing clockservice to ES6
107 lines
2.5 KiB
JSON
107 lines
2.5 KiB
JSON
{
|
|
"core": {
|
|
"databaseVersion": {
|
|
"defaultValue": "005"
|
|
},
|
|
"dbHash": {
|
|
"defaultValue": null
|
|
},
|
|
"nextUpdateCheck": {
|
|
"defaultValue": null
|
|
},
|
|
"displayUpdateNotification": {
|
|
"defaultValue": null
|
|
}
|
|
},
|
|
"blog": {
|
|
"title": {
|
|
"defaultValue": "Ghost"
|
|
},
|
|
"description": {
|
|
"defaultValue": "Just a blogging platform."
|
|
},
|
|
"logo": {
|
|
"defaultValue": ""
|
|
},
|
|
"cover": {
|
|
"defaultValue": ""
|
|
},
|
|
"defaultLang": {
|
|
"defaultValue": "en_US",
|
|
"validations": {
|
|
"isNull": false
|
|
}
|
|
},
|
|
"postsPerPage": {
|
|
"defaultValue": "5",
|
|
"validations": {
|
|
"isNull": false,
|
|
"isInt": true,
|
|
"isLength": [1, 1000]
|
|
}
|
|
},
|
|
"activeTimezone": {
|
|
"defaultValue": "Europe/Dublin",
|
|
"validations": {
|
|
"isNull": false
|
|
}
|
|
},
|
|
"forceI18n": {
|
|
"defaultValue": "true",
|
|
"validations": {
|
|
"isNull": false,
|
|
"isIn": [["true", "false"]]
|
|
}
|
|
},
|
|
"permalinks": {
|
|
"defaultValue": "/:slug/",
|
|
"validations": {
|
|
"matches": "^(\/:?[a-z0-9_-]+){1,5}\/$",
|
|
"matches": "(:id|:slug|:year|:month|:day|:author)",
|
|
"notContains": "/ghost/"
|
|
}
|
|
},
|
|
"ghost_head": {
|
|
"defaultValue" : ""
|
|
},
|
|
"ghost_foot": {
|
|
"defaultValue" : ""
|
|
},
|
|
"facebook": {
|
|
"defaultValue" : ""
|
|
},
|
|
"twitter": {
|
|
"defaultValue" : ""
|
|
},
|
|
"labs": {
|
|
"defaultValue": "{}"
|
|
},
|
|
"navigation": {
|
|
"defaultValue": "[{\"label\":\"Home\", \"url\":\"/\"}]"
|
|
},
|
|
"slack": {
|
|
"defaultValue": "[{\"url\":\"\"}]"
|
|
}
|
|
},
|
|
"theme": {
|
|
"activeTheme": {
|
|
"defaultValue": "casper"
|
|
}
|
|
},
|
|
"app": {
|
|
"activeApps": {
|
|
"defaultValue": "[]"
|
|
},
|
|
"installedApps": {
|
|
"defaultValue": "[]"
|
|
}
|
|
},
|
|
"private": {
|
|
"isPrivate": {
|
|
"defaultValue": "false"
|
|
},
|
|
"password": {
|
|
"defaultValue": ""
|
|
}
|
|
}
|
|
}
|