Daniel Lockyer
f37a5d3eff
Removed more unnecessary DB queries during init
...
refs d4b10323b7
- as mentioned in the referenced commit, there was another optimization
regarding batching the inserts
- this seems good to me in the end, so I've updated knex-migrator to do this
- this commit bumps knex-migrator to the updated version
- after this change, a `knex-migrator init` goes from 5.5s to 5s locally
and we've removed ~470 DB queries
2021-11-18 18:33:31 +01:00
Daniel Lockyer
d4b10323b7
Reduced unnecessary DB queries during init
...
refs 8d9a561cab
- see referenced commit for context but we were doing unnecessary SELECT
queries when initializing the DB and the commit reduces this by half
- this commit updates `knex-migrator` to that containing the commit
2021-11-18 17:59:40 +01:00
Renovate Bot
9b14f1c22f
Update dependency @tryghost/metrics to v1.0.1
2021-11-18 16:36:48 +01:00
Renovate Bot
0ff7011b0b
Update dependency @tryghost/helpers to v1.1.54
2021-11-18 16:36:04 +01:00
Renovate Bot
1b9ca304ed
Update dependency @tryghost/color-utils to v0.1.5
2021-11-18 16:35:12 +01:00
Renovate Bot
6fad408f2c
Update dependency @tryghost/request to v0.1.9
2021-11-18 16:35:03 +01:00
Renovate Bot
e54f0a644d
Update dependency @tryghost/url-utils to v2.0.4
2021-11-18 14:37:10 +01:00
Renovate Bot
f1ec0c1056
Update dependency cssnano to v5.0.11
2021-11-18 13:41:39 +01:00
Fabien O'Carroll
3d47f2835b
Updated NFT card rendering to include payload
...
refs https://github.com/TryGhost/Team/issues/1211
This adds the payload as a data attribute to the rendered card so that
we can transform the card form HTML back to mobiledoc easily.
2021-11-18 14:30:48 +02:00
Daniel Lockyer
e883d4c4fe
🐛 Fixed credentials provider for SES mail transport
...
refs https://github.com/TryGhost/framework/pull/41
- see the referenced PR for context but Ghost could not authenticate to
SES in containers using IAM because of a missing dependency
- this has been updated in the Nodemailer docs and added in the PR
- the `@tryghost/nodemailer` package has been updated so this commit
bumps it in Ghost
- credits to https://github.com/touzoku for the fix
2021-11-18 11:48:26 +01:00
Fabien O'Carroll
b2172cec5b
Updated NFT card rendering for emails
...
refs https://github.com/TryGhost/Team/issues/1211
This adds custom rendering for nft cards in emails, using tables instead
of flexbox for alignment.
This also updates the button card to add the missing `kg-card` class to
it.
2021-11-17 15:46:11 +02:00
Sam Lord
0692ddf57d
Revert "Replace update user last seen middleware with package version"
...
This reverts commit 07f8c6efbb
.
Revert "Remove unused unit test file"
This reverts commit f1798119d3
.
2021-11-17 11:00:55 +00:00
Renovate Bot
b70ad5b170
Update dependency @tryghost/mw-update-user-last-seen to v0.1.1
2021-11-17 10:46:06 +00:00
Renovate Bot
f930575387
Update dependency gscan to v4.10.2
2021-11-17 10:41:00 +00:00
Rishabh
fdc7f4219f
Added generic class to toggle and callout cards
...
refs https://github.com/TryGhost/Team/issues/1209
2021-11-17 15:45:56 +05:30
Renovate Bot
89b0b6cf5b
Update dependency @sentry/node to v6.15.0
2021-11-16 20:53:05 +00:00
Fabien O'Carroll
d7621405ed
Fixed NFT card rendering
...
refs https://github.com/TryGhost/Team/issues/1211
The nft card rendering has been updated to correctly handle the switch
from card_type to type, and the removal of the html property from the
NFT embed API
2021-11-16 22:49:42 +02:00
Sam Lord
07f8c6efbb
Replace update user last seen middleware with package version
...
no issue
Part of the goal to move these middleware packages to remove untested code from the codebase
2021-11-16 15:58:45 +00:00
Sam Lord
1234a61b52
Mode c8 configuration from package.json to .c8rc.json
...
refs: https://github.com/TryGhost/Toolbox/issues/117
Simplifies the commands in package.json by adding defaults to the .c8rc.json file
2021-11-16 10:22:15 +00:00
Renovate Bot
e8535cec6a
Update metascraper to v5.25.1
2021-11-15 20:06:43 +00:00
Daniel Lockyer
6fd5139372
Merged v4.22.3 into main
...
v4.22.3
2021-11-15 13:44:09 +00:00
Daniel Lockyer
58f7196881
v4.22.3
2021-11-15 13:43:15 +00:00
Rishabh
c3b6e21617
Refined frontend style for toggle cards
...
refs https://github.com/TryGhost/Team/issues/1209
- adds open/close behavior to toggle cards
- updates styling
2021-11-15 16:43:23 +05:30
Fabien O'Carroll
a51524c47c
Added custom Embed card rendering for NFT Embeds
...
refs https://github.com/TryGhost/Team/issues/1211
2021-11-15 10:44:37 +02:00
Daniel Lockyer
ee1fb0d972
v4.22.2
2021-11-12 16:00:25 +00:00
Renovate Bot
f5d46d0da0
Update dependency nock to v13.2.1
2021-11-12 11:26:40 +00:00
Renovate Bot
ef8852c5b6
Update dependency @sentry/node to v6.14.3
2021-11-11 18:59:47 +00:00
Kevin Ansfield
50b51e222c
Added support for parsing Wordpress and Substack button html to button cards
...
refs https://github.com/TryGhost/Team/issues/1214
- bumps @tryghost/html-to-mobiledoc with support for parsing Wordpress/Substack HTML into our button cards
Example Wordpress html:
```html
<div class="wp-block-buttons">
<div class="wp-block-button">
<a href="https://example.com " class="wp-block-button__link">
Testing button
</a>
</div>
</div>
```
Example Substack html:
```html
<a class="button primary" href="https://ghost.org ">
<span>Custom Button</span>
</a>
```
2021-11-11 14:29:15 +00:00
Thibaut Patel
1139b0fdde
Updated the callout card parsing and rendering
...
refs https://github.com/TryGhost/Team/issues/1205
- Adds support for optional enoji and background color
2021-11-10 18:33:21 +01:00
Renovate Bot
b401bc77a2
Update dependency @tryghost/social-urls to v0.1.27
2021-11-10 15:33:19 +00:00
Rishabh
7dcad6d5b5
Added default card for new toggle card
...
refs https://github.com/TryGhost/Team/issues/1209
- bumps koenig default cards to include support for toggle card
- bumps html to mobiledoc library to add support for toggle card
2021-11-10 20:13:42 +05:30
Daniel Lockyer
2f57e0ab6b
Merged v4.22.1 into main
...
v4.22.1
2021-11-10 12:58:49 +00:00
Daniel Lockyer
8fe425e176
v4.22.1
2021-11-10 12:56:23 +00:00
Renovate Bot
edff6e0ef1
Update dependency @tryghost/url-utils to v2.0.3
2021-11-10 10:49:01 +00:00
Renovate Bot
cc650d90cb
Update dependency @tryghost/admin-api-schema to v2.6.1
2021-11-10 08:47:47 +00:00
Renovate Bot
f36b8b5af6
Update dependency @tryghost/color-utils to v0.1.4
2021-11-10 08:47:07 +00:00
Renovate Bot
184e20b4de
Update dependency @tryghost/helpers to v1.1.53
2021-11-10 08:46:50 +00:00
Renovate Bot
710136926d
Update dependency @tryghost/string to v0.1.21
2021-11-10 08:46:40 +00:00
Fabien O'Carroll
4d4e04ea65
🐛 Fixed offers remaining after subscription change
...
refs https://github.com/TryGhost/Team/issues/1092
This ensures that when a subscription is changed by a Member that the
Offer is removed and will no longer apply.
2021-11-10 08:41:09 +00:00
Thibaut Patel
ea525e20a5
Updated callout card
...
refs https://github.com/TryGhost/Team/issues/1205
- Updated the rendered callout card to match the callout card from the admin interface
2021-11-09 21:47:03 +01:00
renovate[bot]
ced7b858dd
Update dependency @tryghost/members-offers to v0.10.2 ( #13718 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-09 14:32:35 +02:00
Naz
ce63b87b2e
🐛 Fixed extention missmatching .mp4 as invalid
...
refs https://github.com/TryGhost/Toolbox/issues/120
- When a file name with an .mp4 extension was passed in it was mistakenly taken as an invalid extension. It is pretty valid!
- Fixing this bug allows for for duplicate file detection when uploading valid valies with extensions containing numbers
- Extensions that consiste only from numbers are still treated as invalid
2021-11-09 16:07:23 +04:00
Kevin Ansfield
3150142b2f
Updated button card frontend+email render output
...
refs https://github.com/TryGhost/Team/issues/1207
- uses koenig-specific classes to avoid clashes with theme CSS
- fixes email rendering by using table alignment
2021-11-09 10:44:18 +00:00
Thibaut Patel
bfaccadd4e
Added initial callout card rendering
...
refs https://github.com/TryGhost/Team/issues/1205
- bumped rendering library to the version with `callout` card support
2021-11-09 10:36:51 +01:00
Fabien O'Carroll
3017f9d50c
🐛 Fixed offers remaining after subscription change
...
refs https://github.com/TryGhost/Team/issues/1092
This ensures that when a subscription is changed by a Member that the
Offer is removed and will no longer apply.
2021-11-09 11:22:04 +02:00
Renovate Bot
6b2cbe5c18
Update dependency luxon to v2.1.1
2021-11-08 22:35:35 +00:00
Kevin Ansfield
3a2bf93173
Added initial button card rendering and parsing support
...
refs https://github.com/TryGhost/Team/issues/1207
- bumped rendering and parsing libraries to versions with `button` card support
2021-11-08 18:33:26 +00:00
renovate[bot]
b7d8d70ccf
Update dependency @tryghost/members-api to v2.7.3 ( #13717 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-08 12:40:17 +02:00
Renovate Bot
13d282fb94
Update dependency cssnano to v5.0.10
2021-11-08 08:30:43 +00:00
Renovate Bot
6ad0ac4103
Update dependency nock to v13.2.0
2021-11-08 08:30:30 +00:00