Ghost/ghost/admin/tests
Fabien O'Carroll 3e5a62309f Use Admin API v2 with session auth (#1046)
refs #9865
- removed all `oauth2` and token-based ESA auth
- added new `cookie` authenticator which handles session creation
- updated the session store to extend from the `ephemeral` in-memory store and to restore by fetching the currently logged in user and using the success/failure state to indicate authentication state
  - ESA automatically calls this `.restore()` method on app boot
  - the `session` service caches the current-user query so there's no unnecessary requests being made for the "logged in" state
- removed the now-unnecessary token refresh and logout routines from the `application` route
- removed the now-unnecessary token refresh routines from the `ajax` service
- removed `access_token` query param from iframe file downloaders
- changed Ember Data adapters and `ghost-paths` to use the `/ghost/api/v2/admin/` namespace
2018-10-05 19:46:33 +01:00
..
acceptance Use Admin API v2 with session auth (#1046) 2018-10-05 19:46:33 +01:00
helpers Prevent keymaster bindings from causing failed tests (#976) 2018-03-19 18:39:17 +00:00
integration Use Admin API v2 with session auth (#1046) 2018-10-05 19:46:33 +01:00
unit Use Admin API v2 with session auth (#1046) 2018-10-05 19:46:33 +01:00
.eslintrc.js Switch to eslint-plugin-ghost extending plugin:ghost/ember 2018-01-12 12:17:56 +00:00
index.html Remove ember application template wrapper 2018-05-01 10:57:20 +01:00
test-helper.js Switch to eslint-plugin-ghost extending plugin:ghost/ember 2018-01-12 12:17:56 +00:00