Ghost/core/server/api
Aileen Nowak 38a261daac timezones: Always use the timezone of blog setting
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
2016-05-20 13:59:45 +02:00
..
authentication.js Pre-populate setup values from config 2016-05-11 19:30:56 +02:00
clients.js Harvest server side strings 2015-12-19 12:12:16 +01:00
configuration.js Including timezones API in configuration endpoint 2016-02-24 16:44:01 +02:00
db.js add small permission improvements 2016-05-08 14:22:55 +02:00
index.js Subscribers: Model, API & CSV import/export 2016-05-11 10:28:10 +02:00
mail.js Refactor mail service 2016-02-10 16:31:42 -06:00
notifications.js Return http status 204 on deletes 2016-03-22 11:42:48 -05:00
posts.js Return http status 204 on deletes 2016-03-22 11:42:48 -05:00
roles.js Refactor handlePermissions 2015-08-11 16:03:57 +02:00
settings.js timezones: Always use the timezone of blog setting 2016-05-20 13:59:45 +02:00
slack.js Slack integration 2016-05-08 12:49:15 +02:00
slugs.js Harvest server side strings 2015-12-19 12:12:16 +01:00
subscribers.js Subscribers: Error message improvements 2016-05-12 17:37:45 +02:00
tags.js Return http status 204 on deletes 2016-03-22 11:42:48 -05:00
themes.js Harvest server side strings 2015-12-19 12:12:16 +01:00
upload.js Replace busboy upload middleware with multer 2016-04-07 21:30:46 -05:00
users.js Return http status 204 on deletes 2016-03-22 11:42:48 -05:00
utils.js delete null values from incoming objects 2016-05-08 09:18:44 +02:00