Ghost/ghost/admin/app/adapters
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
..
application.js Update package.json details, rename module to ghost-admin 2016-06-03 16:12:54 +01:00
base.js Refactor error handling 2016-07-08 15:16:54 +01:00
embedded-relation-adapter.js convert ember imports to ember-cli-shim imports where possible (#95) 2016-06-30 11:21:47 +01:00
setting.js Update package.json details, rename module to ghost-admin 2016-06-03 16:12:54 +01:00
tag.js Update package.json details, rename module to ghost-admin 2016-06-03 16:12:54 +01:00
user.js Update package.json details, rename module to ghost-admin 2016-06-03 16:12:54 +01:00