Commit Graph

3279 Commits

Author SHA1 Message Date
Ryan McCarvill
76d89d9f61 added .jshintrc file to pass jshint 2017-03-02 09:56:51 +00:00
Ryan McCarvill
913a67b2c0 🐜 added the installation for ghost-editor into the tarvis.yml file 2017-03-02 09:56:51 +00:00
Ryan McCarvill
e422f0bcba 👷🏻‍♀️🚧👷 Ghost-Editor integration.
Integrated Ghost-Editor as an in-repo addon.
Moved CSS to /app/styles/addons/ghost-editor/

Still a WIP.
2017-03-02 09:56:51 +00:00
Kevin Ansfield
60dc827e59 🐛 fix unclickable app after closing modal
no issue
- `liquid-wormhole` changed the class of it's default destination element which meant that one of our styles resulted in it overlaying the whole app and preventing anything from being clicked after closing a modal
2017-03-01 17:30:46 +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
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
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
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
Kevin Ansfield
170f8d29fe 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
c26b6fa04f 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
01cc9ae9be switch all modals over to ember-concurrency and gh-task-button 2017-01-20 10:03:38 +00:00
Kevin Ansfield
0e7d455351 de-couple gh-task-button from gh-spin-button 2017-01-20 10:03:38 +00:00
Kevin Ansfield
a988938a78 deps: chai-jquery@2.0.0 2017-01-20 09:35:42 +00:00
Aileen Nowak
683dbaa376 AMP app integration (#483)
refs TryGhost/Ghost#7769
- adds Google AMP to `apps` in order to disable and enable it on request.
2017-01-20 09:33:54 +00:00
Austin Burdine
928aa46de8 Add workaround for yarn node-sass bug (#498) 2017-01-20 09:31:45 +00:00
Kevin Ansfield
51bdf48428 deps: password-generator@2.1.0 2017-01-19 13:39:19 +00:00
Kevin Ansfield
cda660c65d deps: ember-route-action-helper@2.0.2 2017-01-19 13:38:29 +00:00
Kevin Ansfield
99997f1ba1 deps: ember-power-select@1.2.0 2017-01-19 13:37:23 +00:00
Kevin Ansfield
aaece232c2 deps: ember-cli-code-coverage@0.3.10 2017-01-19 13:36:22 +00:00
Kevin Ansfield
c5189b9e0d deps: ember-cli-chai@0.3.2 2017-01-19 13:34:16 +00:00
Kevin Ansfield
3c50735485 deps: ember-cli@2.10.1 2017-01-19 13:32:36 +00:00
Kevin Ansfield
99dd49903d 🏃 improve navigation responsiveness with loading substates (#495)
no issue
- add loading substates for all routes that previously blocked transitions until their model had finished loading
  - enables immediate response on navigation click
  - loading templates include the title bar to provide immediate indication of which page is loading
  - loading templates include a new `{{gh-loading-spinner}}` component that will only show the spinner after 200ms to avoid flashing a spinner for users on fast connections
- updated Version Mismatch tests to match new behaviour of intermediate transitions when navigating
2017-01-17 17:44:08 -06:00
Greenkeeper
348f1c0ffa 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
6ade86f00f 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
Kevin Ansfield
7a5481f242 display a spinner whilst the app is loading (#491)
no issue
- use the same loading indicator as used on my.ghost.org
- will display whilst the JS is loading and initializing rather than showing a completely blank screen
2017-01-15 15:11:43 -06:00
Austin Burdine
dfd6d444c3 fix test warnings (#492)
- fix ember-data complex default value returning in post model
- fix mirage returning a user of id 'me' from /user/me
2017-01-13 21:14:54 +00:00
Austin Burdine
3df9b6016a Update acceptance tests to use new mirage api 2017-01-13 15:59:37 +00:00
Austin Burdine
52b6668955 deps: ember-cli-mirage@0.2.0
- remove lodash from bower
- move all resources to /mirage instead of /app/mirage
- update endpoints to use ORM
- general cleanup
2017-01-13 15:59:37 +00:00
Austin Burdine
9dc85d02e8 🎨 move template content to gh-posts-list-item component
- we were exporting the component through a yield, which is probably not best practice. As there were no major things barring the content from going into the posts-list-item component, the template content was just moved
2017-01-13 13:26:38 +00:00
Austin Burdine
f955de1e31 deps: ember-cli-active-link-wrapper@0.3.2
- we were using borrowed code from an older version, now that ember-cli-active-link-wrapper has a built-in mixin we can just use that
- this fixes render issues with ember 2.10
2017-01-13 13:26:38 +00:00
Greenkeeper
a155d4f652 chore(package): update ember-cli-selectize to version 0.5.12 (#490)
https://greenkeeper.io/
2017-01-13 13:25:11 +00:00
Greenkeeper
920341942f chore(package): update codemirror to version 5.22.2 (#489)
https://greenkeeper.io/
2017-01-13 13:24:42 +00:00
Greenkeeper
bfc7f0258b chore(package): update ember-power-select to version 1.1.0 (#488)
https://greenkeeper.io/
2017-01-13 13:24:23 +00:00
Greenkeeper
d55194daab chore(package): update ember-data to version 2.11.0 (#485)
https://greenkeeper.io/
2017-01-13 13:23:42 +00:00
Kevin Ansfield
b1c94c6397 🐛 correctly count multibyte chars in character counters (#487)
closes https://github.com/TryGhost/Ghost/issues/7739

- use es6's `Array.from` to convert the string to an array to get a symbol count rather than a byte count
2017-01-11 14:45:22 +01:00
Kenneth Ashley
a1621d65a4 Long theme names break themes table layout (#304)
closes #274
- Removed “white-space: nowrap” property to allow word breaks.
- Added “flex: 1” to “.theme-list-item-body” and
“.theme-list-item-aside”.
- Aligned links inside “.theme-list-item-aside” to right.
2017-01-11 13:11:55 +00:00
Austin Burdine
8796f257d4 Add code coverage badge to README (#486) 2017-01-11 13:09:26 +00:00
Greenkeeper
81f5d99d6f chore(package): update ember-cli-pretender to version 1.0.1 (#484)
https://greenkeeper.io/
2017-01-10 09:34:04 +00:00
Austin Burdine
1ec41e5d87 Add code coverage (#481)
no issue
- adds code coverage via ember-cli-code-coverage
- add coverage and ember-cli-code-coverage deps
2017-01-09 23:00:12 +00:00
Greenkeeper
045f4221e1 chore(package): update ember-light-table to version 1.8.1 (#480)
https://greenkeeper.io/
2017-01-08 10:33:49 -06:00
John O'Mahoney
d270bef724 Show error message for invalid data in PostsPerPage (#419)
closes TryGhost/Ghost#7746
- Added gh-form-group around PostsPerPage
- Changed focusOut action to validate
- Removed now redundant `checkPostsPerPage()` call
2017-01-08 09:55:19 -06:00
Kevin Ansfield
0a37a27568 add manual pretender shutdown to fix acceptance tests (#342)
no issue
- a [recent update](https://github.com/pretenderjs/pretender/pull/178) to Pretender contained a breaking change that throws an error when multiple pretender instances exist
- using mirage in acceptance tests was [triggering the error](https://github.com/samselikoff/ember-cli-mirage/issues/915)
2017-01-05 08:36:50 -07:00
Greenkeeper
55b8c76798 chore(package): update emberx-file-input to version 1.1.1 (#472)
https://greenkeeper.io/
2017-01-04 18:44:53 +00:00
Kevin Ansfield
26a18a69af add extra escaping when using htmlSafe on user input (#469)
no issue
- ensure that we always pre-escape user input when it's used within `htmlSafe` marked output
2017-01-04 08:52:00 -07:00
Kevin Ansfield
c97e4c1dfc remove unused Gruntfile dependencies (#471)
no issue
- many of our grunt tasks have already been removed but we still had the imports and respective npm dependencies lying around
2017-01-04 08:40:56 -07:00
Greenkeeper
0acb8f9fa3 chore(package): update ember-route-action-helper to version 2.0.1 (#450)
https://greenkeeper.io/
2017-01-04 13:34:25 +00:00
Greenkeeper
583d440ce9 chore(package): update jquery-deparam to version 0.5.3 (#468)
https://greenkeeper.io/
2017-01-04 13:32:47 +00:00
Greenkeeper
13beafff6f chore(package): update ember-power-select to version 1.0.3 (#463)
https://greenkeeper.io/
2017-01-04 13:32:30 +00:00
Greenkeeper
fde8ee8cf6 chore(package): update ember-sortable to version 1.9.1 (#418)
https://greenkeeper.io/
2017-01-04 13:31:48 +00:00
Greenkeeper
b849647f59 chore(package): update loader.js to version 4.1.0 (#442)
https://greenkeeper.io/
2017-01-04 13:01:18 +00:00
Greenkeeper
8331263547 chore(package): update ember-cli-htmlbars to version 1.1.1 (#422)
https://greenkeeper.io/
2017-01-04 13:00:52 +00:00
Greenkeeper
498c728be2 chore(package): update codemirror to version 5.22.0 (#457)
https://greenkeeper.io/
2017-01-04 13:00:24 +00:00
Greenkeeper
1e937caa9f chore(package): update ember-cli-eslint to version 3.0.2 (#467)
https://greenkeeper.io/
2017-01-04 12:59:31 +00:00
Greenkeeper
e09a9a865e chore(package): update ember-light-table to version 1.8.0 (#452)
https://greenkeeper.io/
2017-01-04 12:59:09 +00:00
Greenkeeper
cf226d80c1 chore(package): update ember-cli-babel to version 5.2.1 (#439)
https://greenkeeper.io/
2017-01-04 12:58:29 +00:00
Kevin Ansfield
0d2f0bd7b6 remove ember-watson dependency (#470)
no issue
- ember-watson does not need to be included in our dependency list, it has limited one-time usage and is better used as a global install for developers who want to run any of it's codemods
2017-01-04 05:43:55 -07:00
Greenkeeper
8a0c3f3c2e chore(package): update ember-resolver to version 2.1.1 (#464)
https://greenkeeper.io/
2017-01-04 11:50:10 +00:00
Greenkeeper
11e5e8b7f1 chore(package): update ember-cli-test-loader to version 1.1.1 (#456)
https://greenkeeper.io/
2017-01-04 11:49:27 +00:00
Greenkeeper
70559bef78 chore(package): update ember-concurrency to version 0.7.17 (#453)
https://greenkeeper.io/
2017-01-04 11:48:53 +00:00
Greenkeeper
dfb0ba0358 chore(package): update moment-timezone to version 0.5.11 (#460)
https://greenkeeper.io/
2017-01-04 11:47:38 +00:00
Greenkeeper
4c7092a95f chore(package): update liquid-fire to version 0.27.0 (#443)
https://greenkeeper.io/
2017-01-04 11:47:16 +00:00
Greenkeeper
ffc0e57798 chore(package): update ember-ajax to version 2.5.3 (#449)
https://greenkeeper.io/
2017-01-04 11:44:37 +00:00
Greenkeeper
c0e7994fe2 chore(package): update ember-load-initializers to version 0.6.3 (#437)
https://greenkeeper.io/
2017-01-04 11:36:33 +00:00
Greenkeeper
22371006e9 chore(package): update ember-sinon to version 0.6.0 (#435)
https://greenkeeper.io/
2017-01-04 11:35:38 +00:00
Greenkeeper
64d9114fa5 chore(package): update password-generator to version 2.0.6 (#432)
https://greenkeeper.io/
2017-01-04 11:33:35 +00:00
Greenkeeper
ff3941110c chore(package): update moment to version 2.17.1 (#430)
https://greenkeeper.io/
2017-01-04 11:31:44 +00:00
Greenkeeper
d4fec472f4 chore(package): update broccoli-merge-trees to version 1.2.1 (#428)
https://greenkeeper.io/
2017-01-04 11:31:21 +00:00
John O'Nolan
79601ebece 2017
* Dat copyright
* bro do u even 2017
2017-01-04 10:32:54 +00:00
Tobias Bieniek
7265d0ae67 tests/acceptance/editor: Restore clock early
This was never restored *after* the andThen() since that is async
2016-12-09 18:58:55 +01:00
Tobias Bieniek
d9552fa052 Update "ember-cli-chai" to v0.3.0 2016-12-09 18:27:24 +01:00
Austin Burdine
d7630295ce deps: ember-cli-chai@0.2.0 2016-12-09 18:26:56 +01:00
greenkeeperio-bot
66926fa82c chore(package): update ember-cli-mocha to version 0.13.1
https://greenkeeper.io/
2016-12-09 21:35:04 +07:00
Kevin Ansfield
106be90416 🐛 fix oAuth login for blog urls which contain /ghost (#429)
no issue
- use the configured `blogUrl` value rather than using `window.location.href` with a poor regex that was incorrectly matching on domains containing multiple `/ghost` parts such as `http://ghost.local:2368/ghost`
2016-12-03 15:56:51 +07:00
Greenkeeper
413ea7de18 chore(package): update ember-cli to version 2.10.0 (#423)
https://greenkeeper.io/
2016-12-01 00:05:13 -06:00
Greenkeeper
8b7b89d792 chore(package): update ember-data to version 2.10.0 (#420)
https://greenkeeper.io/
2016-12-01 00:04:08 -06:00
Tobias Bieniek
351083bb0d Update "ember-cli-mocha" to v0.12.1 2016-11-28 06:04:33 +01:00
Tobias Bieniek
d59859df90 tests: Convert to new testing API 2016-11-27 15:26:05 +01:00
Tobias Bieniek
616926eb8f Update "ember-cli-mocha" to v0.12.0 2016-11-27 11:15:48 +01:00
Greenkeeper
c52eb8ca82 chore(package): update blueimp-md5 to version 2.6.0 (#414)
https://greenkeeper.io/
2016-11-26 20:54:54 -07:00
Greenkeeper
7bd59924e5 chore(package): update liquid-fire to version 0.26.5 (#413)
https://greenkeeper.io/
2016-11-26 20:46:30 -07:00
Greenkeeper
2710770bc8 chore(package): update ember-route-action-helper to version 2.0.0 (#254)
https://greenkeeper.io/
2016-11-26 20:20:33 -07:00
Greenkeeper
cf57ea67b0 chore(package): update moment to version 2.17.0 (#410)
https://greenkeeper.io/
2016-11-26 16:12:06 -07:00
Greenkeeper
ca7901e68c chore(package): update ember-cli-node-assets to version 0.1.6 (#409)
https://greenkeeper.io/
2016-11-26 15:08:12 -07:00
Greenkeeper
f72048cfb4 chore(package): update codemirror to version 5.21.0 (#408)
https://greenkeeper.io/
2016-11-26 11:29:47 -07:00
Greenkeeper
1e3ffe68c2 chore(package): update liquid-wormhole to version 2.0.2 (#407)
https://greenkeeper.io/
2016-11-26 11:13:09 -07:00
Greenkeeper
f79cb38845 chore(package): update broccoli-merge-trees to version 1.1.5 (#403)
https://greenkeeper.io/
2016-11-26 10:53:21 -07:00
Greenkeeper
bff795b47f chore(package): update ember-one-way-controls to version 1.1.2 (#402)
https://greenkeeper.io/
2016-11-26 10:47:19 -07:00
Kevin Ansfield
2fb671235c Version bump to 1.0.0-alpha.9 2016-11-17 20:15:18 +00:00
Kevin Ansfield
308c9b5fc3 Fix inability to write posts as an author (#405)
closes TryGhost/Ghost#7730
- treat `Post.authorID` as a string not a number as it's now an objectid
- update `isAuthoredByUser` method so that author's posts aren't hidden from them
- update the post compare method so that it doesn't try to parse objectids as integers (may need revisiting now that we don't have auto-increment IDs to fall back on)
2016-11-17 20:08:11 +00:00
Kevin Ansfield
186a8ae70c Remove UUID attrs from all models except Post (#404)
refs https://github.com/TryGhost/Ghost/issues/7494
- remove `uuid` attrs from all models except Post
- remove uuids from mirage factories and fixtures
- add a workaround for tags where the selectize-based tags input on the PSM relies on a unique identifier for each tag which doesn't get sent back to the server when saving (fixes the broken tags input caused by uuid removal in https://github.com/TryGhost/Ghost/pull/7495)
2016-11-17 11:38:47 -06:00
Kevin Ansfield
9b47d91be2 💄remove final jscs references 2016-11-16 12:27:30 +00:00
Katharina Irrgang
8205d3b8d6 🎨 invites roles table into a field on the invites table (#394)
refs https://github.com/TryGhost/Ghost/issues/7432
- invite.role instead of invite.roles
- be able to serialize/deserialize response from and request to server
- server returns role_id
2016-11-16 11:01:58 +00:00
Greenkeeper
2818658438 chore(package): update lodash to version 4.17.2 (#401)
https://greenkeeper.io/
2016-11-16 10:32:13 +00:00
Aileen Nowak
dc4a1cde86 🔥 Remove grunt contributor (#331)
refs TryGhost/Ghost#7427

Removes unneccessary grunt dependencies from `package.json` and deletes contributor part in `Gruntfile.js`
2016-11-15 16:17:08 +00:00
Greenkeeper
4d896e6bca chore(package): update ember-light-table to version 1.6.1 (#399)
https://greenkeeper.io/
2016-11-15 16:08:42 +00:00
Greenkeeper
4a6d61b1f1 chore(package): update lodash to version 4.17.1 (#400)
https://greenkeeper.io/
2016-11-15 16:08:03 +00:00
Kevin Ansfield
8e70e71850 Merge pull request #398 from JohnONolan/style-updates
Editor and 1.0 style updates
2016-11-14 20:18:51 +00:00
Kevin Ansfield
80a617d3a6 Merge pull request #396 from TryGhost/greenkeeper-ghost-editor-0.1.5
Update ghost-editor to version 0.1.5 🚀
2016-11-14 20:09:53 +00:00
Kevin Ansfield
193bdcc8da chore(package): update ember-light-table to version 1.6.0 (#387)
https://greenkeeper.io/
2016-11-14 20:01:29 +00:00
Austin Burdine
1d7723e858 Merge pull request #357 from kevinansfield/eslint
Switch from jshint/jscs to eslint
2016-11-14 07:44:44 -06:00
Katharina Irrgang
6bd596c4ad Fix empty subscribers import modal (#378)
no issue
- recent changes to the way our modals work has resulted in the subscribers import modal appearing blank. The `liquid-if` used for transitioning between upload and result state of the doesn't run properly and the styles end up hiding it's contents
- this PR is a quick-fix that removes the animated transition so that imports are still possible
2016-11-14 14:34:39 +01:00
Kevin Ansfield
e74e2e039e Update code to match eslint rules
no issue
- switch `jscs` and `jshint` inline config to `eslint` config
- fix eslint errors, predominantly in tests where the config now the main app config more closely
2016-11-14 13:26:00 +00:00
Kevin Ansfield
91dfd0cbf7 switch from jshint/jscs to eslint
no issue
- drop `jshint`, `jscs`, and `ember-suave` dependencies
- remove `grunt` related linting dependencies and tasks
- remove linting build from Travis so that linting can be performed as part of the normal test suite (refs TryGhost/Ghost#7427)
- add `ember-cli-eslint` and `eslint-plugin-ember-suave` dependencies
- configure `eslint` to match our previous coding style
- update config to run eslint tests as part of the normal test run
- add `npm run lint` command to only run linter tests
2016-11-14 13:25:36 +00:00
Katharina Irrgang
2b0d0f841c support object id's (#390)
refs TryGhost/Ghost#7494

- remove id validation
2016-11-14 10:53:15 +00:00
Greenkeeper
a1707f3832 chore(package): update lodash to version 4.17.0 (#395)
https://greenkeeper.io/
2016-11-14 10:46:40 +00:00
John O'Nolan
838e16a1d3 Editor and 1.0 style updates 2016-11-14 16:55:08 +07:00
greenkeeperio-bot
ff9656ff5a chore(package): update ghost-editor to version 0.1.5
https://greenkeeper.io/
2016-11-14 09:53:26 +00:00
Tobias Bieniek
4ff887c326 Update "ember-cli-mocha" to v0.11.0 (#393)
no issue
- chore(package): update ember-cli-mocha to version 0.11.0
- bower.json: Cleanup "ember-cli-mocha" dependencies
2016-11-14 09:06:00 +00:00
greenkeeperio-bot
f41bff9ded chore(package): update ember-light-table to version 1.6.0
https://greenkeeper.io/
2016-11-14 09:02:41 +00:00
Greenkeeper
819f48d916 chore(package): update ember-cli-selectize to version 0.5.11 (#389)
https://greenkeeper.io/
2016-11-14 09:02:24 +00:00
Greenkeeper
e68f631031 chore(package): update ember-wormhole to version 0.5.1 (#392)
https://greenkeeper.io/
2016-11-14 08:45:33 +00:00
Greenkeeper
891e559385 chore(package): update moment to version 2.16.0 (#388)
https://greenkeeper.io/
2016-11-14 08:28:36 +00:00
Greenkeeper
f4c01fb4a5 chore(package): update bower to version 1.8.0 (#386)
https://greenkeeper.io/
2016-11-14 08:25:11 +00:00
kirrg001
56f3b9bf49 Version bump to 1.0.0-alpha.8 2016-11-08 15:26:37 +01:00
Ryan McCarvill
13eefe0243 Removed local markdown editor within ghost (#379) 2016-11-07 15:59:48 +00:00
Ryan McCarvill
6f1a3f0261 Updated ghost-editor to 0.1.4 (#385) 2016-11-07 11:50:08 +01:00
Kevin Ansfield
e7399ab7c1 🛠 remove ghost-editor from greenkeeper ignore list
no issue
- reverts change added in c3d994c9da
- `ghost-editor` has stabilised now and updates will be unlikely to require additional changes inside of Ghost
2016-11-07 10:37:17 +00:00
Greenkeeper
6b34151cc2 chore(package): update torii to version 0.8.1 (#381)
https://greenkeeper.io/
2016-11-05 09:12:59 +00:00
Greenkeeper
30b1912128 chore(package): update ember-cli-htmlbars-inline-precompile to version 0.3.6 (#380)
https://greenkeeper.io/
2016-11-05 09:12:36 +00:00
Greenkeeper
228e1ad99b chore(package): update moment-timezone to version 0.5.9 (#383)
https://greenkeeper.io/
2016-11-05 09:12:04 +00:00
Greenkeeper
920abaa2d8 chore(package): update ember-cli-selectize to version 0.5.10 (#377)
https://greenkeeper.io/
2016-11-03 13:54:14 +00:00
ivan sebastian
06e3cbaa27 Fix delete post (#372)
closes TryGhost/Ghost#7599
- when deleting a post we don't have a pluralised root in the response, adds a guard to ensure we don't throw an error
2016-11-03 13:39:40 +00:00
Greenkeeper
20d5091412 chore(package): update blueimp-md5 to version 2.5.0 (#376)
https://greenkeeper.io/
2016-11-03 13:17:18 +00:00
Greenkeeper
7362a5e61c chore(package): update fs-extra to version 1.0.0 (#375)
https://greenkeeper.io/
2016-11-03 13:16:59 +00:00
Greenkeeper
0eac5a0f14 chore(package): update ember-light-table to version 1.5.2 (#371)
https://greenkeeper.io/
2016-11-03 13:14:53 +00:00
Kevin Ansfield
6e9c70d262 Fix empty subscribers import modal
no issue
- recent changes to the way our modals work has resulted in the subscribers import modal appearing blank. The `liquid-if` used for transitioning between upload and result state of the doesn't run properly and the styles end up hiding it's contents
- this PR is a quick-fix that removes the animated transition so that imports are still possible
2016-11-03 13:07:25 +00:00
Greenkeeper
1111b9401e chore(package): update ember-sortable to version 1.9.0 (#369)
https://greenkeeper.io/
2016-11-03 12:46:28 +00:00
Greenkeeper
41f43b98b0 chore(package): update liquid-wormhole to version 2.0.0 (#364)
https://greenkeeper.io/
2016-11-03 09:52:07 +00:00
Greenkeeper
0d937adc67 chore(package): update ember-cli to version 2.9.1 (#361)
https://greenkeeper.io/
2016-11-03 09:51:40 +00:00
Hannah Wolfe
b0d7e104ef Version bump to 1.0.0-alpha.7 2016-10-31 13:55:09 +00:00
Greenkeeper
b75b739166 chore(package): update lodash to version 4.16.5 (#374)
https://greenkeeper.io/
2016-10-31 13:30:18 +00:00
Greenkeeper
79c51263bc chore(package): update moment to version 2.15.2 (#363)
https://greenkeeper.io/
2016-10-31 13:30:11 +00:00
Ryan McCarvill
8feed885d2 Ghost Editor 0.1.1 (#373)
- Added slash menu (kinda)
- Updated toolbars
- Added soft return
- Improved performance
- Added code block ` ` ` support
- Improved Link functionality
2016-10-31 11:46:21 +00:00
Kevin Ansfield
6c317054c1 Fetch config from endpoint rather than meta tags (#368)
refs TryGhost/Ghost#7628 (issue), refs TryGhost/Ghost#7631 (required)

- update `config` service to fetch from public configuration endpoint
- add `beforeModel` to `application` route to fetch config and pause further processing until the request is complete
- remove `<meta name="env-*">` tags from generated `default.hbs` and internal testing `index.html`
- add mirage config to simulate configuration endpoint and helper to simulate enabled oauth config
- update `ghost-oauth2` torii provider to use auth server URL from server-provided config
2016-10-28 14:07:50 +01:00
Greenkeeper
87212146e3 chore(package): update ember-cli-app-version to version 2.0.1 (#366)
https://greenkeeper.io/
2016-10-26 09:12:50 +01:00
Kevin Ansfield
28d2fc62bb Version bump to 1.0.0-alpha.6 2016-10-24 12:51:55 +01:00
Ryan McCarvill
ec597f0296 New editor layout (#355)
- the title is now part of the content
- new ways to navigate from the title to the content
- the new editor contains updated toolbar behavior
- the new editor contains markdown like commands
2016-10-24 11:55:55 +01:00
Greenkeeper
a1daa359b0 chore(package): update moment-timezone to version 0.5.7 (#362)
https://greenkeeper.io/
2016-10-22 11:11:09 +01:00
Kevin Ansfield
22e76b15c2 deps: ember-ajax@2.5.2 (#358)
no issue
- the changes for which we had pinned to a specific commit are now part of a proper release
2016-10-21 16:46:59 +02:00
Kevin Ansfield
389357db6c deps: ember@2.9.0 (#359)
no issue
- Glimmer2 was backed out of the 2.9 branch as it wasn't considered ready yet, 2.9 is therefore safe to upgrade to as changes are very minimal from the previous 2.8.2 version
2016-10-21 11:45:11 +02:00
Greenkeeper
4449e5b52c chore(package): update broccoli-concat to version 3.0.5 (#349)
https://greenkeeper.io/
2016-10-21 10:35:03 +01:00
Greenkeeper
564e79d51b chore(package): update codemirror to version 5.20.2 (#356)
https://greenkeeper.io/
2016-10-21 10:34:34 +01:00
Greenkeeper
49478b4ec9 chore(package): update ember-concurrency to version 0.7.15 (#348)
https://greenkeeper.io/
2016-10-21 10:32:13 +01:00
Greenkeeper
0ed9970330 chore(package): update ember-wormhole to version 0.5.0 (#346)
https://greenkeeper.io/
2016-10-21 10:31:53 +01:00
Greenkeeper
9d04306eeb chore(package): update liquid-fire to version 0.26.4 (#353)
https://greenkeeper.io/
2016-10-21 10:13:49 +01:00
Greenkeeper
8c326e5085 chore(package): update ember-cli-selectize to version 0.5.9 (#343)
https://greenkeeper.io/
2016-10-21 09:55:21 +01:00
Kevin Ansfield
79ea7ad4e7 🐛 fix more asset paths (#360)
no issue
- #309 introduced a change to our asset path but some images, particularly around the team page and user avatars were missed, this fixes those URLs to use the new `ghostPaths.assetRoot` helper
2016-10-21 09:44:25 +01:00
Greenkeeper
69d32acfe5 chore(package): update ember-data to version 2.9.0 (#344)
https://greenkeeper.io/
2016-10-21 09:09:15 +01:00
Greenkeeper
df7ab2995c chore(package): update ember-cli to version 2.9.0 (#354)
https://greenkeeper.io/
2016-10-21 09:07:49 +01:00
kirrg001
9c45469d5d Version bump to 1.0.0-alpha.5 2016-10-18 14:10:32 +02:00
Kevin Ansfield
a224154420 attempt expired session restore on network request (#327)
refs TryGhost/Ghost#5202

We can get into a situation where the app is left open without a
network connection and the token subsequently expires, this will
result in the next network request returning a 401 and killing the
session. This is an attempt to detect that and restore the session
using the stored refresh token before continuing with the request

- wrap ajax requests in a session restore request if we detect an expired `access_token`
2016-10-17 15:32:22 +02:00
Ryan McCarvill
ce945fbc91 Markdown card (#333)
Refs TryGhost/Ghost#7429
- Added mobiledoc card, this uses the mobiledoc editor from within Ghost. In the future we'll pull this out and replace it with a textarea as the preview is too small to fit in the content.
- Made the HTML editor a codemirror editor (pulled in from ghost-admin to save duplicating libraries).
- Ghost-Admin now passes the paths for the ghost-api and the image directory for tools.
- Fixed the scrolling issue.
2016-10-17 12:16:26 +01:00
Kevin Ansfield
527fa181c7 remove custom token endpoint when using Ghost OAuth (#335)
issue TryGhost/Ghost#7562
- removes the custom endpoint so that we always use `/authentication/token`
- adds missing `grant_type` attribute to our auth data so that the server can switch appropriately
2016-10-17 12:50:00 +02:00
Aileen Nowak
ce5ed95604 ✍ Change contributors on about page to be manually (#330)
refs TryGhost/Ghost#7427

Removes `-contributors.hbs` and `public/assets/img/contributors` from `.gitignore`.
Removes `buildAboutPage` from `grunt init` task.
Updates `contributors.hbs` and adds images for each contributor.
Changes the `max-width` of `.gh-credits` wrapper to be 700px instead of 650px, so we'll fit them all in two rows.
2016-10-17 09:58:44 +01:00