Ghost/ghost/admin/app/validators
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
..
base.js convert ember imports to ember-cli-shim imports where possible (#95) 2016-06-30 11:21:47 +01:00
invite-user.js Refactor modals 2016-01-12 20:53:08 +00:00
nav-item.js validate nav items when clicking the + button, ignoring last item if blank 2016-02-08 14:20:57 +00:00
new-user.js Use es6 across client and add ember-suave to enforce rules 2015-11-30 10:41:01 +00:00
post.js Standardise client property names to camelCase 2016-01-23 19:12:22 +01:00
reset.js Use es6 across client and add ember-suave to enforce rules 2015-11-30 10:41:01 +00:00
setting.js Use es6 across client and add ember-suave to enforce rules 2015-11-30 10:41:01 +00:00
setup.js Update package.json details, rename module to ghost-admin 2016-06-03 16:12:54 +01:00
signin.js Use es6 across client and add ember-suave to enforce rules 2015-11-30 10:41:01 +00:00
signup.js Update package.json details, rename module to ghost-admin 2016-06-03 16:12:54 +01:00
slack-integration.js Slack integration 2016-05-08 12:49:15 +02:00
subscriber.js Subscribers: Admin User Interface v1 2016-05-11 10:28:11 +02:00
tag-settings.js Standardise client property names to camelCase 2016-01-23 19:12:22 +01:00
user.js Refactor error handling 2016-07-08 15:16:54 +01:00