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

906 commits

Author SHA1 Message Date
Kevin Ansfield
c7d39230f9 Version bump to 2.18.3 2019-03-22 13:38:47 +00:00
Rish
53c8e997f0 Version bump to 2.18.2 2019-03-19 16:41:50 +05:30
renovate[bot]
5d311417a6 Update dependency autoprefixer to v9.5.0 (#1122) 2019-03-18 14:25:17 +00:00
renovate[bot]
b4b95cf7b4 Update ember addons (#1123) 2019-03-18 14:24:58 +00:00
renovate[bot]
008cbdf440 Update dependency @tryghost/timezone-data to v0.2.0 (#1121) 2019-03-18 12:44:48 +00:00
Renovate Bot
ecb887ec5d Update dependency eslint to v5.15.2 2019-03-18 01:28:42 +00:00
Kevin Ansfield
4c3a44ea2a 🐛 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
1c14455200 Version bump to 2.18.1 2019-03-13 23:43:48 +01:00
Fabien O'Carroll
2135683853 Version bump to 2.18.0 2019-03-13 22:06:18 +01:00
renovate[bot]
8381cdd964 Update dependency ember-fetch to v6.5.0 (#1117) 2019-03-13 17:51:45 +00:00
renovate[bot]
be258dcb85 Update dependency codemirror to v5.44.0 (#1116) 2019-03-13 17:51:28 +00:00
Renovate Bot
c35d443c8c Update ember addons 2019-03-13 15:53:24 +00:00
renovate[bot]
defe6fc285 Pin dependency element-resize-detector to 1.1.15 (#1114) 2019-03-13 14:13:22 +00:00
Nazar Gargol
754968dc9f Version bump to 2.17.2 2019-03-13 18:52:43 +08:00
Kevin Ansfield
6b02ba4c8c Version bump to 2.17.1 2019-03-12 18:45:54 +00:00
Nazar Gargol
a0b1c13293 Version bump to 2.17.0 2019-03-12 20:39:30 +08:00
Kevin Ansfield
0218638ab3
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
6634849161 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
b120440be8 Bumped ember core dependencies to 3.7.x
no issue
2019-03-07 16:25:43 +00:00
Kevin Ansfield
1838304da8 Bumped ember core dependencies to 3.6.x 2019-03-06 17:15:44 +00:00
Kevin Ansfield
ae28198591 Version bump to 2.16.4 2019-03-06 12:19:06 +00:00
Kevin Ansfield
b564cbea16 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
6351c85b25
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
4bff1dc6e8 Version bump to 2.16.3 2019-03-05 10:46:57 +00:00
kirrg001
b99721d849 Version bump to 2.16.2 2019-02-27 10:06:47 +01:00
kirrg001
4ba03cc29b Version bump to 2.16.1 2019-02-26 12:15:53 +01:00
kirrg001
8c9f26b34c Version bump to 2.16.0 2019-02-26 10:29:46 +01:00
Kevin Ansfield
a5c69cc86d 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
b21af6ad77 Moved Spirit CSS library from external to internal 2019-02-24 11:19:22 +07:00
Fabien O'Carroll
6701c4b328 Version bump to 2.15.0 2019-02-21 12:10:22 +01:00
Nazar Gargol
790f2faad0 Version bump to 2.14.3 2019-02-14 11:03:10 +00:00
Nazar Gargol
3eef404926 Version bump to 2.14.2 2019-02-13 14:59:05 +00:00
Kevin Ansfield
653ea03477 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
7f14a505d9 Version bump to 2.14.1 2019-02-12 16:36:32 +05:30
Kevin Ansfield
fd7c14f911 Version bump to 2.14.0 2019-02-07 14:35:06 +00:00
Nazar Gargol
5cd442ee96 Version bump to 2.13.2 2019-02-05 12:11:27 +00:00
Kevin Ansfield
f6cc56f35b Version bump to 2.13.1 2019-01-29 14:49:22 +00:00
Kevin Ansfield
ef2af2a3b9 Version bump to 2.13.0 2019-01-29 10:59:32 +00:00
Kevin Ansfield
37a23122c2 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
c3e41fe24f Version bump to 2.12.0 2019-01-22 11:36:16 +00:00
Kevin Ansfield
ba493d7862 Fixed listing, removed unused broccoli-clean-css dependency 2019-01-22 09:30:28 +00:00
Kevin Ansfield
c0d9400cf7 Bumped Codemirror, fixed hidden cursor in empty Code Injection fields 2019-01-21 13:57:31 +00:00
Zimo
060450bb5f 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
0bc081786c Version bump to 2.11.1 2019-01-16 09:58:53 +01:00
Fabien O'Carroll
0e747b7978 Version bump to 2.11.0 2019-01-15 14:10:52 +01:00
Fabien O'Carroll
3c3e538d80 Version bump to 2.10.2 2019-01-15 13:42:12 +01:00
Kevin Ansfield
15188d96fb 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
68a300243e
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
35a4c1b679 Version bump to 2.10.1 2019-01-09 12:27:01 +01:00
Kevin Ansfield
ffbfb06e41
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
300993c24d Version bump to 2.10.0 2019-01-08 12:37:47 +00:00
Kevin Ansfield
7170a3a8da
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
079c8ccc2c
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
28759ea143 Version bump to 2.9.1 2018-12-20 11:28:23 +01:00
Kevin Ansfield
961d4eec46 Version bump to 2.9.0 2018-12-17 14:25:24 +00:00
kirrg001
cce8738fbd Version bump to 2.8.0 2018-12-11 14:25:52 +01:00
Fabien O'Carroll
55a3500e3d Version bump to 2.7.1 2018-12-05 14:28:11 +07:00
Fabien O'Carroll
1be2746260 Version bump to 2.7.0 2018-12-04 21:10:16 +07:00
Rish
7eaedb22c5 Version bump to 2.6.2 2018-11-27 18:33:56 +05:30
Peter Zimon
98d57d66ee 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
1fbb01cd09 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
6b9069eb43 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
fcf5d5f23b Version bump to 2.6.1 2018-11-20 18:21:48 +01:00
Kevin Ansfield
0254202df1 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
2990865537 Version bump to 2.6.0 2018-11-13 12:51:06 +00:00
kirrg001
d77d6a48e9 Version bump to 2.5.0 2018-11-07 16:19:43 +01:00
Fabien O'Carroll
ea227d7c5c Version bump to 2.4.0 2018-10-30 19:26:40 +07:00
Rish
7fa889be90 Version bump to 2.3.0 2018-10-22 15:41:19 +05:30
Kevin Ansfield
756065d0fe Version bump to 2.2.4 2018-10-18 12:29:27 +01:00
Kevin Ansfield
ed8f17a326 Version bump to 2.2.3 2018-10-16 17:38:23 +01:00
Fabien O'Carroll
b93872f897 Version bump to 2.2.2 2018-10-11 14:20:35 +07:00
Nazar Gargol
d6a7e2648a Version bump to 2.2.1 2018-10-09 16:34:36 +02:00
Fabien O'Carroll
42912cf39b 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
fa6dc3b918 Version bump to 2.2.0 2018-10-02 22:57:14 +02:00
Fabien O'Carroll
3419a88002 Version bump to 2.1.4 2018-09-25 18:04:57 +07:00
Fabien O'Carroll
88112e7601 Version bump to 2.1.4-beta.1 2018-09-25 17:34:37 +07:00
Kevin Ansfield
554fe6ffa0 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
0f7bf091f4 Version bump to 2.1.3 2018-09-18 18:07:57 +05:30
Peter Zimon
68f8de1f1c 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
d0d2eb374e Version bump to 2.1.2 2018-09-11 14:15:21 +02:00
Nazar Gargol
f732a7b768 Version bump to 2.1.1 2018-09-06 12:59:24 +02:00
kirrg001
7896f2ed90 Version bump to 2.1.0 2018-08-31 12:14:52 +01:00
Kevin Ansfield
2245d93f2b 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
35deaca709 Update alignment of Markdown card toolbar 2018-08-27 11:03:11 +01:00
Rishabh Garg
ea87514440 🐛 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
525c47a637 Version bump to 2.0.3 2018-08-22 14:35:00 +02:00
Kevin Ansfield
419fee1a96 🐛 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
36bdca6dfe Version bump to 2.0.2 2018-08-21 10:11:14 +01:00
Kevin Ansfield
313fb1b794 Version bump to 2.0.1 2018-08-20 15:11:51 +01:00
kirrg001
892eb7bdf6 Version bump to 2.0.0 2018-08-16 14:10:09 +02:00
kirrg001
3c3e0d0fb0 Bump package.json version to 2.0.0-rc.1
no issue
2018-08-15 02:51:31 +02:00
kirrg001
c864673125 Bump package.json version to 2.0.0-rc.0
no issue
2018-08-14 17:50:56 +01:00
Kevin Ansfield
512d6d8262 Version bump to 1.25.5 2018-08-14 14:43:40 +01:00
Zimo
4d45f03d1b 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
377f6addf7 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
95427364db Version bump to 1.25.4 2018-08-08 19:45:53 +02:00
Kevin Ansfield
b2d29780e9 Koenig - Fixed broken styles
no issue
- bump `ghost-spirit` version to fix selectors
2018-08-08 14:45:45 +01:00
Kevin Ansfield
09743cfb2b 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
9836c91b19 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
a497c0f40d 🐛 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
98df5b6464 Version bump to 1.25.3 2018-07-31 11:37:01 +01:00
Peter Zimon
c68fb36849 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
0c75b47dad Version bump to 1.25.2 2018-07-25 22:41:23 +02:00
kirrg001
dd93b139c4 Version bump to 1.25.1 2018-07-25 11:59:21 +02:00
kirrg001
8ecbcc4a7c Version bump to 1.25.0 2018-07-24 15:27:37 +02:00
Kevin Ansfield
978b385426 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
ba59cae589 Version bump to 1.24.9 2018-07-18 11:45:47 +01:00
Kevin Ansfield
055a39aca1 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
f24070922f 🐛 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
70f8d377d1 🐛 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
875356b2d3 Version bump to 1.24.8 2018-07-11 00:26:50 +02:00
Kevin Ansfield
b2a9e4cdd5 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
4a59500933 Version bump to 1.24.7 2018-07-03 12:43:22 +01:00
Kevin Ansfield
48384ec9a9 Bump ember-light-table dependency
no issue
2018-07-02 17:18:52 +01:00
Kevin Ansfield
7fd6f54dc4
Bump dependencies (#1024)
no issue
- bump non-breaking deps
- bump yarn.lock sub-dependencies
2018-07-02 14:32:00 +01:00
Kevin Ansfield
97ee08aae9 Koenig - Switch back to upstream mobiledoc-kit
no issue
- changes introduced in 2e49c9b3f4 are now in the upstream repo
2018-07-02 11:22:34 +01:00
kirrg001
4f2ddbe84e Version bump to 1.24.6 2018-06-26 19:08:01 +02:00
Kevin Ansfield
fe840a2f93 🐛 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
21dc92582e Version bump to 1.24.5 2018-06-19 17:18:01 +02:00
Kevin Ansfield
2e49c9b3f4 🐛 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
a9c8db27f8 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
b84ecbe021 Version bump to 1.24.4 2018-06-14 17:07:20 +01:00
Kevin Ansfield
57a66f7cdc 🐛 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
b0bca6e428 Version bump to 1.24.3 2018-06-12 16:56:24 +01:00
Kevin Ansfield
dae7a2a42a Version bump to 1.24.2 2018-06-11 13:23:02 +01:00
Kevin Ansfield
646cbb557e Bump dependencies
no issue
- bump non-breaking dependencies
2018-06-11 11:32:08 +01:00
Zimo
cabeb4ef78 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
6506020ca2 Version bump to 1.24.1 2018-06-07 10:21:01 +02:00
Kevin Ansfield
b77d11b248 Bump eslint-plugin-ghost
no issue
- allow `++` and `--` in `for` loops
2018-06-06 13:50:22 +01:00
kirrg001
3fef1aa8cd Version bump to 1.24.0 2018-06-05 19:04:58 +02:00
Kevin Ansfield
8e3b7fa5ad 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
2e65779c82
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
93161319f5 Version bump to 1.23.1 2018-05-29 16:14:04 +01:00
Kevin Ansfield
25c44731fd Version bump to 1.23.0 2018-05-22 20:29:46 +01:00
Kevin Ansfield
296fe295db Bump Spirit dependency
no issue
- tweaks for Koenig beta release
2018-05-17 11:43:21 +01:00
Aileen Nowak
dd3518471d Version bump to 1.22.8 2018-05-15 19:11:48 +08:00
Kevin Ansfield
da903af5c2 Bump dependencies 2018-05-14 13:56:09 +01:00
Kevin Ansfield
ddced87b4a 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
03d0f1119b 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
e2a6edb549 Version bump to 1.22.7 2018-05-09 09:21:17 +01:00
Kevin Ansfield
54e1ea5f47 Bump Spirit dependency 2018-05-08 17:38:20 +01:00
Kevin Ansfield
cd563b66b7 Version bump to 1.22.6 2018-05-08 15:58:04 +01:00
Kevin Ansfield
2b6e2c6bbc 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
50bf7b2bc8 Bump Spirit dependencies 2018-05-08 10:23:54 +01:00
Kevin Ansfield
ffa2622900 🐛 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
3b2ca429b5 Bump Spirit dependencies 2018-05-02 15:51:53 +01:00
Kevin Ansfield
23e6173017
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
460d436537 Version bump to 1.22.5 2018-05-01 14:44:24 +02:00
Kevin Ansfield
9037fb8819 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
63000d6f45 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
80c010d223 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
29147a8e0a 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
f9bf04e9bd Bump ember-drag-drop dependency
no issue
- removes another babel 5 deprecation notice
2018-05-01 09:23:33 +01:00
Kevin Ansfield
93bd1ce9d7 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
b0fa800403 Remove unused ember-cli-active-link-wrapper dependency 2018-04-30 15:58:53 +01:00
Kevin Ansfield
a7c8870abd Drop Node.js 4 support 2018-04-30 15:13:37 +01:00
Kevin Ansfield
2e8f99dca4 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
8c23d5acef 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
c354c78f08 Koenig - Bump ghost-spirit dependency 2018-04-25 14:26:12 +01:00
Kevin Ansfield
1b65c2dda8 Koenig - Bump ghost-spirit dependency 2018-04-25 10:09:53 +01:00
Kevin Ansfield
cb46718a26 Koenig - Fix sticky MD card toolbar 2018-04-24 16:16:03 +01:00
Kevin Ansfield
ea397c4449 Koenig - Bump ghost-spirit dependency 2018-04-24 10:14:33 +01:00
Aileen Nowak
3ef53ea054 Version bump to 1.22.4 2018-04-24 16:03:39 +08:00
Kevin Ansfield
f49f0c0564 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
93f1712036
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
b72fe7c49e 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
ffbecf289b Bump Spirit CSS version 2018-04-20 15:41:07 +01:00
Kevin Ansfield
cd5541eeac Version bump to 1.22.3 2018-04-17 11:13:53 +01:00
kirrg001
5984156fc6 Version bump to 1.22.2 2018-04-11 22:35:59 +02:00
Kevin Ansfield
2c48cd6139
🐛 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
a28eb92c12
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
0e76f2c284 Version bump to 1.22.1 2018-04-02 12:31:28 +02:00
Kevin Ansfield
abdc3b9f78 Version bump to 1.22.0 2018-03-27 21:08:20 +01:00
Kevin Ansfield
f9de7310fa Version bump to 1.21.7 2018-03-26 15:32:46 +01:00
Kevin Ansfield
c066bc8183
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
7bd38066f7 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
8d7f3ad699 Bump ember-light-table dependency (#979)
closes TryGhost/Ghost#9434
2018-03-20 09:57:30 +00:00
Austin Burdine
fd6f2551bb 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
ff44c3f66c Version bump to 1.21.6 2018-03-19 16:39:05 +01:00
Kevin Ansfield
b2211203d0 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
2ea1a354d9 Replace jquery-deparam with deparam dependency (#973) 2018-03-19 10:29:01 +00:00
Austin Burdine
3fd2c7ad66 Swap out ember-inline-svg for ember-svg-jar (#970)
closes TryGhost/Ghost#9506
2018-03-19 09:57:31 +00:00
Austin Burdine
c6ddf3eb80 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
16f52ba11e Koenig - Bump mobiledoc-kit dependency 2018-03-14 10:16:27 +00:00
Kevin Ansfield
0aa5a8affd Version bump to 1.21.5 2018-03-13 13:55:26 +00:00
Kevin Ansfield
d6bdc943d3 🐛 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
a5697d5f75 Version bump to 1.21.4 2018-03-06 16:13:42 +00:00
Kevin Ansfield
04b8dbb855
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
cbf98a9a80
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
479b187ac0
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
1c902af744 Version bump to 1.21.3 2018-02-21 08:19:52 +07:00
Kevin Ansfield
22befb1604 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
6618f228b9 Version bump to 1.21.2 2018-02-14 18:24:03 +00:00
kirrg001
5c2cbe3cad Version bump to 1.21.1 2018-02-07 12:35:33 +01:00
kirrg001
32722bb982 Version bump to 1.21.0 2018-02-07 10:51:41 +01:00
Tobias Bieniek
fa4d1b66fc Update ember-cli-mocha to v0.15.0 (#922)
no issue
2018-02-06 09:38:42 +01:00
Kevin Ansfield
3d341e2dd6
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
7013b269ce 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
dd5af3dfc1 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
0b8aff02fb Bump eslint-plugin-ghost to version actually including node 4.x compat 2018-01-24 20:26:39 +00:00