Commit Graph

79 Commits

Author SHA1 Message Date
Kevin Ansfield
a17eee5fa7 minor dependency updates
no issue
- codemirror@5.25.0
- ember-cli-app-version@3.0.0
- ember-cli-eslint@3.0.3
- ember-cli-htmlbars@1.2.0
- ember-cli-postcss@3.2.0
- ember-cli-shims@1.1.0
- ember-cli-test-loader@2.0.0
- ember-data@2.12.1
- ember-export-application-global@2.0.0
- ember-inline-svg@0.1.8
- ember-load-initializers@1.0.0
- ember-power-select@1.6.1
- ember-resolver@4.1.0
- ember-simple-auth@1.2.1
- ember-sinon@0.7.0
- ember-test-selectors@0.3.0
- emberx-file-input@1.1.2
- fs-extra@2.1.2
- liquid-fire@0.27.2
- torii@0.8.2
2017-03-29 10:47:46 +01:00
Kevin Ansfield
f0e051a7e9 deps: ember-source@2.12.0 2017-03-29 10:47:46 +01:00
Kevin Ansfield
c2edf9c99b deps: ember-concurrency@0.8.1
no issue
- update ember-concurrency
- fix `editor-base-controller` unit tests and remove unnecessary 800ms delays
2017-03-29 10:47:46 +01:00
Kevin Ansfield
054fa71202 deps: ember-cli@2.12.1 (#604)
no issue
- https://emberjs.com/blog/2017/03/19/ember-2-12-released.html#toc_changes-in-ember-cli-2-12
2017-03-28 11:29:18 +01:00
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
Katharina Irrgang
7b4096c57e 🔥 remove bg shell from Gruntfile (#582)
refs TryGhost/Ghost#7427, requires TryGhost/Ghost#8158
- both Ghost and Ghost-Admin run the watch command in background, that didn't work
- the caller can decide if running the watch command in bg or not
- furthermore, the caller can decide if printing stdout/stderr
2017-03-14 13:52:36 +00:00
Kevin Ansfield
f7dd3e39f9 Dependency updates (#581)
no issue
* ember-data@2.12.0
* autoprefixer@6.7.7
* ember-cli-mirage@0.2.8
* ember-cli-app-version@2.0.2
* ember-resolver@3.0.0
* grunt-shell@2.1.0
* bump yarn.lock sub-dependencies
2017-03-14 13:19:58 +00:00
Austin Burdine
253a0fb2cf various test deprecation cleanup
no issue
- cleans up a lot of the deprecation noise in tests
- remove ember-cli-deprecation-workflow dependency
2017-03-08 18:56:30 +00:00
Kevin Ansfield
06e2912c14 bump yarn.lock sub-dependencies 2017-03-08 12:16:25 +00:00
Kevin Ansfield
3036b385c3 deps: loader.js@4.2.3 2017-03-08 12:16:25 +00:00
Kevin Ansfield
7c056536e5 deps: liquid-wormhole@2.0.4 2017-03-08 12:16:25 +00:00
Kevin Ansfield
6d5b97418c deps: ember-power-select@1.5.0 2017-03-08 12:16:25 +00:00
Kevin Ansfield
9bf5b42eb7 deps: ember-light-table@1.8.4 2017-03-08 12:16:25 +00:00
Kevin Ansfield
352e3d6aa7 deps: ember-cli-postcss@3.1.2 2017-03-08 12:16:25 +00:00
Kevin Ansfield
c0f74b561e deps: broccoli-merge-trees@2.0.0 2017-03-08 12:16:25 +00:00
Kevin Ansfield
57c6f27820 deps: ember-ajax@2.5.6 2017-03-08 12:16:25 +00:00
Kevin Ansfield
0fb5888921 deps: csscomb@4.0.1 2017-03-08 12:16:25 +00:00
Kevin Ansfield
d109316b9a deps: coveralls@2.12.0 2017-03-08 12:16:25 +00:00
Kevin Ansfield
bec3b2e0fb deps: autoprefixer@6.7.6 2017-03-08 12:16:25 +00:00
Kevin Ansfield
3df6b2693b 🐛 re-add broccoli-clean-css
no issue
- `broccoli-clean-css` is used to compress codemirror CSS files so it's still needed
- update usage in `ember-cli-build.js` to match 2.0's class interface
2017-03-03 17:19:19 +00:00
Kevin Ansfield
023a714c6b move editor deps into main project
no issue
- this prevents the need for running `npm/yarn install` inside the `lib/gh-koenig` directory
- `ember-cli` may eventually be able to handle this with an `ember install` or similar command, there's [an in-repo-addon RFC](638cad2405/active/0000-better-in-repo-addons.md) suggesting this improvement but it hasn't got much traction yet - it may be necessary to wait until ember-cli has standardised on `yarn`
2017-03-02 11:06:20 +00:00
Kevin Ansfield
cfda316c89 bump yarn.lock deps 2017-03-02 09:57:56 +00:00
Kevin Ansfield
ad736c86f5 bump yarn.lock sub-dependencies 2017-03-01 16:47:50 +00:00
Kevin Ansfield
d37f506e32 deps: ember-cli-mirage@0.2.6 2017-03-01 16:47:50 +00:00
Kevin Ansfield
269eba685d deps: loader.js@4.2.2 2017-03-01 16:47:50 +00:00
Kevin Ansfield
bde951617f deps: broccoli-clean-css@2.0.1 2017-03-01 16:47:50 +00:00
Kevin Ansfield
22287764e3 deps: liquid-wormhole@2.0.3 2017-03-01 16:47:50 +00:00
Kevin Ansfield
9563bba1b2 deps: broccoli-concat@3.2.2 2017-03-01 16:47:50 +00:00
Kevin Ansfield
bc18046287 deps: liquid-fire@0.27.1 2017-03-01 16:47:50 +00:00
Kevin Ansfield
fc37f38d9a deps: codemirror@5.24.2 2017-03-01 16:47:50 +00:00
Kevin Ansfield
403cd3db4c deps: csscomb@4.0.0 2017-03-01 16:47:50 +00:00
Kevin Ansfield
97498475b2 deps: ember-souce@2.11.2 2017-03-01 16:47:50 +00:00
Kevin Ansfield
ae006258da deps: ember-power-select@1.4.4 2017-03-01 16:47:50 +00:00
Kevin Ansfield
3bde30cb58 deps: ember-light-table@1.8.3 2017-03-01 16:47:50 +00:00
Kevin Ansfield
75120fbf2a deps: ember-data@2.11.3 2017-03-01 16:47:50 +00:00
Kevin Ansfield
22a652c9e5 deps: ember-ajax@2.5.5 2017-03-01 16:47:50 +00:00
Kevin Ansfield
82794c16b3 deps: ember-cli-content-security-policy@0.6.0 2017-03-01 16:47:50 +00:00
Kevin Ansfield
a5a4506c99 deps: ember-cli-babel@5.2.4 2017-03-01 16:47:50 +00:00
Kevin Ansfield
97421d9548 deps: ember-cli@2.11.1 2017-03-01 16:47:50 +00:00
Kevin Ansfield
84d3025f26 deps: blueimp-md5@2.7.0 2017-03-01 16:47:50 +00:00
Kevin Ansfield
021b95a057 deps: autoprefixer@6.7.3 2017-03-01 16:47:50 +00:00
Kevin Ansfield
b0c1330c0f inline-svg helper for icons (#558)
no issue
- adds [ember-inline-svg](https://github.com/minutebase/ember-inline-svg) addon
- configure svg path to `public/assets/icons` so that icons can be accessed directly, eg `{{inline-svg "plane.svg"}}`
- configure svg optimization to remove title, dimensions, and xmlns element (not needed for inline svg)
- add existing icons as used on Ghost.org
2017-03-01 12:48:27 +00:00
Kevin Ansfield
3e172eb8db bump yarn.lock including sub-dependencies 2017-02-23 11:30:54 +00:00
Kevin Ansfield
099cc91a90 accordion toggles for settings sections 2017-02-21 13:03:44 +00:00
Austin Burdine
e91b231452 🎨 Myth => PostCSS (#537) 2017-02-18 02:46:41 +07:00
Austin Burdine
a39b553f44 chore: update yarn.lock 2017-02-17 13:29:46 -06:00
Kevin Ansfield
920406c252 Revert "Offline Support via ServiceWorker" (#526)
Temporarily reverting in order to get the next alpha release out. Unfortunately this has the unintended consequence of the service worker caching a 200 response for /ghost/ so when starting a new blog the redirect to /setup/one that the server sends is never picked up.

This would only affect developers using localhost/people trying to set up a blog multiple times on the same domain but as that's the target audience for the alpha it's probably best to avoid any confusion.
2017-02-11 22:57:12 +00:00
Felix Rieseberg
abe3444426 🚀 Offline Support via ServiceWorker (#523)
This commit adds support for service workers, mostly by including packages that do the heavy lifting. Those are in detail:

* ember-service-worker (SW infrastructure)
* ember-service-worker-ghost-cache (Caches static assets and the main application)
* ember-service-worker-cache-fallback (Caches API requests and falls back to the cache if the server can’t be reached)
* ember-service-worker-index (Caches main html)
2017-02-11 14:42:46 +00:00
Kevin Ansfield
fbc99e6fa7 deps: ember-simple-auth@1.2.0 2017-02-06 16:39:42 +00:00
Kevin Ansfield
9ddd4681f7 yarn.lock: bump sub-dependencies 2017-02-06 16:39:42 +00:00