Commit Graph

4720 Commits

Author SHA1 Message Date
Kevin Ansfield
d1bb99a805 Fixed conflicting svg ids
no issue

- enables `prefixIds` svgo option to guarantee all `id` attributes are unique across svgs
- disabled `cleanupIds` option so that it doesn't interfere with id uniqueness
- fixes instagram icon background not showing
2019-08-28 11:33:32 +01:00
Peter Zimon
4bc9f91392 Added missing class to pages table heading 2019-08-28 11:57:55 +02:00
Peter Zimon
dc6ec36ee0 Fixed line-height for textareas
no refs.
- Applied line-height for textareas with gh-input class. Having it applied all the textarea styles to textarea.gh-input caused bug in calculating the height of post titles in Koenig.
2019-08-28 11:35:17 +02:00
Kevin Ansfield
a10ad3767f 🐛 Fixed text editing display of markdown, html, and code cards
closes https://github.com/TryGhost/Ghost/issues/11056

- reverts codemirror dependency
- adds codemirror to the list of ignored dependencies for renovate to prevent auto-updating
2019-08-28 10:17:53 +01:00
Peter Zimon
a9ab57d90c Refined line-height for bookmark card publisher 2019-08-28 11:03:02 +02:00
Kevin Ansfield
7c0db288b4 Fixed "undefined" appearing in markdown card styles
no issue
2019-08-28 09:56:45 +01:00
Kevin Ansfield
a5a2441c09 Version bump to 2.30.1 2019-08-27 19:44:36 +01:00
Peter Zimon
f1e9cc37f9 Fixed style for bookmark card publisher field
no refs.
2019-08-27 20:38:42 +02:00
Rish
d422a57eb2 Version bump to 2.30.0 2019-08-27 21:01:30 +05:30
Rishabh Garg
7543d23e3d Added bookmark card and integrated it as fallback for unknown embeds (#1293)
requires https://github.com/TryGhost/Ghost/pull/11024

With the bookmark card you can present links in a much richer format, similar to Twitter cards. If the URL points to a page with right meta information it can show the page title, excerpt, author, publisher and even a preview image.

Bookmark cards can be created in two ways:

1. pasting a link as the first thing in blank paragraph - we'll check to see if we can create an embed, if we can't then we'll create a bookmark card instead
2. manually selecting the bookmark card from the (+) menu or by typing "/bookmark<kbd>Enter</kbd>" or "/bookmark {url}<kbd>Enter</kbd>" for short (you might want to do this if you want the bookmark version instead of a full embed)

Pressing <kbd>Ctrl/Cmd+Z</kbd> after pasting will convert the bookmark card back to a link if that's preferred, alternatively a URL can be pasted with <kbd>Ctrl/Cmd+Shift+V</kbd> to avoid any automatic transformation to an embed/bookmark.

---

- adds "bookmark" card that functions similarly to the embed card
- if the oembed API request returns `type: "bookmark"` then the metadata is used to create a bookmark card
2019-08-27 15:10:31 +01:00
Rishabh Garg
99a4c1c4c2 🎨 Updated tags screen design and usability (#1283)
no issue

Updates design and usability for tags list and details screen
2019-08-27 19:21:31 +05:30
Kevin Ansfield
b6b0af0067 Fixed tests 2019-08-27 10:59:27 +01:00
Kevin Ansfield
22e320f725 Fixed linting 2019-08-27 10:49:50 +01:00
Kevin Ansfield
9eb9e9f00e Removed unused "active" handling in <GhPostListItem>
no issue

- "active" post list items no longer exist so we can remove the code related to handling the scroll-into-view and style changes
2019-08-27 10:42:27 +01:00
Kevin Ansfield
2500cd9064 Resolved deprecated usage of Ember Data evented api usage
no issue

- https://deprecations.emberjs.com/ember-data/v3.x/#toc_evented-api-usage
- we were using the now deprecated `didCreate` and `didUpdate` events on the post model to perform controller-specific logic each time `post.save()` was called
- moved the functionality that was attached to the hook events into a `_savePost()` function and used that anywhere we were calling `post.save()`
2019-08-26 15:08:49 +01:00
Kevin Ansfield
341d007acd Updated Renovate configuration
closes https://github.com/TryGhost/Ghost-Admin/pull/1164

- extend from our base configuration
2019-08-26 10:57:16 +01:00
renovate[bot]
5fdd25d499 Lock file maintenance (#1282) 2019-08-26 10:53:27 +01:00
renovate[bot]
98c77a51ea Update ember addons (#1285) 2019-08-26 10:42:30 +01:00
renovate[bot]
13f8455efa Update ember addons (#1266) 2019-08-26 10:39:02 +01:00
Kevin Ansfield
f2eaf6ac09 Updated Renovate configuration
no issue
- according to https://github.com/renovatebot/config-help/issues/220#issuecomment-487118205 it's the _last_ matching group that takes effect when determining which `packageRules` group a dependency is put in
- adjusted the order so that explicit excludes are not required and the ember-basic-dropdown addons are correctly grouped
2019-08-26 10:30:59 +01:00
Kevin Ansfield
20bb8f65f3 Updated renovate configuration (#1305)
no issue
- grouped `ember-basic-dropdown` and related `ember-power-*` addons together
- they share a common base and are going through a major breaking change so it's easier to upgrade them together
2019-08-26 09:52:31 +01:00
Renovate Bot
328838d6d1 Update dependency eslint to v6.2.2 2019-08-26 03:26:59 +00:00
Renovate Bot
87e997f7c9 Update dependency codemirror to v5.48.4 2019-08-26 02:29:34 +00:00
Renovate Bot
a4343bf620 Update dependency @ember/render-modifiers to v1.0.1 2019-08-26 01:27:33 +00:00
Kevin Ansfield
5225a3d30a Added "What's new" indicator and modal to highlight recent updates (#1292)
no issue

- adds `whats-new` service that fetches the changelog from ghost.org and exposes the latest changelog entries
- trigger a background fetch of the changelog from ghost.org when first loading the admin when logged in, or after signing in
- adds a "What's new" menu item next to the user popup menu
- adds an indicator to the user menu button and what's new menu item if there are unseen changelog entries
- closing the changelog modal will update the "last seen date", clearing both indicators
2019-08-23 10:01:27 +01:00
Rish
f2905c155f Version bump to 2.29.1 2019-08-22 07:31:35 +05:30
renovate[bot]
629dc97722 Update dependency ember-cli to v3.12.0 (#1299) 2019-08-21 16:24:06 +01:00
Kevin Ansfield
32e6567e5b Added global meta data and Twitter/Facebook card settings (#1287)
closes https://github.com/TryGhost/Ghost/issues/10921

- added new fields to settings model
- added "Site meta settings" section to general settings
2019-08-21 16:16:59 +01:00
renovate[bot]
dd85373db5 Update linters (#1300) 2019-08-21 16:10:50 +01:00
renovate[bot]
8d3b3899c4 Update dependency @tryghost/kg-parser-plugins to v0.7.0 (#1298) 2019-08-21 15:12:15 +01:00
Kevin Ansfield
b83590332e Version bump to 2.29.0 2019-08-20 15:38:58 +01:00
Renovate Bot
09c54d76a0 Update dependency @tryghost/helpers to v1.1.8 2019-08-19 04:20:47 +00:00
Renovate Bot
8bd4efe443 Update dependency @tryghost/timezone-data to v0.2.7 2019-08-19 03:33:15 +00:00
Renovate Bot
66cadb97b2 Update dependency @tryghost/kg-clean-basic-html to v0.1.2 2019-08-19 02:30:58 +00:00
Renovate Bot
46dbed9a19 Update dependency @html-next/vertical-collection to v1.0.0 2019-08-19 01:35:46 +00:00
Kevin Ansfield
ec5850f1f4 Version bump to 2.28.1 2019-08-16 19:48:18 +01:00
Kevin Ansfield
8d350bc90d Version bump to 2.28.0 2019-08-13 11:21:18 +01:00
Kevin Ansfield
d4f2280a68 Switched Admin API version from v2 to canary (#1291)
no issue

- Ghost-Admin is our primary API client, we should keep it in sync with the canary API branch to dog food our API changes
2019-08-12 09:56:21 +01:00
renovate[bot]
640c2f18c8 Update dependency markdown-it to v9.1.0 (#1289) 2019-08-12 09:34:38 +01:00
Kevin Ansfield
457a8e2955 🎨 Added auto-login to private site when viewing site preview in admin (#1286)
closes https://github.com/TryGhost/Ghost/issues/10995

- when first loading the site preview, if private mode is enabled submit the login form in the background to get the cookie before loading the iframe
- refactors post-authentication preloading to ensure it occurs before post-authentication route hooks are called
- adds `showSuccess` attribute to `<GhTaskButton>` so that when set to `false` it can stay in the running state after "success" to avoid state change flashes whilst waiting for a transition
2019-08-12 09:11:10 +01:00
Renovate Bot
083a8c054f Update ember core to v3.12.0 2019-08-12 09:09:54 +01:00
Renovate Bot
3bd28f75f7 Update dependency blueimp-md5 to v2.11.1 2019-08-12 01:26:44 +00:00
Fabien O'Carroll
db9e637ef9 Version bump to 2.27.0 2019-08-06 17:34:38 +08:00
Renovate Bot
d209dd4b66 Update dependency @html-next/vertical-collection to v1.0.0-beta.14 2019-08-05 01:28:22 +00:00
Kevin Ansfield
d33abeab04 Fixed ".set called on destroyed object" error thrown in <GhUploader>
no issue

- saw error being thrown sometimes when performing image/gallery uploads in the editor
2019-07-31 17:45:19 +01:00
Rish
8b0c954b21 Version bump to 2.26.0 2019-07-30 20:24:26 +05:30
Renovate Bot
333f55a770 Update dependency @tryghost/kg-parser-plugins to v0.6.0 2019-07-29 09:38:57 +01:00
Renovate Bot
58365fead2 Update ember addons 2019-07-29 04:27:29 +00:00
Renovate Bot
cd4850ce20 Update dependency ember-data to v3.11.4 2019-07-29 03:26:16 +00:00
Renovate Bot
04939982f2 Update dependency @tryghost/timezone-data to v0.2.6 2019-07-29 02:27:06 +00:00
Renovate Bot
41f488fe8e Update dependency @tryghost/helpers to v1.1.7 2019-07-29 01:27:16 +00:00
Aileen Nowak
dbb3368921 🔗 Updated docs api links to be version-less 2019-07-25 15:15:31 +08:00
Kevin Ansfield
dad908911b Added ability to edit alt text for image cards
no issue

- adds an "Alt" button that is displayed in the caption input whilst an image card is selected, clicking it toggles between the rich-text caption input and a plain-text alt text input
2019-07-23 18:13:41 +01:00
Kevin Ansfield
8b9686e571 Version bump to 2.25.9 2019-07-23 12:01:47 +01:00
Kevin Ansfield
66000822e0 Removed opacity from toaster notifications
refs https://github.com/TryGhost/Ghost/issues/10939

- comments out opacity to resolve readability issues. Quick-fix whilst waiting for a deeper design review
2019-07-22 14:10:23 +01:00
Renovate Bot
c9537e27f1 Update ember core
no issue

- remove usages of function prototype extensions
- fix usage of evented.off
2019-07-22 14:00:52 +01:00
Renovate Bot
25a0fcd217 Lock file maintenance 2019-07-22 13:15:16 +01:00
Kevin Ansfield
4ae9151923 Fix linting errors
refs https://github.com/TryGhost/Ghost-Admin/pull/1274

- fixes errors introduced from upgrading to eslint@6
2019-07-22 11:21:24 +01:00
Renovate Bot
5e94d31673 Update dependency eslint to v6 2019-07-22 11:21:24 +01:00
Kevin Ansfield
0b649eaedd Remove unused files
no issue

- `app/helpers/gh-format-html` is duplicated in `lib/koenig-editor/addon/helpers/sanitize-html` and is not used anywhere else
- `app/helpers/gh-path` is not used anywhere - the API should be returning absolute URLs everywhere so path generation is no longer as necessary within templates
- `app/helpers/is-equal` replaced with `{{eq}}` from `ember-truth-helpers`
- `app/helpers/is-not` replaced with `{{not}}` from `ember-truth-helpers`
- `app/utils/isFinite` is not used anywhere
- `app/utils/titleize` is not used anywhere
2019-07-22 11:06:16 +01:00
Aileen Nowak
8e1f08f801 Updated links to docs (#1276)
no issue
2019-07-22 16:53:24 +08:00
Renovate Bot
b4442d6316 Update dependency ember-exam to v4 2019-07-22 09:24:54 +01:00
Renovate Bot
db3e352610 Update dependency ember-cli-mirage to v1.1.0 2019-07-22 09:24:23 +01:00
Renovate Bot
78720bde95 Update dependency blueimp-md5 to v2.11.0 2019-07-22 09:24:09 +01:00
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
Nazar Gargol
ce7cc746be Version bump to 2.25.8 2019-07-17 17:45:21 +02:00
Peter Zimon
31a3fe7c48 Updated word break for name and email in navbar
no refs.
- fixed the issue that long name and email in left sidebar were breaking into multiple lines
- added title attribute to name and email
2019-07-17 12:33:27 +02: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
Fabien O'Carroll
d3021b1db0 Version bump to 2.25.7 2019-07-16 16:01:28 +08:00
Peter Zimon
dc6d62c1a5 Updated posts/pages filter style
no refs.
- grouped posts/pages filters for better future scalablility and to indicate corresponding UI components
2019-07-15 15:06:27 +02: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
Fabien O'Carroll
d9f716f13a 💡 Bumped minimum node v8.x version to v8.10.0
no-issue

This is to keep it in sync with Ghost
2019-07-15 19:41:08 +08: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
Rish
13399d9564 Version bump to 2.25.6 2019-07-11 15:46:12 +05:30
Rish
0d3c5a9323 Version bump to 2.25.5 2019-07-09 18:39:18 +05:30
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
46d5b779ae 🐛 Fixed unexpected image positions when re-ordering gallery images
no issue

- the position that images were inserted did not always match the position indicator because of errors in the insert index calculations
2019-07-05 14:54:22 +01:00
Kevin Ansfield
526c94d954 Added ability to drag images in and out of galleries
no issue

- adjust drag handlers in the editor and gallery card to handle drag/drop of image cards as well as straight images
- adjust drag handlers in the gallery card to handle image inserts as well as re-orders
- add `onDragEnd` event/action to the Koenig drag-n-drop handler so that containers can perform cleanup if one of their draggables was successfully dropped into a different container
- change ghost element when dragging an image card to be an image rather than a card icon
  - allow `createGhostElement` function passed in when registering a drag-n-drop container to fall back to the default behaviour by returning a falsy value
2019-07-05 14:54:22 +01:00
Kevin Ansfield
7b3f5deb11 Updated Twitter username in nav menu 2019-07-02 13:13:01 +01:00
Kevin Ansfield
6ac1480ffc Removed and disabled use of Ember.js function prototype extensions
no issue

- Function prototype extensions are being deprecated in Ember 3.11
2019-07-01 15:53:58 +01: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
Fabien O'Carroll
577db1bc2f Version bump to 2.25.4 2019-07-01 13:31:22 +07:00
Renovate Bot
859e1c77fa Update dependency walk-sync to v1.1.4 2019-07-01 01:28:29 +00:00
Kevin Ansfield
d436184106 Version bump to 2.25.3 2019-06-26 14:02:07 +01:00
Kevin Ansfield
83a5a54801 Removed "Unsupported browser" warning for Chromium-based Edge
no issue

- Edge is dropping it's own engine and switching to Chromium which has full support in the editor
2019-06-25 14:52:09 +01:00
Kevin Ansfield
dc57e6557b Version bump to 2.25.2 2019-06-25 13:22:54 +01: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