1
0
Fork 0
mirror of https://github.com/TryGhost/Ghost-Admin.git synced 2023-12-14 02:33:04 +01:00
Ghost-Admin/app/controllers
Kevin Ansfield 690dc9dffb 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
..
editor convert ember imports to ember-cli-shim imports where possible (#95) 2016-06-30 11:21:47 +01:00
settings Refactor error handling 2016-07-08 15:16:54 +01:00
setup more shimming of controllers (#110) 2016-07-06 20:47:30 +01:00
team Refactor error handling 2016-07-08 15:16:54 +01:00
about.js more shimming of controllers (#110) 2016-07-06 20:47:30 +01:00
application.js more shimming of controllers (#110) 2016-07-06 20:47:30 +01:00
error.js more shimming of controllers (#110) 2016-07-06 20:47:30 +01:00
post-settings-menu.js Refactor error handling 2016-07-08 15:16:54 +01:00
posts.js more shimming of controllers (#110) 2016-07-06 20:47:30 +01:00
reset.js more shimming of controllers (#110) 2016-07-06 20:47:30 +01:00
setup.js more shimming of controllers (#110) 2016-07-06 20:47:30 +01:00
signin.js "400 Version Mismatch" error handling 2016-07-08 14:56:26 +01:00
signup.js "400 Version Mismatch" error handling 2016-07-08 14:56:26 +01:00
subscribers.js more shimming of controllers (#110) 2016-07-06 20:47:30 +01:00