Commit Graph

1265 Commits

Author SHA1 Message Date
Naz
12a1c60424 Added custom worker message handler
refs https://github.com/TryGhost/Ghost/issues/12496

- Handling logging in the main thread avoids file handle leaks which happen due to leaky implementation of bunyan logger (see referenced issue for more context)
- Bumped job-manager version to allow for `workerMessageHandler` callback funciton
2021-02-22 20:02:00 +13:00
Renovate Bot
b5f1c3ef6e Update dependency @tryghost/members-csv to v0.4.5 2021-02-19 16:18:18 +00:00
Hannah Wolfe
481e2425af Finalised new boot process
- This commit removes the old boot process and any files that are no longer needed as a result
- Remove the duplicate event for triggering inactive themes to load
- Tidied up a few other bits
2021-02-19 13:15:12 +00:00
Renovate Bot
ab65f70ef1
Update dependency ghost-ignition to v4.4.4 2021-02-19 04:41:24 +00:00
Renovate Bot
cda68d21a3
Update dependency @sentry/node to v6.2.0 2021-02-18 21:59:02 +00:00
Kevin Ansfield
074ce4efb0 Added native lazy loading behaviour to content images
refs https://github.com/TryGhost/Ghost/issues/1325

- updated `kg-default-cards` to version that includes lazy loading attributes on image and gallery card output
- updated `kg-markdown-html-renderer` to version that includes lazy loading attributes on markdown images
2021-02-18 18:53:35 +00:00
renovate[bot]
9c0ecd7214
Update dependency @tryghost/members-api to v1.0.0-rc.3 (#12668)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-02-18 11:51:08 +00:00
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
Kevin Ansfield
ac1bfe93b8 Added support for links in image and gallery cards
closes https://github.com/TryGhost/Team/issues/465

- updates image and gallery card renderers with support for links
- UI for setting links added in deadfffbc4
2021-02-16 22:18:10 +00:00
Kevin Ansfield
4516577c3e Added width & height attributes to image card html
refs https://github.com/TryGhost/Team/issues/221

- adds width and height attributes back to html output for images
- previously added and later removed because it's a potentially breaking change for themes, now we're on a major we can re-introduce it
2021-02-16 16:00:02 +00:00
renovate[bot]
0dc7c97cbb
Update dependency @tryghost/members-api to v1.0.0-rc.2 (#12653)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-02-16 15:21:08 +00:00
Renovate Bot
9c0a1da9db
Update dependency eslint to v7.20.0 2021-02-16 12:50:23 +00:00
Kevin Ansfield
f6e7dac7bb Improved header id auto generation for newly created content
refs https://github.com/TryGhost/Ghost/issues/12646

- bumps mobiledoc and markdown renderer versions with [new header id algorithms](5f0c2fb8bc)

Uses the newly added [`ghostVersion` support](0eadc22ddd) to conditionally switch to new header id behaviour when rendering 4.0 or later mobiledoc.

- rather than trying unsuccessfully to "improve" readability of anchor links by removing or replacing chars the anchor ID generation will now strip certain special chars, replace spaces with `-` and then url-encode the header text
  - ids in source code will have percent-encoding but when links or urls are displayed by browsers they will appear as native characters
  - relies on native browser behaviour so all languages are supported
2021-02-16 11:05:21 +00:00
Renovate Bot
b707131bb7
Update dependency mocha to v8.3.0 2021-02-11 19:44:24 +00:00
Renovate Bot
33c4d0030d Update dependency js-yaml to v4 2021-02-10 11:39:30 +00:00
Daniel Lockyer
6d70c0451c
Removed unused ajv dependency
no issue

- this doesn't seem to be used and is instead used in the
  @tryghost/admin-api-schema package, so it is not needed here
2021-02-10 11:30:08 +00:00
Renovate Bot
8c77f4531d Update dependency @tryghost/errors to v0.2.8 2021-02-10 10:32:08 +00:00
Renovate Bot
1be6817b0e Update dependency knex to v0.21.17 2021-02-10 09:33:29 +00:00
Renovate Bot
0717c53296 Update dependency @tryghost/security to v0.2.5 2021-02-10 09:32:53 +00:00
Renovate Bot
3ef018949d Update dependency @tryghost/constants to v0.1.5 2021-02-10 09:32:30 +00:00
Renovate Bot
f1cf7b125f
Update dependency @tryghost/zip to v1.1.9 2021-02-09 17:37:40 +00:00
Daniel Lockyer
33f60e27c3
Updated gscan dependency to v4.0.0-pre.0
no issue

- Renovate is being slow so I'm doing it manually
2021-02-09 16:17:40 +00:00
Renovate Bot
97d20b2f4a Update dependency @tryghost/job-manager to v0.7.2 2021-02-09 16:09:26 +00:00
Renovate Bot
bb74f6ff49 Update dependency @tryghost/bootstrap-socket to v0.2.6 2021-02-09 16:08:57 +00:00
Renovate Bot
9a6c8229e5 Update dependency @tryghost/mw-session-from-token to v0.1.15 2021-02-09 16:08:27 +00:00
Renovate Bot
104d654522 Update dependency @tryghost/promise to v0.1.5 2021-02-09 14:47:28 +00:00
Renovate Bot
be725c061c Update dependency @tryghost/session-service to v0.1.16 2021-02-09 14:47:18 +00:00
Renovate Bot
39e8eec118 Update dependency @tryghost/adapter-manager to v0.2.8 2021-02-09 14:47:06 +00:00
Renovate Bot
181b5ea25e
Update dependency @tryghost/vhost-middleware to v1.0.12 2021-02-09 13:16:24 +00:00
Renovate Bot
daec858165 Update dependency @tryghost/url-utils to v0.6.26 2021-02-09 09:17:23 +00:00
Renovate Bot
ccfb75d24a Update dependency @tryghost/social-urls to v0.1.19 2021-02-09 09:17:07 +00:00
Renovate Bot
d11b48e9dd Update dependency @tryghost/html-to-mobiledoc to v0.7.10 2021-02-09 09:16:43 +00:00
Renovate Bot
1326cf3f8d Update dependency @tryghost/admin-api-schema to v2.0.0-rc.1 2021-02-09 14:15:47 +05:30
Renovate Bot
c3b7612849 Update dependency @tryghost/string to v0.1.17 2021-02-09 08:25:13 +00:00
Renovate Bot
ca383eb504
Update dependency @tryghost/helpers to v1.1.38 2021-02-09 01:44:51 +00:00
Naz
55fb6dd2b0 Bumplped admin-api-schema package to 2.0.0-rc.0
refs https://github.com/TryGhost/Team/issues/221

- These changes are a precursor for stable version bump of admin-api-schema. Should allow for early bug detection and introduction of breaking changes in the canary admin-api-schemas
2021-02-09 13:27:08 +13:00
Renovate Bot
d88993e9b5 Update dependency @tryghost/members-csv to v0.4.4 2021-02-08 11:09:24 +00:00
Renovate Bot
0739080f2b Update dependency @tryghost/members-ssr to v0.8.10 2021-02-08 11:07:27 +00:00
Renovate Bot
8af97b5e34 Update dependency @tryghost/magic-link to v0.6.6 2021-02-08 11:07:13 +00:00
Renovate Bot
1b1463f8ca
Update dependency @sentry/node to v6.1.0 2021-02-04 17:33:00 +00:00
Renovate Bot
f8537c7259 Update dependency @sentry/node to v6 2021-02-04 11:51:42 +00:00
Renovate Bot
3ee62cab94 Update dependency nconf to v0.11.2 2021-02-04 09:04:28 +00:00
Daniel Lockyer
a676ef19e8
Updated lockfile 2021-02-02 18:52:28 +00:00
Fabien 'egg' O'Carroll
6af2706f10
Updated Admin API and Mega to use status flag (#12579)
no-issue

* Removed support for paid param from v3 & canary API
* Updated active subscription checks to use status flag
* Updated MEGA to use status filter over paid flag
* Removed support for paid option at model level
* Installed @tryghost/members-api@1.0.0-rc.0
* Updated members fixtures
2021-02-02 16:12:51 +00:00
Naz
9bff415572
Moved maintenance app to separate package
refs #12568

- Made a package out of maintenance app to keep as little code in the repository
2021-02-02 16:12:08 +00:00
renovate[bot]
bc4ed6a614
Update dependency @tryghost/members-api to v0.37.7 (#12586)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-02-01 14:11:53 +05:30
Renovate Bot
9e6be47f51
Update dependency keypair to v1.0.2 2021-02-01 03:05:29 +00:00
Renovate Bot
4a3eaf3ee1
Update Test & linting packages 2021-02-01 00:31:41 +00:00
renovate[bot]
a7524a3676
🐛 Fixed issue opening Stripe Checkout via data-members-plan
Update dependency @tryghost/members-api to v0.37.6 (#12580)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-01-27 15:46:23 +00:00
Renovate Bot
b354456f83
Update dependency ghost-ignition to v4.4.3 2021-01-27 13:48:30 +00:00