1
0
Fork 0
mirror of https://github.com/TryGhost/Ghost-Admin.git synced 2023-12-14 02:33:04 +01:00
Commit graph

671 commits

Author SHA1 Message Date
Kevin Ansfield 39fbb7a625 Bump dependencies 2017-10-31 11:51:18 +00:00
Kevin Ansfield 72ff75b935
New tags input, drop selectize & jquery-ui deps (#892)
closes https://github.com/TryGhost/Ghost/issues/6458
- swap `ember-sortable` for `ember-drag-drop` in navigation UI
- extract PSM tag input into new `{{gh-psm-tags-input}}`
- add new `{{gh-token-input}}` that wraps `ember-power-select` and `ember-drag-drop` to replicate the previous selectize based tags input
- enhance `{{gh-psm-tags-input}}` behaviour to highlight selected primary tag and show "primary/internal" in selected tag titles
- 🔥 remove `selectize`
- 🔥 remove `jquery-ui`
- 🔥 remove unused `{{gh-navigation}}` component
2017-10-31 09:10:49 +00:00
Aileen Nowak dcff959618 Version bump to 1.16.0 2017-10-26 19:20:03 +07:00
Aileen Nowak 0b86a72399 Version bump to 1.15.1 2017-10-24 16:19:28 +07:00
Kevin Ansfield 1ea43295da Version bump to 1.15.0 2017-10-19 14:26:38 +01:00
Kevin Ansfield 5153b2ab64 Version bump to 1.14.1 2017-10-17 16:14:31 +01:00
Kevin Ansfield 8d8bdf727a Version bump to 1.14.0 2017-10-13 15:54:09 +01:00
Kevin Ansfield bfb27f677a Bump dependencies (#887)
no issue

- ember/ember-data/ember-cli@2.16
- bump all outdated dependencies that do not require additional work or more extensive tests
- bump sub-dependencies in yarn.lock
- use `broccoli-uglify-sourcemap` (same dep as already used in `ember-cli-uglify`) instead of a separate `broccoli-uglify-js` package for building production codemirror assets
- add `/concat-stats-for` to `.gitignore` so that filesize stats from `CONCAT_STATS=true ember build` don't end up in the repo
2017-10-12 17:42:10 +02:00
kirrg001 80cccf74d4 Version bump to 1.13.0 2017-10-10 14:40:34 +02:00
kirrg001 2c786a5fe7 Version bump to 1.12.1 2017-10-06 14:45:19 +02:00
Aileen Nowak 89b72ea523 Version bump to 1.12.0 2017-10-05 18:57:41 +07:00
Aileen Nowak 7f8d92470a Version bump to 1.11.1 2017-10-04 16:37:59 +07:00
Aileen Nowak 0fcdc1ac97 Version bump to 1.11.0 2017-10-03 19:41:57 +07:00
Kevin Ansfield 22e30eed9c Version bump to 1.10.0 2017-09-28 15:09:30 +01:00
Kevin Ansfield 90706d0b38 Version bump to 1.9.1 2017-09-26 14:49:00 +01:00
kirrg001 d5fc240a70 Version bump to 1.9.0 2017-09-21 17:03:59 +02:00
kirrg001 4371142095 Version bump to 1.8.7 2017-09-19 14:20:32 +02:00
Aileen Nowak 94a2d3a870 Version bump to 1.8.6 2017-09-14 18:43:19 +07:00
Aileen Nowak 062e63804b Version bump to 1.8.5 2017-09-12 20:30:11 +07:00
Kevin Ansfield d4faa15f46 Upgrade eslint dependencies (#855)
no issue

- bump ember-cli-eslint and eslint-plugin-ember
- fix indentation & "unnecessary escape chars" lint errors
2017-09-11 14:56:11 +07:00
Kevin Ansfield 6975c01e69 Remove unwanted String.prototype extensions (#856)
closes https://github.com/TryGhost/Ghost/issues/8958

- `markdown-it-named-headers` pulled in `String.js` despite it not being used which added a lot of String.prototype extensions and caused Ember deprecation notices
- moves the short `markdown-it-named-headers` functionality directly into our app code without using `String.js`
2017-09-11 10:39:22 +07:00
kirrg001 87449ebb80 Version bump to 1.8.4 2017-09-07 14:45:56 +02:00
kirrg001 ad7d826b28 Version bump to 1.8.3 2017-09-05 20:36:01 +02:00
kirrg001 c1c7c9906c Version bump to 1.8.2 2017-09-05 14:17:34 +02:00
Kevin Ansfield 6cb04e4c41 Removed defunct Ghost OAuth code (#848)
refs https://github.com/TryGhost/Ghost/issues/8958

- Ghost OAuth isn't coming back, time for the code to disappear and simply all the things
- fixes the `Usage of router is deprecated` notices that flood the console/test logs when testing
2017-09-04 21:17:04 +02:00
Kevin Ansfield 7f03fa62c2 Run Chrome in headless mode on Travis
no issue
- align Travis config more closely to default ember-cli setup
- run Chrome in headless mode in CI (Travis + `ember test`, `ember test --server` is "dev" mode)
- install yarn via install script rather than npm
- remove broccoli cache from Travis cache (not sure it ever worked?)
- remove forced node-sass install (no longer needed)
- add `testem` as a top-level dep to force the latest version (ember-data is pinned at 1.15)
2017-09-02 16:39:49 -04:00
Kevin Ansfield 39a976cd9d Upgrade to Ember 2.15.0
no issue
- bumped `ember`, `ember-cli`, `ember-data` and related dependencies
- bumped yarn.lock sub-dependencies
- use new public `router` service in place of the private `-routing` service
2017-09-02 16:18:10 -04:00
Kevin Ansfield 53967a83fe Version bump to 1.8.1 2017-08-31 14:34:52 +01:00
Kevin Ansfield ec354c472d Version bump to 1.8.0 2017-08-29 14:21:54 +01:00
Kevin Ansfield a75138eb06 Bump dependencies (#839)
no issue
- bump dependencies that don't require additional changes
- bump sub-dependencies in yarn.lock
2017-08-28 11:39:29 +01:00
Kevin Ansfield 2295787797 Version bump to 1.7.1 2017-08-24 14:45:03 +01:00
Kevin Ansfield e0f8671939 Version bump to 1.7.0 2017-08-22 14:09:29 +01:00
Kevin Ansfield 88449ed639 Switched from ember-cli-shims to new module imports (#779)
no issue

- add eslint-plugin-ember, configure no-old-shims rule
- run `eslint --fix` on `app`, `lib`, `mirage`, and `tests` to move imports to the new module imports
- further cleanup of Ember globals usage
- remove event-dispatcher initializer now that `canDispatchToEventManager` is deprecated
2017-08-22 14:53:26 +07:00
Kevin Ansfield e9f744fdd7 Bump dependencies (#832)
no issue
- rollup of outdated deps that didn't contain breaking changes
- bumped sub-dependency versions in yarn.lock
2017-08-18 10:58:50 +07:00
Kevin Ansfield b641b7fd31 Version bump to 1.6.2 2017-08-17 18:29:53 +01:00
cobbspur 4d215e217c Version bump to 1.6.1 2017-08-16 13:07:59 +01:00
Kevin Ansfield a062e4df4d Version bump to 1.6.0 2017-08-15 18:36:42 +01:00
Kevin Ansfield 951ede711b Bump postcss and cssnano related dependencies
no issue
- an earlier dependency update resulted in production builds failing due to `cssnano`'s `postcss-merge-idents` dependency failing with a `Maximum call stack size exceeded` error
- bump `cssnano` to the 4.0.0 RC which includes a fix for this issue
- bump other `postcss` dependencies for good measure
2017-08-15 18:10:11 +01:00
Kevin Ansfield 1e3191b811 Unsplash integration
closes https://github.com/TryGhost/Ghost/issues/8859, requires https://github.com/TryGhost/Ghost/pull/8895
- adds Unsplash app to app settings
  - enable/disable toggle
  - validation and testing of Unsplash App ID
  - Unsplash App ID field hidden if provided via Ghost config
  - adds `fetchPrivate` method to `config` service to pull config that requires authentication and updates authentication routines to fetch private config
- adds Unsplash buttons to editor toolbar and `{{gh-image-uploader}}`
  - only present when Unsplash app is enabled
  - opens Unsplash image selector when clicked
  - `{{gh-image-uploader}}` has a new `allowUnsplash` attribute to control display of the unsplash button on a per-uploader basis
- adds Unsplash image selector (`{{gh-unsplash}}`)
  - uses new `unsplash` service to handle API requests and maintain state
  - search
  - infinite scroll
  - zoom image
  - insert image
  - download image
- adds `{{gh-scroll-trigger}}` that will fire an event when the component is rendered into or enters the visible screen area via scrolling
- updates `ui` service
  - adds `isFullscreen` property and updates `gh-editor` so that it gets set/unset when toggling editor fullscreen mode
  - adds `hasSideNav` and `isSideNavHidden` properties
- updates `media-queries` service so that it fires an event each time a breakpoint is entered/exited
  - removes the need for observers in certain circumstances
2017-08-15 16:01:12 +01:00
Kevin Ansfield b3d1474f40 Bump dependencies (#826)
no issue
- rollup of minor dependency updates
- bump yarn.lock sub-dependencies
- remove deprecated use of `testSelector`
2017-08-11 16:28:05 +01:00
kirrg001 ac85d18d25 Version bump to 1.5.2 2017-08-10 16:25:03 +02:00
kirrg001 7da3b55384 Version bump to 1.5.1 2017-08-08 15:14:32 +02:00
kirrg001 868d62bea3 Version bump to 1.5.0 2017-08-03 16:02:48 +04:00
Aileen Nowak 837f37de26 Added Twitter & Facebook data override fields to PSM (#814)
refs https://github.com/TryGhost/Ghost/issues/8334, requires https://github.com/TryGhost/Ghost/pull/8827
- added open graph and twitter fields to `Post` model
- added facebook and twitter card pane to PSM
- 💅🏼 Added preview styles for custom FB/Twitter cards
2017-08-03 15:45:14 +04:00
kirrg001 61fc7cb928 Version bump to 1.4.0 2017-08-02 15:13:29 +04:00
kirrg001 92fede757f Revert: Version bump to 1.3.1 2017-08-02 14:56:14 +04:00
Sebastian Gierlinger a339ec6d4f Version bump to 1.3.1 2017-08-02 14:35:33 +04:00
kirrg001 fb316a9f92 Version bump to 1.3.0 2017-08-01 17:29:48 +04:00
kirrg001 4ce1f9d8ce Version bump to 1.2.0 2017-07-31 14:40:18 +04:00
Kevin Ansfield a76d40ab9c ⬆️ bump core ember dependencies (#804)
no issue

- bump core `ember`, `ember-data` and `ember-cli` related dependencies
- remove deprecated `MODEL_FACTORY_INJECTIONS` flag
- update files to better match `ember-cli new` output for easier diffs during upgrades
2017-07-31 13:38:46 +04:00
kirrg001 c6beed549c Version bump to 1.1.0 2017-07-28 18:31:37 +04:00
Kevin Ansfield 9a5cba6ea4 Version bump to 1.0.2 2017-07-27 13:45:36 +04:00
Kevin Ansfield 8a5dc598c4 Version bump to 1.0.1 2017-07-26 15:03:02 +04:00
Kevin Ansfield c18d97e912 Version bump to 1.0.0 2017-07-22 19:55:42 +01:00
kirrg001 fa921f8367 Version bump to 1.0.0-rc.1 2017-07-11 16:41:08 +02:00
Kevin Ansfield e7b378ea05 🚀 supercharge tags performance
closes https://github.com/TryGhost/Ghost/issues/8540
- use `{{vertical-collection}}` in the tags dropdown filter list, opening the dropdown is now virtually instant as it's not attempting to immediately render components for every tag in the list
- remove pagination/infinite scroll from tags screen
- load all tags when accessing the tags screen
  - will pause to show spinner if no tags have previously been loaded
  - if tags exist in the ember data store, show the list immediately and load/update list in the background
- use `{{vertical-collection}}` to render enough tags to fill the scrollable area with a small buffer and use occlusion and element re-use to swap tags in whilst scrolling (suuuuper fast no matter number of tags loaded)
- scroll tags into view when they are selected (keyboard nav now makes a lot more sense)
- tested with 875 tags and 2x/5x CPU throttling with no major slowdowns 🎉
2017-07-07 17:53:08 +01:00
kirrg001 3ff999e4ac Version bump to 1.0.0-beta.2 2017-06-23 09:58:44 +02:00
Kevin Ansfield d53cb48fcc Version bump to 1.0.0-beta.1 2017-06-08 20:46:12 +01:00
Kevin Ansfield d8e1375af4 welcome tour (#527)
refs https://github.com/TryGhost/Ghost/issues/5168
- adds a `tour` service that handles syncing and management of tour throbbers & content
- adds a `gh-tour-item` component that handles the display of a throbber and it's associated popover when clicked
- uses settings API endpoint to populate viewed tour items on app boot/signin
- adds `liquid-tether@2.0.3` dependency for attaching throbbers and popups
- adds initial tour contents
2017-06-08 22:00:10 +07:00
Kevin Ansfield 7eefbba69f 💄🐷 sort-imports eslint rule (#712)
no issue

- adds `eslint-plugin-sort-imports-es6-autofix` dependency
  - implements ESLint's base `sort-imports` rule but has a distinction in that `import {foo} from 'bar';` is considered `multiple` rather than `single`
  - fixes ESLint's autofix behaviour so `eslint --fix` will actually fix the sort order
- updates all unordered import rules by using `eslint --fix`

With the increased number of `import` statements since Ember+ecosystem started moving towards es6 modules I've found it frustrating at times trying to search through randomly ordered import statements. Recently I've been sorting imports manually when I've added new code or touched old code so I thought I'd add an ESLint rule to codify it.
2017-05-29 20:50:03 +02:00
Kevin Ansfield ddc8aed370 Version bump to 1.0.0-alpha.21 2017-05-24 15:15:34 +01:00
Kevin Ansfield 83081b4b1b ⬇️ revert to autoprefixer@6.7.7 (#709)
refs #706
- bumping to `autoprefixer@7.0.1` in #673 caused `cssnano` to fail on production builds
- upgrading to latest autoprefixer didn't result in any wins
- reverting to `autoprefixer@6.7.7` for now, we may need other dependencies to bump their `postcss` support before it can be upgraded
2017-05-23 19:15:30 +09:00
Kevin Ansfield d49484ac95 auto-expanding editor title input (#699)
closes https://github.com/TryGhost/Ghost/issues/8463
- move generic text input handling into `text-input` mixin so it applies to text inputs and textareas
- adds `autoExpand` property to `gh-textarea` that accepts a selector to watch for resize changes, if the property is set then auto-expanding behaviour is triggered any time the textarea value is changed or when the selector element is resized (this prevents change in textarea width from toggling nav or split screen mode resulting in textarea content being hidden or the textarea being taller than it's contents)
- adds `ember-element-resize-detector` addon to allow watching of element resizes rather than window resizes (this was already included as a sub-dependency via `ember-light-table`->`ember-scrollable`->`ember-element-resize-detector`)
2017-05-18 17:01:30 +09:00
Kevin Ansfield 6de16a3c55 use markdown-it for markdown previews (#690)
 use markdown-it for markdown previews

no issue

- replaces SimpleMDE's default `marked` rendering with `markdown-it`
- add ember-browserify and markdown-it plugins
2017-05-15 18:51:19 +02:00
Kevin Ansfield 10e883b775 fix missing branch in package.json for our SimpleMDE fork 2017-05-11 14:16:31 +01:00
Kevin Ansfield 78d6f13b7d remove unused greenkeeper ignore list 2017-05-10 16:50:00 +01:00
Kevin Ansfield 16438f8c68 bump dependencies (#673)
no issue
- autoprefixer@7.0.1
- broccoli-funnel@1.2.0
- codemirror@5.25.2
- coveralls@2.13.1
- ember-cli@2.13.1
- ember-cli-babel@6.1.0
- ember-cli-chai@0.4.0
- ember-cli-code-coverage@0.3.12
- ember-cli-dependency-checker@1.4.0
- ember-cli-eslint@3.1.0
- ember-cli-htmlbars@1.3.2
- ember-cli-htmlbars-inline-precompile@0.4.2
- ember-cli-mocha@0.14.3
- ember-cli-test-loader@2.1.0
- ember-composable-helpers@2.0.1
- ember-data@2.13.1
- ember-light-table@1.8.6
- ember-native-dom-helpers@0.4.0
- ember-power-datepicker@0.3.0
- ember-power-select@1.8.2
- ember-route-action-helper@2.0.3
- ember-simple-auth@1.3.0
- ember-source@2.13.0
- ember-test-selectors@0.3.3
- fs-extra@3.0.1
- liquid-fire@0.27.3
- liquid-wormhole@2.0.5
- loader.js@4.4.0
- fix async issue in editor title placeholder test
- adds `targets.js` so that babel will only polyfill for the lowest common denominator
2017-05-09 18:15:04 -05:00
Kevin Ansfield a14efa9e16 Fix split screen editor (#684)
no issue

* fix title input padding and placeholder weight
* 🔥 remove unused showdown-ghost dependency
* implement full screen mode via CSS rather than autonav toggle
* implement custom split pane editor preview
    - replace SimpleMDE's split pane handling with our own so that we have more control over the element positioning, toggling of our custom fullscreen code, and so that the preview pane can be scrolled separately as per our old editor
* use forked version of simplemde that has the latest CodeMirror compiled
    - SimpleMDE hasn't been updated for 11 months and the version of CodeMirror is baked into the SimpleMDE code, to get an up to date version I've forked and re-compiled
    - pull in the unminified SimpleMDE source so that it's easier to debug in development, our asset compilation steps will take care of minifying it for production
* fix gh-markdown-editor teardown
2017-05-08 19:15:56 +01:00
Kevin Ansfield 4b48328e6d SimpleMDE editor (#682)
no issue

* move "save on first change" behaviour into editor controller
* allow TAB events to be specified in keyEvents hash of gh-input
* replace mobiledoc-kit/gh-koenig with a SimpleMDE based editor
    - remove `gh-koenig` in-repo-addon from `package.json` so that test files etc aren't loaded
    - remove `mobiledoc-kit` dependencies
    - extends `gh-editor` to handle file drag/drop
    - adds `gh-uploader` and `gh-progress-bar` components to handle file uploads in a more composable manner
    - adds `gh-simplemde` component that wraps SimpleMDE
2017-05-08 11:35:42 +01:00
Kevin Ansfield d70ea17796 Version bump to 1.0.0-alpha.20 2017-04-25 13:58:19 +01:00
Kevin Ansfield 9ab7d104ce deps: ember-inline-svg@0.1.11 2017-04-14 16:08:46 +01:00
Kevin Ansfield aa6a3d2416 Version bump to 1.0.0-alpha.19 2017-04-11 18:20:49 +01:00
Kevin Ansfield 34cb65df5c new publish menu and date/time picker (#588)
closes https://github.com/TryGhost/Ghost/issues/8249

- replaces the old split-button publish/schedule/update button with a less confusing menu system
- adds a `{{gh-date-time-picker}}` component that contains a datepicker with separate time input
- replaces the date text input in the post settings menu with `{{gh-date-time-picker}}`
  - disabled when post is scheduled, only way to update a scheduled time is via the publish menu
  - validates date is in the past when draft/published so there's no confusion with scheduling
- displays saving status in top-left of editor screen
- refactor editor (auto)saving processes to use ember-concurrency

Other minor changes:
- adds `post.publishedAtBlog{TZ,Date,Time}` properties to Post model to allow working with `publishedAt` datetime in the selected blog timezone rather than UTC
- adds a `beforeSave` hook to `validation-engine` that is called after successful validation and before the Ember Data save call is made
- adds validation of `publishedAtBlog{Date,Time}` to post validator
- prevent gh-task-button showing last task state on first render
- fixes bug where clicking into and out of the published date input in the PSM without making any changes saves a published date for draft posts
2017-04-11 14:39:45 +01:00
Ryan McCarvill 4670d3fe03 General Editor UI improvements. (#630)
refs https://github.com/TryGhost/Ghost/issues/8248
refs https://github.com/TryGhost/Ghost/issues/8194
closes https://github.com/TryGhost/Ghost/issues/8192

Miscellaneous editor reliability and usability fixes. 
- Improve the reliability of selection.
- Ensure that the + menu appears even if there is a blank document (which meant the events weren't firing from mobiledoc itself)
- When cards are added they are automatically selected and if possible go straight into edit mode (only works on the markdown card).
- Fixes issues in Safari desktop, Safari mobile, and Firefox.
- Tries to position UI on screen at all times.
- Removes fastclick.
2017-04-10 10:10:53 +01:00
Kevin Ansfield 5e9e3cd027 switch to ember-cli-moment-shim (#622)
no issue

- preparation for using `ember-pikaday` that utilizes `ember-cli-moment-shim`
- removes usage of `moment` global
- removes custom imports of `moment` and `moment-timezone` libraries
2017-04-05 19:45:35 +02:00
Kevin Ansfield 57b27e4b9c 🐛 fix sticky dropdown links (#621)
closes https://github.com/TryGhost/Ghost/issues/8269

- swaps the usage of our custom `gh-dropdown` component in the user menu dropdown for the `ember-wormhole` based `ember-basic-dropdown` that is used elsewhere in the app and will fully replace `gh-dropdown` in the future
- adds `gh-basic-dropdown` component that extends from `ember-basic-dropdown` and hooks into our `dropdown` service so that we can programatically close dropdowns from disparate areas of the app
- modifies the `body-event-listener` mixin to pass the click event through to it's consumers
- modifies the `bodyClick` handler in the `dropdown` service to check if the click actually originated from an ember-basic-dropdown element - this body click handler will go away once we've fully switched to `gh-basic-dropdown`
- adds `ember-native-dom-helpers` to provide consistency between acceptance and integration tests (this is the start of another refactor, eventually this addon will disappear as part of ember's [grand testing unification project](https://github.com/rwjblue/rfcs/blob/42/text/0000-grand-testing-unification.md))
2017-04-05 15:26:01 +01:00
Kevin Ansfield 9a0b39eeca Version bump to 1.0.0-alpha.18 2017-04-04 12:45:14 +01:00
Kevin Ansfield 0a7154d1c4 bump dependencies (#610)
no issue
- coveralls@2.13.0
- bump yarn.lock sub-dependencies
2017-04-03 11:32:04 +01:00
Kevin Ansfield ec78939910 Fix tests when run via http://localhost:4200/tests (#609)
* deps: ember-cli-node-assets@0.2.2

* fix tests when run via http://localhost:4200/tests

no issue
- `blogUrl` in the mocked config was hardcoded, switching to using the current origin fixed the navigation tests
- we were only pulling jquery drag simulator library in on test builds but we also need it added to `test-support.js` in development builds
- lazy loading is disabled in the test env which previously worked fine as all of the codemirror assets are bundled into the test build, now that we also run tests using the development build we needed to update the config to import codemirror assets into the `test-support.js` file - this ensures that we have normal lazy-loading behaviour when developing locally and that accessing via http://localhost:4200/tests doesn't die horribly due to missing dependencies
2017-03-30 20:51:50 +01:00
Kevin Ansfield f05f31f08e grunt dev admin livereload (#590)
refs https://github.com/TryGhost/Ghost/issues/8161, requires tbd
- updates the `ember:watch` grunt task to use `ember serve`, passing in the required `--live-reload-base-url` parameter
  - forces live reload port to `4201` for now as there's a [bug on touchbar macs](https://github.com/ember-cli/ember-cli/issues/6513)
- removes the unused `ember-cli-content-security-policy` dependency to remove console log noise from x-domain warnings

With this and the required Ghost PR, when using `grunt dev` the admin screen will refresh any time a file is changed. It will also allow tests to be run simultaneously by visiting http://localhost:4200/tests
2017-03-30 13:27:01 +01:00
Kevin Ansfield e65a1b479d 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 3c848048f5 deps: ember-source@2.12.0 2017-03-29 10:47:46 +01:00
Kevin Ansfield 61e73b4d31 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 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
kirrg001 9adb99058c Version bump to 1.0.0-alpha.17 2017-03-22 10:18:14 +01:00
Kevin Ansfield 82e129b390 Version bump to 1.0.0-alpha.16 2017-03-14 19:06:41 +00: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
Ryan McCarvill 8c800ef504 👯 ♥️ ♣️ ♦️ ♠️ New editor card menu (#580)
refs https://github.com/TryGhost/Ghost/issues/8106, https://github.com/TryGhost/Ghost/issues/7429, requires https://github.com/TryGhost/Ghost/pull/8137

-Adds new "card" menus
  - Navigation with keyboard in both axis.
  - Search with keyboard in both menus.
  - Adds a "+" Menu for cards
  - Adds a "/" Menu for cards
    - if the block has content and it becomes a markdown or HTML Embed card then the content is included into the card.
    - Image and HR cards appear below the current section
- Adds new toolbar with both inline and block styling.
- Adds a new 'divider' card.
2017-03-14 11:59:34 +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 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
kirrg001 cd916ede17 Version bump to 1.0.0-alpha.15 2017-03-03 18:35:18 +01: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 ec3cf91651 remove broccoli-clean-css dependency
no issue
- we're now using postcss with the cssnano plugin when building the production files so we don't need the additional minification plugin
- fixes `ember build -prod`
2017-03-02 11:13:18 +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
Ryan McCarvill bcdf9cea73 renamed to koenig 2017-03-02 09:56:52 +00:00
Ryan McCarvill 737a0b3ebd 👷🏻‍♀️🚧👷 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 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 0f46d214e0 Version bump to 1.0.0-alpha.14 2017-02-24 19:53:36 +00:00
Ryan McCarvill 8871bd5bae 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 5674498759 accordion toggles for settings sections 2017-02-21 13:03:44 +00:00
kirrg001 a4c497ec3e Version bump to 1.0.0-alpha.13 2017-02-18 17:24:12 +01:00
Austin Burdine 758a2a551a 🎨 Myth => PostCSS (#537) 2017-02-18 02:46:41 +07:00
Ryan McCarvill e90e7954af deps: ghost-editor@0.1.9 (#535) 2017-02-17 15:40:32 +01:00
Kevin Ansfield f4dc41631e Version bump to 1.0.0-alpha.12 2017-02-11 23:01:07 +00: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 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
kirrg001 622951b10d Version bump to 1.0.0-alpha.11 2017-02-04 17:33:12 +01: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 767cd7511a Version bump to 1.0.0-alpha.10 2017-01-26 18:08:41 +00:00
Kevin Ansfield d425d946c3 deps: ember-cli-code-coverage@0.3.11 (#510) 2017-01-26 10:48:54 -06: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
Kevin Ansfield b2b70e5f38 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 abfcc4f7ff 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 6d6cc56ae1 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 fe4f5ddd65 chore(package): update ember-cli-selectize to version 0.5.12 (#490)
https://greenkeeper.io/
2017-01-13 13:25:11 +00:00
Greenkeeper bb88f9a954 chore(package): update codemirror to version 5.22.2 (#489)
https://greenkeeper.io/
2017-01-13 13:24:42 +00:00
Greenkeeper 52ff178dbb chore(package): update ember-power-select to version 1.1.0 (#488)
https://greenkeeper.io/
2017-01-13 13:24:23 +00:00
Greenkeeper d5d142e221 chore(package): update ember-data to version 2.11.0 (#485)
https://greenkeeper.io/
2017-01-13 13:23:42 +00:00
Greenkeeper 583aaf3cbc 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 27c64f6c34 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 1d1ecc3a23 chore(package): update ember-light-table to version 1.8.1 (#480)
https://greenkeeper.io/
2017-01-08 10:33:49 -06:00
Greenkeeper 490988c74b 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 d72780027d 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 4abd233195 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 d426417119 chore(package): update jquery-deparam to version 0.5.3 (#468)
https://greenkeeper.io/
2017-01-04 13:32:47 +00:00
Greenkeeper 0cab8e38dc chore(package): update ember-power-select to version 1.0.3 (#463)
https://greenkeeper.io/
2017-01-04 13:32:30 +00:00
Greenkeeper 35f02986cd chore(package): update ember-sortable to version 1.9.1 (#418)
https://greenkeeper.io/
2017-01-04 13:31:48 +00:00
Greenkeeper fa96dc005e chore(package): update loader.js to version 4.1.0 (#442)
https://greenkeeper.io/
2017-01-04 13:01:18 +00:00
Greenkeeper 524731c26e chore(package): update ember-cli-htmlbars to version 1.1.1 (#422)
https://greenkeeper.io/
2017-01-04 13:00:52 +00:00
Greenkeeper d6d232c354 chore(package): update codemirror to version 5.22.0 (#457)
https://greenkeeper.io/
2017-01-04 13:00:24 +00:00
Greenkeeper afd58a76f9 chore(package): update ember-cli-eslint to version 3.0.2 (#467)
https://greenkeeper.io/
2017-01-04 12:59:31 +00:00
Greenkeeper 0045d8c750 chore(package): update ember-light-table to version 1.8.0 (#452)
https://greenkeeper.io/
2017-01-04 12:59:09 +00:00
Greenkeeper 01f773f733 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 3143a029c1 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 aa46b69d2d chore(package): update ember-resolver to version 2.1.1 (#464)
https://greenkeeper.io/
2017-01-04 11:50:10 +00:00
Greenkeeper bdff954f5a 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 bd34ba057c chore(package): update ember-concurrency to version 0.7.17 (#453)
https://greenkeeper.io/
2017-01-04 11:48:53 +00:00
Greenkeeper 4111053813 chore(package): update moment-timezone to version 0.5.11 (#460)
https://greenkeeper.io/
2017-01-04 11:47:38 +00:00
Greenkeeper 6eef261190 chore(package): update liquid-fire to version 0.27.0 (#443)
https://greenkeeper.io/
2017-01-04 11:47:16 +00:00
Greenkeeper d169411aa6 chore(package): update ember-ajax to version 2.5.3 (#449)
https://greenkeeper.io/
2017-01-04 11:44:37 +00:00
Greenkeeper 19d618dc52 chore(package): update ember-load-initializers to version 0.6.3 (#437)
https://greenkeeper.io/
2017-01-04 11:36:33 +00:00
Greenkeeper c35c4e18c4 chore(package): update ember-sinon to version 0.6.0 (#435)
https://greenkeeper.io/
2017-01-04 11:35:38 +00:00
Greenkeeper 49dfcd55a5 chore(package): update password-generator to version 2.0.6 (#432)
https://greenkeeper.io/
2017-01-04 11:33:35 +00:00
Greenkeeper 1d33231715 chore(package): update moment to version 2.17.1 (#430)
https://greenkeeper.io/
2017-01-04 11:31:44 +00:00
Greenkeeper fbdcaa5031 chore(package): update broccoli-merge-trees to version 1.2.1 (#428)
https://greenkeeper.io/
2017-01-04 11:31:21 +00:00