Ghost/ghost/admin/app/styles/components
Kevin Ansfield b4cdc85a59 "400 Version Mismatch" error handling
refs https://github.com/TryGhost/Ghost/issues/6949

Handle version mismatch errors by:
- displaying an alert asking the user to copy any data and refresh
- disabling navigation so that unsaved data is not accidentally lost

Detailed changes:
- add `error` action to application route for global route-based error handling
- remove 404-handler mixin, move logic into app route error handler
- update `.catch` in validation-engine so that promises are rejected with the
  original error objects
- add `VersionMismatchError` and `isVersionMismatchError` to ajax service
- add `upgrade-status` service
  - has a method to trigger the alert and toggle the "upgrade required" mode
  - is injected into all routes by default so that it can be checked before
    transitioning
- add `Route` override
  - updates the `willTransition` hook to check the `upgrade-status` service
    and abort the transition if we're in "upgrade required" mode
- update notifications `showAPIError` method to handle version mismatch errors
- update any areas where we were catching ajax errors manually so that the
  version mismatch error handling is obeyed
- fix redirect tests in editor acceptance test
- fix mirage's handling of 404s for unknown posts in get post requests
- adjust alert z-index to to appear above modal backgrounds
2016-07-08 14:56:26 +01:00
..
badges.css Introduce CSScomb 2015-05-22 19:05:10 +01:00
dropdowns.css Consolidation of dropdown sizes 2015-08-27 13:27:49 +02:00
modals.css Subscribers: Admin User Interface v1 2016-05-11 10:28:11 +02:00
notifications.css "400 Version Mismatch" error handling 2016-07-08 14:56:26 +01:00
pagination.css Main colour audit 2015-06-24 13:37:37 +01:00
popovers.css Introduce CSScomb 2015-05-22 19:05:10 +01:00
power-select.css Slack integration 2016-05-08 12:49:15 +02:00
selectize.css Search mobile fixes 2015-09-02 16:13:18 +02:00
settings-menu.css Replace jQuery-based uploader.js with ember components 2016-04-05 12:03:20 +01:00
splitbuttons.css Fix splitbutton height regression 2015-08-25 13:58:24 +02:00
uploader.css Replace jQuery-based uploader.js with ember components 2016-04-05 12:03:20 +01:00