Commit Graph

5116 Commits

Author SHA1 Message Date
Fabien O'Carroll
78351fe168 Version bump to 3.0.0-beta.2 2019-10-17 18:53:17 +07:00
Fabien O'Carroll
87861fe000 Version bump to 3.0.0-beta.1 2019-10-17 17:36:15 +07:00
Peter Zimon
e8b423b48d Added input groups with append value
no issue
- members price and email settings share the same pattern now: the uneditable parts of the input value is inside the input
2019-10-16 21:35:06 +02:00
Peter Zimon
4d60592cb7 Updated favicon
no issue
2019-10-16 20:18:45 +02:00
Peter Zimon
0f976f3722 Updated featured star alignment for post list
no issue
2019-10-16 20:03:35 +02:00
Peter Zimon
dce6e70b59 Added Stripe info to members labs settings
no issue
2019-10-16 19:54:49 +02:00
John O'Nolan
d1a5608755 Refined copy for members settings (#1366)
no-issue
2019-10-16 15:27:46 +07:00
Rish
6b7aef9628 Updated to password input for member settings keys
no issue
2019-10-16 11:45:14 +05:30
Peter Zimon
22c2ce0cf6 Refined member details
no issue
- updated copy for member since date
- added note to note field
- added subscription value to plan data
2019-10-15 16:24:20 +02:00
Peter Zimon
b7f83fad2c Refined member list
no issue
- added list headings
- added active state to search field when it has value
- set position of actions dropdown
- refined avatar typography
2019-10-15 16:11:43 +02:00
Peter Zimon
3cc22b5528 Moved Member settings section to top in labs
no issue
2019-10-15 14:43:22 +02:00
Fabien O'Carroll
580e2d8f77 Version bump to 2.37.0 (#1365)
Version bump to 2.37.0
2019-10-15 18:06:56 +07:00
Kevin Ansfield
61a3255274 Version bump to 2.37.0 2019-10-14 13:50:09 +01:00
Kevin Ansfield
56786f370c Merge branch 'master' into v3 2019-10-14 11:08:10 +01:00
Renovate Bot
0f1d6d7786 Update ember addons 2019-10-14 09:25:48 +00:00
Kevin Ansfield
4743d372d9 Added "Member added" event to webhooks list (#1359)
requires https://github.com/TryGhost/Ghost/pull/11230

- allows member webhooks to be created
2019-10-14 09:55:38 +01:00
Kevin Ansfield
538d031908 Remove deprecated ember-cli-htmlbars-inline-precompile dependency 2019-10-14 09:51:40 +01:00
renovate[bot]
5af5b29ae4 Update dependency ember-mocha to v0.16.1 (#1363) 2019-10-14 09:45:03 +01:00
renovate[bot]
5fb5a9d3f1 Update dependency @tryghost/timezone-data to v0.2.12 (#1362) 2019-10-14 09:44:35 +01:00
renovate[bot]
a66d2ff52a Update dependency @tryghost/helpers to v1.1.15 (#1361) 2019-10-14 09:44:21 +01:00
Rish
66d84790a4 Fixed members test for admin
no issue
2019-10-14 09:08:28 +01:00
Rish
ad47c6e2f2 Fixed members test for admin
no issue
2019-10-14 08:42:04 +05:30
Rish
6b1cd8dc23 Enabled members by default
no-issue

This removes the need for `enableDeveloperExperiments` flag for members
2019-10-14 08:42:04 +05:30
Hannah Wolfe
49b28e4493 Set Node v12 to available nodesource version
- seems v12.10.0 is the latest available version for bionic via nodesource ppa
- want to support a version that can be installed on our recommended stack
2019-10-12 12:58:05 +01:00
Kevin Ansfield
5502dce4f5 Merge branch 'master' into v3 2019-10-11 13:35:01 +01:00
Rish
083b1e4a5a Version bump to 2.36.0 2019-10-11 16:59:08 +05:30
Rish
2ce07e922b Fixed member section visibility for owner
no issue

Previously we were just hiding the toggle for member section in case of user not being owner. This updates to hide full section in case of non-owner user which is expected behavior
2019-10-11 15:27:24 +05:30
Kevin Ansfield
df4bdf1cf2 Merge branch 'master' into v3 2019-10-11 10:43:38 +01:00
Rish
e90b80822d Renamed member require payment setting
no issue

Renames member setting `requirePaymentForsSignup` -> `allowSelfSignup` to match existing usage in members API
2019-10-11 14:10:37 +05:30
Peter Zimon
079f40611b Updated members Labs settings UI
no issue
- new settings have been introduced for members, switched to expand/collapse UI pattern for members settings
2019-10-11 10:25:52 +02:00
Rish
33de815292 Added members feature toggle for owner only
no issue
2019-10-11 11:34:31 +05:30
Kevin Ansfield
7b5751e42d Version bump to 2.35.0 2019-10-10 18:18:45 +01:00
Peter Zimon
e5c968c51f Updated member email font weight
no issue
2019-10-10 16:01:38 +02:00
Peter Zimon
1960c3d649 Updated member avatar initial fontsize
no issue
2019-10-10 15:59:21 +02:00
Rish
cb1c851f21 Added unsaved changes check to member details page
no issue

- Adds unsaved changes check to member detail page for write operations
2019-10-10 18:06:33 +05:30
Rish
5a609a785f Enabled write operation for member name and note
no issue

- Allows editing member's name and note in admin
2019-10-10 17:29:35 +05:30
Kevin Ansfield
26c48a52c2 Merge branch 'master' into v3 2019-10-10 10:17:44 +01:00
Rish
641dd35779 Updated subscription data in member details
no issue
2019-10-10 13:54:19 +05:30
Kevin Ansfield
bfc047ad93 Version bump to 2.34.0 2019-10-09 18:43:04 +01:00
Kevin Ansfield
d635e7009d Bumped supported node versions
no issue

- bumps 8.x minimum supported version to match Ghost
- adds 12.x for testing ready for LTS
2019-10-09 15:53:24 +01:00
Kevin Ansfield
ce7f0bf1ec Merge branch 'master' into v3 2019-10-09 15:06:37 +01:00
Rish
2e01455413 Updated members lab settings design
no issue

- Extracts members lab settings from `Beta Features` section to its own section
- Adds new `fromAddress` field to members settings
2019-10-09 15:33:08 +05:30
Kevin Ansfield
a9e82b1f7e 🐛 Fixed "unsaved changes" modal when leaving a new post with no content (#1358)
no issue

- if you created a post by setting a title but did not enter anything into the editor body before trying to leave the editor you'd see an "unsaved changes" modal because the "scratch" value for the post mobiledoc is `null` but the post's real mobiledoc value is now a blank document as returned from the API
- adds a conditional reset of the `post.scratch` value after a successful save if the scratch value is blank
2019-10-09 10:53:57 +01:00
Naz Gargol
3aa260f92e Hidden post visibility select from PSM for non editors (#1357)
no issue

- Limited visiblity to only those users who have the rights to edit post's visibility
2019-10-09 10:23:36 +02:00
Kevin Ansfield
3a1bd8f374 Remove duplicated members config from Labs screen 2019-10-08 14:13:19 +01:00
Kevin Ansfield
159e810d5c Merge branch 'master' into v3 2019-10-08 14:04:38 +01:00
Rish
341b23469d Updated members requirePayment flag naming
no issue

Renamed `requirePaymentBeforeSignup` flag to `requirePaymentForSignup`
2019-10-08 16:40:28 +05:30
Rish
b42dcb6da8 Updated members labs section
no issue

- Extracted members feature out of `Beta Features` section to its own
- Added new `requirePaymentBeforeSignup` flag to members settings
2019-10-08 16:25:01 +05:30
Kevin Ansfield
4199f89238 Version bump to 2.33.0 2019-10-08 11:25:41 +01:00
Kevin Ansfield
267bb11226 Version bump to 2.32.0 2019-10-07 23:11:18 +01:00
Rish
58e11f7b33 Added loading state for member subscription details
no issue
2019-10-07 17:56:32 +05:30
Rish
7313b9145f Fixed members list sorting
no issue
2019-10-07 17:05:49 +05:30
renovate[bot]
38e36104b8 Lock file maintenance (#1345) 2019-10-07 12:14:41 +01:00
renovate[bot]
edef5899aa Update dependency eslint to v6.5.1 (#1356) 2019-10-07 12:14:26 +01:00
renovate[bot]
1c59ff0350 Update dependency testem to v3 (#1355) 2019-10-07 11:54:43 +01:00
renovate[bot]
6e555f5a17 Update dependency @tryghost/timezone-data to v0.2.11 (#1350) 2019-10-07 11:54:20 +01:00
renovate[bot]
b11aa3bc67 Update dependency @ember/jquery to v1 (#1354) 2019-10-07 11:54:03 +01:00
renovate[bot]
7ac92aab5a Update ember addons (#1353) 2019-10-07 11:50:27 +01:00
Renovate Bot
5b4c69381b Update dependency @tryghost/helpers to v1.1.12 2019-10-07 10:33:18 +00:00
renovate[bot]
da1ce2464f Update dependency ember-exam to v4.0.4 (#1352) 2019-10-07 11:26:50 +01:00
renovate[bot]
d00217353a Update dependency autoprefixer to v9.6.4 (#1351) 2019-10-07 11:25:40 +01:00
Kevin Ansfield
f6a75c3a06 Fixed tests 2019-10-07 11:17:16 +01:00
renovate[bot]
1388393c3c Pin dependency ember-cli-chart to 3.5.0 (#1348) 2019-10-07 08:21:10 +01:00
Rish
a85129abc8 Fixed lint
no issue
2019-10-07 09:17:26 +05:30
Peter Zimon
0d57cfb4f2 Refined Stripe info in member details
no issue

- refined divider line color for member detail screen with multiple Stripe subscription
2019-10-05 13:10:06 +02:00
Peter Zimon
285a7ab851 Added empty Stripe info state for member details
no issue
2019-10-05 13:01:43 +02:00
Peter Zimon
8ac7500084 Refined member details screen
no issue
2019-10-05 12:41:47 +02:00
Rish
d9351f7292 Fixed members subscription amount default/empty value
no issue
2019-10-04 20:23:50 +05:30
Rish
3974dd5615 Updated member info to show multiple subscriptions
no issue

Displays details of multiple subscriptions of a member
2019-10-04 20:01:56 +05:30
Peter Zimon
b49683127c Refined members import/export design
no issue
2019-10-04 13:55:52 +02:00
Peter Zimon
e542fcbca3 Updated member list and detail wording
no issue
2019-10-04 13:40:10 +02:00
Peter Zimon
9c21f1b60c Refined members import/export button design
no issue
2019-10-04 13:28:10 +02:00
Peter Zimon
523b8e856f Renamed post visiblity dropdown values for posts
no issue
2019-10-04 12:57:58 +02:00
Peter Zimon
d81b39e355 Updated members labs settings layout
no issue
2019-10-04 12:53:32 +02:00
Rish
c3a496fe9f Added csv import/export for members
no issue

- Adds action view with import/export csv options
2019-10-04 15:14:20 +05:30
Rish
a561b6e66e Updated members detail design
no issue

- Fixed bug with incorrect member count
- Added basic stripe info section
2019-10-03 23:17:52 +05:30
Rish
40fddac43c Updated member model to use new subscriptions structure
no issue

Members API was updated to have new subscription structure, this updates model and its transformation to match it.
2019-10-03 23:10:42 +05:30
Rish
06e6e15cc5 Updated plan amount fields to allow empty values
no issue
2019-10-03 23:09:29 +05:30
Peter Zimon
c3e129c5da Updated member list title copy 2019-10-03 13:59:19 +02:00
Peter Zimon
ce50606529 Updated member details screen design
no issue
2019-10-03 13:46:36 +02:00
Peter Zimon
495663c3c4 Udpated members list design
no issue.
2019-10-03 12:56:31 +02:00
Fabien O'Carroll
2d4b332e9c Fixed import ordering for eslint
no-issue
2019-10-03 14:30:55 +07:00
Peter Zimon
bdc0330ccd Added number check for Labs/Members price values
no issue
2019-10-02 14:52:41 +02:00
Peter Zimon
a29e687da6 Updated design for Labs/Members configuration
no issue
2019-10-02 14:52:41 +02:00
Rish
4a3fd90017 Updated members list/detail screens base structure
no issue
2019-10-02 17:05:57 +05:30
Naz Gargol
98da7e1f26 Content visibility configuration in labs (#1346)
no issue

- Changed members description to less verbose
- Added content visibility radio options to members configuration screen
- Moved setting of default visibility to server-side
- Default visibility setting when PSM is opened before making the first request to the server
2019-10-02 11:13:59 +02:00
Rish
e49a12cfa0 Updated member detail screen design 2019-10-02 09:30:21 +05:30
Rish
204e10c114 Updated members list screen design 2019-10-02 09:30:21 +05:30
Naz Gargol
cdb87e5112 Added PSM visibility input (#1344)
refs 80f7e0b19e

- Added visibility input in PSM to control content access level for members
- Added default post visibility in editor. To be changed (moved to server-side) once `defaultContentVisibility` is available in settings service
- Added `visibility` property to post model & mirage
2019-10-01 15:00:53 +02:00
Peter Zimon
e81fe47bfd Fixed "Upgrade now" button length in pro menu
no refs.
- fixed the issue that the "Upgrade now" button shown to Ghost(Pro) users was too wide in the updated Admin sidebar
2019-10-01 12:25:17 +02:00
Peter Zimon
e89789fbe0 Cleanup forms input CSS commit 2019-09-30 13:18:33 +02:00
Kevin Ansfield
fac016a59c Lock file maintenance 2019-09-30 11:59:16 +01:00
Peter Zimon
834f2aa976 Fixed line height for textareas and post title
no refs.
2019-09-30 11:52:33 +02:00
Peter Zimon
e8cdec28ae Refined login form sizes and colors
no refs.
2019-09-30 11:30:45 +02:00
Peter Zimon
775c16eccc Fixed Ghost(Pro) menu icon color in navigation
no refs.
2019-09-30 10:56:44 +02:00
renovate[bot]
32f3127db4 Update ember addons (#1343) 2019-09-30 09:24:30 +01:00
Renovate Bot
29d8090f99 Update ember addons 2019-09-30 06:20:51 +00:00
Renovate Bot
d47130b2e8 Update dependency ember-exam to v4.0.3 2019-09-30 05:36:09 +00:00
Renovate Bot
28b5fca746 Update dependency ember-data to v3.12.4 2019-09-30 03:33:12 +00:00
Renovate Bot
39e69abee1 Update dependency @tryghost/timezone-data to v0.2.10 2019-09-30 01:38:53 +00:00
Renovate Bot
3ca1b79e51 Update dependency @tryghost/helpers to v1.1.11 2019-09-30 01:35:38 +00:00
Naz Gargol
7e3412ce8e 🔥 Removed all subscriber feature related code (#1337)
refs https://github.com/TryGhost/Ghost/pull/11153

- Removed all subscriber feature related code
- The feature is being substituted by members
2019-09-26 15:58:01 +02:00
Rish
1c25f62f60 Reverted switch to using built-in Slack notifications for Travis build
no issue

The built-in slack notifications are not working as expected in terms of amount of notifications received, we switch to old manual notification script for the time being till this is sorted.
2019-09-26 13:16:58 +05:30
renovate[bot]
d2d12c3a74 Update ember addons (#1336) 2019-09-24 15:35:52 +01:00
John O'Nolan
af6d19631e Improved alt text UI legibility (#1324) 2019-09-24 15:35:22 +01:00
Nazar Gargol
b3dbbd0040 Version bump to 2.31.1 2019-09-23 17:13:25 +02:00
Rish
1cc3b2ed7e 🐛 Fixed tag with # not generating "hash-" prefix at tag screen
closes https://github.com/TryGhost/Ghost/issues/11105

- Updates slug generation on tag screen to add "hash-" prefix for tags with name starting from #
2019-09-23 19:58:11 +05:30
Renovate Bot
b62b8e4142 Update ember addons 2019-09-23 05:25:27 +00:00
Renovate Bot
fdc040a56d Update dependency ember-exam to v4.0.2 2019-09-23 04:26:38 +00:00
Renovate Bot
5ba92fd016 Update dependency @tryghost/timezone-data to v0.2.9 2019-09-23 03:25:04 +00:00
Renovate Bot
d89fb69224 Update dependency @tryghost/helpers to v1.1.10 2019-09-23 02:26:06 +00:00
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
Renovate Bot
97ee50fd71 Update dependency eslint to v6.4.0 2019-09-16 02:27:08 +00:00
Renovate Bot
47244f8323 Update ember addons 2019-09-16 02:26:20 +00:00
Renovate Bot
4d77469419 Update dependency ember-exam to v4.0.1 2019-09-16 01:27:27 +00:00
Renovate Bot
c023c8a650 Update dependency ember-data to v3.12.2 2019-09-16 00:45:51 +00: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
Fabien O'Carroll
e6db09620e 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-12 16:33:03 +08: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
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
Paul Perkins
209c37f6bb Updated links to editor FAQ page (#1245)
closes https://github.com/TryGhost/Ghost/issues/10803

- updated links to editor usage FAQ to point to new location to avoid a redirect
2019-06-24 11:30:49 +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
Fabien O'Carroll
9e53fff840 Renamed "Preview site" to "View site" (#1235)
no-issue

Preview implies something which is not-yet-live, but this feature only shows the live site.
2019-06-24 09:07:02 +01:00
Paul Perkins
a4e18e9bfe 🎨 Changed post/page date picker format to 'YYYY-MM-DD' (#1213)
refs https://github.com/TryGhost/Ghost/issues/10767

The use of the date format 'MM/DD/YYYY' is confusing to those not in American English locations. In the absence of being able to dynamically determine full locale data, using 'YYYY-MM-DD' seems to the least ambiguous date format which would be intuitive to most users.
2019-06-24 09:06:39 +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
Zimo
ca1644afc0 Night shift visual refinements
no refs.

- fixed visual bugs with buttons
- fixed background color of the SEO preview in night shift
2019-06-21 14:20:37 +02:00
Peter Zimon
208eae6c07 Admin style refinements (#1234)
refs. c51bce7358

* Refine form inputs and button styles
* Refined Forget link and buttons
* Remove green icon success indicator from login screen
2019-06-21 13:52:39 +02:00
Fabien O'Carroll
8cb0732864 Version bump to 2.25.1 2019-06-19 13:58:12 +07:00
Kevin Ansfield
a066a505bd 🐛 Fixed error when opening editor after abandoning a new tag
no issue

- the new tag that is added to the store when opening the new tag route was not being cleaned up when leaving the new tag route
- blank tags have a name value of `undefined` which causes errors when calling `localeCompare()` on them as is done when ordering tag names for display in the tags input
2019-06-18 15:16:22 +01:00
Fabien O'Carroll
d2d4b0f644 Version bump to 2.25.0 2019-06-18 19:38:28 +07:00
Fabien O'Carroll
29c3af3da8 Version bump to 2.24.0 2019-06-18 19:25:06 +07:00
Rishabh Garg
6450def041 Fixed missing ghost-dark.css causing crash (#1233)
no issue

Gracefully falls back to light theme in case ghost-dark is unavailable
2019-06-18 18:54:36 +07: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
Rish
0cc8c81c0b Version bump to 2.23.4 2019-06-11 16:51:41 +05:30
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
27e13ca6fc Version bump to 2.23.3 2019-06-06 11:15:46 +01:00
Nazar Gargol
4f85d8b5aa Version bump to 2.23.2 2019-06-04 13:01:40 +02:00
Rishabh Garg
7ac21eed0e 🔥 Dropped Node v6 support (#1218)
no issue

- Node v6 has come to EOL as of 2019-04-30 (ref. https://github.com/nodejs/Release#end-of-life-releases)
2019-06-04 09:40:50 +05:30
Kevin Ansfield
83400f6f47 🐛 Fixed markdown text expansion behaviour when similar unexpanded text is present
closes https://github.com/TryGhost/Ghost/issues/10770

- ensure text expansions only occur on the last match before the cursor
- fix subscript text expansion
2019-06-03 21:43:04 +01: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
Kevin Ansfield
8ad5e469af Version bump to 2.23.1 2019-05-28 18:36:10 +01:00
Kevin Ansfield
9116e5cc24 Hid "feature this post" toggle when logged in as an Author or Contributor
no issue
- hides the "Featured this post" toggle in the post settings menu when the currently logged in user is an Author or Contributor
- https://forum.ghost.org/t/remove-the-permission-to-set-posts-to-featured/7441/5?u=kevin
2019-05-28 09:39:22 +01:00
Kevin Ansfield
c552be58c7 Version bump to 2.23.0 2019-05-27 10:57:22 +01:00
Kevin Ansfield
c578ca48ec Upgraded our Zapier integration to use API Keys and allow post creation
no issue
- move the Zapier API Key details out of developer experiments because our Zapier 2.0.0 version is now public and requires an API Key when connecting
2019-05-27 10:53:18 +01: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
John O'Nolan
7db837e0e5 Fix egregious typo. 2019-05-24 18:47:53 +02:00
Kevin Ansfield
78458f320e Version bump to 2.22.3 2019-05-23 13:49:23 +01:00
Kevin Ansfield
c722c83a6e 🐛 Fixed editor crashing when leaving a markdown card's edit mode
no issue
- a change in Ember 3.10's rendering has resulting in the component's element being removed before the `{{gh-markdown-editor}}`'s cleanup action is run which meant that we were trying to run `.querySelector` on `undefined`
- removes the code which moved toolbar elements around because it hasn't been used since we moved to Koenig, this meant that the cleanup action could also be removed
2019-05-23 13:43:01 +01:00
Aileen Nowak
af5aeaf444 Updated link to Marketplace (#1203)
no issue

- Marketplace moved to https://ghost.org/marketplace
2019-05-22 16:55:03 +08:00
Fabien O'Carroll
6537cf6c11 Version bump to 2.22.2 2019-05-21 12:09:14 +02:00
Kevin Ansfield
3653cfbfbf Refactored document-title handler
no issue
- moved `document-title` Route extension's functionality into the `ui` service
  - updates the title each time the router service emits a route changed event
  - `ui.updateDocumentTitle()` can now be called directly from components rather than the confusing `this.send('updateDocumentTitle')` bubbling behaviour
- refactored the `titleToken` implementation to use the now-formalised `RouteInfo`'s `metadata` field (https://github.com/emberjs/rfcs/blob/master/text/0398-RouteInfo-Metadata.md#appendix-a)
2019-05-20 16:16:19 +01:00
Kevin Ansfield
da92eadecd Added ability to set <main> class using route metadata
no issue
- modified `ui` service's `routeDidChange` handler to update it's `mainClass` property based on the new route's metadata
- used in the future for switching screen background colours

To use the feature, modify or add a `buildRouteInfoMetadata` hook in the route which you'd like to change, eg:

```js
export default AuthenticatedRoute.extend({
    ...

    buildRouteInfoMetadata() {
        return {
            bodyClasses: ['my-body-class'],
            mainClasses: ['grey-bg'] // <--------
        };
    }
});

```

The route hierarchy is taken into consideration with classes being added for all currently shown routes. For example if you wanted to add an `editor` class to all editor routes you could use the hook in `routes/editor.js` then if you added an `editor-new` class in `routes/editor/new.js` the resulting HTML output on the "New story" screen would be:

```html
<main class="gh-main editor editor-new">
```
2019-05-20 15:33:12 +01:00
Kevin Ansfield
bb7df76af0 Refactored styleBody mixin
no issue
- removed `styleBody` mixin in favour of using Ember's `buildRouteInfoMetadata` hook and router events in the `ui` service
- refactored separate CSS classes for each unauthenticated route into a single `.unauthenticated-route` class because hiding mobile nav whilst unauthenticated was the only use for body classes
2019-05-20 14:57:21 +01:00
Kevin Ansfield
9186c84e64 Removed unused body classes added by using the StyleBody mixin
no issue
- many routes were attaching classes to the `<body>` tag via the `StyleBody` mixin but those classes were never used and applied inconsistently throughout the app
2019-05-20 14:15:46 +01:00
Renovate Bot
a0081a438c Lock file maintenance 2019-05-20 11:42:58 +01:00
Kevin Ansfield
8aba726bc8 Fixed gh-search-input tests failing on Ember 3.10 2019-05-20 11:32:08 +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
Fabien O'Carroll
1b318eb249 Version bump to 2.22.1 2019-05-14 11:16:04 +02: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
Kevin Ansfield
d193317bbd Refactored deprecated usage of this.$() in rendering tests
no issue

- https://emberjs.com/deprecations/v3.x#toc_jquery-apis
2019-05-13 15:31:32 +01:00
Kevin Ansfield
a96e942c4b Refactored deprecated usage of [files] option param for triggerEvent 2019-05-13 15:31:32 +01:00
Kevin Ansfield
1520122483 Refactored deprecated usage of setupTest* methods
no issue

- https://github.com/emberjs/ember-mocha/blob/master/docs/migration.md#upgrading-to-the-new-testing-apis
- deleted tests files which had no specific tests
- migrated unskipped component unit tests to integration tests
2019-05-13 15:31:32 +01:00
Kevin Ansfield
67360b5f71 Updated test-helper.js to use explicit start() call
no issue

- this was a breaking change introduced in ember-mocha@0.15.0 https://github.com/emberjs/ember-mocha/blob/master/CHANGELOG.md#v0150-2019-05-11
2019-05-13 15:31:32 +01:00
Renovate Bot
0eaf9e0247 Update ember testing 2019-05-13 15:31:32 +01:00
Kevin Ansfield
cf4246dd5e Bumped waitFor timeouts in gh-uploader tests
no issue

- Travis was randomly failing here
2019-05-13 09:59:05 +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
e6d03e9904 Fixed deprecated computed().volatile() usage
no issue

- https://deprecations.emberjs.com/v3.x/#toc_computed-property-volatile
2019-05-07 14:54:41 +01:00
Peter Zimon
ccbc26d6bc Sidebar refinements and view site in new tab button (#1192)
no refs.

- added view site in new tab button to sidebar
- show secondary actions on sidebar only on mouseover
- replaced labs icon
- refined spacing for view site
- unified colors of secondary icons
2019-05-07 15:29:59 +02:00
Kevin Ansfield
d0c2caec9e Fixed transition-state deprecation on Integration screen
no issue

- https://deprecations.emberjs.com/v3.x/#toc_transition-state
2019-05-07 14:04:16 +01:00
Kevin Ansfield
b7b51bbb0f Fixed deprecated usage of new EmberObject in <GhUploader>
no issue

- https://deprecations.emberjs.com/v3.x/#toc_object-new-constructor
- `UploadTracker` is extended from `EmberObject` so we should use the `.create` method
2019-05-07 13:26:32 +01:00
Kevin Ansfield
320908d64d Removed unused code in posts route 2019-05-07 12:55:19 +01: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
Nazar Gargol
3afcbf0c39 Version bump to 2.22.0 2019-05-07 12:37:29 +02:00
Kevin Ansfield
344999a69b Fixed "remove all listeners" deprecation
no issue

- https://deprecations.emberjs.com/v3.x/#toc_events-remove-all-listeners
2019-05-06 15:00:06 +01:00
Kevin Ansfield
f8ccb81dfc Fixed deprecated access of controller.{currentPath,currentRouteName}
no issue

- replaced access of `controller.{currentPath,currentRouteName}` with `router.currentRouteName`
- https://deprecations.emberjs.com/v3.x/#toc_application-controller-router-properties
2019-05-06 14:51:23 +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
5883784268 Fixed random failure of gh-uploader test 2019-05-01 16:09:28 +01:00
Kevin Ansfield
02005c0171 Added caption support to code cards (#1181)
*  Added caption support to code cards

no issue

* fix caption placeholder text

* add figure-to-code-card parser plugin, add language detection to code card parsers

* extract {{kg-action-bar}} component

* do not show card toolbar if caption has focus
2019-05-01 16:36:02 +02:00
Kevin Ansfield
7bd1b20492 Fixed Travis not running for non-renovate PRs 2019-05-01 15:34:37 +01:00
Kevin Ansfield
1768b864be do not show card toolbar if caption has focus 2019-05-01 15:13:49 +01:00
Kevin Ansfield
ab85412625 extract {{kg-action-bar}} component 2019-05-01 13:57:00 +01:00