Ghost/core/server/api/v3
Kevin Ansfield 2c96df42ac
Added paywall card to mark end of free content preview (#12663)
closes https://github.com/TryGhost/Team/issues/466

- upgraded kg-default-cards to include paywall card
- extracted `htmlToPlaintext` from post model to shared util for re-use
- updated post-gating to set html+plaintext to the free preview if a paywall card has been used
  - re-generates plaintext from the truncated html using `htmlToPlaintext` util
- display free content in the `{{content}}` helper via the default CTA template
2021-02-17 23:00:26 +00:00
..
utils Added paywall card to mark end of free content preview (#12663) 2021-02-17 23:00:26 +00:00
actions.js 💡 Split the v3 endpoint from the canary endpoint 2021-01-22 16:32:03 +13:00
authentication.js 💡 Split the v3 endpoint from the canary endpoint 2021-01-22 16:32:03 +13:00
authors-public.js 💡 Split the v3 endpoint from the canary endpoint 2021-01-22 16:32:03 +13:00
config.js 💡 Split the v3 endpoint from the canary endpoint 2021-01-22 16:32:03 +13:00
db.js 💡 Split the v3 endpoint from the canary endpoint 2021-01-22 16:32:03 +13:00
email-preview.js 💡 Split the v3 endpoint from the canary endpoint 2021-01-22 16:32:03 +13:00
email.js 💡 Split the v3 endpoint from the canary endpoint 2021-01-22 16:32:03 +13:00
identities.js 💡 Split the v3 endpoint from the canary endpoint 2021-01-22 16:32:03 +13:00
images.js 💡 Split the v3 endpoint from the canary endpoint 2021-01-22 16:32:03 +13:00
index.js 💡 Split the v3 endpoint from the canary endpoint 2021-01-22 16:32:03 +13:00
integrations.js 💡 Split the v3 endpoint from the canary endpoint 2021-01-22 16:32:03 +13:00
invites.js 💡 Split the v3 endpoint from the canary endpoint 2021-01-22 16:32:03 +13:00
labels.js 💡 Split the v3 endpoint from the canary endpoint 2021-01-22 16:32:03 +13:00
mail.js 💡 Split the v3 endpoint from the canary endpoint 2021-01-22 16:32:03 +13:00
members.js Updated Admin API and Mega to use status flag (#12579) 2021-02-02 16:12:51 +00:00
memberSigninUrls.js 💡 Split the v3 endpoint from the canary endpoint 2021-01-22 16:32:03 +13:00
membersStripeConnect.js 💡 Split the v3 endpoint from the canary endpoint 2021-01-22 16:32:03 +13:00
notifications.js 💡 Split the v3 endpoint from the canary endpoint 2021-01-22 16:32:03 +13:00
oembed.js 💡 Split the v3 endpoint from the canary endpoint 2021-01-22 16:32:03 +13:00
pages-public.js 💡 Split the v3 endpoint from the canary endpoint 2021-01-22 16:32:03 +13:00
pages.js 💡 Split the v3 endpoint from the canary endpoint 2021-01-22 16:32:03 +13:00
posts-public.js 💡 Split the v3 endpoint from the canary endpoint 2021-01-22 16:32:03 +13:00
posts.js 💡 Split the v3 endpoint from the canary endpoint 2021-01-22 16:32:03 +13:00
preview.js 💡 Split the v3 endpoint from the canary endpoint 2021-01-22 16:32:03 +13:00
redirects.js 💡 Split the v3 endpoint from the canary endpoint 2021-01-22 16:32:03 +13:00
roles.js 💡 Split the v3 endpoint from the canary endpoint 2021-01-22 16:32:03 +13:00
schedules.js 💡 Split the v3 endpoint from the canary endpoint 2021-01-22 16:32:03 +13:00
session.js 💡 Split the v3 endpoint from the canary endpoint 2021-01-22 16:32:03 +13:00
settings-public.js 💡 Split the v3 endpoint from the canary endpoint 2021-01-22 16:32:03 +13:00
settings.js Refactored usage of the pre v4 "slack" setting 2021-02-15 15:25:54 +13:00
site.js 💡 Split the v3 endpoint from the canary endpoint 2021-01-22 16:32:03 +13:00
slack.js 💡 Split the v3 endpoint from the canary endpoint 2021-01-22 16:32:03 +13:00
slugs.js 💡 Split the v3 endpoint from the canary endpoint 2021-01-22 16:32:03 +13:00
snippets.js 💡 Split the v3 endpoint from the canary endpoint 2021-01-22 16:32:03 +13:00
tags-public.js 💡 Split the v3 endpoint from the canary endpoint 2021-01-22 16:32:03 +13:00
tags.js 💡 Split the v3 endpoint from the canary endpoint 2021-01-22 16:32:03 +13:00
themes.js 💡 Split the v3 endpoint from the canary endpoint 2021-01-22 16:32:03 +13:00
users.js 💡 Split the v3 endpoint from the canary endpoint 2021-01-22 16:32:03 +13:00
webhooks.js 💡 Split the v3 endpoint from the canary endpoint 2021-01-22 16:32:03 +13:00