Renovate Bot
2fe25daff4
Update dependency metascraper-logo to v5.8.10
2019-12-16 04:23:41 +00:00
Renovate Bot
a1dee8fbc8
Update dependency metascraper-author to v5.8.10
2019-12-16 03:15:12 +00:00
Renovate Bot
04e4b4d28c
Update dependency metascraper-description to v5.8.10
2019-12-16 02:16:53 +00:00
Renovate Bot
c59cc557da
Update dependency metascraper to v5.8.10
2019-12-16 01:16:49 +00:00
Naz Gargol
e277c6bad3
Added member's subscription cancellation helper {{cancel_link}} ( #11434 )
...
no issue
- The helper allows generating HTML needed to cancel or continue the member's subscription depending on subscription state.
- Added public members endpoint to allow updating subscription's `cancel_at_period_end` attribute available at: `PUT /api/canary/members/subscriptions/:id/`
- Added client-side hook to allow calling subscription cancellation. Allows to create elements with `data-members-cancel-subscription` / `data-members-continue-subscription` attributes which would call subscription update.
- Updated schema and added migration for `current_period_end` column
- As discussed we only add a single column to subscriptions table to avoid preoptimizing for future cases
- Added {{cancel_link}} helper
- Added error handling for {{cancel_link}} when members are disabled
- Added test coverage for {{cancel_link}} helper
- Bumped @tryghost/members-api version to 0.10.2. Needed to use `updateSubscription` middleware
- Bumped gscan to 3.2.0. Needed to recognize new {{cancel_link}} helper
2019-12-12 19:59:15 +07:00
Fabien O'Carroll
5997343279
Installed @tryghost/members-api@0.10.1
...
no-issue
Fixes issue with Stripe webhooks when running on localhost url
2019-12-09 14:33:04 +02:00
Naz Gargol
bcddeeadf1
Removed redundant member manipulation proxy methods ( #11423 )
...
no issue
- This includes the interface change for members-api constructor - now accepts the member's model instead of proxy methods. These methods have been moved ton @tryghost/members-api in favor of using the model directly (ref: https://github.com/TryGhost/Members/pull/105 )
- Moved error handling from the service layer to controller
- Bumped @tryghost/member-api package to 0.10.0
2019-12-06 12:04:10 +07:00
Renovate Bot
3b90ac7095
Update dependency knex-migrator to v3.4.1
2019-12-02 02:23:18 +00:00
Renovate Bot
99721a72cd
Update dependency bluebird to v3.7.2
2019-12-02 01:23:34 +00:00
Kevin Ansfield
f9f2d36f53
Merge branch 'mega'
2019-11-27 12:12:27 +00:00
Renovate Bot
f10a76e15a
Update dependency metascraper-logo-favicon to v5.8.9
2019-11-25 02:28:43 +00:00
Renovate Bot
2120151559
Update dependency metascraper to v5.8.9
2019-11-25 01:31:44 +00:00
Kevin Ansfield
f14e3fa11b
Updated yarn.lock
2019-11-18 11:10:39 +00:00
Kevin Ansfield
1c8b78818f
Merge branch 'master' into mega
2019-11-18 11:09:46 +00:00
Renovate Bot
fb7afd1672
Update dependency sharp to v0.23.3
2019-11-18 05:25:57 +00:00
Renovate Bot
f5e1d24113
Update dependency metascraper to v5.8.8
2019-11-18 03:26:47 +00:00
Renovate Bot
ad48fe0057
Update dependency @tryghost/html-to-mobiledoc to v0.6.1
2019-11-18 02:24:40 +00:00
Renovate Bot
8383d5c9c2
Update dependency @tryghost/helpers to v1.1.19
2019-11-18 01:29:39 +00:00
renovate[bot]
986df75f43
Update dependency metascraper-author to v5.8.7 ( #11369 )
2019-11-13 15:16:59 +07:00
renovate[bot]
da0ad2d717
Update dependency metascraper-logo-favicon to v5.8.7 ( #11373 )
2019-11-13 15:16:27 +07:00
renovate[bot]
fc3182f9f9
Update dependency metascraper-image to v5.8.7 ( #11371 )
2019-11-13 15:16:00 +07:00
renovate[bot]
4709d1cc6b
Update dependency metascraper-title to v5.8.7 ( #11375 )
2019-11-13 15:14:51 +07:00
renovate[bot]
c531b12a41
Update dependency metascraper-logo-favicon to v5.7.21 ( #11362 )
2019-11-13 13:57:29 +07:00
renovate[bot]
be9066bb79
Update dependency metascraper-url to v5.8.7 ( #11376 )
2019-11-13 13:49:23 +07:00
renovate[bot]
fc9187d2ab
Update dependency metascraper-description to v5.8.7 ( #11370 )
2019-11-13 13:48:47 +07:00
renovate[bot]
b78a467890
Update dependency metascraper-logo to v5.8.7 ( #11372 )
2019-11-13 13:47:06 +07:00
renovate[bot]
3ae8d3b673
Update dependency metascraper to v5.8.7 ( #11368 )
2019-11-13 13:46:27 +07:00
renovate[bot]
28a69be7ce
Update dependency metascraper-publisher to v5.8.7 ( #11374 )
2019-11-13 13:45:17 +07:00
Renovate Bot
e00f67f04e
Update dependency metascraper-title to v5.7.21
2019-11-11 13:22:54 +00:00
Renovate Bot
5a5943e745
Update dependency metascraper-url to v5.7.21
2019-11-11 11:36:37 +00:00
Renovate Bot
d8ca54fd71
Update dependency metascraper-publisher to v5.7.21
2019-11-11 10:22:16 +00:00
Renovate Bot
d6399f3318
Update dependency metascraper-image to v5.7.21
2019-11-11 09:23:43 +00:00
Renovate Bot
fd4766689d
Update dependency metascraper-logo to v5.7.21
2019-11-11 08:22:37 +00:00
Renovate Bot
d1c7e068a8
Update dependency metascraper-author to v5.7.21
2019-11-11 07:19:23 +00:00
Renovate Bot
d273b03169
Update dependency metascraper-description to v5.7.21
2019-11-11 06:21:31 +00:00
Renovate Bot
ccc60a7a50
Update dependency metascraper to v5.7.21
2019-11-11 05:20:07 +00:00
Renovate Bot
e2847ae4cf
Update dependency mock-knex to v0.4.7
2019-11-11 04:21:00 +00:00
Renovate Bot
e4a86f0120
Update dependency glob to v7.1.6
2019-11-11 03:25:50 +00:00
Renovate Bot
bd9cb1155b
Update dependency csv-parser to v2.3.2
2019-11-11 02:20:33 +00:00
Renovate Bot
3a67245a71
Update dependency @tryghost/members-ssr to v0.7.3
2019-11-11 01:20:49 +00:00
Fabien O'Carroll
427f6f6326
Installed mailgun-js@0.22.0
...
no-issue
2019-11-08 17:21:20 +07:00
Fabien O'Carroll
b16c460633
Installed @tryghost/members-api@0.9.0
...
no-issue
This now includes stripe data when listing members, which is needed for
email content gating
2019-11-06 15:30:37 +07:00
Renovate Bot
f78996d063
Update dependency sharp to v0.23.2
2019-11-04 14:29:45 +00:00
Renovate Bot
afc68be5fc
Update dependency oembed-parser to v1.3.6
2019-11-04 13:31:14 +00:00
Renovate Bot
783ab24735
Update dependency metascraper-title to v5.7.17
2019-11-04 12:30:53 +00:00
Renovate Bot
ea0833c1fc
Update dependency metascraper-logo-favicon to v5.7.17
2019-11-04 11:29:20 +00:00
Naz Gargol
977298b6e1
Added basic HTML template support to MEGA ( #11336 )
...
no issue
- Sends formatted email to members
- Added css inlining support for MEGA template
- Migrated MEGA service to use API serializers
- Service needs to be compliant with the API to be able to serve absolute URLs for resources like images
- Fixed send email check for previously sent mails
2019-11-04 17:53:42 +07:00
Renovate Bot
a62f9be0fb
Update dependency metascraper-url to v5.7.17
2019-11-04 10:30:46 +00:00
Renovate Bot
fc23b3418e
Update dependency metascraper-publisher to v5.7.17
2019-11-04 09:30:15 +00:00
Renovate Bot
07915bcf85
Update dependency metascraper-image to v5.7.17
2019-11-04 08:31:27 +00:00
Renovate Bot
d7bd355159
Update dependency metascraper-logo to v5.7.17
2019-11-04 07:29:53 +00:00
Renovate Bot
3714a66ed1
Update dependency metascraper-author to v5.7.17
2019-11-04 06:28:31 +00:00
Renovate Bot
4817679bc4
Update dependency metascraper-description to v5.7.17
2019-11-04 05:28:47 +00:00
Renovate Bot
033f4ecd76
Update dependency metascraper to v5.7.17
2019-11-04 04:30:21 +00:00
Renovate Bot
f29b734feb
Update dependency gscan to v3.1.1
2019-11-04 03:32:02 +00:00
Renovate Bot
708cf6ed02
Update dependency @tryghost/members-ssr to v0.7.2
2019-11-04 02:30:56 +00:00
Renovate Bot
28d3818b97
Update dependency @tryghost/helpers to v1.1.18
2019-11-04 01:28:58 +00:00
renovate[bot]
cfb66ac161
Update dependency oembed-parser to v1.3.5 ( #11124 )
2019-10-30 17:16:38 +01:00
renovate[bot]
da37e3ec61
Update dependency express-session to v1.17.0 ( #11238 )
2019-10-30 16:41:39 +01:00
renovate[bot]
4009911da2
Update dependency grunt-contrib-compress to v1.6.0 ( #11293 )
2019-10-30 16:38:32 +01:00
Kevin Ansfield
314958cbf1
Updated dependency @tryghost/url-utils to v0.6.13
...
no issue
- includes fix for cloudflare `<stream>` embeds breaking after having their URLs transformed
2019-10-30 10:56:48 +00:00
Fabien O'Carroll
804afca51f
Installed @tryghost/members-api@0.8.3
...
no-issue
This improves logging for webhook signature validation
2019-10-30 17:24:04 +07:00
Kevin Ansfield
37e4fd9521
Revert "Update dependency @tryghost/url-utils to v0.6.11"
...
This reverts commit 37e8951fe9
.
- the sub-dependency bump of `moment-timezone` caused another occurrence of https://github.com/tryghost/Ghost/issues/10870
# Conflicts:
# package.json
2019-10-29 14:13:24 +00:00
renovate[bot]
640c4a82f1
Update dependency gscan to v3.1.0 ( #11294 )
2019-10-29 10:00:24 +00:00
renovate[bot]
4023772d12
Update dependency express-hbs to v2.2.0 ( #11292 )
2019-10-29 10:00:05 +00:00
Renovate Bot
2cf3b4f2f1
Update dependency metascraper-title to v5.7.14
2019-10-28 16:44:50 +00:00
Renovate Bot
661d0d784f
Update dependency metascraper-url to v5.7.14
2019-10-28 15:37:39 +00:00
Renovate Bot
ab5662e4b3
Update dependency metascraper-logo-favicon to v5.7.14
2019-10-28 14:37:14 +00:00
Renovate Bot
fbcefeb826
Update dependency metascraper-publisher to v5.7.14
2019-10-28 12:30:54 +00:00
Kevin Ansfield
7284227f1e
🐛 Fixed 404s when using a proxy setup ( #11269 )
...
no issue
When using certain proxy setups that result in `host` and `x-forwarded-host` being different, it became impossible to access Ghost because all routes showed generic 404 pages.
- `vhost` module that we are using to separate front-end and admin urls does not use express' `req.hostname` so it does not pick up the `x-forwarded-host` url that express' `'trust proxy'` config gives us
- switched to the forked `@tryghost/vhost-middleware` package which has a one-line change to use `req.hostname || req.host`
- added `'trust proxy'` config to the admin express app and switched to using `req.hostname` in our redirect code to avoid infinite redirect loops
2019-10-28 11:22:05 +00:00
Renovate Bot
953bd2a2fc
Update dependency metascraper-image to v5.7.14
2019-10-28 10:33:17 +00:00
Renovate Bot
9a8de5acf7
Update dependency metascraper-logo to v5.7.14
2019-10-28 09:32:14 +00:00
Renovate Bot
034b941897
Update dependency metascraper-author to v5.7.14
2019-10-28 08:30:56 +00:00
Renovate Bot
1c43722f5a
Update dependency metascraper-description to v5.7.14
2019-10-28 07:30:37 +00:00
Renovate Bot
b8c80944fd
Update dependency metascraper to v5.7.14
2019-10-28 06:31:17 +00:00
Renovate Bot
ab7609e746
Update dependency gscan to v3.0.1
2019-10-28 05:31:12 +00:00
Renovate Bot
c3123e4864
Update dependency glob to v7.1.5
2019-10-28 04:32:59 +00:00
Renovate Bot
37e8951fe9
Update dependency @tryghost/url-utils to v0.6.11
2019-10-28 02:37:22 +00:00
Renovate Bot
a8ecd9ac6e
Update dependency @tryghost/social-urls to v0.1.4
2019-10-28 01:35:49 +00:00
Nazar Gargol
63c34b08e4
Bumped @tryghost/helpers to 1.1.17
...
- Needed a bump to allow displaying reading_time even when html content is empty but the reading time property is present
2019-10-21 18:07:38 +07:00
Hannah Wolfe
2358c65535
Update dependency gscan to v3.0.0
2019-10-16 19:17:24 +01:00
Fabien O'Carroll
c9c37b0da2
Merge master -> v3 ( #11242 )
...
Merge master -> v3
2019-10-15 17:44:14 +07:00
Renovate Bot
76f7488986
Update dependency @tryghost/social-urls to v0.1.3
2019-10-14 15:28:19 +00:00
Kevin Ansfield
bc8fc566a7
🐛 Fixed markdown card content appearing corrupted when editing a post
...
refs https://github.com/TryGhost/Ghost/issues/11235
- updates `@tryghost/url-utils` to a version with a fixed `markdownRelativeToAbsolute` method
2019-10-14 13:40:53 +01:00
Renovate Bot
3e15b18bc6
Update dependency @tryghost/members-ssr to v0.7.1
2019-10-14 01:23:54 +00:00
Kevin Ansfield
e33c46f3d1
Merge branch 'master' into v3
2019-10-12 19:13:30 +01:00
Kevin Ansfield
0ee46ab7a8
Updated @tryghost/url-utils to v0.6.9
...
no issue
- contains guards to prevent unnecessary processing of markdown and html
2019-10-12 17:48:54 +01:00
Kevin Ansfield
05f348f0fe
Merge branch 'master' into v3
2019-10-11 13:28:19 +01:00
Kevin Ansfield
85a03b19b1
🐛 Fixed errors when saving or importing posts with invalid URLs
...
no issue
- bumped @tryghost/url-utils to a version which catches parsing errors and returns the original url argument
2019-10-11 13:20:24 +01:00
Kevin Ansfield
78e16ddd3f
Merge branch 'master' into v3
2019-10-11 11:31:31 +01:00
Fabien O'Carroll
8b0130193c
Installed @tryghost/members-api@0.8.2
...
no-issue
This version uses HS256 signed tokens for magic-links and provides much
smaller links but requires a 256bit (64 byte) secret
2019-10-11 13:47:48 +07:00
Fabien O'Carroll
6070ebaf02
Installed @tryghost/members-api@0.8.1
...
no-issue
This includes changes to support custom subjects in emails and access to
the email of the recipient in the getHTML and getText functions
2019-10-11 11:45:11 +07:00
Kevin Ansfield
1725f538be
Fixed characters being lost at the end of markdown card content
...
no issue
- bumped @tryghost/url-utils with relevant fix
2019-10-10 16:57:15 +01:00
Kevin Ansfield
7fc10106dc
Merge branch 'master' into v3
2019-10-10 10:37:42 +01:00
Nazar Gargol
ec303e5bec
Bumped @tryghost/helpers to 1.1.14
...
- Needed to support `reading_time` propery available on post/page resources
2019-10-10 15:42:04 +07:00
Nazar Gargol
977fb5f650
Added reading_time property to post/page resources in Content API
2019-10-10 15:42:04 +07:00
Kevin Ansfield
9aca599b60
Updated @tryghost/url-utils
...
no issue
- fixes errors thrown from `urlUtils` method calls where the `itemPath` parameter is not passed
2019-10-09 22:31:04 +01:00
Kevin Ansfield
c6b9193940
Fixed duplicated host in URLs returned from API when saved as relative
...
no issue
- Ghost passes full urls through to the `url-utils` methods as the `itemPath` argument when performing relative->absolute transforms
- `url-utils` was not handling this correctly for page-relative urls (no leading slash) where it resulted in duplicate hosts such as http://mysite.com/http://mysite.com/item-path/relative-path
- bumps version of @tryghost/url-utils to a fixed version
2019-10-09 20:49:51 +01:00
Kevin Ansfield
b01bae7c3d
🐛 Fixed 500 errors when fetching certain posts via the Admin API
...
no issue
- it's possible to have `mobiledoc` that has anchor markups with no `href` attribute, in that situation our url-transformation utilities were throwing errors when generating Admin API output
- bumps `@tryghost/url-utils` with fixed utility functions
2019-10-09 17:21:06 +01:00
Kevin Ansfield
587bd8accb
Merge branch 'master' into v3
2019-10-09 15:04:09 +01:00