Ghost/ghost/admin/tests/unit
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
..
components convert ember imports to ember-cli-shim imports where possible (#95) 2016-06-30 11:21:47 +01:00
controllers "400 Version Mismatch" error handling 2016-07-08 14:56:26 +01:00
helpers convert ember imports to ember-cli-shim imports where possible (#95) 2016-06-30 11:21:47 +01:00
mixins convert ember imports to ember-cli-shim imports where possible (#95) 2016-06-30 11:21:47 +01:00
models convert ember imports to ember-cli-shim imports where possible (#95) 2016-06-30 11:21:47 +01:00
routes Improve uploader tests + test subscribers CSV import 2016-05-27 13:34:31 +01:00
serializers Renaming date properties to contain UTC 2016-06-17 11:09:21 +02:00
services Refactor error handling 2016-07-08 15:16:54 +01:00
transforms convert ember imports to ember-cli-shim imports where possible (#95) 2016-06-30 11:21:47 +01:00
utils Update package.json details, rename module to ghost-admin 2016-06-03 16:12:54 +01:00
validators convert ember imports to ember-cli-shim imports where possible (#95) 2016-06-30 11:21:47 +01:00
.gitkeep Ember init, bower deps, es6 modules 2015-03-11 12:37:41 -06:00