Ghost/ghost/admin
Matt Enlow ccd319b426 PostSettingsMenu: Don't save new posts, reset values on failure
Closes #3158, Closes #3143, Closes #3134
- Added `model.rollback()` when PSM fails to save.
- Added `showErrors` and `showSuccess` helper functions to PSM to abstract
  closing and showing of notifications.
- Added `togglePage` action to indirect the setting of `page`.
- Removed `isStaticPage` property in favor of `togglePage` action
- moved `updateSlug` error catching to outer promise (slugGenerator promise)
- modifying the `page` and `published_at` properties will no longer cause a new post to save
- Close passive notifications on published date parse fail
- Removed promise creation in catch statements

- Changed tests to click on label, rather than the input for
  .post-setting-static-page.
2014-07-02 15:29:15 -06:00
..
adapters Remove CSRF from client 2014-07-01 11:39:01 +02:00
assets Remove CSRF from client 2014-07-01 11:39:01 +02:00
components Persistent notifications 2014-07-01 11:36:21 +02:00
controllers PostSettingsMenu: Don't save new posts, reset values on failure 2014-07-02 15:29:15 -06:00
fixtures Merge pull request #2967 from szelpe/settings-apps 2014-06-22 09:04:14 +01:00
helpers Implements character count helper. 2014-06-23 20:02:09 +00:00
html About page HTML 2014-06-30 09:54:52 +01:00
initializers Remove CSRF from client 2014-07-01 11:39:01 +02:00
mixins Persistent notifications 2014-07-01 11:36:21 +02:00
models Persistent notifications 2014-07-01 11:36:21 +02:00
routes Merge pull request #3149 from kevinansfield/persistent-notifications 2014-07-01 14:23:38 +01:00
serializers Calls to POST API have include=tags 2014-06-28 03:13:31 -04:00
templates PostSettingsMenu: Don't save new posts, reset values on failure 2014-07-02 15:29:15 -06:00
transforms Changed ember models to use moment for dates 2014-06-05 10:30:28 -06:00
utils Persistent notifications 2014-07-01 11:36:21 +02:00
validators Better handling of validation errors + more documentation 2014-06-30 22:35:03 -04:00
views Mobile Interactions 2014-06-24 18:33:59 -04:00
.jshintrc Re-implementing the loading indicator for the Ember admin 2014-06-23 10:01:33 -04:00
app.js Ember Data with Posts 2014-05-29 07:42:51 -05:00
router.js Persistent notifications 2014-07-01 11:36:21 +02:00