Commit Graph

515 Commits

Author SHA1 Message Date
Renovate Bot
c6be6349bc Update dependency ember-simple-auth to v1.9.2 2019-07-22 02:30:48 +00:00
Renovate Bot
ff7238f560 Update dependency codemirror to v5.48.2 2019-07-22 01:28:36 +00:00
Renovate Bot
0a69e3e722 Lock file maintenance 2019-07-17 11:26:53 +01:00
Renovate Bot
b9852d1000 Update dependency postcss-custom-properties to v9 2019-07-17 10:09:05 +01:00
Renovate Bot
1967cfac6c Update dependency markdown-it to v9 2019-07-15 13:32:29 +01:00
Renovate Bot
dab908ca87 Update dependency testem to v2.17.0 2019-07-15 13:31:21 +01:00
Renovate Bot
0daef38a8b Update dependency eslint-plugin-ghost to v0.4.0 2019-07-15 13:30:46 +01:00
Renovate Bot
bc99b53307 Update ember addons 2019-07-15 13:30:09 +01:00
Renovate Bot
b1662073ee Update dependency walk-sync to v2.0.2 2019-07-15 03:25:18 +00:00
Renovate Bot
8e1252aae9 Update dependency markdown-it-footnote to v3.0.2 2019-07-15 02:16:13 +00:00
Renovate Bot
b6c6d5bd18 Update dependency ember-power-datepicker to v0.6.1 2019-07-15 01:25:05 +00:00
Renovate Bot
7353975453 Update dependency ember-power-select to v2.3.5 2019-07-08 02:08:26 +00:00
Renovate Bot
61d3a81d90 Update dependency autoprefixer to v9.6.1 2019-07-08 01:25:26 +00:00
Kevin Ansfield
7210266ffe Update dependency ember-in-viewport to v3.5.8 2019-07-01 09:58:18 +01:00
Renovate Bot
a1082ebfb6 Lock file maintenance 2019-07-01 09:43:24 +01:00
Renovate Bot
3e3bd97f3d Update dependency walk-sync to v2 2019-07-01 09:16:37 +01:00
Renovate Bot
c1bd70c75c Update ember addons 2019-07-01 09:16:01 +01:00
Renovate Bot
dc1767e344 Update dependency fs-extra to v8.1.0 2019-07-01 09:14:59 +01:00
Renovate Bot
859e1c77fa Update dependency walk-sync to v1.1.4 2019-07-01 01:28:29 +00:00
Renovate Bot
17c9dc7ee8 Lock file maintenance 2019-06-24 17:18:47 +01:00
Kevin Ansfield
a2bb7c95f2 Update dependency eslint-plugin-ghost to v0.3.0 (#1247)
no issue

- update dependency `eslint-plugin-ghost` to v0.3.0
  - includes new rules from `eslint-plugin-ember` 6.3.0-6.7.0
- fixed linting failures for new rules
2019-06-24 16:33:21 +01:00
Kevin Ansfield
411efee080 Update Codemirror dependency in simplemde-markdown-editor to v5.48.0
no issue

- keeps Codemirror version the same between the markdown card editor and Ghost's other Codemirror based inputs
2019-06-24 09:53:06 +01:00
Renovate Bot
56e0562d9b Update dependency ember-cli-string-helpers to v3 2019-06-24 09:08:53 +01:00
Renovate Bot
ceba3fda97 Update dependency ember-cli-babel to v7.8.0 2019-06-24 09:08:11 +01:00
Renovate Bot
2c9fb4d586 Update dependency codemirror to v5.48.0 2019-06-24 09:07:42 +01:00
Renovate Bot
3f6bd3d92e Update dependency postcss-custom-properties to v8.0.11 2019-06-24 03:27:47 +00:00
Renovate Bot
bcb5daf7af Update dependency ember-source to v3.10.2 2019-06-24 02:26:01 +00:00
Renovate Bot
5e01fce4c5 Update dependency ember-exam to v3.0.3 2019-06-24 01:27:39 +00:00
Renovate Bot
c72face0fc Lock file maintenance 2019-06-18 11:47:48 +01:00
Peter Zimon
c51bce7358 🎨 Updated admin area design and usability (#1232)
refs. https://github.com/TryGhost/Team/issues/205

Major update to Ghost Admin UI including:
- improved general consistency (typography, colors and contrast, UI components, icons)
- new design for post and pages lists, improved discoverability of filters 
- search moved to modal
- account menu is decoupled from ghost logo
- further usability fixes
2019-06-18 11:47:20 +01:00
Renovate Bot
9925a02793 Update dependency ember-mocha to v0.16.0
no issue

- removes now-unneeded `adapter-error` override helper
- comments out the `gh-post-settings-menu` unit tests because the top-level `describe.skip` was causing all further unit tests to be skipped
2019-06-17 15:32:09 +01:00
Kevin Ansfield
fbda677944 Inline password-generator to fix auto-import issues
no issue

- copies `password-generator` npm module functionality into a utility function because the way it was trying to use the `crypto` core library was tripping up webpack which no longer has `node: true` config set by `ember-auto-import`
2019-06-17 11:47:14 +01:00
Renovate Bot
9354d3e20d Update ember addons 2019-06-17 11:47:14 +01:00
Renovate Bot
489474283b Update dependency autoprefixer to v9.6.0 2019-06-17 11:05:04 +01:00
Renovate Bot
e5191b749f Update dependency ember-power-select to v2.3.4 2019-06-17 05:26:26 +00:00
Renovate Bot
0551938d11 Update dependency @tryghost/timezone-data to v0.2.5 2019-06-17 03:25:54 +00:00
Renovate Bot
56ecf8ae83 Update dependency @tryghost/kg-parser-plugins to v0.5.1 2019-06-17 02:28:00 +00:00
Renovate Bot
3bb1ee9beb Update dependency @tryghost/helpers to v1.1.6 2019-06-17 01:28:53 +00:00
Renovate Bot
930ae28d04 Update ember addons 2019-06-10 05:27:09 +00:00
Renovate Bot
f72f4e4eef Update dependency ember-source to v3.10.1 2019-06-10 04:28:09 +00:00
Renovate Bot
5b5a850894 Update dependency ember-exam to v3.0.2 2019-06-10 03:25:25 +00:00
Renovate Bot
c57b31fb08 Update dependency @tryghost/timezone-data to v0.2.4 2019-06-10 02:33:18 +00:00
Renovate Bot
87f37494fb Update dependency @tryghost/helpers to v1.1.5 2019-06-10 01:31:45 +00:00
Kevin Ansfield
f36bd730e8 Updated dependency @tryghost/mobiledoc-kit to v0.11.2-ghost.4
no issue

- correctly bumps to our custom version rather than base 0.11.2 version
- adds fix for text content being obliterated in certain circumstances when pasting content
2019-06-03 12:10:57 +01:00
Renovate Bot
31a82455d4 Lock file maintenance 2019-06-03 09:28:07 +01:00
Renovate Bot
50353050ad Update dependency ember-concurrency to v1 2019-06-03 09:15:36 +01:00
Renovate Bot
0ed5d76c65 Update dependency ember-cli-string-helpers to v2.1.0 2019-06-03 09:14:54 +01:00
Renovate Bot
6ca4f8a1a3 Update dependency ember-concurrency to v0.10.1 2019-06-03 01:27:33 +00:00
Renovate Bot
83a482f4be Lock file maintenance 2019-05-27 10:32:38 +01:00
Kevin Ansfield
27c4459334 Updated for breaking changes in ember-cli-mirage@1.0.0 2019-05-27 09:58:33 +01:00
Renovate Bot
e8d3980678 Update ember addons 2019-05-27 09:58:33 +01:00
Renovate Bot
e7822af59d Update dependency ember-cli-dependency-checker to v3.2.0 2019-05-27 09:14:23 +01:00
Renovate Bot
cd39815182 Update dependency codemirror to v5.47.0 2019-05-27 09:11:07 +01:00
Renovate Bot
1965e29304 Update dependency ember-infinity to v1.4.7 2019-05-27 03:22:23 +00:00
Renovate Bot
368732576e Update dependency @tryghost/timezone-data to v0.2.3 2019-05-27 02:23:26 +00:00
Renovate Bot
e820ec2099 Update dependency @tryghost/helpers to v1.1.4 2019-05-27 01:23:19 +00:00
Renovate Bot
a0081a438c Lock file maintenance 2019-05-20 11:42:58 +01:00
Renovate Bot
cfb54feb15 Update ember core 2019-05-20 11:32:08 +01:00
Renovate Bot
d16f3e40cc Update dependency fs-extra to v8 2019-05-20 09:29:30 +01:00
Renovate Bot
1a9430af08 Lock file maintenance 2019-05-13 16:10:02 +01:00
Renovate Bot
e58ac4ab32 Update dependency glob to v7.1.4 2019-05-13 16:02:49 +01:00
Renovate Bot
af3a20515a Update dependency ember-exam to v3 2019-05-13 15:55:11 +01:00
Renovate Bot
0eaf9e0247 Update ember testing 2019-05-13 15:31:32 +01:00
Renovate Bot
320d228efd Update dependency ember-infinity to v1.4.5 2019-05-13 02:30:27 +00:00
Renovate Bot
82f5eec067 Update dependency ember-data to v3.9.3 2019-05-13 01:29:00 +00:00
Kevin Ansfield
a7f4610381 Removed usage of ember-light-table in subscribers screen (#1191)
no issue

`ember-light-table` is falling behind Ember.js and other addon development and is increasingly causing issues with Ember deprecations and addon incompatibility.

- swaps `ember-light-table` usage for a straightforward table using `vertical-collection` for occlusion
- uses the same loading mechanism as the members screen with a slight optimisation where the initial load will fetch subscribers in batches of 200 until they are all loaded
- removes now-unused pagination mixin
- fixes duplicate subscriber validation handling
2019-05-07 12:39:56 +01:00
renovate[bot]
0fb1bb5353 Update dependency @tryghost/kg-parser-plugins to v0.5.0 (#1188) 2019-05-06 12:31:39 +01:00
renovate[bot]
eecf78d9fd Lock file maintenance (#1189) 2019-05-06 12:31:26 +01:00
renovate[bot]
d938800d2e Update dependency ember-power-select to v2.3.2 (#1187) 2019-05-06 12:04:39 +01:00
Kevin Ansfield
5d03aa2f06 Removed coveralls code-coverage reporting (#1190)
no issue
- coverage reports were not really being used and were frequently ignored when merging PRs because we knew there were reductions in test coverage
- coveralls also causes some problems with Renovate because there can be random micro changes in reported coverage that meant a PR "failed" when really it was fine
2019-05-06 12:02:23 +01:00
Renovate Bot
dc045cc710 Update dependency @tryghost/kg-clean-basic-html to v0.1.1 2019-05-06 10:29:32 +00:00
Renovate Bot
787b07b5b5 Update dependency @tryghost/mobiledoc-kit to v0.11.2 2019-05-06 05:23:36 +00:00
Renovate Bot
125c817061 Update dependency @tryghost/timezone-data to v0.2.2 2019-05-06 03:24:47 +00:00
Renovate Bot
6d1a2c7bf9 Update dependency @tryghost/kg-parser-plugins to v0.4.2 2019-05-06 02:25:09 +00:00
Renovate Bot
76cdb9e677 Update dependency @tryghost/helpers to v1.1.3 2019-05-06 01:24:29 +00:00
Kevin Ansfield
70bec996fe Use extracted @tryghost/kg-parser-plugins package
no issue

- `@tryghost/kg-parser-plugins` contains the parser plugins used by the editor and was extracted so that they can be used in server-side html-to-mobiledoc conversion
2019-05-03 10:45:08 +01:00
Kevin Ansfield
d412e624d5 Use extracted @tryghost/kg-clean-basic-html package
no issue
- `cleanBasicHtml` has been extracted to an external package so that it can be used inside the extracted `@tryghost/kg-parser-plugins` package server-side
2019-05-02 17:14:00 +01:00
Kevin Ansfield
484b8cf0d4 Update dependency @tryghost/mobiledoc-kit to v0.11.2-ghost.1
closes https://github.com/TryGhost/Ghost/issues/10717
- includes fix for `range#expandByMarker`
2019-04-29 16:47:08 +02:00
renovate[bot]
1d9cd18e14 Lock file maintenance (#1178) 2019-04-29 09:00:37 +02:00
renovate[bot]
8bc9efb78f Update dependency codemirror to v5.46.0 (#1176) 2019-04-29 08:45:12 +02:00
renovate[bot]
76a769ee33 Update dependency ember-composable-helpers to v2.3.1 (#1177) 2019-04-29 08:24:47 +02:00
Renovate Bot
62fb6d2332 Update dependency ember-infinity to v1.4.4 2019-04-29 03:29:13 +00:00
Renovate Bot
0b671256c7 Update dependency ember-infinity to v1.4.3 2019-04-29 01:31:21 +00:00
renovate[bot]
c444606c8d Lock file maintenance (#1172) 2019-04-24 06:31:50 +01:00
renovate[bot]
7088780428 Update ember addons (#1171) 2019-04-24 06:23:03 +01:00
renovate[bot]
7b574781f3 Update dependency csscomb to v4.3.0 (#1170) 2019-04-22 08:34:52 +01:00
Renovate Bot
ebb026eaf0 Update ember addons 2019-04-22 04:28:51 +00:00
Renovate Bot
58c4022bb7 Update dependency ember-data to v3.9.1 2019-04-22 03:43:58 +00:00
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
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]
b30a81c3f8 Lock file maintenance (#1148) 2019-04-15 10:57:38 +01:00
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
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
renovate[bot]
a32b281b35 Lock file maintenance (#1134) 2019-04-02 11:37:19 +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
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
renovate[bot]
98a93b5251 Lock file maintenance (#1130) 2019-03-25 09:29:08 +00: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
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]
68e9888fcc Lock file maintenance (#1124) 2019-03-18 12:44:31 +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
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
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
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
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
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
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
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
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
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
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
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
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
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
Kevin Ansfield
a15496ad76 Regenerated yarn.lock
no issue
- `yarn` v1.10.0 adds an integrity hash to each dependency
2018-09-27 11:53:50 +01: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
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
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
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
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
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
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
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
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
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
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
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
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
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
a213d2612e Re-create yarn.lock
no issue
- bumps sub-dependency versions
2018-06-11 12:03:24 +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
Kevin Ansfield
7aa759e32b Bump eslint-plugin-ghost
no issue
- allow `++` and `--` in `for` loops
2018-06-06 13:50:22 +01: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
fd65d5bb45 Bump Spirit dependency
no issue
- tweaks for Koenig beta release
2018-05-17 11:43:21 +01: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
e56337a2f4 Bump Spirit dependency 2018-05-08 17:38:20 +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
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
1e5ec43c5a Bump simplemde dep to use latest Codemirror 2018-05-01 11:48:22 +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
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