Commit Graph

688 Commits

Author SHA1 Message Date
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