Commit Graph

176 Commits

Author SHA1 Message Date
Kevin Ansfield 3b27fe5d15 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 e1f5ee8fcd 🎨 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 a4c69b0bf0 🔥 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 e01adb2fa3 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 35ffe11661 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 541fe992f1 bump yarn.lock sub-dependencies 2017-03-08 12:16:25 +00:00
Kevin Ansfield 1c8d54808b deps: loader.js@4.2.3 2017-03-08 12:16:25 +00:00
Kevin Ansfield d02803e8a0 deps: liquid-wormhole@2.0.4 2017-03-08 12:16:25 +00:00
Kevin Ansfield 2cf56db0e1 deps: ember-power-select@1.5.0 2017-03-08 12:16:25 +00:00
Kevin Ansfield ce625b65dc deps: ember-light-table@1.8.4 2017-03-08 12:16:25 +00:00
Kevin Ansfield b1eda7340f deps: ember-cli-postcss@3.1.2 2017-03-08 12:16:25 +00:00
Kevin Ansfield a1883bd5b4 deps: broccoli-merge-trees@2.0.0 2017-03-08 12:16:25 +00:00
Kevin Ansfield 03ce096c88 deps: ember-ajax@2.5.6 2017-03-08 12:16:25 +00:00
Kevin Ansfield 43f791cf9f deps: csscomb@4.0.1 2017-03-08 12:16:25 +00:00
Kevin Ansfield d2abedb4ba deps: coveralls@2.12.0 2017-03-08 12:16:25 +00:00
Kevin Ansfield 265d67b7bb deps: autoprefixer@6.7.6 2017-03-08 12:16:25 +00:00
Kevin Ansfield 5181852b50 🐛 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 2b3d512fb0 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 cd2c626670 bump yarn.lock deps 2017-03-02 09:57:56 +00:00
Kevin Ansfield c2a69ca32c bump yarn.lock sub-dependencies 2017-03-01 16:47:50 +00:00
Kevin Ansfield d1641636df deps: ember-cli-mirage@0.2.6 2017-03-01 16:47:50 +00:00
Kevin Ansfield 12539258b4 deps: loader.js@4.2.2 2017-03-01 16:47:50 +00:00
Kevin Ansfield b5ccec7c75 deps: broccoli-clean-css@2.0.1 2017-03-01 16:47:50 +00:00
Kevin Ansfield d669aa0e5b deps: liquid-wormhole@2.0.3 2017-03-01 16:47:50 +00:00
Kevin Ansfield f24b689930 deps: broccoli-concat@3.2.2 2017-03-01 16:47:50 +00:00
Kevin Ansfield 5b03403ed7 deps: liquid-fire@0.27.1 2017-03-01 16:47:50 +00:00
Kevin Ansfield 3a8fb3e366 deps: codemirror@5.24.2 2017-03-01 16:47:50 +00:00
Kevin Ansfield 5d24f944d0 deps: csscomb@4.0.0 2017-03-01 16:47:50 +00:00
Kevin Ansfield aeacdc3b8d deps: ember-souce@2.11.2 2017-03-01 16:47:50 +00:00
Kevin Ansfield d5cb7c66c4 deps: ember-power-select@1.4.4 2017-03-01 16:47:50 +00:00
Kevin Ansfield 7bf5f37603 deps: ember-light-table@1.8.3 2017-03-01 16:47:50 +00:00
Kevin Ansfield 7b437283b8 deps: ember-data@2.11.3 2017-03-01 16:47:50 +00:00
Kevin Ansfield 040589fcac deps: ember-ajax@2.5.5 2017-03-01 16:47:50 +00:00
Kevin Ansfield b76cdf9a43 deps: ember-cli-content-security-policy@0.6.0 2017-03-01 16:47:50 +00:00
Kevin Ansfield a8ea2f69a5 deps: ember-cli-babel@5.2.4 2017-03-01 16:47:50 +00:00
Kevin Ansfield e118a303c8 deps: ember-cli@2.11.1 2017-03-01 16:47:50 +00:00
Kevin Ansfield da0537e644 deps: blueimp-md5@2.7.0 2017-03-01 16:47:50 +00:00
Kevin Ansfield 2f0475cfe8 deps: autoprefixer@6.7.3 2017-03-01 16:47:50 +00:00
Kevin Ansfield d4eeb2ec96 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 f4b7b6d375 bump yarn.lock including sub-dependencies 2017-02-23 11:30:54 +00:00
Kevin Ansfield 5674498759 accordion toggles for settings sections 2017-02-21 13:03:44 +00:00
Austin Burdine 758a2a551a 🎨 Myth => PostCSS (#537) 2017-02-18 02:46:41 +07:00
Austin Burdine 9aebcb435a
chore: update yarn.lock 2017-02-17 13:29:46 -06:00
Kevin Ansfield 229391d638 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 acf6348681 🚀 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 6f637e1726 deps: ember-simple-auth@1.2.0 2017-02-06 16:39:42 +00:00
Kevin Ansfield 6e6a5a395a yarn.lock: bump sub-dependencies 2017-02-06 16:39:42 +00:00
Kevin Ansfield 579f687c04 deps: ember-power-select@1.4.3 2017-02-06 16:39:42 +00:00
Kevin Ansfield de22b36bfa deps: ember-data@2.11.1 2017-02-06 16:39:42 +00:00
Kevin Ansfield 1955f6a575 deps: ember-cli-babel@5.2.2 2017-02-06 16:39:42 +00:00
Kevin Ansfield 22910a55b9 deps: coveralls@2.11.16 2017-02-06 16:39:42 +00:00
Kevin Ansfield 8e136989ad deps: broccoli-concat@3.1.1 2017-02-06 16:39:42 +00:00
Kevin Ansfield ffd055c422 deps: ember-truth-helpers@1.3.0 2017-02-04 09:01:52 -06:00
Kevin Ansfield aebe06dd14 deps: ghost-editor@0.1.6 (#515)
no issue
- adds Ghost-Editor 0.1.6
  - Improves markdown parsing speed
  - Shows toolbar on mouseup now (still freezes on loading unfortunately)
  - Makes Ghost-Editor full height for easy selection
- temporarily pull from a branch that fixes dependency issues
- remove unused module-for-acceptance.js file
2017-02-03 22:51:18 +00:00
Kevin Ansfield 6d4b318c4a deps: ember@2.11.0 2017-02-01 17:03:38 -06:00
Kevin Ansfield ecdfcccb3a deps: ember-light-table@1.8.2 2017-02-01 17:03:38 -06:00
Kevin Ansfield 8a5470658f deps: ember-test-selectors@0.2.1 2017-01-30 18:57:39 +00:00
Kevin Ansfield 8a4df37e60 deps: ember-power-select@1.4.2 2017-01-30 18:53:40 +00:00
Kevin Ansfield ab794e195b deps: ember-cli-mocha@0.13.2 2017-01-30 18:51:24 +00:00
Kevin Ansfield 972ae9a56f deps: ember-concurrency@0.7.19 2017-01-30 18:51:12 +00:00
Kevin Ansfield 2c65be8262 deps: ember-cli-mirage@0.2.5 2017-01-30 18:46:11 +00:00
Kevin Ansfield e91a73ed13 deps: ember-ajax@2.5.4 2017-01-30 18:43:35 +00:00
Kevin Ansfield 9ecf449e2c deps: codemirror@2.53.0 2017-01-30 18:43:24 +00:00
Kevin Ansfield 4b184a0518 Update yarn.lock 2017-01-26 17:10:52 +00:00
Kevin Ansfield b73a3f0b29 New content screen prototype (#503)
refs https://github.com/TryGhost/Ghost/issues/7860

- remove preview pane from content screen
- add basic post status filters
- replace custom infinite scroll with ember-infinity and increase trigger threshold for improved scroll behaviour

Commits:
* basic content list + filter using existing infinite scroll and pagination
* swap our custom pagination + infinite loader for `ember-infinity`
* minor cleanups
* reset scroll position when changing filter
* fix tests
* remove client-side sorting step as we no longer have a live collection
* remove unused `mobile-index-route`
* add acceptance tests for content screen filters
2017-01-25 21:05:28 +01:00
Kevin Ansfield 88b49e4ac9 deps: ember-cli@2.11.0 (#501)
no issue
- note: this does not include the switch from using bower for ember + ember-cli-shims as we are currently on an older ember version.
2017-01-24 10:39:31 +00:00
Greenkeeper 526a2392bb Update ember-one-way-controls to version 2.0.0 🚀 (#475)
* chore(package): update ember-one-way-controls to version 2.0.0
* update yarn.lock
* update `gh-trim-focus-input` for removal of `sanitizeInput` in `ember-one-way-controls`
2017-01-23 12:03:05 +00:00
Kevin Ansfield 1dc0fd8ea9 deps: chai-jquery@2.0.0 2017-01-20 09:35:42 +00:00
Kevin Ansfield de7fbeda75 deps: password-generator@2.1.0 2017-01-19 13:39:19 +00:00
Kevin Ansfield 9846691ed0 deps: ember-route-action-helper@2.0.2 2017-01-19 13:38:29 +00:00
Kevin Ansfield e7f2a38f71 deps: ember-power-select@1.2.0 2017-01-19 13:37:23 +00:00
Kevin Ansfield b011c27ba7 deps: ember-cli-code-coverage@0.3.10 2017-01-19 13:36:22 +00:00
Kevin Ansfield 4aa0a04dfc deps: ember-cli-chai@0.3.2 2017-01-19 13:34:16 +00:00
Kevin Ansfield de00b3e86a deps: ember-cli@2.10.1 2017-01-19 13:32:36 +00:00
Greenkeeper 85af3261b4 Update fs-extra to version 2.0.0 🚀 (#493)
* chore(package): update fs-extra to version 2.0.0
* update yarn.lock and fix fs-extra usage in lib/asset-delivery
2017-01-16 19:45:13 +00:00
Austin Burdine 8ba530ca65 add yarn.lock file and update travis (#494)
no issue
- add yarn.lock file with latest dependencies
- update travis to install via yarn
2017-01-16 19:14:25 +00:00