0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-03-11 02:12:21 -05:00
ghost/core/client/tests/unit
Kevin Ansfield 73ea9f52f0 Fix auth regressions after ESA 1.0 upgrade
refs #6039, closes #6047, closes #6048

- delete old/unused fixtures file
- add failing tests for #6047 & #6048
- redirect to sign-in if we get a 401 when making an API request
- fix incorrect `this.notifications` call in tag controller
- raise `authorizationFailed` action in application route's `sessionInvalidated` hook so that it can be handled by leaf routes (fixes re-auth modal display)
- close "saving failed" alert when successfully re-authenticated
- adds a "window-proxy" util so that we can override `window.*` operations in tests
- fix `gh-selectize` attempting to register event handlers when the component has already been destroyed
2015-11-12 12:56:27 +00:00
..
components Merge pull request #6017 from kevinansfield/finalize-debounced-gravatar 2015-11-02 18:14:53 +00:00
controllers deps: grunt-jscs@2.1.0 2015-10-12 19:21:16 +01:00
helpers Standardize ember test names and file names 2015-10-06 17:31:03 +01:00
mixins Fix auth regressions after ESA 1.0 upgrade 2015-11-12 12:56:27 +00:00
models Fix "Unsupported rule: jsDoc" when linting 2015-10-15 09:24:39 +01:00
services Avoid duplicate alerts, clear alerts on successful retry or sign-in 2015-10-12 19:21:30 +01:00
utils Standardize ember test names and file names 2015-10-06 17:31:03 +01:00
validators Fix auth regressions after ESA 1.0 upgrade 2015-11-12 12:56:27 +00:00
.gitkeep