Nazar Gargol
c34c8e9611
Anchored gscan rules to be checked against v2 rules
...
no issue
- This allows to bump gscan version in the future without breaking changes. The rule set will stay the same across versions
2019-10-16 13:05:51 +02:00
Fabien O'Carroll
7c4f177fee
Added missing page prop to v2 Content API posts
...
no-issue
We have to wrap this in a check to make sure that `page` property is
only returned if either:
A) No `fields` param is passed (send back all fields)
B) `fields` param is passed AND it includes the `page` field
2019-10-16 15:44:05 +07:00
Fabien O'Carroll
38a05c0393
Fixed regression test for page
property
...
no-issue
We have to manually add the page property since the schema no longer
includes it
2019-10-16 15:44:05 +07:00
Fabien O'Carroll
9a3bd55886
Updated fixture integrity hash
...
no-issue
2019-10-16 14:22:42 +07:00
John O'Nolan
055f129059
Correct Twitter username
2019-10-16 14:22:42 +07:00
Peter Zimon
cac8c4a3e7
Refined member emails
...
no issues
- refined typography and spacing for member signup, singin and subscribe emails
2019-10-16 14:22:42 +07:00
Fabien O'Carroll
d6b0db39c0
Added access property to entries for v3+ api
...
no-issue
This is done at the theme layer so that we do not introduce new concepts
to the api which may go away very quickly due to the beta status of
members.
2019-10-16 14:15:52 +07:00
Hannah Wolfe
fb072395ac
Reduced API debug statements
...
- outputting so much information makes debug less useful
- node debugger should be used for tracing values through the system,
debug() is for more generally following logic and timing
- removed debugs that output large objects
- added consistent debugs for api methods
- a couple of other tweaks for easier understanding of what's happening on a request
2019-10-15 15:07:38 +01:00
Peter Zimon
9ca367f019
Refined member emails
...
no issues
- refined typography and spacing for member signup, singin and subscribe emails
2019-10-15 13:34:52 +02: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
Nazar Gargol
634a9160a8
Fixed test suite timeout for multi-author posts
...
no issue
- The timeout has been triggered due to lot's (25) of posts being inserted into the databse , which took over 20 000ms on Travis.
- We don't need to insert this many posts in the first place to test the case
- The reason why it is taking longer to do the insertion operation then before should be investigated separately
2019-10-14 16:11:10 +02:00
Kevin Ansfield
ceb9284cac
Version bump to 2.37.0
2019-10-14 13:50:10 +01:00
Kevin Ansfield
8e2ed1d5b0
Updated Ghost-Admin to 2.37.0
2019-10-14 13:50:10 +01: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
Rishabh Garg
1e9d4875f5
Added new member subscription settings ( #11240 )
...
no issue
We added 2 new member subscription settings - `allowSelfSignup` and `fromAddress`- with defaults as `true` and `noreply`, this migration sets default values for both settings for users migrating from previous version and cleans up intermediate naming for `allowSelfSignup`.
2019-10-14 16:58:15 +05:30
Nazar Gargol
84d40983d2
Unskipped fixed test
...
no issue
- The test was fixed with 4a10ddc8fa
2019-10-14 12:21:26 +02:00
Fabien O'Carroll
20a6ad1ea6
Added member.added and member.deleted webhooks
...
no-issue
2019-10-14 15:50:24 +07:00
Fabien O'Carroll
5fb05e970c
Updated webhook default to v3 api
...
no-issue
There are no members serializers on the v2 api
2019-10-14 15:50:24 +07:00
Fabien O'Carroll
d680f33f10
Removed unused members getter
...
no-issue
This would have errored when used
2019-10-14 15:50:24 +07:00
Fabien O'Carroll
94b261759e
Added added and deleted events to member model
...
no-issue
These can be used to trigger webhooks
2019-10-14 15:50:24 +07:00
Fabien O'Carroll
df8a67a9ca
Enabled members by default ( #11190 )
...
no-issue
This removes the need for `enableDeveloperExperiments` flag for members
2019-10-14 08:34:04 +05:30
Renovate Bot
3e15b18bc6
Update dependency @tryghost/members-ssr to v0.7.1
2019-10-14 01:23:54 +00:00
John O'Nolan
29d5fe7c91
Update aggregate download count
2019-10-13 10:59:59 +07: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
4bdaa16792
Fixed tests
2019-10-11 13:45: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
8aa3b40fd6
Fixed tests
2019-10-11 13:16:54 +01:00
Rish
dc6d768a6d
Version bump to 2.36.0
2019-10-11 16:59:08 +05:30
Rish
0a75921a53
Updated Ghost-Admin to 2.36.0
2019-10-11 16:59:08 +05:30
Kevin Ansfield
78e16ddd3f
Merge branch 'master' into v3
2019-10-11 11:31:31 +01:00
Rishabh Garg
fb1d11c09a
Fixed subscribers migration to work without model ( #11227 )
...
no issue
Since we removed subscribers code in v3, we cannot use `models.Subscribers` for migration, and instead switch to using db directly for fetching existing subscribers before migrating them to members.
2019-10-11 10:43:18 +01:00
Rish
cd02fd5c63
Renamed member requirePayment setting
...
no issue
Renames member setting `requirePaymentForSignup` -> `allowSelfSignup` to match members API usage
2019-10-11 14:08:31 +05:30
Fabien O'Carroll
85d83b4f08
Fixed regression test for canary content api
...
no-issue
We now return the visibility field on the content api
2019-10-11 14:14:46 +07:00
Fabien O'Carroll
3eb4427888
Exposed visibility prop for posts on canary api ( #11229 )
...
no-issue
This is required by the theme layer to style member only posts
differently
2019-10-11 13:58:50 +07:00
Fabien O'Carroll
95fa815eb3
Improved settings model tests
...
no-issue
This makes them way less brittle and reliant on correctly indexing an array
2019-10-11 13:47:48 +07:00
Fabien O'Carroll
1500881923
Renamed getRequirePaymentSetting
...
no-issue
The negation before this function call was a little easy to miss for me
2019-10-11 13:47:48 +07:00
Fabien O'Carroll
0c602976c0
Passed members_email_auth_secret to members-api
...
no-issue
2019-10-11 13:47:48 +07:00
Fabien O'Carroll
cbb13904b8
Added members_email_auth_secret setting
...
no-issue
This will be used for signing HS256 JWTs it's a 64 byte (256 bit) hex
string
2019-10-11 13:47:48 +07: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
ef5e6f7e5b
Removed text-transform: capitalize from buttons
...
no-issue
Button text should be sentence case not title case
2019-10-11 11:45:11 +07:00
Fabien O'Carroll
527632f287
Updated members email templates
...
no-issue
These changes fix come colors and styles
2019-10-11 11:45:11 +07:00
Fabien O'Carroll
3062ec7690
Wired up members plaintext emails
...
no-issue
2019-10-11 11:45:11 +07:00
Fabien O'Carroll
257bebbb39
Wired up the members emails templates
...
no-issue
2019-10-11 11:45:11 +07:00
Fabien O'Carroll
f4d202d7c5
Added member email templates
...
no-issue
2019-10-11 11:45:11 +07:00
Fabien O'Carroll
98f27c1c33
Added getSubject function for members emails
...
no-issue
2019-10-11 11:45:11 +07:00
Fabien O'Carroll
6f160518d1
Ensured that members emails include our text version
...
no-issue
2019-10-11 11:45:11 +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