Ghost/ghost/admin/tests/acceptance
Kevin Ansfield eb2a0359cf Refactor error handling
closes https://github.com/TryGhost/Ghost/issues/6974
- update "change password" fields/process to use inline validations
- remove `notifications.showErrors` and update all uses of it to `showAPIError`
- display multiple API errors as alerts rather than toaster notifications
- refactor `notifications.showAPIError`
  - remove `notifications.showErrors`, use a loop in `showAPIError` instead
  - properly determine the message from `AjaxError` or `AdapterError` objects
  - determine a unique key if possible so that we don't lose multiple different alerts
- add `ServerUnreachable` error for when we get a status code of 0 (eg, when the ghost service has been shut down)
- simplify error messages for our custom ajax errors
2016-07-08 15:16:54 +01:00
..
posts Scheduler UI 2016-06-13 17:01:42 +02:00
settings "400 Version Mismatch" error handling 2016-07-08 14:56:26 +01:00
authentication-test.js convert ember imports to ember-cli-shim imports where possible (#95) 2016-06-30 11:21:47 +01:00
editor-test.js "400 Version Mismatch" error handling 2016-07-08 14:56:26 +01:00
ghost-desktop-test.js Fix and add tests for Ghost Desktop manual update notification 2016-06-13 13:40:41 +01:00
password-reset-test.js Acceptance tests for password reset flow on signin screen 2016-02-02 12:22:41 +00:00
setup-test.js convert ember imports to ember-cli-shim imports where possible (#95) 2016-06-30 11:21:47 +01:00
signin-test.js convert ember imports to ember-cli-shim imports where possible (#95) 2016-06-30 11:21:47 +01:00
subscribers-test.js Update package.json details, rename module to ghost-admin 2016-06-03 16:12:54 +01:00
team-test.js Refactor error handling 2016-07-08 15:16:54 +01:00
version-mismatch-test.js "400 Version Mismatch" error handling 2016-07-08 14:56:26 +01:00