Commit Graph

4768 Commits

Author SHA1 Message Date
Naz Gargol
3c2185a3bf Removed unnecessary '?status=all' query parameter (#1330)
no issue

- The default post/user filter gets expanded to same values as for  ALL_STATUSES in Ghost APIs model layer (https://github.com/TryGhost/Ghost/blob/e57e19e/core/server/api/canary/utils/serializers/input/posts.js#L97)
2019-09-18 15:11:35 +01:00
Renovate Bot
7e54f4802b Update ember addons 2019-09-16 09:33:00 +01:00
Renovate Bot
2e8dbfbf02 Update dependency ember-exam to v4.0.1 2019-09-16 09:33:00 +01:00
Renovate Bot
a2f70a61ce Update dependency ember-data to v3.12.2 2019-09-16 09:33:00 +01:00
Fabien O'Carroll
e584623399 Added guard against undefined member name (#1322)
no-issue

This is causing issues since we removed the name property from member
objects. This change stops admin crashing out, but a more correct
handling of the missing name property should happen at a later point.
2019-09-16 09:33:00 +01:00
Naz Gargol
461adc6244 🔥 Removed publicAPI feature flag related code (#1323)
no issue

- Changes are related to API v0.1 being completely gone and this flag won't be returned from API anywhere anymore
2019-09-13 16:11:37 +02:00
Kevin Ansfield
bd32e758db Merge branch 'master' into v3 2019-09-10 09:51:11 +01:00
Kevin Ansfield
d9b09f4c4f Version bump to 2.31.0 2019-09-09 17:47:56 +01:00
Kevin Ansfield
06cb0bd14e Allowed "view site" request to save cookies in cross-origin requests
no issue

- adds `credentials: 'include'` option to `fetch()` which instructs browsers to save cookies in the POST response in cross-origin requests (default is `'same-origin'`)
2019-09-09 17:01:26 +01:00
Renovate Bot
448b3f44cd Update ember addons 2019-09-09 10:21:49 +01:00
Renovate Bot
14ca1479b8 Update dependency ember-cli-mirage to v1.1.1 2019-09-09 03:26:49 +00:00
Renovate Bot
cd75dd34f2 Update dependency @tryghost/timezone-data to v0.2.8 2019-09-09 02:34:12 +00:00
Renovate Bot
e29c61d1ed Update dependency @tryghost/helpers to v1.1.9 2019-09-09 01:28:16 +00:00
Peter Zimon
8af364e45d Added bookmark card styles to "What's new" modal
no refs.
- bookmark cards were displayed incorrectly in the "What's new" popup due to missing styles. This adds the necessary styles for it.
2019-09-05 09:41:58 +02:00
Peter Zimon
fa04ad0ae8 Fixed alignment of avatar badge
no refs.
- fixed the aligment of the "What's new" badge on the account menu
2019-09-05 09:30:40 +02:00
Peter Zimon
75035890f1 Fixed registration flow SVG stroke color
no refs.
- fixes a visual bug that the checkmark icon's stroke color during the registration flow was #000. The bug was a sideeffect to the latest ember-svg-jar module update.
2019-09-05 09:22:49 +02:00
Kevin Ansfield
7d38c24b27 Removed empty svg file
refs fa855b6184

- the empty svg file was the cause of the broken builds when using ember-svg-jar 2.2.1
2019-09-04 09:55:00 +01:00
Rishabh Garg
30b2d3a4b3 Switched Admin API version from canary to v3 (#1317)
no issue

- Switches over to new v3 endpoint from canary
2019-09-03 12:40:27 +05:30
Kevin Ansfield
fa855b6184 Reverted update of ember-svg-jar to 2.2.1
refs https://github.com/ivanvotti/ember-svg-jar/issues/138

- 2.2.1 is breaking development builds
2019-09-02 12:17:27 +01:00
Renovate Bot
0e7efce6a0 Lock file maintenance 2019-09-02 09:43:33 +01:00
Renovate Bot
8db9c04c00 Update dependency ember-cli-htmlbars-inline-precompile to v3 2019-09-02 09:35:03 +01:00
Renovate Bot
c28ef26f58 Update ember addons 2019-09-02 09:34:38 +01:00
Renovate Bot
26662ce1b6 Update dependency blueimp-md5 to v2.12.0 2019-09-02 09:34:06 +01:00
Renovate Bot
db1528c5ba Update dependency @tryghost/kg-parser-plugins to v0.8.0 2019-09-02 09:33:34 +01:00
Renovate Bot
e0df5ca73d Pin dependency @tryghost/string to 0.1.5 2019-09-02 09:33:19 +01:00
Renovate Bot
e589d8438c Update dependency ember-cli-string-helpers to v4.0.3 2019-09-02 02:31:55 +00:00
Renovate Bot
d606e8305c Update dependency @tryghost/kg-clean-basic-html to v0.1.3 2019-09-02 01:31:39 +00:00
Kevin Ansfield
4a11a72ea2 🐛 Fixed browser back button behaviour after clicking "x posts" on tags screen (#1306)
closes https://github.com/TryGhost/Ghost/issues/11057

- removed static "replace" configuration of posts/pages query params
- used the router service to register a `willTransition` event handler which handles conditional replaceState transition behaviour only when filters are changed whilst already on the posts/pages route
2019-08-29 11:10:09 +01:00
Kevin Ansfield
0ba331ec5f Updated Unsplash image selector to insert larger images
no issue

- the default "regular" url Unsplash provides is 1080px wide that does not work well for full-width image cards
- updated to grab 2000px wide images
2019-08-29 09:41:43 +01:00
Kevin Ansfield
ffd2d88dd4 Version bump to 2.30.2 2019-08-28 11:39:00 +01:00
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