Commit Graph

10130 Commits

Author SHA1 Message Date
Fabien O'Carroll
80e1530f7e Converted has helper imports to individual const
no-issue
2019-10-28 10:55:14 +00:00
Fabien O'Carroll
d78cbed84d 🐛 Fixed error from has helper w/o dependent data
no-issue

Usage of the has helper like `{{#has 'author:count>1'}}` when the
current context does not have the dependent data (in this case
`authors`) would error, because it could not read property length of
undefined.
2019-10-28 10:55:14 +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
7f47b0a918 Update dependency bluebird to v3.7.1 2019-10-28 03:31:40 +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
Naz Gargol
518f2ccd82
🐛 Fixed incorrect body class output on page (#11264)
closes #11262
refs #10042

- Fixed issue where using {{body_class}} helper on a "page" type of a page was outputting `post-template` instead of `page-template`
- The issue was caused by this change 7dc38e2078 (diff-c33149d31de747bc5fbefcaf7a44da79L67-L72)
- Updated the comment to have real context of why this if is here
- Added test coverage for .page-template class
2019-10-23 18:06:45 +02:00
Fabien O'Carroll
f4cadc0709 Version bump to 3.0.0 2019-10-21 22:41:48 +07:00
Fabien O'Carroll
a789431dfa Updated Ghost-Admin to 3.0.0 2019-10-21 22:41:48 +07:00
Fabien O'Carroll
c7c9986c79 Updated Casper to 3.0.0 2019-10-21 22:41:48 +07:00
Fabien O'Carroll
c800f646ef Updated minimum ghost-cli version in engines
no-issue

ghost-cli@1.12.0 adds support for Ghost 3.0
2019-10-21 21:41:16 +07:00
Fabien O'Carroll
ccc7028d0e Version bump to 3.0.0-beta.8 2019-10-21 18:34:46 +07:00
Fabien O'Carroll
74044190ff Updated Ghost-Admin to 3.0.0-beta.8 2019-10-21 18:34:46 +07:00
Fabien O'Carroll
5c4980c084 Updated Casper to 3.0.0-beta.8 2019-10-21 18:34:46 +07: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
Nazar Gargol
5760395e92 Fixed reading_time calculation for non public posts
no issue

- The calculation of reading time has to happen before html field is sanitized for members plan.
2019-10-21 18:07:38 +07:00
Fabien O'Carroll
95543b0461
Added price data to templates (#11259)
no-issue

This is p. damn hacky!!
This exports `{{@price.monthly}}` and `{{@price.yearly}}` to the theme
so that we can have dynamic payment pages
2019-10-21 17:50:54 +07:00
Fabien O'Carroll
1114f85d66 Version bump to 3.0.0-beta.7 2019-10-21 13:05:33 +07:00
Fabien O'Carroll
870b12ca2e Updated Ghost-Admin to 3.0.0-beta.7 2019-10-21 13:05:33 +07:00
Fabien O'Carroll
f3324a36b9 Updated Casper to 3.0.0-beta.7 2019-10-21 13:05:33 +07:00
Fabien O'Carroll
2e8d3b417d
Merged v3 to master (#11256)
no-issue
2019-10-21 12:52:32 +07:00
Fabien O'Carroll
f7d0bad49b
Merge branch 'master' into v3 2019-10-21 12:29:57 +07:00
Rish
d3c96ac04e Fixed filter in url config for posts
no issue

We use `visibility:public` filter for post url config for all API versions, which causes any post with non-public visibility to not get added in resource list. This means every time on server start/restart, fetching posts in theme will exclude any post not having `visibility:public` as it won't have a corresponding url resource added.

This fix was previously committed to master here - ff13821b27 - but got overwritten during `master` ->`v3` merge somewhere causing weird behavior with member posts on v3.
2019-10-21 12:20:39 +07:00
Rish
8e21ae0ce6 Version bump to 3.0.0-beta.6 2019-10-20 16:11:09 +05:30
Rish
082718d236 Updated Ghost-Admin to 3.0.0-beta.6 2019-10-20 16:11:09 +05:30
Rish
0f416118cb Updated Casper to 3.0.0-beta.6 2019-10-20 16:11:09 +05:30
Rish
80018286ce Version bump to 3.0.0-beta.5 2019-10-20 14:19:55 +05:30
Rish
38d7030708 Updated Ghost-Admin to 3.0.0-beta.5 2019-10-20 14:19:55 +05:30
Rish
1ddb5e02c5 Updated Casper to 3.0.0-beta.5 2019-10-20 14:19:55 +05:30
Rish
23a01dd1e9 Version bump to 3.0.0-beta.4 2019-10-19 18:40:27 +05:30
Rish
1e1b704675 Updated Ghost-Admin to 3.0.0-beta.4 2019-10-19 18:40:27 +05:30
Rish
1867525977 Updated Casper to 3.0.0-beta.4 2019-10-19 18:40:27 +05:30
Fabien O'Carroll
bf43b98c15 Version bump to 3.0.0-beta.3 2019-10-18 19:30:44 +07:00
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