1
0
Fork 0
mirror of https://github.com/TryGhost/Ghost-Admin.git synced 2023-12-14 02:33:04 +01:00
Ghost-Admin/tests/helpers
Kevin Ansfield c33e801149 Fetch config from endpoint rather than meta tags (#368)
refs TryGhost/Ghost#7628 (issue), refs TryGhost/Ghost#7631 (required)

- update `config` service to fetch from public configuration endpoint
- add `beforeModel` to `application` route to fetch config and pause further processing until the request is complete
- remove `<meta name="env-*">` tags from generated `default.hbs` and internal testing `index.html`
- add mirage config to simulate configuration endpoint and helper to simulate enabled oauth config
- update `ghost-oauth2` torii provider to use auth server URL from server-provided config
2016-10-28 14:07:50 +01:00
..
adapter-error.js convert ember imports to ember-cli-shim imports where possible (#95) 2016-06-30 11:21:47 +01:00
configuration.js Fetch config from endpoint rather than meta tags (#368) 2016-10-28 14:07:50 +01:00
destroy-app.js convert ember imports to ember-cli-shim imports where possible (#95) 2016-06-30 11:21:47 +01:00
file-upload.js convert ember imports to ember-cli-shim imports where possible (#95) 2016-06-30 11:21:47 +01:00
module-for-acceptance.js convert ember imports to ember-cli-shim imports where possible (#95) 2016-06-30 11:21:47 +01:00
oauth.js Ghost.org OAuth support (#278) 2016-09-30 13:43:40 +02:00
resolver.js deps: ember-cli@2.3.0 2016-02-16 12:32:48 -06:00
start-app.js convert ember imports to ember-cli-shim imports where possible (#95) 2016-06-30 11:21:47 +01:00