Ghost/ghost/admin/app/controllers/settings
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
..
integrations Fixed non-admin redirects on integration routes 2018-10-04 12:16:41 +01:00
tags 🐛 Fixed admin URL not updating when changing tag slug 2018-04-30 12:29:43 +01:00
code-injection.js ESLint: Consistent ember property/method ordering 2018-01-12 12:17:56 +00:00
design.js Use Admin API v2 with session auth (#1046) 2018-10-05 19:46:33 +01:00
general.js Removed dated permalinks setting 2018-08-14 17:49:50 +01:00
integrations.js Re-jigged integrations routes to support nested modal route 2018-10-04 11:10:17 +01:00
labs.js Use Admin API v2 with session auth (#1046) 2018-10-05 19:46:33 +01:00
tags.js Removed used of ember-data-filter 2018-04-30 13:54:09 +01:00