Ghost/ghost/admin/app/utils
Kevin Ansfield 35cf6c9829 new publish menu and date/time picker (#588)
closes https://github.com/TryGhost/Ghost/issues/8249

- replaces the old split-button publish/schedule/update button with a less confusing menu system
- adds a `{{gh-date-time-picker}}` component that contains a datepicker with separate time input
- replaces the date text input in the post settings menu with `{{gh-date-time-picker}}`
  - disabled when post is scheduled, only way to update a scheduled time is via the publish menu
  - validates date is in the past when draft/published so there's no confusion with scheduling
- displays saving status in top-left of editor screen
- refactor editor (auto)saving processes to use ember-concurrency

Other minor changes:
- adds `post.publishedAtBlog{TZ,Date,Time}` properties to Post model to allow working with `publishedAt` datetime in the selected blog timezone rather than UTC
- adds a `beforeSave` hook to `validation-engine` that is called after successful validation and before the Ember Data save call is made
- adds validation of `publishedAtBlog{Date,Time}` to post validator
- prevent gh-task-button showing last task state on first render
- fixes bug where clicking into and out of the published date input in the PSM without making any changes saves a published date for draft posts
2017-04-11 14:39:45 +01:00
..
bound-one-way.js convert ember imports to ember-cli-shim imports where possible (#95) 2016-06-30 11:21:47 +01:00
caja-sanitizers.js Use es6 across client and add ember-suave to enforce rules 2015-11-30 10:41:01 +00:00
ctrl-or-cmd.js Standardize on var-less export default across ember app 2015-10-06 10:59:50 +01:00
date-formatting.js new publish menu and date/time picker (#588) 2017-04-11 14:39:45 +01:00
document-title.js convert ember imports to ember-cli-shim imports where possible (#95) 2016-06-30 11:21:47 +01:00
ed-image-manager.js Fix editor image perf and upload bug 2016-05-08 12:55:56 +02:00
editor-shortcuts.js Update package.json details, rename module to ghost-admin 2016-06-03 16:12:54 +01:00
ghost-paths.js 🎨 Change asset path to /ghost/assets (#309) 2016-10-07 16:16:26 -05:00
isFinite.js Standardize on var-less export default across ember app 2015-10-06 10:59:50 +01:00
isNumber.js Update code to match eslint rules 2016-11-14 13:26:00 +00:00
link-component.js convert ember imports to ember-cli-shim imports where possible (#95) 2016-06-30 11:21:47 +01:00
random-password.js Use es6 across client and add ember-suave to enforce rules 2015-11-30 10:41:01 +00:00
route.js "400 Version Mismatch" error handling 2016-07-08 14:56:26 +01:00
text-field.js convert ember imports to ember-cli-shim imports where possible (#95) 2016-06-30 11:21:47 +01:00
titleize.js Update code to match eslint rules 2016-11-14 13:26:00 +00:00
validator-extensions.js convert ember imports to ember-cli-shim imports where possible (#95) 2016-06-30 11:21:47 +01:00
window-proxy.js Use es6 across client and add ember-suave to enforce rules 2015-11-30 10:41:01 +00:00
word-count.js Update code to match eslint rules 2016-11-14 13:26:00 +00:00