Commit Graph

2071 Commits

Author SHA1 Message Date
Daniel Lockyer
a59a626c74
Updated lockfile
no issue

- this change seems to have been missed somewhere
2021-12-03 10:34:44 +00:00
renovate[bot]
917c39254d
Added CSS rules for new toggle card
refs https://github.com/TryGhost/Team/issues/1209
2021-12-03 15:35:52 +05:30
Renovate Bot
c77ce44380 Update dependency @tryghost/logging to v1.0.2 2021-12-03 10:04:55 +00:00
Renovate Bot
649b47d7ab Update dependency @tryghost/package-json to v1.0.12 2021-12-03 10:04:04 +00:00
Renovate Bot
04469b9ab3 Update dependency @tryghost/minifier to v0.1.7 2021-12-03 10:02:40 +00:00
Renovate Bot
4118755b07 Update dependency @tryghost/request to v0.1.10 2021-12-03 10:02:33 +00:00
Renovate Bot
a23476cc09 Update dependency @tryghost/session-service to v0.1.34 2021-12-03 10:02:25 +00:00
Renovate Bot
0f5d2fece2 Update dependency @tryghost/html-to-mobiledoc to v1.4.1 2021-12-03 09:53:32 +00:00
Renovate Bot
2e7cf138fc Update dependency @tryghost/email-analytics-provider-mailgun to v1.0.6 2021-12-03 09:51:26 +00:00
Renovate Bot
cb628c81ce Update dependency @tryghost/job-manager to v0.8.16 2021-12-03 09:50:49 +00:00
Renovate Bot
d19b42049c Update dependency @tryghost/limit-service to v1.0.6 2021-12-03 09:13:19 +00:00
Renovate Bot
c5beace311 Update dependency @tryghost/adapter-manager to v0.2.24 2021-12-03 09:11:03 +00:00
Renovate Bot
976712606e Update dependency @tryghost/bootstrap-socket to v0.2.14 2021-12-03 09:10:57 +00:00
Renovate Bot
85941b2f80 Update dependency @tryghost/image-transform to v1.0.24 2021-12-03 09:10:51 +00:00
Renovate Bot
2910fde12a Update dependency @tryghost/members-ssr to v1.0.16 2021-12-03 10:29:01 +02:00
Renovate Bot
6fed677269 Update dependency @tryghost/members-api to v2.8.4 2021-12-03 10:27:40 +02:00
Rishabh
6fdec9cf54 Updated url transforms for toggle card
refs https://github.com/TryGhost/Team/issues/1209
2021-12-03 01:17:08 +05:30
Rishabh
a1c1a62e50 Added basic theme UI for audio cards
refs https://github.com/TryGhost/Team/issues/1230
2021-12-02 15:23:36 +05:30
Renovate Bot
894e1049fe
Update dependency eslint-plugin-ghost to v2.11.0 2021-12-01 20:17:05 +00:00
Renovate Bot
d7ac48c69c
Update metascraper to v5.25.4 2021-12-01 18:54:11 +00:00
Fabien egg O'Carroll
337f1bacc3 🐛 Fixed 500 errors for Stripe webhooks
refs https://github.com/TryGhost/Team/issues/789

We are still having issues with duplicate subscriptiosn being inserted
and are unable to determine why. We are now catching these DB errors and
responding with a 409 Conflict rather than 500 Internal Server Error.

This buys us some time to solve the underlying problem, whilst not
alerting on-call engineers.
2021-12-01 20:49:49 +02:00
Renovate Bot
a41d6e9a5e Update dependency @tryghost/job-manager to v0.8.15 2021-12-01 17:56:11 +00:00
Renovate Bot
1cfd873163 Update dependency @tryghost/nodemailer to v0.3.8 2021-12-01 17:56:00 +00:00
Renovate Bot
ceb93d00f4 Update dependency @tryghost/validator to v0.1.9 2021-12-01 17:55:46 +00:00
Renovate Bot
1bcec67ca2 Update dependency @tryghost/bookshelf-plugins to v0.3.5 2021-12-01 17:09:03 +00:00
Renovate Bot
af84ecae2d Update dependency @tryghost/minifier to v0.1.6 2021-12-01 17:08:42 +00:00
Renovate Bot
b6bbd607b4 Update dependency @tryghost/limit-service to v1.0.5 2021-12-01 17:08:11 +00:00
Renovate Bot
4505a150c2 Update dependency @tryghost/image-transform to v1.0.23 2021-12-01 17:07:47 +00:00
Renovate Bot
9def771db6 Update dependency @tryghost/adapter-manager to v0.2.23 2021-12-01 17:07:37 +00:00
Renovate Bot
286ccc586d Update dependency @tryghost/package-json to v1.0.11 2021-12-01 17:07:19 +00:00
Renovate Bot
e3ed6ddd07 Update dependency @tryghost/session-service to v0.1.33 2021-12-01 17:07:09 +00:00
Thibaut Patel
2da2c99e86 Updated callout card css classes
no refs

- Updated the css classes from `kg-card-callout*` to `kg-callout-card*` for the callout card. This improves consistency with the other cards' css.
2021-12-01 16:48:42 +01:00
Fabien egg O'Carroll
3a263b08eb 🐛 Fixed Member imports overriding missing columns
refs https://github.com/TryGhost/Team/issues/1202

We were storing all possible columns for a member, rather than the ones
sent up in the CSV - this was causing updates to existing members to
have their data removed. This fix means that we only store the columns
that were sent up in the CSV - so that missing columns are not affected.
2021-12-01 17:19:18 +02:00
Kevin Ansfield
fd28218a40 Added theme CSS checks for button and nft cards
no issue

- bumps `gscan` with additional checks and a correction to error messages for missing CSS
2021-12-01 15:12:00 +00:00
Renovate Bot
5d9bd6f441 Update dependency @tryghost/express-dynamic-redirects to v0.2.2 2021-12-02 04:05:51 +13:00
Rishabh
b1b0657959 🐛 Fixed 500 webhook errors for subscription with multiple prices
closes TryGhost/Team#1238

- previously returned 500 errors when a subscription had invalid number of prices due to external tampering on Stripe directly
- instead now returns 400 Bad Request error when subscriptions don't have right number of prices
2021-12-01 20:29:25 +05:30
Sam Lord
18b8eddd0d Added linting for use of @tryghost/errors
refs: https://github.com/TryGhost/Toolbox/issues/147
Errors in @tryghost/errors rely on being called with an object (with a `message` member) rather than with a string.
2021-12-01 11:22:21 +00:00
Fabien egg O'Carroll
5e0374cfde Used new paid signup email when auto-login is enabled
refs https://github.com/TryGhost/Team/issues/1067
refs https://github.com/TryGhost/Ghost/commit/579b34434

This is behind the feature flag so that it can be tested & checked by
product before rolling out.
2021-12-01 13:19:18 +02:00
Sam Lord
2887e416da
Switch to @tryghost/errors from ignition errors package (#13807)
refs: TryGhost/Toolbox#147

* Replaces all references to isIgnitionError with isGhostError
* Switches use of GhostError to InternalServerError - as GhostError is no longer public
There are places where InternalServerError is not the valid error, and new errors should be added to the @tryghost/errors package to ensure that we can use semantically correct errors in those cases.
2021-12-01 10:22:01 +00:00
Thibaut Patel
8364ef80fe Updated a gscan custom setting rule description
no refs

- In the custom theme settings, the `color` default error was saying `null` and empty string values were allowed. They weren't. The description is now fixed
2021-12-01 10:03:20 +01:00
Fabien egg O'Carroll
c55a138a58 Removed invalid subscriptions from BREAD API
refs https://github.com/TryGhost/Team/issues/1243

When invalid subscriptions without any price data are included in the
API, we are faced with errors due to the data being in an undefined
state. This updates the API to not respond with these invalid
subscriptions.
2021-12-01 11:00:01 +02:00
Fabien egg O'Carroll
e6856f6ac6 Initial custom embed provider for Twitter
refs https://github.com/TryGhost/Team/issues/1001

We fall back to existing behaviour if no API key is present, or if there
is an error communicating with the Twitter API. We're also currently
requesting all the data, which will be thinned down once we understand
what we need.

This also includes a custom renderer for embeds of type "twitter" which
will be used to output the custom HTML for emails
2021-11-30 12:58:25 +02:00
Renovate Bot
f66800c92e Update CSS preprocessors 2021-11-30 09:41:40 +01:00
Sam Lord
a21b91cc71 Added lint rules for migrations
refs: https://github.com/TryGhost/Toolbox/issues/105

Lint rules prevent:

* Invalid naming conventions for new migrations
* Loop constructs in migrations - these should be used with caution
and are therefore a warning rule, use `// eslint-disable-next-line
no-restricted-syntax` to prevent this rule from firing where a loop is
required
* Returing within a loop - this is usually meant to be a
continue/break
* Multiple joins - these can be badly performing migrations, so should
be treated with caution, disable the rule for the line if the risk is
understood / the migration cannot be written without it
2021-11-29 16:21:43 +00:00
Kevin Ansfield
fedbfb3c67 Added alt-style blockquote support when creating posts using HTML
refs https://github.com/TryGhost/Team/issues/1239

- bumps `@tryghost/html-to-mobiledoc` that uses a new parser plugin for transforming `<blockquote class="kg-blockquote-alt">` to an `aside` section in mobiledoc as that's what we use as a workaround for storing alternative blockquote style
2021-11-29 11:43:53 +00:00
Kevin Ansfield
409fe5dd18 Added rendering of alternative style blockquotes
refs https://github.com/TryGhost/Team/issues/1239

- bumps `@tryghost/kg-mobiledoc-html-renderer` which changes rendering of previously-unused `<aside>` sections as `<blockquote class="kg-blockquote-alt kg-width-wide">`
2021-11-29 10:04:25 +00:00
Renovate Bot
6f4346d4a2
Lock file maintenance 2021-11-29 00:33:05 +00:00
Renovate Bot
59f6521f19
Update dependency eslint-plugin-ghost to v2.8.0 2021-11-25 17:21:43 +00:00
Thibaut Patel
3a9b70412a Added callout card css warning to gscan
refs https://github.com/TryGhost/Team/issues/1206

- This add a warning when the `card_asset` config is set so that Ghost doesn't include the callout card css AND the callout card css isn't in the theme
- The update also contains a fix to correctly detect partials named `fill`
- The update also improves the error content when gscan finds an unkown partial
2021-11-25 16:57:07 +01:00
Daniel Lockyer
d92eebd74e
Merged v4.23.0 into main
v4.23.0
2021-11-25 12:18:12 +01:00