Commit Graph

3120 Commits

Author SHA1 Message Date
Kevin Ansfield
1db799e634 🐛 display correct expired/expires text for invites (#550)
closes https://github.com/TryGhost/Ghost/issues/8055

- use `expired` if the date is in the past, otherwise `expires`
- fix mirage factories to use `moment.valueOf` instead of `moment.unix` for invite `expires` attributes
2017-02-27 13:11:39 +00:00
Kevin Ansfield
e1532d1f5a fix tests for new themes table styles (#553) 2017-02-27 12:34:46 +00:00
John O'Nolan
afdc20d31e Update design screen styles, fix login bugs
Refs https://github.com/TryGhost/Ghost/issues/8021
2017-02-27 13:31:01 +07:00
Kevin Ansfield
82489d7da6 Version bump to 1.0.0-alpha.14 2017-02-24 19:53:36 +00:00
Kevin Ansfield
43529c488a remove unnecessary posts/index route (#545)
no issue
- the index route/controller/template was initially used for a separate loading state within the posts screen layout, this isn't necessary however as the same effect can be achieved with the `posts-loading.hbs` template
- this change also lays the groundwork for more complex dropdown-based filters as it enables the filters and query params to live in the same controller+template
2017-02-23 18:47:52 +00:00
Kevin Ansfield
3e172eb8db bump yarn.lock including sub-dependencies 2017-02-23 11:30:54 +00:00
Ryan McCarvill
964e649284 This should (hopefully) be the last release of an independent editor project, for the beta it will be intergrated into the master ghost-admin repository. 2017-02-23 11:30:54 +00:00
Kevin Ansfield
30a5ac904d rename settings/navigation -> settings/design, move theme management (#543)
no issue

- following from the `settings/general` redesign, navigation and themes management are now co-located in `settings/design`
2017-02-21 19:04:50 +00:00
Kevin Ansfield
bad68bd7c2 fetch themes from /themes endpoint (#542)
refs https://github.com/TryGhost/Ghost/pull/8022

- use `/themes` API endpoint to fetch list of themes instead of `settings[0].availableThemes`
2017-02-21 18:28:44 +00:00
Kevin Ansfield
099cc91a90 accordion toggles for settings sections 2017-02-21 13:03:44 +00:00
Kevin Ansfield
09d4ffb1fe fix settings/general acceptance tests 2017-02-21 13:03:44 +00:00
John O'Nolan
54486af893 Colour updates 2017-02-21 13:03:44 +00:00
John O'Nolan
73ddd59367 New settings/general styles 2017-02-21 13:03:44 +00:00
Kevin Ansfield
be3ab3e4bb 🐛 fix posts screen infinite scroll (#539)
no issue
- changes to layout meant that every page was automatically requested upon loading the content screen, this changes the infinite scroll trigger to match the new scrollable element
2017-02-21 11:12:30 +00:00
Kevin Ansfield
647c691283 Re-enable yarn in Travis
no issue
- we had [previously reverted](787646a4a2) the use of `yarn` on Travis as we suspected it as being a culprit in failing editor builds, that wasn't the real cause so this switches us back to using `yarn`
2017-02-19 10:59:51 -06:00
Kevin Ansfield
4c1417877f 🏃 persist broccoli cache on Travis for faster builds
no issue
- persisting the broccoli cache should dramatically speed up the client builds on Travis as it will only need to rebuild changed files and those that depend on them
2017-02-19 10:59:51 -06:00
kirrg001
dc28621877 Version bump to 1.0.0-alpha.13 2017-02-18 17:24:12 +01: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
Austin Burdine
528ecb7662 🐛 disable failing test temporarily 2017-02-17 12:31:12 -06:00
John O'Nolan
2a300e0410 Prototype nightshift 🌆 2017-02-17 12:31:12 -06:00
John O'Nolan
639264166a Labs UI update 2017-02-17 12:31:12 -06:00
John O'Nolan
981bfd6633 Prototype mobile navbar 2017-02-17 12:31:12 -06:00
Ryan McCarvill
fc154472c2 deps: ghost-editor@0.1.9 (#535) 2017-02-17 15:40:32 +01:00
Austin Burdine
2d6bb65322 🐛 don't destroy codemirror editor if it doesn't exist (#530)
closes TryGhost/Ghost#7855
- check if codemirror has been initialized before trying to destroy it
2017-02-17 10:15:28 +00:00
Austin Burdine
aff121ebce 🐛 fix gh-search-input highlighting (#532)
closes TryGhost/Ghost#8013
- ember-power-select yields the select public api object instead of just
the searchterm
2017-02-17 10:15:09 +00:00
Kevin Ansfield
30202d9e7e update tests for HTML changes 2017-02-17 10:14:16 +00:00
John O'Nolan
38315ffab1 Style updates to new app frame for all other screens 2017-02-17 10:14:16 +00:00
John O'Nolan
87e48b2f45 Team / Apps app frame style update 2017-02-17 10:14:16 +00:00
Kevin Ansfield
db74744d2b Update styles for content screen, buttons, and app frame
* Updates styling on content management screen, replaces button styles, tweaks application frame style
2017-02-16 19:50:05 +00:00
Kevin Ansfield
e18457cebe fix header flash when changing content filters 2017-02-15 12:45:44 +00:00
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