Commit Graph

10091 Commits

Author SHA1 Message Date
Fabien O'Carroll
acd7376803 Updated Ghost-Admin to 3.0.0-beta.3 2019-10-18 19:30:44 +07:00
Fabien O'Carroll
71782e2114 Updated Casper to 3.0.0-beta.3 2019-10-18 19:30:44 +07:00
Fabien O'Carroll
5a7a57a447 Version bump to 3.0.0-beta.2 2019-10-17 18:53:17 +07:00
Fabien O'Carroll
3c31820468 Updated Ghost-Admin to 3.0.0-beta.2 2019-10-17 18:53:17 +07:00
Fabien O'Carroll
e96fa2485c Updated Casper to 3.0.0-beta.2 2019-10-17 18:53:17 +07:00
Fabien O'Carroll
b5302157fe Version bump to 3.0.0-beta.1 2019-10-17 17:36:15 +07:00
Fabien O'Carroll
a3b4ced241 Updated Ghost-Admin to 3.0.0-beta.1 2019-10-17 17:36:15 +07:00
Fabien O'Carroll
a500c3761f Added migration for subscriber labs flag
no-issue
2019-10-17 16:58:46 +07:00
Fabien O'Carroll
1fb41e1946 Removed superfluous space from filename
no-issue
2019-10-17 16:58:46 +07:00
Naz Gargol
f1fa74b5c4
💄Updated fixtures for Ghost v3 content + assets (#11247)
no issue 

- Updated post images and content
- Updated default blog cover asset
- Updated default Ghost user avatar
2019-10-17 10:49:30 +02:00
Fabien O'Carroll
8ab1d3fae9 Fixed test for updated favicon
no-issue
2019-10-17 13:20:09 +07:00
Peter Zimon
ce2e2e3834 Updated default publication icon
no issue
2019-10-17 07:59:21 +02:00
Rishabh Garg
d8e65d46e9
Updated post model queries to raw knex queries (#11246)
no issue

We split `posts` table into 2 in v3 with a new `posts_meta` table. Since migrations always use the version of code which is being migrated to - in this case the Post model - which in v3 relies on the posts_meta table, `2.x` migrations relying on post model will fail as it doesn't exist in the expected state. This PR updates all 2.x migrations using `models.Post` to use knex queries directly to access database and perform operations.
2019-10-17 10:36:18 +05:30
Hannah Wolfe
2358c65535 Update dependency gscan to v3.0.0 2019-10-16 19:17:24 +01:00
John O'Nolan
64d028f8a6
Ghost 3.0 2019-10-16 19:26:07 +07:00
John O'Nolan
4958b01918
Ghost 3.0 2019-10-16 19:23:24 +07:00
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