Commit Graph

1083 Commits

Author SHA1 Message Date
Renovate Bot
f9df166135 Update dependency @tryghost/timezone-data to v0.2.1 2019-04-22 02:30:34 +00:00
Renovate Bot
27c57e6438 Update dependency @tryghost/helpers to v1.1.2 2019-04-22 01:29:18 +00:00
Rish
3721a87838 Version bump to 2.20.1 2019-04-17 18:31:46 +05:30
Rish
7c1ba31781 Version bump to 2.20.0 2019-04-16 16:42:31 +05:30
renovate[bot]
35ed456055 Pin dependency @tryghost/helpers to 1.1.1 (#1160) 2019-04-16 08:50:49 +01:00
Rishabh Garg
bf6c446f72 Updated to use count words/images helper from SDK (#1159)
refs https://github.com/TryGhost/Ghost/issues/10618

- Updated use of `countWords`, `countImages` and `stripTags` helper from Ghost SDK
- Removed existing local utils copy
2019-04-16 12:50:59 +05:30
renovate[bot]
d911bc5d44 Update dependency ember-cli-uglify to v3 (#1155) 2019-04-15 09:28:22 +01:00
renovate[bot]
386e003f09 Update ember testing (#1154) 2019-04-15 09:24:01 +01:00
renovate[bot]
a7db5639a0 Update dependency ember-concurrency to v0.10.0 (#1153) 2019-04-15 09:22:58 +01:00
Renovate Bot
14ee281e6f Update dependency ember-source to v3.9.1 2019-04-15 02:34:42 +00:00
Renovate Bot
58f39c4795 Update dependency ember-power-select to v2.3.1 2019-04-15 01:28:40 +00:00
renovate[bot]
a9b33338c4 Update ember core to v3.9.0 (minor) (#1147)
* Update ember core to v3.9.0
2019-04-09 14:21:48 +01:00
Nazar Gargol
6748a39718 Version bump to 2.19.4 2019-04-09 19:30:37 +08:00
renovate[bot]
d0d959c16a Update dependency ember-infinity to v1.4.1 (#1146) 2019-04-09 09:49:58 +01:00
Renovate Bot
ef709f4757 Update ember core 2019-04-08 02:29:05 +00:00
Renovate Bot
3334034c6d Update css processors 2019-04-08 01:29:26 +00:00
Kevin Ansfield
b34be95c17 Version bump to 2.19.3 2019-04-04 14:58:48 +01:00
renovate[bot]
64e6c2a01b Update ember addons (#1128) 2019-04-02 11:28:39 +01:00
Kevin Ansfield
af4ed3bab0 Added ember-cli-deprecation-workflow
no issue
- silences current deprecations so that Travis doesn't fail due to test logs being too long
2019-04-02 10:53:20 +01:00
Kevin Ansfield
525265cabc Version bump to 2.19.2 2019-04-02 10:02:14 +01:00
renovate[bot]
def483875f Update dependency eslint to v5.16.0 (#1133) 2019-04-01 10:45:00 +01:00
renovate[bot]
9f1ea2be89 Update dependency codemirror to v5.45.0 (#1129) 2019-04-01 10:44:39 +01:00
Renovate Bot
3825fec103 Update dependency postcss-custom-media to v7.0.8 2019-04-01 01:30:22 +00:00
Kevin Ansfield
b9edea7822 Version bump to 2.19.1 2019-03-27 17:26:57 +00:00
Fabien O'Carroll
bea5a8b4a8 Version bump to 2.19.0 2019-03-26 11:50:32 +01:00
Renovate Bot
fc57f1564e Update dependency grunt to v1.0.4 2019-03-25 02:28:57 +00:00
Renovate Bot
ef38e22019 Update dependency eslint to v5.15.3 2019-03-25 01:36:09 +00:00
Kevin Ansfield
05a4888f60 Version bump to 2.18.3 2019-03-22 13:38:47 +00:00
Rish
6ee01b7bad Version bump to 2.18.2 2019-03-19 16:41:50 +05:30
renovate[bot]
708c95d2b8 Update dependency autoprefixer to v9.5.0 (#1122) 2019-03-18 14:25:17 +00:00
renovate[bot]
655b785225 Update ember addons (#1123) 2019-03-18 14:24:58 +00:00
renovate[bot]
4af38d2d39 Update dependency @tryghost/timezone-data to v0.2.0 (#1121) 2019-03-18 12:44:48 +00:00
Renovate Bot
0ce4699006 Update dependency eslint to v5.15.2 2019-03-18 01:28:42 +00:00
Kevin Ansfield
eeed5a6de7 🐛 Fixed infinite scroll of posts/pages screens not working in Safari
closes https://github.com/TryGhost/Ghost/issues/10521
- bumped `ember-in-viewport` and `ember-infinity` which fixed the Safari bug
- forced resolution of `ember-in-viewport` to 3.2.2 to avoid conflicts across project sub-dependencies
- switched to fork of `ember-light-table` which contains a compatibility fix with `ember-in-viewport@3.2.2` (PR'd here https://github.com/offirgolan/ember-light-table/pull/674)
2019-03-15 18:06:16 +00:00
kirrg001
eb30a861fd Version bump to 2.18.1 2019-03-13 23:43:48 +01:00
Fabien O'Carroll
13c9631441 Version bump to 2.18.0 2019-03-13 22:06:18 +01:00
renovate[bot]
8efa86f37a Update dependency ember-fetch to v6.5.0 (#1117) 2019-03-13 17:51:45 +00:00
renovate[bot]
491459bda3 Update dependency codemirror to v5.44.0 (#1116) 2019-03-13 17:51:28 +00:00
Renovate Bot
e3954710d0 Update ember addons 2019-03-13 15:53:24 +00:00
renovate[bot]
a4a3ac7e7f Pin dependency element-resize-detector to 1.1.15 (#1114) 2019-03-13 14:13:22 +00:00
Nazar Gargol
a092659594 Version bump to 2.17.2 2019-03-13 18:52:43 +08:00
Kevin Ansfield
60e9667177 Version bump to 2.17.1 2019-03-12 18:45:54 +00:00
Nazar Gargol
9dc093939f Version bump to 2.17.0 2019-03-12 20:39:30 +08:00
Kevin Ansfield
30d009ea84 Used ember-exam to split tests and run in parallel on Travis (#1112)
no issue
- improves test run times by splitting the tests into multiple groups and running each in their own browser instance
  - settled on 2 browser instances as that seems to best fit within Travis' memory and CPU constraints
- updated ember-cli-code-coverage config to work with parallel builds
2019-03-11 18:16:01 +00:00
Kevin Ansfield
8514372dad Bumped ember core dependencies to 3.8.x
no issue
- bumped ember core reps
- bumped ember-ajax for ember 3.8.0 compatibility
- removed deprecated use of `transition.handlerInfos`
2019-03-07 17:24:35 +00:00
Kevin Ansfield
5696644e2d Bumped ember core dependencies to 3.7.x
no issue
2019-03-07 16:25:43 +00:00
Kevin Ansfield
a0dacf5231 Bumped ember core dependencies to 3.6.x 2019-03-06 17:15:44 +00:00
Kevin Ansfield
e161dd4180 Version bump to 2.16.4 2019-03-06 12:19:06 +00:00
Kevin Ansfield
0103ef8e3c Bumped ember core dependencies to 3.5.x
no issue
- bumped ember-cli to 3.5.1
- bumped ember-data to 3.5.2
2019-03-06 07:39:51 +00:00
Kevin Ansfield
c4d16d5d67 Bumped dependencies (#1108)
Bumped all non-ember-core dependencies that do not require significant work or that contain unresolvable inter-dependencies.

Skipped:
- `ember-drag-drop` - our usage needs re-working for closure actions
- `ember-infinity`, `ember-in-viewport` - one depends on the other and `ember-light-table` depends on a particular version of `ember-in-viewport` in a way that breaks if they are upgraded

Removed/bumped:
- removed ember-cli-es6-transform
- removed ember-cli-cjs-transform
- removed current-device
- removed ember-responsive
- bumped yarn.lock sub-dependencies
- bumped @ember/jquery
- bumped @tryghost/mobiledoc-kit
- bumped autoprefixer
- bumped broccoli-funnel
- bumped coveralls
- bumped ember-auto-import
- bumped ember-moment
- bumped ember-power-select
- bumped ember-simple-auth
- bumped broccoli-uglify-sourcemap
- bumped ember-cli-eslint and eslint-plugin-ghost with fixes for new rules
- bumped ember-cli-mirage
- bumped ember-cli-pretender
- bumped ember-power-calendar-moment
- bumped ember-power-datepicker
- bumped ember-composable-helpers
- bumped ember-concurrency
- bumped ember-load
- bumped eslint
- bumped walk-sync
- bumped ember-useragent
- bumped fs-extra
- bumped ember-resolver
- bumped @html-next/vertical-collection
- bumped ember-cli-babel
2019-03-05 17:34:00 +00:00
Kevin Ansfield
4fbfd73af6 Version bump to 2.16.3 2019-03-05 10:46:57 +00:00
kirrg001
5798d8f9c3 Version bump to 2.16.2 2019-02-27 10:06:47 +01:00
kirrg001
95fe02c481 Version bump to 2.16.1 2019-02-26 12:15:53 +01:00
kirrg001
dc87831e0d Version bump to 2.16.0 2019-02-26 10:29:46 +01:00
Kevin Ansfield
35860fad70 Removed usage of /configuration/timezones/ endpoint
no issue
- replaced timezones endpoint with `@tryghost/timezone-data` module
2019-02-26 12:37:50 +07:00
Kevin Ansfield
0d9bb4a07b Moved Spirit CSS library from external to internal 2019-02-24 11:19:22 +07:00
Fabien O'Carroll
afb97ecfba Version bump to 2.15.0 2019-02-21 12:10:22 +01:00
Nazar Gargol
a13df41940 Version bump to 2.14.3 2019-02-14 11:03:10 +00:00
Nazar Gargol
2c05db8383 Version bump to 2.14.2 2019-02-13 14:59:05 +00:00
Kevin Ansfield
48d6f3c8b8 Bumped mobiledoc-kit dependency
no issue
- improves conversion of html content when pasting into the editor
2019-02-13 13:00:23 +00:00
Rish
502e92a5b8 Version bump to 2.14.1 2019-02-12 16:36:32 +05:30
Kevin Ansfield
50b38cb8ff Version bump to 2.14.0 2019-02-07 14:35:06 +00:00
Nazar Gargol
da78908d06 Version bump to 2.13.2 2019-02-05 12:11:27 +00:00
Kevin Ansfield
aa16b385f6 Version bump to 2.13.1 2019-01-29 14:49:22 +00:00
Kevin Ansfield
d6d8ddb02f Version bump to 2.13.0 2019-01-29 10:59:32 +00:00
Kevin Ansfield
042aecb7f6 Switch from embor-browserify to ember-auto-import
no issue
- minor reduction in build size. Before/after:
  - `vendor.min.js 3.32 MB (710.66 KB gzipped)`
  - `vendor.min.js 3.29 MB (706 KB gzipped)`
2019-01-22 13:09:38 +00:00
Kevin Ansfield
9a58679533 Version bump to 2.12.0 2019-01-22 11:36:16 +00:00
Kevin Ansfield
bc8d21e224 Fixed listing, removed unused broccoli-clean-css dependency 2019-01-22 09:30:28 +00:00
Kevin Ansfield
cda82cf593 Bumped Codemirror, fixed hidden cursor in empty Code Injection fields 2019-01-21 13:57:31 +00:00
Zimo
9da32fa368 Updating to Spirit 0.0.50
refs. https://github.com/TryGhost/Ghost/issues/10027
- fix bold style in HTML blocks for Koenig
2019-01-21 13:51:08 +01:00
Fabien O'Carroll
23c8788482 Version bump to 2.11.1 2019-01-16 09:58:53 +01:00
Fabien O'Carroll
cb787605f7 Version bump to 2.11.0 2019-01-15 14:10:52 +01:00
Fabien O'Carroll
7a1f111f65 Version bump to 2.10.2 2019-01-15 13:42:12 +01:00
Kevin Ansfield
921d826da5 Fixed @ember/jquery deprecation warning during builds
no issue
- add `@ember/jquery` package to remove deprecation warning for jQuery not being bundled with future Ember versions
2019-01-14 15:38:53 +00:00
Kevin Ansfield
18b6596cd1 Bump dependencies (#1093)
no issue
- bump ember-cli-htmlbars-inline-precompile
- bump ember-cli-inject-livereload
- bump ember-concurrency
- bump ember-cli-string-helpers
- bump ember-sinon
- 🔥 remove unused ember-wormhole dependency
- bump ember-test-selectors
- bump ember-useragent
- bump ember-cli-babel
- bump eslint-plugin-ghost
- bump ember-load
- bump ember-load-initializers
- bump ember-power-select
- bump grunt-shell
- bump walk-sync

Partial dependency bump. Keeping groups smaller so that any issues are easier to pin down if needed. This PR covers remaining out-of-date dependencies that require little to no additional changes or investigation.
2019-01-10 14:15:37 +00:00
Fabien O'Carroll
14b3ebbb38 Version bump to 2.10.1 2019-01-09 12:27:01 +01:00
Kevin Ansfield
695943b32c Bump dependencies (#1092)
refs https://github.com/TryGhost/Ghost/issues/10310
- bump liquid-fire (cleans up multiple deprecations)
- bump ember-sinon
- bump ember-optional-features
- bump ember-assign-helper
- bump ember-cli-dependency-checker
- bump ember-cli-mirage
- bump ember-cli-pretender
- bump ember-cli-es6-transform

Partial dependency bump. Keeping groups smaller so that any issues are easier to pin down if needed.
2019-01-08 14:39:37 +00:00
Nazar Gargol
b55c6f1c54 Version bump to 2.10.0 2019-01-08 12:37:47 +00:00
Kevin Ansfield
aba884080f Bumped dependencies (Fixed production build) (#1091)
no issue
- bump green (patch) deps
- bump ember-fetch
- bump ember-simple-auth
- bump broccoli-asset-rev
- bump ember-ajax
- bump yarn.lock sub-dependencies

Only a partial dependency upgrade but fixes production build error that was introduced in https://github.com/TryGhost/Ghost-Admin/pull/1044 so merging as-is.
2019-01-08 12:36:16 +00:00
Kevin Ansfield
73daa80b7f Migrate to latest ember, ember-mocha and modern ember testing (#1044)
no issue
- upgrade to latest `ember-source` and related dependencies including `ember-cli`
- upgrade to latest `ember-mocha` and modern ember testing setup
    - https://github.com/emberjs/rfcs/blob/master/text/0268-acceptance-testing-refactor.md
    - switch from using global acceptance test helpers and `native-dom-helpers` to using the new `ember-test-helpers` methods
    - use [`chai-dom`](https://github.com/nathanboktae/chai-dom) assertions where in some places (still a lot of places in the tests that could use these)
- pin `ember-in-viewport` to 3.0.x to work around incompatibilities between different versions used in `ember-light-table`, `ember-infinity`, and `ember-sticky-element`
    - incompatibilities manifested as "Invalid value used as weak map key" errors thrown when using `ember-light-table` (subscribers screen)
- pin `ember-power-datepicker` to unreleased version that contains a move from global acceptance test helpers to modern test helpers
2019-01-02 09:58:55 +00:00
Nazar Gargol
b9d76106c2 Version bump to 2.9.1 2018-12-20 11:28:23 +01:00
Kevin Ansfield
4096d4ff79 Version bump to 2.9.0 2018-12-17 14:25:24 +00:00
kirrg001
5874a4d041 Version bump to 2.8.0 2018-12-11 14:25:52 +01:00
Fabien O'Carroll
b3b5290a3c Version bump to 2.7.1 2018-12-05 14:28:11 +07:00
Fabien O'Carroll
d6abc64b9a Version bump to 2.7.0 2018-12-04 21:10:16 +07:00
Rish
32e04516ce Version bump to 2.6.2 2018-11-27 18:33:56 +05:30
Peter Zimon
8ae47cd0e5 UI refinements (#1075)
no issue
* Update negative margin of card indicators
* Update to Spirit 0.0.49
2018-11-26 14:25:47 +00:00
Peter Zimon
f94f7d52d9 Updating to Spirit 0.0.48 (#1074)
refs. https://github.com/TryGhost/Team/issues/148
- fix vertical rhythm for divs and headings
2018-11-26 10:34:16 +00:00
Kevin Ansfield
dd8fec7c1f Bump @tryghost/mobiledoc-kit version
no issue
- includes bug fix and improvements to copy/paste from rich-text sources
2018-11-22 10:39:20 +00:00
Nazar Gargol
02633a4b1f Version bump to 2.6.1 2018-11-20 18:21:48 +01:00
Kevin Ansfield
1e1fcb0747 Bump @tryghost/mobiledoc-kit version
no issue
- brings us in-line with upstream mobiledoc-kit master
2018-11-20 11:59:19 +00:00
Kevin Ansfield
23ab934db4 Version bump to 2.6.0 2018-11-13 12:51:06 +00:00
kirrg001
731d2a9a2e Version bump to 2.5.0 2018-11-07 16:19:43 +01:00
Fabien O'Carroll
7308fcba79 Version bump to 2.4.0 2018-10-30 19:26:40 +07:00
Rish
02d95c3974 Version bump to 2.3.0 2018-10-22 15:41:19 +05:30
Kevin Ansfield
8400892dbd Version bump to 2.2.4 2018-10-18 12:29:27 +01:00
Kevin Ansfield
faf489fcd9 Version bump to 2.2.3 2018-10-16 17:38:23 +01:00
Fabien O'Carroll
dddf196c55 Version bump to 2.2.2 2018-10-11 14:20:35 +07:00
Nazar Gargol
a8e3fcbe32 Version bump to 2.2.1 2018-10-09 16:34:36 +02:00
Fabien O'Carroll
3e5a62309f Use Admin API v2 with session auth (#1046)
refs #9865
- removed all `oauth2` and token-based ESA auth
- added new `cookie` authenticator which handles session creation
- updated the session store to extend from the `ephemeral` in-memory store and to restore by fetching the currently logged in user and using the success/failure state to indicate authentication state
  - ESA automatically calls this `.restore()` method on app boot
  - the `session` service caches the current-user query so there's no unnecessary requests being made for the "logged in" state
- removed the now-unnecessary token refresh and logout routines from the `application` route
- removed the now-unnecessary token refresh routines from the `ajax` service
- removed `access_token` query param from iframe file downloaders
- changed Ember Data adapters and `ghost-paths` to use the `/ghost/api/v2/admin/` namespace
2018-10-05 19:46:33 +01:00
kirrg001
c6d9951a93 Version bump to 2.2.0 2018-10-02 22:57:14 +02:00
Fabien O'Carroll
160e013aea Version bump to 2.1.4 2018-09-25 18:04:57 +07:00
Fabien O'Carroll
598c776522 Version bump to 2.1.4-beta.1 2018-09-25 17:34:37 +07:00
Kevin Ansfield
a583b2587d Bumped ember-ajax dependency
no issue
- 3.1.1 moved to class syntax which had a knock-on effect with our custom error objects which also needed to be switched
2018-09-24 10:42:49 +01:00
Rish
b097ca2efd Version bump to 2.1.3 2018-09-18 18:07:57 +05:30
Peter Zimon
7fa0ff805f Update error page design (#1045)
no issue
* Adding basic 404 animation
* Adding bounce to tumbleweeds on error screen
* Bump Spirit dependency to 0.0.42
2018-09-11 16:29:23 +01:00
Nazar Gargol
03480492eb Version bump to 2.1.2 2018-09-11 14:15:21 +02:00
Nazar Gargol
ffcee4138b Version bump to 2.1.1 2018-09-06 12:59:24 +02:00
kirrg001
f9c6c36fa3 Version bump to 2.1.0 2018-08-31 12:14:52 +01:00
Kevin Ansfield
08179545ab Added gallery card to the editor
no issue
- added gallery card (initial implementation)
    - supports upto 9 images in gallery
    - max 3 images per row
- fixed gh-uploaded error handling for generic errors
- ignore jsconfig.json
2018-08-30 17:48:20 +01:00
Zimo
446c376417 Update alignment of Markdown card toolbar 2018-08-27 11:03:11 +01:00
Rishabh Garg
a747c058aa 🐛 Fixed video size in the editor (#1039)
Closes #9808
 - Bumps ghost-spirit to 0.0.35
2018-08-27 10:38:55 +01:00
kirrg001
0f72326abc Version bump to 2.0.3 2018-08-22 14:35:00 +02:00
Kevin Ansfield
969b2ffbd8 🐛 Editor: Fixed Ctrl+Backspace on Linux
closes https://github.com/TryGhost/Ghost/issues/9810
- bumped our mobiledoc-kit fork dependency
  - includes patch for <kbd>Ctrl+Backspace</kbd> that was missed in previous version
2018-08-22 12:19:47 +01:00
Kevin Ansfield
5cad3a3b2e Version bump to 2.0.2 2018-08-21 10:11:14 +01:00
Kevin Ansfield
be66768885 Version bump to 2.0.1 2018-08-20 15:11:51 +01:00
kirrg001
f7d20dd2a8 Version bump to 2.0.0 2018-08-16 14:10:09 +02:00
kirrg001
72f9604f25 Bump package.json version to 2.0.0-rc.1
no issue
2018-08-15 02:51:31 +02:00
kirrg001
95c9445e96 Bump package.json version to 2.0.0-rc.0
no issue
2018-08-14 17:50:56 +01:00
Kevin Ansfield
529269cc3b Version bump to 1.25.5 2018-08-14 14:43:40 +01:00
Zimo
a7e9697eac Koenig - Minor design refinements
refs https://github.com/TryGhost/Ghost/issues/9724
- fixed Card menu plus icon's rounded edges
- decreased link toolbar appearance delay
- changing 'H'/'h' toolbar mapping to 'H2'/'H3' and harmonized title font size
2018-08-14 14:35:13 +01:00
Zimo
7892e4901d Koenig - Updated menu icons
- changed icons for coloured set
- added Unsplash icon
- bumped Spirit for menu-related style updates
2018-08-10 11:18:02 +01:00
kirrg001
758cf8c987 Version bump to 1.25.4 2018-08-08 19:45:53 +02:00
Kevin Ansfield
fbcc320f54 Koenig - Fixed broken styles
no issue
- bump `ghost-spirit` version to fix selectors
2018-08-08 14:45:45 +01:00
Kevin Ansfield
83924194f5 Koenig - Added rich-text support to captions
refs https://github.com/TryGhost/Ghost/issues/9724
- added `{{koenig-basic-html-input}}` component
  - uses a stripped down version of Koenig
  - supports all inline formatting that Koenig supports
  - supports inline text expansions
  - supports inline key commands
  - limited to a single paragraph
  - serialises and deserialises from HTML rather than mobiledoc
- updated `{{koenig-caption-input}}` to use `{{koenig-basic-html-input}}`
- updated image and embed cards to calculate word counts correctly for html captions
- bumped Spirit dependency to fix styling of toolbars within the editor canvas
- fixed positioning in toolbar components to account for `parentElement` not necessarily being the closest element to position against
2018-08-08 13:38:41 +01:00
Peter Zimon
b4ea1a59e2 Koenig - Design refinements (#1032)
refs https://github.com/TryGhost/Ghost/issues/9724
- made floating header and footer elements in Koenig opaque
- switched to filled toolbar icons + icon cleanup
- fixed Koenig placeholder image size in Firefox
- increased "wide" image width on smaller screens
- refined divider card margins
- fixed long links not wrapping
2018-08-08 13:14:02 +01:00
Kevin Ansfield
b46d60b820 🐛 Koenig - Fixed cards being lost on copy/paste if they immediate followed a list
refs https://github.com/TryGhost/Ghost/issues/9724
- bumped our mobiledoc-kit version that includes related fix (https://github.com/bustle/mobiledoc-kit/pull/638)
2018-08-01 16:29:49 +01:00
Kevin Ansfield
159cc5f010 Version bump to 1.25.3 2018-07-31 11:37:01 +01:00
Peter Zimon
3bd8a1b3da Koenig - Design refinements (#1031)
refs https://github.com/TryGhost/Ghost/issues/9724
- fixed image card background colour
- made placeholder illustration for image cards work with Night Shift
- added viewbox prop to `summer.svg` illustration
- bumped ghost-spirit dependency
  - fixed link discoverability when spellcheck is on
  - fixed list spacing after headings 3-6 and refined list line heights
  - added quick transition to format toolbar chiclet
  - removed minimum width for image caption
  - fixed wide image width in Safari
2018-07-31 10:57:58 +01:00
kirrg001
55a12dd325 Version bump to 1.25.2 2018-07-25 22:41:23 +02:00
kirrg001
c5568352b0 Version bump to 1.25.1 2018-07-25 11:59:21 +02:00
kirrg001
1cd5998279 Version bump to 1.25.0 2018-07-24 15:27:37 +02:00
Kevin Ansfield
b536dc088c Koenig - Fixed incorrect editor padding at mobile sizes
refs https://github.com/TryGhost/Ghost/issues/9724
- bump `ghost-spirit` version to pull in styling fix
2018-07-24 13:38:35 +01:00
Kevin Ansfield
ea851ebaad Version bump to 1.24.9 2018-07-18 11:45:47 +01:00
Kevin Ansfield
57427ba5be Koenig - Fixed placeholder position
refs https://github.com/TryGhost/Ghost/issues/9724
- bump `ghost-spirit`
  - has position fix for placeholder now that we're not using flexbox
2018-07-18 11:39:01 +01:00
Kevin Ansfield
5993280f49 🐛 Koenig - Fixed Cmd+Backspace with special chars and Firefox triple-click behaviour
refs https://github.com/TryGhost/Ghost/issues/9724
- bump to custom build of mobiledoc-kit that includes unreleased fixes
  - cmd+backspace stopping on special chars: https://github.com/bustle/mobiledoc-kit/pull/632
  - Firefox triple-click then typing not replacing content: https://github.com/bustle/mobiledoc-kit/pull/593
2018-07-17 18:13:05 +01:00
Kevin Ansfield
1027f85a68 🐛 Koenig - Fixed up/down cursor movement in Firefox and Edge
refs https://github.com/TryGhost/Ghost/issues/9724
- update Spirit so that we're not using `display: flex` on the `contenteditable` element
2018-07-12 16:42:14 +01:00
kirrg001
68ce5571f4 Version bump to 1.24.8 2018-07-11 00:26:50 +02:00
Kevin Ansfield
b6f5a443d5 Koenig - Show alert for unsupported browsers
refs https://github.com/TryGhost/Ghost/issues/9724
- add `ember-useragent` package so that we can check the user agent screen for known-incompatible browsers/devices
- show alerts for Edge, mobile browsers, and IE11 when accessing the editor with Koenig enabled
2018-07-10 14:14:08 +01:00
Kevin Ansfield
f673a4f19f Version bump to 1.24.7 2018-07-03 12:43:22 +01:00
Kevin Ansfield
c22ce512f3 Bump ember-light-table dependency
no issue
2018-07-02 17:18:52 +01:00
Kevin Ansfield
6ea33b487c Bump dependencies (#1024)
no issue
- bump non-breaking deps
- bump yarn.lock sub-dependencies
2018-07-02 14:32:00 +01:00
Kevin Ansfield
87c2aa4d68 Koenig - Switch back to upstream mobiledoc-kit
no issue
- changes introduced in 7bd22a3b87 are now in the upstream repo
2018-07-02 11:22:34 +01:00
kirrg001
33e2d3da78 Version bump to 1.24.6 2018-06-26 19:08:01 +02:00
Kevin Ansfield
06e6f42224 🐛 Koenig - Fixed caption/embed inputs in Firefox & Safari
refs https://github.com/TryGhost/Ghost/issues/9623
- disable `contenteditable` on the main editor element when an input in a card gains focus
    - Firefox chokes on inputs inside a `contenteditable` element
    - use a MutationObserver inside `{{koenig-card}}` to automatically add event handlers for focus/blur events so that each card is not required to set up handlers and enable/disable content editable manually
- bump Spirit dependency
    - remove `user-select: none` styling from `.form-text` for text inputs
    - fixes captions and embed inputs in Safari and improves behaviour in Firefox
- add a guard around `getSelection(0)` in the `_scrollCursorIntoView()` method to avoid Safari throwing errors
2018-06-21 15:47:50 +01:00
kirrg001
9e09d353c8 Version bump to 1.24.5 2018-06-19 17:18:01 +02:00
Kevin Ansfield
7bd22a3b87 🐛 Fixed backspace deleting words and rich-text paste collapsing paragraphs
refs https://github.com/TryGhost/Ghost/issues/9623
- switch to custom `mobiledoc-kit` build
  - fixes top-level elements not being run through parser plugins (https://github.com/bustle/mobiledoc-kit/pull/627)
  - fixes <kbd>Alt</kbd> getting stuck and causing <kbd>Backspace</kbd> to delete whole words (https://github.com/bustle/mobiledoc-kit/pull/626)
  - fixes error that can occur when a paste results in blank insert (https://github.com/bustle/mobiledoc-kit/pull/620)
- add new `figureToImageCard` parser
  - replaces hacky workaround to detect an image+figcaption inside the `imgToCard` parser plugin
- remove wrapping of html in a `<div>...</div>` when pasting
  - no longer necessary now that top-level elements are parsed
  - fixes rich-text pastes where multiple paragraphs would be collapsed into a single paragraph
2018-06-18 18:48:32 +01:00
Kevin Ansfield
65e21cb1e0 Koenig - Fix list margins
refs https://github.com/TryGhost/Ghost/issues/9623
- bump Ghost-Spirit dependency
2018-06-15 14:25:30 +01:00
Kevin Ansfield
496c3b586c Version bump to 1.24.4 2018-06-14 17:07:20 +01:00
Kevin Ansfield
36b4727371 🐛 Koenig - Fix embedding of multiple FB Videos
refs https://github.com/TryGhost/Ghost/issues/9623
- wrap all embeds in an `<iframe>` so that their scripts are isolated (fixes FB Video)
- add `MutationObserver` implementation to adjust iframe height as embed's content is loaded
- add `noframe.js` to resize embedded iframes such as YouTube videos
2018-06-13 17:13:33 +01:00
Kevin Ansfield
231315e2f6 Version bump to 1.24.3 2018-06-12 16:56:24 +01:00
Kevin Ansfield
c641925e22 Version bump to 1.24.2 2018-06-11 13:23:02 +01:00
Kevin Ansfield
deb4206cba Bump dependencies
no issue
- bump non-breaking dependencies
2018-06-11 11:32:08 +01:00
Zimo
474ccaf51a Koenig - Night Shift support
refs https://github.com/TryGhost/Ghost/issues/9623
- bump `ghost-spirit` dependency to include dark mode support
- import Spirit's dark mode file in `app-dark.css`
2018-06-07 09:48:27 +01:00
kirrg001
669e25e4e3 Version bump to 1.24.1 2018-06-07 10:21:01 +02:00
Kevin Ansfield
7aa759e32b Bump eslint-plugin-ghost
no issue
- allow `++` and `--` in `for` loops
2018-06-06 13:50:22 +01:00
kirrg001
5ede90b624 Version bump to 1.24.0 2018-06-05 19:04:58 +02:00
Kevin Ansfield
48f2976fff Revert liquid-fire@0.29.3 bump
no issue
- broke modal transitions, modal was hidden until the transition finished
2018-06-04 15:54:24 +01:00
Kevin Ansfield
7b6dece504 Bump dependencies (#1022)
no issue
- bump deps with non-breaking changes
- swap manual styles for Spirit's `pointer-events` classes in Koenig
2018-06-04 14:35:36 +01:00
Kevin Ansfield
7363ed62c6 Version bump to 1.23.1 2018-05-29 16:14:04 +01:00
Kevin Ansfield
3979a747d5 Version bump to 1.23.0 2018-05-22 20:29:46 +01:00
Kevin Ansfield
fd65d5bb45 Bump Spirit dependency
no issue
- tweaks for Koenig beta release
2018-05-17 11:43:21 +01:00
Aileen Nowak
8935286549 Version bump to 1.22.8 2018-05-15 19:11:48 +08:00
Kevin Ansfield
5c948a264e Bump dependencies 2018-05-14 13:56:09 +01:00
Kevin Ansfield
9d388aecc1 Bump ember-in-viewport dependency
no issue
- includes perf improvements for Koenig when many sticky elements can be present on a single screen
- requires bump to `ember-sticky-element`
2018-05-10 17:10:33 +01:00
Zimo
f079ed15af Koenig - Refine card menu and fix toolbar tick color
refs https://github.com/TryGhost/Ghost/issues/9505
- card menu style refinements
- fix tick color and adding appear animation to toolbar
- bump Spirit dependency
2018-05-09 16:48:13 +01:00
Kevin Ansfield
8b75b37c7b Version bump to 1.22.7 2018-05-09 09:21:17 +01:00
Kevin Ansfield
e56337a2f4 Bump Spirit dependency 2018-05-08 17:38:20 +01:00
Kevin Ansfield
e23e068e13 Version bump to 1.22.6 2018-05-08 15:58:04 +01:00
Kevin Ansfield
ab20d24c41 Bump dependencies
no issue
- bump dependencies with non-breaking changes
- no bump of yarn.lock sub-dependencies because that bumps the version of `ember-in-viewport` to 3.0.3 that does not currently work with `ember-sticky-element`
2018-05-08 10:46:24 +01:00
Kevin Ansfield
011b016582 Bump Spirit dependencies 2018-05-08 10:23:54 +01:00
Kevin Ansfield
06d7f6d67c 🐛 Fixed invalid character and 'define' is undefined errors in IE11
closes https://github.com/TryGhost/Ghost/issues/9617
- bumped `ghost-spirit` to a version that doesn't use ES2015 on files that are directly included without transpilation (see related `ember-cli-cjs-transform` issue here https://github.com/rwjblue/ember-cli-cjs-transform/issues/14)
- bumped `ember-cli-ghost-spirit` to fix the `ghost-spirit` dependency version range that resulted in yarn pulling in two different versions
2018-05-04 14:51:15 +01:00
Kevin Ansfield
d1b3237780 Bump Spirit dependencies 2018-05-02 15:51:53 +01:00
Kevin Ansfield
26e70e86ea Koenig - Sticky card icons (#1013)
refs https://github.com/TryGhost/Ghost/issues/9505
- use `ember-sticky-element` to stick card icons in top left when scrolling
- pass an `headerOffset` down from the `{{gh-editor}}` component through Koenig and the card components so that it can be used for adjustments where necessary
    - calculate `headerHeight` in `{{gh-editor}}` any time we change the header class
2018-05-01 15:55:51 +01:00
kirrg001
83d2f70792 Version bump to 1.22.5 2018-05-01 14:44:24 +02:00
Kevin Ansfield
a0d3a25f98 Revert "Bump ember-power-select/datepicker & ember-basic-dropdown deps"
no issue
- test helpers are broken when not using the latest ember-test-helpers which we aren't because ember-cli-mocha hasn't been upgraded yet
2018-05-01 13:13:25 +01:00
Kevin Ansfield
14f40c2d18 Bump ember-power-select/datepicker & ember-basic-dropdown deps
no issue
- latest 2.0.0 release no longer breaks anything
2018-05-01 11:40:45 +01:00
Kevin Ansfield
c3f450cc5a Remove ember application template wrapper
no issue
- Ember will not output the application template wrapper div in the future but it's possible to optionally enable that feature now
- fixes test harness render so that all elements are constrained to the application wrapper rather than breaking out with `position: fixed` and covering the test results
2018-05-01 10:57:20 +01:00
Kevin Ansfield
0317dca2be Revert current-device dependency to 0.7.2
no issue
- `0.7.7` throws an exception on mobile safari which crashes Ember and blocks rendering
- https://github.com/matthewhudson/current-device/issues/164
2018-05-01 10:29:57 +01:00
Kevin Ansfield
c1bb3dd47c Bump ember-drag-drop dependency
no issue
- removes another babel 5 deprecation notice
2018-05-01 09:23:33 +01:00
Kevin Ansfield
d95105b3a5 Remove usage of ember-element-resize-detector
no issue
- fixes babel deprecation warning coming from `ember-element-resize-detector`
- re-created basic `resize-detector` service to wrap `element-resize-detector`
    - import `element-resize-detector` directly from `npm` (includes bump to latest version)
    - drop usage of jQuery selectors
2018-04-30 17:03:29 +01:00
Kevin Ansfield
9cd28eebf2 Remove unused ember-cli-active-link-wrapper dependency 2018-04-30 15:58:53 +01:00
Kevin Ansfield
220b6c6969 Drop Node.js 4 support 2018-04-30 15:13:37 +01:00
Kevin Ansfield
cd30fd6725 Bump dependencies
no issue
- bump dependencies with no breaking changes
- bump yarn.lock sub-dependencies
2018-04-30 14:25:12 +01:00
Kevin Ansfield
e28a960970 Removed used of ember-data-filter
closes https://github.com/TryGhost/Ghost/issues/9591
- swapped use of `store.filter` for a combination `store.peekAll` and CPs to filter the result set
2018-04-30 13:54:09 +01:00
Kevin Ansfield
ae92b92175 Koenig - Bump ghost-spirit dependency 2018-04-25 14:26:12 +01:00
Kevin Ansfield
049d10373b Koenig - Bump ghost-spirit dependency 2018-04-25 10:09:53 +01:00
Kevin Ansfield
13351afe38 Koenig - Fix sticky MD card toolbar 2018-04-24 16:16:03 +01:00
Kevin Ansfield
ec01d8093b Koenig - Bump ghost-spirit dependency 2018-04-24 10:14:33 +01:00
Aileen Nowak
012ed54cea Version bump to 1.22.4 2018-04-24 16:03:39 +08:00
Kevin Ansfield
7405d12302 Bump Ember to 3.1.1
no issue
- contains bug fixes for the 3.1.0 release
2018-04-23 22:57:26 +01:00
Kevin Ansfield
f11cb2e491 Bump dependencies (#1003)
no issue
- bump deps with no major breaking changes
- bump yarn.lock sub-dependencies
- resolve deprecation warnings for removal of Authorizers in ember-simple-auth
2018-04-23 11:53:42 +01:00
Kevin Ansfield
ab2c4fa3f7 Bump eslint-plugin-ghost
refs https://github.com/TryGhost/Ghost/issues/9594
- fixes node version restrictions
2018-04-23 09:43:21 +01:00
Kevin Ansfield
3dcbec0047 Bump Spirit CSS version 2018-04-20 15:41:07 +01:00
Kevin Ansfield
dbfca4fc82 Version bump to 1.22.3 2018-04-17 11:13:53 +01:00
kirrg001
bae24213df Version bump to 1.22.2 2018-04-11 22:35:59 +02:00
Kevin Ansfield
d529229239 🐛 Fixed j and k keys not working in editor after visiting Tags screen (#1002)
closes https://github.com/TryGhost/Ghost/issues/9543
- https://github.com/TryGhost/Ghost-Admin/pull/972 moved `keymaster` from Bower to NPM but version 1.6.3 is not published to NPM and it contains fixes for unbinding multiple keys (eg, `'down, j': 'moveDown'`). Switched to fetching directly from github to ensure we have the latest version
- removed the "has registered shortcuts" guard added in https://github.com/TryGhost/Ghost-Admin/pull/976 - it was working around the buggy keymaster version but was also buggy itself because it meant shortcuts could only be registered the first time a route was loaded even though we unregister all of the shortcuts when leaving the route
2018-04-09 13:41:23 +01:00
Kevin Ansfield
6bff262849 Switch to packaged version of Spirit (#985)
no issue
- remove the manually copied Spirit CSS files
- remove the manually copied Spirit helpers
- install `ember-cli-ghost-spirit` addon
- remove manual postcss configuration
- update all `color()` functions in CSS to `color-mod()`
- fixed invalid `color-mod()` usage in `power-calendar.css`
- bump sub-dependencies
2018-04-03 11:52:18 +01:00
kirrg001
85389a09bf Version bump to 1.22.1 2018-04-02 12:31:28 +02:00
Kevin Ansfield
d8c03c7513 Version bump to 1.22.0 2018-03-27 21:08:20 +01:00
Kevin Ansfield
b79946979e Version bump to 1.21.7 2018-03-26 15:32:46 +01:00
Kevin Ansfield
d05db9e014 Bump dependencies (#991)
no issue
- bump `ember-cli-chai` and update tests
    - add missing Post model properties to the post factory with `null` to better match API output
    - replace uses of `.blank` which no longer exists, swapping for `.empty` or explicit checks for `null`
    - manually parse strings to numbers before using `.above` and `.below`
- bump top-level deps with no breaking changes
- bump yarn.lock sub-dependencies
2018-03-26 11:41:45 +01:00
Austin Burdine
ad5528b078 Remove ember-invoke-action (#978)
closes TryGhost/Ghost#9477
- remove ember-invoke-action in favor of straight function calls
2018-03-20 14:57:59 +00:00
Austin Burdine
f132c8715f Bump ember-light-table dependency (#979)
closes TryGhost/Ghost#9434
2018-03-20 09:57:30 +00:00
Austin Burdine
2a55c5767f Bower => NPM (#972)
no issue

- Convert validator to an npm dependency
  - clean up validator imports
  - fix validator function imports
  - remove unused validator extensions
- Convert devicejs to an npm dependency
- Convert remaining used bower deps to npm deps
- 🔥 Remove bower & unused bower dependencies
- remove globals imports in favor of direct module imports where possible
2018-03-19 17:56:09 +00:00
kirrg001
506e6204c1 Version bump to 1.21.6 2018-03-19 16:39:05 +01:00
Kevin Ansfield
c534ae83b4 Bump dependencies
no issue
- bump all dependencies with non-breaking changes
- bump yarn.lock sub-depencies
2018-03-19 13:05:02 +00:00
Austin Burdine
b9991c117b Replace jquery-deparam with deparam dependency (#973) 2018-03-19 10:29:01 +00:00
Austin Burdine
ff69766442 Swap out ember-inline-svg for ember-svg-jar (#970)
closes TryGhost/Ghost#9506
2018-03-19 09:57:31 +00:00
Austin Burdine
5abc4e0d9b Bump ember-cli-mirage to 0.4.2 (#969)
closes TryGhost/Ghost#9433
- remove unnecessary bower deps
- update mirage usage
- fix tests
2018-03-19 09:53:17 +00:00
Kevin Ansfield
5a28c80f7a Koenig - Bump mobiledoc-kit dependency 2018-03-14 10:16:27 +00:00
Kevin Ansfield
3118314adf Version bump to 1.21.5 2018-03-13 13:55:26 +00:00
Kevin Ansfield
6b73930b74 🐛 Fixed infinite loading on posts screen (#967)
closes https://github.com/TryGhost/Ghost/issues/9493

- bump `ember-infinity` to 1.0.0-alpha for Ember Data 3.0 support
  - update posts and users routes for change in API
- bump `ember-in-viewport` to 3.0.0 (fixes offset on posts screen with new version of ember-infinity)
2018-03-12 17:43:53 +07:00
Kevin Ansfield
c4449d345b Version bump to 1.21.4 2018-03-06 16:13:42 +00:00
Kevin Ansfield
cdfe06cde7 Bump Ember dependencies to 3.0 (#961)
no issue
- upgrade `ember-cli`, `ember-source`, and `ember-data` to their latest 3.x versions
- remove jquery ajax test that was a silent failure anyway (we removed the global jquery ajax auth patch a while ago)
- fix issues that arose from using/abusing Ember internals in a couple of places
2018-02-28 17:31:43 +00:00
Kevin Ansfield
5df045ba46 Bump dependencies (#960)
no issue
- bump all deps with non-breaking changes
- bump yarn.lock sub-dependencies
2018-02-28 13:08:26 +00:00
Kevin Ansfield
aa229973ec Remove ember-one-way-controls (#959)
closes https://github.com/TryGhost/Ghost/issues/9386
- remove usage of `{{one-way-checkbox}}` in favour of direct HTML+handlebars
- add `{{gh-text-input}}` that inherits from Ember's built-in `TextInput` component along with our custom `TextInput` mixin
- swap all uses of `{{gh-input}}` for `{{gh-text-input}}
- remove `{{gh-input}}` component
- update `{{gh-textarea}}` to inherit from Ember's `TextArea` component instead of `OneWayTextarea` and update all component uses accordingly
- update `{{gh-trim-focus-input}}` to inherit from `{{gh-text-input}}` and update all component uses accordingly
- standardize on using the `focus-out` action naming rather than `focusOut` for all text inputs, this is because the text input components (especially `{{gh-trim-focus-input}}`) have their own `focusOut` handler which gets overridden if consumers supply their own `focusOut` attr
- drop `ember-one-way-controls` package
- add `ember-one-way-select` package
2018-02-28 11:44:03 +00:00
Aileen Nowak
e59976fd3e Version bump to 1.21.3 2018-02-21 08:19:52 +07:00
Kevin Ansfield
ec470d1a90 Bump dependencies
no issue
- bump all deps with non-breaking changes
- bump yarn.lock sub-dependencies
2018-02-19 18:01:53 +00:00
Kevin Ansfield
15395d0245 Version bump to 1.21.2 2018-02-14 18:24:03 +00:00
kirrg001
b62f22547e Version bump to 1.21.1 2018-02-07 12:35:33 +01:00
kirrg001
1b44882245 Version bump to 1.21.0 2018-02-07 10:51:41 +01:00
Tobias Bieniek
937418bc6f Update ember-cli-mocha to v0.15.0 (#922)
no issue
2018-02-06 09:38:42 +01:00
Kevin Ansfield
61cf4d46db Koenig reboot - rich text (#952)
refs https://github.com/TryGhost/Ghost/issues/9311

Koenig is being fully rebooted, first port of call is to focus on getting the rich-text only aspect of mobiledoc-kit working with our popup toolbar.

- renames old koenig implementation (used for reference, will eventually be deleted)
- new `{{koenig-editor}}` mobiledoc-kit component implementation based on ember-mobiledoc-editor
  - markdown text expansions
- new `{{gh-koenig-edtor}}` that wraps our title+editor and handles keyboard navigation between the two
  - clicks below content will focus the editor
- new `{{koenig-toolbar}}` component for the popup formatting toolbar with improved behaviour and simplified code
2018-01-30 10:01:07 +00:00
Kevin Ansfield
ba44d3c01f Fixed node 4.x compatibility in ember-cli-string-helpers
no issue
- linked directly to compatibility fix commit
- PR opened at https://github.com/romulomachado/ember-cli-string-helpers/pull/19
2018-01-29 11:54:24 +00:00
Kevin Ansfield
f0ff51548c Bump dependencies
no issue
- bump all deps with non-breaking changes
- bump yarn.lock sub-dependencies
2018-01-29 11:06:25 +00:00
Kevin Ansfield
630708f377 Bump eslint-plugin-ghost to version actually including node 4.x compat 2018-01-24 20:26:39 +00:00
Kevin Ansfield
b5e7fd8a93 Bumped eslint-plugin-ghost (fixed yarn install error) 2018-01-23 17:45:05 +00:00
Kevin Ansfield
34422b7da2 Version bump to 1.20.3 2018-01-23 16:26:10 +00:00
Kevin Ansfield
506b2a9388 Resurrect the old alpha Koenig editor (#916)
requires https://github.com/TryGhost/Ghost/pull/9277

- added a `koenigEditor` feature flag
  - modified the feature service to accept a `developer` boolean on the options object passed into the internal `feature` method, if `true` the feature flag won't be enabled unless the `enableDeveloperExperiments` config option is also enabled
  - added "developer feature testing" section in labs that's only visible if `enableDeveloperExperiments` config flag is enabled
  - added koenig editor toggle to the developer section in labs

- enabled a switch between the markdown and koenig editors
  - modified the default value of the `mobiledoc` attr in the Post model to be a blank mobiledoc or blank markdown mobiledoc depending on the feature flag
  - modified the `autofocus` switch in editor controller's `setPost` method so that it is always switched, even for new->edit where the post model isn't swapped
  - added a compatibility check to the editor controller's `setPost` method that shows an alert and force enables the koenig editor if the koenig flag is not enabled and the opened post is not compatible with the markdown editor

- fixed various issues that have appeared due to the old koenig alpha becoming out of sync with master
2018-01-18 15:36:01 +00:00
kirrg001
4fc762c1c4 Version bump to 1.20.2 2018-01-17 18:13:44 +01:00
kirrg001
a12b2809ee Version bump to 1.20.1 2018-01-16 14:36:25 +01:00
Kevin Ansfield
08630c5913 Bump dependencies (#947)
no issue
- bump all deps with non-breaking changes
- bump yarn.lock sub-dependencies
- add `eslint` as a top-level dependency to satisfy peerDeps and fix linting when using Atom
2018-01-12 13:13:24 +00:00
Kevin Ansfield
a85f5fae35 Switch to eslint-plugin-ghost extending plugin:ghost/ember
no issue
- fix lint errors in lib/gh-koenig
- fix ghost:base eslint errors
- update ember plugin refs, remove ember-suave plugin refs
- remove old jshint refs
- add `lint:js` script
- switch to `eslint-plugin-ghost` extending `plugin:ghost/ember`
2018-01-12 12:17:56 +00:00
kirrg001
7970640667 Version bump to 1.20.0 2018-01-09 21:42:08 +01:00
Kevin Ansfield
7469b7263f 🐛 Fixed list editing regression in 1.19.2
closes https://github.com/TryGhost/Ghost/issues/9372
- bump codemirror dependency to 5.33.0
- bump simplemde dependency
	- bumps internal codemirror to 5.33.0
	- moves all dependencies to devDependencies
2018-01-05 11:48:12 +00:00
Kevin Ansfield
a27052bdb6 Bump dependencies (#939)
no issue
- upgrade all dependencies with non-breaking changes
- bump sub-dependencies in yarn.lock
2018-01-04 14:18:32 +00:00
Aileen Nowak
b6bea4e7f9 Version bump to 1.19.2 2018-01-04 17:21:55 +07:00
Kevin Ansfield
33a8c945af Version bump to 1.19.1 2018-01-03 14:39:59 +00:00
Kevin Ansfield
dbd1edb7d3 Revert ember-cli to 2.16.2
no issue
- there's a [bug in ember-cli@2.17](https://github.com/ember-cli/ember-cli/issues/7518) that results in production builds throwing an error: `Uncaught Error: Could not find module 'ember-resolver' imported from 'ghost-admin/resolver'`
2018-01-03 14:37:28 +00:00
Tobias Bieniek
af1aa2fabf Update ember-simple-auth to v1.4.2 (#932)
no issue
- updates `ember-simple-auth` to v1.4.2 to take advantage of the bug fix in https://github.com/simplabs/ember-simple-auth/pull/1477
- enables/unblocks https://github.com/TryGhost/Ghost-Admin/pull/922
2017-12-27 16:19:48 +00:00
Kevin Ansfield
b5c4a17aad Bump dependencies (#929)
no issue
- upgrade all dependencies with non breaking changes
- bump sub-dependencies in yarn.lock
2017-12-13 12:27:15 +00:00
kirrg001
e3e57825bd Version bump to 1.19.0 2017-12-13 10:15:23 +01:00
Katharina Irrgang
3bba0a4eea Revert "Bump dependencies (#927)" (#928)
This reverts commit c00232ca92.
2017-12-13 10:10:46 +01:00
Kevin Ansfield
c00232ca92 Bump dependencies (#927)
no issue
- upgrade all dependencies with non breaking changes
- bump sub-dependencies in yarn.lock
2017-12-12 14:00:35 +00:00
Aileen Nowak
97ffb63203 Version bump to 1.18.4 2017-12-07 19:30:00 +07:00
kirrg001
cd1471c166 Version bump to 1.18.3 2017-12-05 10:07:05 +01:00
Aileen Nowak
eee49ef78c Version bump to 1.18.2 2017-11-30 20:16:26 +07:00
Kevin Ansfield
61eec35b3c Version bump to 1.18.1 2017-11-29 15:50:50 +00:00
Kevin Ansfield
a654fa645b bump eslint-plugin-ember, enable default rules 2017-11-25 09:49:49 +00:00
Kevin Ansfield
7d1ee9386b Bump dependencies (#911)
no issue
- bump minor/non-breaking dependencies
- bump sub-dependencies in yarn.lock
2017-11-22 13:31:33 +00:00
Aileen Nowak
c7dad50ef8 Version bump to 1.18.0 2017-11-21 23:48:01 +08:00
Kevin Ansfield
4eff0938ea Bump dependencies (#910)
no issue
- bump all deps with non-breaking changes
- bump sub-dependencies in yarn.lock
2017-11-17 16:15:20 +00:00
kirrg001
120356e366 Version bump to 1.17.3 2017-11-16 16:01:51 +01:00
kirrg001
5b932c5c58 Version bump to 1.17.2 2017-11-14 14:09:36 +01:00
Kevin Ansfield
fb3afd035e Version bump to 1.17.1 2017-11-09 14:37:42 +00:00
Kevin Ansfield
dee8927418 Bump dependencies
no issue
- upgraded all out-of-date deps which don't require additional work to support
- bumped yarn.lock sub-dependencies
2017-11-09 13:39:34 +00:00
Kevin Ansfield
6e35ef79e5 Version bump to 1.17.0 2017-11-07 13:41:35 +00:00
Kevin Ansfield
3864584f74 Bump ember-ajax dependency (#902)
no issue
- upgrade `ember-ajax` to 3.0.0
- `ember-ajax` [now passes the payload through directly](https://github.com/ember-cli/ember-ajax/releases/tag/v3.0.0) rather than trying to normalize it so all our error handling needed to be updated
2017-11-03 22:59:39 +00:00
kirrg001
24000b83b0 Version bump to 1.16.2 2017-11-02 13:54:35 +01:00
Kevin Ansfield
7613f0e11b Bump vertical-collection dependency 2017-11-01 08:48:37 +00:00
kirrg001
dac8fd2a09 Version bump to 1.16.1 2017-10-31 13:20:05 +01:00
Kevin Ansfield
97bde18402 Bump dependencies 2017-10-31 11:51:18 +00:00
Kevin Ansfield
0106a21e3c 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
f2ef3944cd Version bump to 1.16.0 2017-10-26 19:20:03 +07:00
Aileen Nowak
4676e9aa0a Version bump to 1.15.1 2017-10-24 16:19:28 +07:00
Kevin Ansfield
f48bf727c5 Version bump to 1.15.0 2017-10-19 14:26:38 +01:00
Kevin Ansfield
305941f876 Version bump to 1.14.1 2017-10-17 16:14:31 +01:00
Kevin Ansfield
cccb50a080 Version bump to 1.14.0 2017-10-13 15:54:09 +01:00
Kevin Ansfield
336e57b17a 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
0c41165690 Version bump to 1.13.0 2017-10-10 14:40:34 +02:00
kirrg001
d03c3a167d Version bump to 1.12.1 2017-10-06 14:45:19 +02:00
Aileen Nowak
fd9922903c Version bump to 1.12.0 2017-10-05 18:57:41 +07:00
Aileen Nowak
51c3b25bee Version bump to 1.11.1 2017-10-04 16:37:59 +07:00
Aileen Nowak
5d756da81b Version bump to 1.11.0 2017-10-03 19:41:57 +07:00
Kevin Ansfield
af8a4281c3 Version bump to 1.10.0 2017-09-28 15:09:30 +01:00
Kevin Ansfield
74f1470096 Version bump to 1.9.1 2017-09-26 14:49:00 +01:00
kirrg001
5287b06170 Version bump to 1.9.0 2017-09-21 17:03:59 +02:00
kirrg001
e1c90bf97a Version bump to 1.8.7 2017-09-19 14:20:32 +02:00
Aileen Nowak
7302f31334 Version bump to 1.8.6 2017-09-14 18:43:19 +07:00
Aileen Nowak
f7b08a6fe6 Version bump to 1.8.5 2017-09-12 20:30:11 +07:00
Kevin Ansfield
b68f52fe0c 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
8362f0cdf0 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
fd3fb96a10 Version bump to 1.8.4 2017-09-07 14:45:56 +02:00
kirrg001
f8cf10c17e Version bump to 1.8.3 2017-09-05 20:36:01 +02:00
kirrg001
663511b2dd Version bump to 1.8.2 2017-09-05 14:17:34 +02:00
Kevin Ansfield
03c45a445e 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
bffde8f29f 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
c2557fb2a5 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
76a5f68be9 Version bump to 1.8.1 2017-08-31 14:34:52 +01:00
Kevin Ansfield
62775ecd54 Version bump to 1.8.0 2017-08-29 14:21:54 +01:00
Kevin Ansfield
495d1e46b3 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
687a374051 Version bump to 1.7.1 2017-08-24 14:45:03 +01:00
Kevin Ansfield
e32111a364 Version bump to 1.7.0 2017-08-22 14:09:29 +01:00
Kevin Ansfield
983110d931 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
3138a5bb62 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
d860403b93 Version bump to 1.6.2 2017-08-17 18:29:53 +01:00
cobbspur
da6b97ad23 Version bump to 1.6.1 2017-08-16 13:07:59 +01:00
Kevin Ansfield
265dd54ae9 Version bump to 1.6.0 2017-08-15 18:36:42 +01:00
Kevin Ansfield
2901c45026 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
350e3d1481 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
4e836d436f 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
23b0d95a1f Version bump to 1.5.2 2017-08-10 16:25:03 +02:00
kirrg001
6cc5ad15ec Version bump to 1.5.1 2017-08-08 15:14:32 +02:00
kirrg001
26d50254a7 Version bump to 1.5.0 2017-08-03 16:02:48 +04:00
Aileen Nowak
dd4fe3a68f 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
fe9432d8bd Version bump to 1.4.0 2017-08-02 15:13:29 +04:00
kirrg001
c1d0f42954 Revert: Version bump to 1.3.1 2017-08-02 14:56:14 +04:00
Sebastian Gierlinger
8bf7ffac3f Version bump to 1.3.1 2017-08-02 14:35:33 +04:00
kirrg001
8f85dad836 Version bump to 1.3.0 2017-08-01 17:29:48 +04:00
kirrg001
a445cd41a5 Version bump to 1.2.0 2017-07-31 14:40:18 +04:00
Kevin Ansfield
c489f4474b ⬆️ 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
86dd36994d Version bump to 1.1.0 2017-07-28 18:31:37 +04:00
Kevin Ansfield
335f7efa10 Version bump to 1.0.2 2017-07-27 13:45:36 +04:00
Kevin Ansfield
91a295ed73 Version bump to 1.0.1 2017-07-26 15:03:02 +04:00
Kevin Ansfield
cd97421cf6 Version bump to 1.0.0 2017-07-22 19:55:42 +01:00
kirrg001
bcac713851 Version bump to 1.0.0-rc.1 2017-07-11 16:41:08 +02:00
Kevin Ansfield
d65666f90b 🚀 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
42128ace8c Version bump to 1.0.0-beta.2 2017-06-23 09:58:44 +02:00
Kevin Ansfield
8e772ea646 Version bump to 1.0.0-beta.1 2017-06-08 20:46:12 +01:00
Kevin Ansfield
05a3a11855 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
cb59388c5b 💄🐷 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
0f1d17400c Version bump to 1.0.0-alpha.21 2017-05-24 15:15:34 +01:00
Kevin Ansfield
177c693af8 ⬇️ 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
245f4ea80e 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
4edebe9f1e 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
e1b4ccd8d4 fix missing branch in package.json for our SimpleMDE fork 2017-05-11 14:16:31 +01:00
Kevin Ansfield
f751bc0e10 remove unused greenkeeper ignore list 2017-05-10 16:50:00 +01:00
Kevin Ansfield
5ae78fb9c5 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
fb2fa06b48 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
762c3c4df0 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
fc3234e2ec Version bump to 1.0.0-alpha.20 2017-04-25 13:58:19 +01:00
Kevin Ansfield
27533bf67a deps: ember-inline-svg@0.1.11 2017-04-14 16:08:46 +01:00
Kevin Ansfield
026ee21af9 Version bump to 1.0.0-alpha.19 2017-04-11 18:20:49 +01:00
Kevin Ansfield
35cf6c9829 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
00f4cab7b9 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
9487ff9bae 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
6dabb84e0a 🐛 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
b2d140e598 Version bump to 1.0.0-alpha.18 2017-04-04 12:45:14 +01:00
Kevin Ansfield
eea3eb0bee bump dependencies (#610)
no issue
- coveralls@2.13.0
- bump yarn.lock sub-dependencies
2017-04-03 11:32:04 +01:00
Kevin Ansfield
50e33fdccb 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
7f44e0128e 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
a17eee5fa7 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
f0e051a7e9 deps: ember-source@2.12.0 2017-03-29 10:47:46 +01:00
Kevin Ansfield
c2edf9c99b 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
054fa71202 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
322bf53f42 Version bump to 1.0.0-alpha.17 2017-03-22 10:18:14 +01:00
Kevin Ansfield
4a46f17a41 Version bump to 1.0.0-alpha.16 2017-03-14 19:06:41 +00:00
Kevin Ansfield
4de244974e 🎨 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
7b4096c57e 🔥 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