Commit Graph

3089 Commits

Author SHA1 Message Date
John O'Nolan
f7fe91ceac WIP: New content (#528)
* Initial style updates
* First pass content management design overhaul
2017-02-15 12:43:49 +00:00
Kevin Ansfield
fca572163b Version bump to 1.0.0-alpha.12 2017-02-11 23:01:07 +00: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
dab87f9739 refresh access token on app boot (#524)
refs https://github.com/TryGhost/Ghost/issues/5202

- refresh the access token after a successful authenticated application boot so that the session lifetime is continually extended
2017-02-10 14:35:45 +01:00
Kevin Ansfield
a8a7e98150 Content link resets filter if already viewing content screen (#521)
no issue

- the content filter will be remembered if you navigate away from then back to the content screen
- this PR changes the behaviour slightly so that clicking the sidebar "Content" link whilst viewing the content screen will act as a shortcut to reset the filter
2017-02-10 14:24:13 +01:00
Austin Burdine
bb007ec84f more ember-simple-auth UnauthenticatedRoute cleanup (#44)
no issue
- aligns routes that require the user to be logged out with the ember-simple-auth method of doing things
2017-02-10 10:34:37 +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
Kevin Ansfield
ab3ecc8ab4 deps: ember-power-select@1.4.3 2017-02-06 16:39:42 +00:00
Kevin Ansfield
8b7166706c deps: ember-data@2.11.1 2017-02-06 16:39:42 +00:00
Kevin Ansfield
cf8f545430 deps: ember-cli-babel@5.2.2 2017-02-06 16:39:42 +00:00
Kevin Ansfield
7a0db0d0a0 deps: coveralls@2.11.16 2017-02-06 16:39:42 +00:00
Kevin Ansfield
3579dc6eea deps: broccoli-concat@3.1.1 2017-02-06 16:39:42 +00:00
kirrg001
542b94824b Version bump to 1.0.0-alpha.11 2017-02-04 17:33:12 +01:00
Kevin Ansfield
beb03dbb43 bring keyboard navigation back to the content screen
refs https://github.com/TryGhost/Ghost/issues/7860
- restores the previous up/down/enter/cmd+backspace functionality
- modifies the `delete-post` modal to accept a hash with an `onSuccess` action
2017-02-04 09:01:52 -06:00
Kevin Ansfield
357a1c1654 deps: ember-truth-helpers@1.3.0 2017-02-04 09:01:52 -06:00
Kevin Ansfield
7eaa7170ec clean up content screen prototype
refs https://github.com/TryGhost/Ghost/issues/7860
- load 30 posts per page
- clean up unnecessary styles, match class name to component name
- start moving towards desired content/styles end goal
2017-02-04 09:01:52 -06:00
Kevin Ansfield
c0d3c26257 disable touch events in ember's event dispatcher (Chrome scrolling fix)
refs https://github.com/TryGhost/Ghost/issues/7860
- if touch event handlers are registered Chrome assumes it's being run on a touch device and will attempt to optimise scrolling by delaying `setTimeout` and XHRs which in turn plays havoc with infinite scroll performance
2017-02-04 09:01:52 -06:00
Kevin Ansfield
210057ef49 prevent ember searching for non-existant custom event dispatchers 2017-02-04 09:01:52 -06:00
Kevin Ansfield
8620daab52 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
29a42678f0 fix flickering filter menu on content screen 2017-02-01 17:03:38 -06:00
Kevin Ansfield
a75f6f8579 defer navigation display until user promise is fulfilled 2017-02-01 17:03:38 -06:00
Kevin Ansfield
7e14378a63 fix gh-selectize-test 2017-02-01 17:03:38 -06:00
Kevin Ansfield
11a06e7d19 remove unused gh-content-preview-content component 2017-02-01 17:03:38 -06:00
Kevin Ansfield
b2973326a5 fix gh-image-uploader-test 2017-02-01 17:03:38 -06:00
Kevin Ansfield
295f2cce96 fix double-render issues with validation-state mixin 2017-02-01 17:03:38 -06:00
Kevin Ansfield
719aed29cf deps: ember@2.11.0 2017-02-01 17:03:38 -06:00
Kevin Ansfield
0522482256 deps: ember-light-table@1.8.2 2017-02-01 17:03:38 -06:00
Kevin Ansfield
b68fc53efd use current URI instead of configured blog URI for OAuth redirectURI (#518)
refs https://github.com/TryGhost/Ghost/issues/7907
- rather than forwarding the redirect URI as configured in Ghost we should use the URL that the admin client is currently loaded on when setting the Ghost OAuth `redirectUri` attribute
- fixes issue with the admin app loading inside of the OAuth popup window and not logging in when using https with a registered http redirect uri
2017-02-01 16:15:47 +00:00
André Borud
ca08a878d2 🐛 fix jumping "Invite User" button when modal is opened
closes TryGhost/Ghost#7890
- moved the modal outside of the `<header>` tag to avoid triggering unexpected flexbox justification
2017-01-31 09:10:36 +00:00
Austin Burdine
c374e8a343 Merge pull request #514 from kevinansfield/dep-updates
Minor dependency updates
2017-01-30 14:58:52 -06:00
Kevin Ansfield
9b7a8cdc55 clean up duplicated / no-longer-needed bower dependencies 2017-01-30 19:33:12 +00:00
Kevin Ansfield
836ca10124 deps: ember-test-selectors@0.2.1 2017-01-30 18:57:39 +00:00
Kevin Ansfield
093ee6b1c3 deps: ember-power-select@1.4.2 2017-01-30 18:53:40 +00:00
Kevin Ansfield
ffe9cfa98d deps: ember-cli-mocha@0.13.2 2017-01-30 18:51:24 +00:00
Kevin Ansfield
0aa44552e1 deps: ember-concurrency@0.7.19 2017-01-30 18:51:12 +00:00
Kevin Ansfield
deddeaf743 deps: ember-cli-mirage@0.2.5 2017-01-30 18:46:11 +00:00
Kevin Ansfield
a3bf9f5d7e deps: ember-ajax@2.5.4 2017-01-30 18:43:35 +00:00
Kevin Ansfield
fa22c2063a deps: codemirror@2.53.0 2017-01-30 18:43:24 +00:00
Kevin Ansfield
96fac39a56 Version bump to 1.0.0-alpha.10 2017-01-26 18:08:41 +00:00
Kevin Ansfield
9fe6b906c4 Update yarn.lock 2017-01-26 17:10:52 +00:00
Kevin Ansfield
2a85de5ccf 🔥 remove unused CPs (#509)
no issue
-  `settings/general` controller contained a number of `xImageSource` CPs that are no longer being used
2017-01-26 11:01:49 -06:00
Kevin Ansfield
580e9aea34 deps: ember-cli-code-coverage@0.3.11 (#510) 2017-01-26 10:48:54 -06:00
Kevin Ansfield
787646a4a2 Revert Travis config back to npm 2017-01-26 15:11:50 +00:00
Austin Burdine
2fc7319247 Use latest version of yarn (installed via npm) (#508)
no issue
- adds yarn cache to travis
- uses latest version of yarn via npm install
2017-01-26 14:32:46 +00:00
Kevin Ansfield
ec760ca2f6 🐛 fix double slashes in URLs (#506)
no issue

- update `config` service normalise blogUrl to non-trailing slash to match previous API behaviour
- fixes double slashes appearing in places around the app
- fixes "Redirect URI Mismatch" errors when using Ghost OAuth due to the double slashes
2017-01-26 13:45:11 +01:00
Aileen Nowak
66f7bad47b Blog icon uplod (#397)
refs TryGhost/Ghost#7688
- Adds new upload functionality for a blog icon in general settings.
- Icons will be uploaded to a new endpoint `uploads/icons` to trigger different validations.
2017-01-26 11:17:34 +00:00
Kevin Ansfield
c16d633d4b 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
74b020e0e3 refactor reset password screen to use ember-concurrency (#502)
refs https://github.com/TryGhost/Ghost/issues/7865
- swap promise based action for an ember-concurrency task
2017-01-25 07:00:58 -06:00