Ghost/ghost/admin
Kevin Ansfield 4de244974e 🎨 remove usage of ghost's {{asset}} helper in index.html (#574)
refs #8140

🎨 remove usage of ghost's {{asset}} helper in built index.html files

requires https://github.com/TryGhost/Ghost/pull/8142
- switch to hash-location rather than history-location
- remove usage of Ghost's `{{asset}}` helper in index.html
- add `content-for` helpers to `asset-delivery` addon that switch asset urls in index.html to `.min` files in production
- update the `asset-delivery` addon to copy the production `index.min.html` to `default-prod.hbs` so Ghost can serve production assets when in production mode
- change template output path to `core/server/admin/views/`
- enable asset fingerprinting
- remove `ember-cli-sri` dependency - we weren't using it but now that ember is handling assets it was used automatically and could potentially create issues if users have proxy servers that attempt to compress or otherwise modify asset files

 redirect to setup if server says setup isn't finished

refs https://github.com/TryGhost/Ghost/issues/8140
- now we're using hash-location the server no longer knows if we're hitting the /setup route so it's not able to redirect for us
- extends the default ESA `UnauthenticatedRouteMixin` to add a check against the `/authentication/setup` API endpoint and redirects to `/#/setup/one` if setup isn't complete - this works for all routes because the default behaviour when hitting an authenticated route without the right credentials is to force a logout and redirect to `/#/signin` which utilises the `UnauthenticatedRouteMixin`

deps: ember-cli-inject-live-reload@1.6.1
2017-03-14 17:04:46 +01:00
..
.github Rename PULL_REQUEST_TEMPLATE to PULL_REQUEST_TEMPLATE.md 2016-05-23 10:50:15 +01:00
app 🎨 remove usage of ghost's {{asset}} helper in index.html (#574) 2017-03-14 17:04:46 +01:00
config 🎨 remove usage of ghost's {{asset}} helper in index.html (#574) 2017-03-14 17:04:46 +01:00
lib 🎨 remove usage of ghost's {{asset}} helper in index.html (#574) 2017-03-14 17:04:46 +01:00
mirage show theme warnings/errors when activating a theme (#576) 2017-03-14 08:54:58 -05:00
public/assets Editor card-menu and toolbar style updates 2017-03-08 21:08:20 +08:00
tests 🎨 remove usage of ghost's {{asset}} helper in index.html (#574) 2017-03-14 17:04:46 +01:00
.editorconfig deps: ember-cli@2.8.0 2016-10-07 17:32:30 +01:00
.ember-cli grunt init, dev 2015-03-11 12:37:41 -06:00
.eslintrc.js switch from jshint/jscs to eslint 2016-11-14 13:25:36 +00:00
.gitignore chore(package): update ember-cli to version 2.9.0 (#354) 2016-10-21 09:07:49 +01:00
.travis.yml remove editor install step from Travis 2017-03-02 11:09:38 +00:00
.watchmanconfig deps: ember-cli@1.13.13 2015-11-30 11:21:39 -06:00
bower.json deps: ember@2.11.0 2017-02-01 17:03:38 -06:00
ember-cli-build.js 🎨 remove usage of ghost's {{asset}} helper in index.html (#574) 2017-03-14 17:04:46 +01:00
four.css 👷🏻‍♀️🚧👷 Ghost-Editor integration. 2017-03-02 09:56:51 +00:00
Gruntfile.js 🔥 remove bg shell from Gruntfile (#582) 2017-03-14 13:52:36 +00:00
LICENSE 2017 2017-01-04 10:32:54 +00:00
package.json 🎨 remove usage of ghost's {{asset}} helper in index.html (#574) 2017-03-14 17:04:46 +01:00
README.md Add code coverage badge to README (#486) 2017-01-11 13:09:26 +00:00
testem.js Update code to match eslint rules 2016-11-14 13:26:00 +00:00
yarn.lock 🎨 remove usage of ghost's {{asset}} helper in index.html (#574) 2017-03-14 17:04:46 +01:00

Ghost-Admin

Build Status Coverage Status

This is the home of Ember.js based admin client that ships with Ghost. For now, refer to that repository for install and development instructions.

Have a bug or issue?

Bugs and issues (even if they only affect the admin client) should be opened on the core Ghost repository.

Copyright & License

Copyright (c) 2013-2017 Ghost Foundation - Released under the MIT license.