Commit Graph

1422 Commits

Author SHA1 Message Date
Renovate Bot
8f60bc0a57 Update dependency sqlite3 to v5 2021-04-15 16:03:39 +01:00
Renovate Bot
741fceeef4 Update dependency cssnano to v5 2021-04-15 14:41:55 +01:00
renovate[bot]
006a8a4a7c
Update dependency @tryghost/kg-card-factory to v2.2.2 (#12874)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-15 14:35:16 +01:00
Renovate Bot
cc9dd4e414 Update dependency @tryghost/html-to-mobiledoc to v0.7.13 2021-04-15 14:12:27 +01:00
Renovate Bot
95f5a51cef
Update dependency js-yaml to v4.1.0 2021-04-14 21:51:55 +00:00
Daniel Lockyer
4be4af9c18
Reverted "Update dependency grunt-contrib-compress to v2"
- this reverts commit 1962fb6140
- I accidentally merged this thinking we were all good, but it turns out
  it needs Node >= 10.16, which we can't do until we drop Node 10 on
  April 20th 2021
- this is soon, but for now we need to revert
2021-04-14 15:13:05 +01:00
Renovate Bot
1962fb6140 Update dependency grunt-contrib-compress to v2 2021-04-14 14:50:17 +01:00
Renovate Bot
22ec756759 Update dependency @tryghost/mw-session-from-token to v0.1.18 2021-04-14 14:34:56 +01:00
Renovate Bot
25a1022292 Update dependency @tryghost/adapter-manager to v0.2.11 2021-04-14 14:32:20 +01:00
Renovate Bot
5cdbf046a5 Update dependency @tryghost/security to v0.2.7 2021-04-14 14:32:11 +01:00
Renovate Bot
519fbfcb2d Update dependency @tryghost/bootstrap-socket to v0.2.8 2021-04-14 14:32:00 +01:00
Renovate Bot
61ab968eb9 Update dependency @tryghost/zip to v1.1.11 2021-04-14 14:31:34 +01:00
Renovate Bot
d42af36234 Update dependency @tryghost/job-manager to v0.8.3 2021-04-14 12:07:49 +01:00
Renovate Bot
bd4a4f7b11 Update dependency @lodder/grunt-postcss to v3.0.1 2021-04-14 12:06:34 +01:00
Renovate Bot
17e3f833a8 Update dependency @tryghost/constants to v0.1.7 2021-04-14 11:03:42 +01:00
Renovate Bot
cf14d86e95 Update dependency @tryghost/errors to v0.2.10 2021-04-14 11:03:35 +01:00
Renovate Bot
33c44edb59 Update dependency @tryghost/vhost-middleware to v1.0.14 2021-04-14 11:03:12 +01:00
Renovate Bot
7b46d08291 Update dependency @tryghost/social-urls to v0.1.22 2021-04-14 11:03:04 +01:00
Renovate Bot
305ccdb2bd Update dependency @tryghost/promise to v0.1.7 2021-04-14 11:02:44 +01:00
Kevin Ansfield
5a4ec50fea 🐛 Fixed markdown for linked images still being mangled in some cases
refs https://github.com/TryGhost/Team/issues/596
refs 95751a0e5f

- previous dependency bump of `@tryghost/url-utils` resulted in two versions being referenced in `yarn.lock` with the old buggy version still being used when performing URL transforms
- bumped `@tryghost/kg-default-cards` to up it's minimum allowed version of `@tryghost/url-utils` to force a `yarn.lock` update
- bumped `@tryghost/kg-markdown-html-renderer` to avoid two versions of that library being specified in `yarn.lock`
2021-04-13 15:58:46 +01:00
Renovate Bot
fad527f7ba
Update dependency keypair to v1.0.3 2021-04-12 08:50:08 +00:00
Renovate Bot
e24b8ecb21
Update dependency eslint to v7.24.0 2021-04-09 23:29:58 +00:00
Naz
edd0e26a78 Fixed limits realoding during soft Ghost restart
refs https://github.com/TryGhost/Team/issues/599

- This is a precursor change to tests which verify the hostSettings limits are working correctly
- Bumped limits-service version which allows for multiple calls of loadLimits on the same service instance
2021-04-10 00:08:17 +12:00
Naz
42a3197f6d Updated dependency @tryghost/limit-service to v0.4.0
refs https://github.com/TryGhost/Team/issues/510

- This version bump includes follwing interface improvements of the limit-service package: passing in errors as a parameter to "loadLimits" and allowing for custom "currentCountQuery" method implementations per limit
2021-04-07 15:31:52 +12:00
renovate[bot]
a6b3d5463d
🐛 Fixed incorrect MRR delta calculation (#12823)
refs https://github.com/TryGhost/Team/issues/595

The MRR delta calculation for subscription cancelation was incorrectly setting double negative of the original amount.

- Bumped to @tryghost/members-api@1.1.1 that includes the calculation fix
2021-04-06 19:54:28 +05:30
Renovate Bot
3861446c3d Update dependency cssnano to v4.1.11 2021-04-06 14:08:41 +01:00
Renovate Bot
2111992dd4
Update dependency jsonpath to v1.1.1 2021-04-01 20:00:01 +00:00
Renovate Bot
e4f0e20943
Update dependency @tryghost/members-api to v1.1.0 2021-04-01 16:56:25 +00:00
Renovate Bot
e328f314a6
Update dependency @tryghost/helpers to v1.1.41 2021-04-01 14:56:45 +00:00
Renovate Bot
4e923302f6
Update dependency @sentry/node to v6.2.5 2021-04-01 12:25:18 +00:00
Renovate Bot
61edf00a1b Update dependency @tryghost/admin-api-schema to v2.0.2 2021-04-01 12:18:10 +00:00
Kevin Ansfield
95751a0e5f 🐛 Fixed markdown for linked images being mangled in some cases
refs https://github.com/TryGhost/Team/issues/596

Since Ghost 3.0, if a same-site image in a markdown card was linked to a same-site URL (eg: `![![Image Alt](/content/images/example.png)](/example-post)`) then the source markdown was mangled by the absolute/relative URL transforms.

- bumped `@tryghost/url-utils` to a fixed version (see https://github.com/TryGhost/SDK/pull/379)
2021-03-31 19:39:07 +01:00
Renovate Bot
4df59adcc6
Update dependency @sentry/node to v6.2.4 2021-03-30 14:38:42 +00:00
Renovate Bot
d43b80b60d
Update dependency ghost-ignition to v4.6.1 2021-03-30 11:38:09 +00:00
Renovate Bot
7e51b90792
Update dependency eslint to v7.23.0 2021-03-26 22:24:13 +00:00
Renovate Bot
9239c5dee6
Update dependency @tryghost/admin-api-schema to v2.0.1 2021-03-23 17:23:27 +00:00
Kevin Ansfield
929cb0afe9
🐛 Fixed plaintext and excerpt fallbacks having incorrect URLs after domain change (#12811)
closes https://github.com/TryGhost/Team/issues/571

- `post.plaintext` values were being transformed with the markdown URL transformer but that wasn't picking up the link format used in our plaintext fields resulting in absolute URLs being stored in the database rather than `__GHOST_URL__` URLs
  - meant that if the `url` config is changed then plaintext and other calculated fields that used it would have URLs that referred to the old domain rather than the new one
  - re-saving the posts would have updated it but that's not feasible to do manually for large sites
- bumped `@tryghost/url-utils` to a version that has plaintext transform utils and updated the post model's transform map
2021-03-23 16:56:14 +00:00
Renovate Bot
0242e5e48b
Update dependency semver to v7.3.5 2021-03-23 09:15:11 +00:00
Renovate Bot
e00f8633ef
Update dependency sinon to v10 2021-03-22 18:35:06 +00:00
Renovate Bot
def9bdaf78
Update dependency sanitize-html to v2.3.3 2021-03-22 14:53:17 +00:00
Renovate Bot
7deeb41a36
Update dependency @tryghost/kg-markdown-html-renderer to v4.0.1 2021-03-22 06:28:50 +00:00
Renovate Bot
91ba7b998e
Update dependency @tryghost/kg-card-factory to v2.2.1 2021-03-22 01:43:23 +00:00
Kevin Ansfield
9ac7ed5f3b
🐛 Fixed images not having srcset or sizes attributes (#12800)
closes https://github.com/TryGhost/Team/issues/567

- bumped `@tryghost/kg-default-cards` with a version containing a bugfix for detecting absolute URLs as local content images when they match the site url supplied as an option when rendering
- this bug surfaced because of the change in https://github.com/TryGhost/Ghost/pull/12787 - the renderer is now seeing absolute URLs when passed content from the model layer rather than `__GHOST_URL__` URLs. We didn't hit it in 3.x because that was passing content with relative URLs.
2021-03-20 22:17:43 +00:00
Renovate Bot
eb5f7a8e2d
Update dependency @sentry/node to v6.2.3 2021-03-19 18:30:58 +00:00
Kevin Ansfield
652fed6bd1
Fixed image and gallery cards not having srcset or sizes attributes (#12765)
no issue

- we run raw mobiledoc through the mobiledoc-html renderer and we now store URLs in raw mobiledoc as `__GHOST_URL__` relative. Those URLs were not passing the "local image" check in the renderer for image optimisation availability meaning the srcset and sizes output was skipped
- bumped library version to include a fix for the optimisation check
2021-03-15 21:38:27 +00:00
Renovate Bot
e87ded8d72
Update dependency eslint to v7.22.0 2021-03-12 23:16:42 +00:00
Renovate Bot
813cb6de1a Update dependency gscan to v4.0.1 2021-03-12 19:42:33 +00:00
Renovate Bot
b05f2b6178
Update dependency mocha to v8.3.2 2021-03-12 11:06:26 +00:00
Renovate Bot
970b0e62b4
Update dependency @sentry/node to v6.2.2 2021-03-11 10:31:59 +00:00
Renovate Bot
4359e21f3e
Update dependency @tryghost/helpers to v1.1.40 2021-03-10 23:15:25 +00:00
Renovate Bot
8e7821d3ee Update dependency @tryghost/html-to-mobiledoc to v0.7.12 2021-03-10 20:15:31 +00:00
Kevin Ansfield
d3a553bab0 Bumped Koenig mobiledoc html renderer
no issue

- package is out of RC and ready for release
2021-03-10 19:09:42 +00:00
Fabien O'Carroll
394b845617 Bumped Members packages
no-issue

- packages are out of RC and ready for release
2021-03-10 18:51:34 +00:00
Fabien O'Carroll
8ffa944af7 Bumped gscan to 4.0.0
no-issue

- package is out of RC and ready for release
2021-03-10 18:48:37 +00:00
Fabien O'Carroll
97c55bee20 Bumped TryGhost/SDK packages
no-issue

- packages are out of RC and ready for release
2021-03-10 18:46:42 +00:00
Kevin Ansfield
90a9a04375 Bumped email analytics related packages
no issue

- packages are out of RC and ready for release
2021-03-10 18:03:27 +00:00
Kevin Ansfield
5c73446a93 Bumped Koenig related packages
no issue

- packages are out of RC and ready for release
2021-03-10 18:02:31 +00:00
Renovate Bot
897ca83ff8 Update dependency knex-migrator to v4.0.2 2021-03-09 19:19:49 +00:00
Renovate Bot
5c966ef6e7 Update dependency @tryghost/admin-api-schema to v2.0.0-rc.3 2021-03-09 16:21:07 +00:00
Renovate Bot
6ce3ef43a7 Update dependency @tryghost/social-urls to v0.1.21 2021-03-09 16:20:51 +00:00
Renovate Bot
1e38392ce1 Update dependency @tryghost/html-to-mobiledoc to v0.7.11 2021-03-09 16:20:38 +00:00
Renovate Bot
c83fb3fc5c
Update Test & linting packages 2021-03-08 01:52:31 +00:00
Renovate Bot
b52bbbcb05
Update dependency @tryghost/kg-default-atoms to v2.0.4 2021-03-05 14:11:40 +00:00
Kevin Ansfield
a6f5eb71be
🏗 Changed internal URL storage format to use __GHOST_URL__ (#12731)
closes https://github.com/TryGhost/Team/issues/467

- switches to storing "transform-ready" URLs in the database
- transform-ready URLs contain a `__GHOST_URL__` placeholder that corresponds to the configured url that gives a few benefits
  - much faster and less memory intensive output transformations through not needing to parse html or markdown - the transform can be achieved using a straightforward regex find+replace
  - ability to change to/from or rename subdirectory without any manual updates to the database
- modified existing 4.0 url-transformation migration rather than adding another one and repeating the transformation on posts rows
2021-03-05 13:54:01 +00:00
Fabien O'Carroll
226607a203 Added signup events to members event timeline
refs https://github.com/TryGhost/Team/issues/469

This updates to logic for generating the member events timeline used on
the dashboard to include member signup events and exclude newsletter
subscription events that are the byproduct of a member signup.

This allows site owners to get a fuller picture of what's happening with
their members, whilst reducing the noise of almost duplicate data.

This also fixes a bug where the timeline was not ordered correctly
2021-03-05 13:10:09 +00:00
Renovate Bot
290cceb472
Update dependency @tryghost/url-utils to v1.0.2 2021-03-05 05:10:38 +00:00
Hannah Wolfe
fd0a4692c9 Update dependency @tryghost/limit-service to v0.3.0
refs https://github.com/TryGhost/Team/issues/510

- This update fixes the casing of the limit names
2021-03-04 21:17:27 +00:00
Hannah Wolfe
e676e26442 Update dependency @tryghost/limit-service to v1.2.1
- This adds proper number formatting to error messages
2021-03-04 18:17:17 +00:00
Hannah Wolfe
7e2da2adee Update dependency @tryghost/limit-service to v1.2.0
- The new version ensures that invites are counted when looking for staff users
2021-03-04 13:56:32 +00:00
Sam Lord
ae090b0a13 Update to latest Ghost Ignition
no issue
2021-03-04 12:10:32 +00:00
Daniel Lockyer
2d47ddb400
Updated lockfile 2021-03-04 09:26:01 +00:00
Rish
b56e684258 Bumped gscan to 4.0.0-pre.4
refs https://github.com/TryGhost/Team/issues/492

- updates regex that checks valid files to test rules against to include all *.hbs files
- cleans up rules for last4 and currency_symbol helpers
2021-03-03 23:43:08 +05:30
Hannah Wolfe
8f4e43a1fe Update dependency @tryghost/limit-service to v1.1.1
- fixes a really weird unexpected token = error when using lodash templates in Ghost
- this was caused by _.templateSettings being global
- this fix ensures that the config of the limit-service stays in the limit-service!
2021-03-03 17:58:38 +00:00
Sam Lord
40da54f123 Updated Ghost-Ignition to latest version 2021-03-03 17:47:56 +00:00
Hannah Wolfe
c7b843471f Added limit service
refs: https://github.com/TryGhost/Team/issues/510

- added and wired up the new limit service, which is a lazy-loaded service
- this handles the case that there are host limits set in config, and wraps all the logic needed for detecting exceeded limits & throwing limit errors
- expects limits to be set in config under `host_settings.limits`
- supported limits are managed in the limit service, outside of core
2021-03-03 13:43:05 +00:00
Daniel Lockyer
5de7f2d3fe
Added regenerated lockfile 2021-03-03 13:31:55 +00:00
Renovate Bot
e872d3e6be
Update dependency @tryghost/helpers to v1.1.39 2021-03-03 10:00:49 +00:00
Daniel Lockyer
2ca8e56187
Updated knex-migrator dependency to 4.0.1 2021-03-03 08:47:21 +00:00
Renovate Bot
84313cef49 Update dependency knex to v0.21.19 2021-03-03 08:29:36 +00:00
Naz
d37a4ec97e Bumped url-utils to 1.0.0
refs https://github.com/TryGhost/Team/issues/513

- The `defaultApiVersion` parameter was bumped to v4 in this version
- Also contains a refactore for `url.parse` method which was used for base url detection
2021-03-03 17:19:31 +13:00
Naz
fe090c83aa Fixed truncated worker thread messages
refs 12a1c60424

- The bump contains a bump in bree version, which fixes message truncation problem
2021-03-03 12:33:25 +13:00
Renovate Bot
09a09edbfc
Update dependency nock to v13.0.10 2021-03-02 21:26:47 +00:00
Kevin Ansfield
11802ebee0
Extracted email analytics library code to external packages (#12541)
closes https://github.com/TryGhost/Team/issues/493

- all functionality except that directly related to Ghost's database and business logic now lives in external packages
  - @tryghost/email-analytics-service
  - @tryghost/email-analytics-provider-mailgun
2021-03-02 07:26:33 +00:00
Renovate Bot
069086e473
Update dependency @sentry/node to v6.2.1 2021-03-01 17:39:33 +00:00
Renovate Bot
fa89adda3b Update dependency jwks-rsa to v1.12.3 2021-03-01 13:18:34 +00:00
Naz
492f115850 Bumped gscan to 4.0.0-pre.1
refs https://github.com/TryGhost/Team/issues/492
d0e0760dae

- With Ghost 4.0 it will detect deprecated {{@labs.members}}  warning and use of deprecated ghost-api v2 in theme's package.json
2021-03-01 19:26:17 +13:00
Renovate Bot
196e91b0cb
Update Test & linting packages 2021-03-01 01:18:17 +00:00
Renovate Bot
c84b74c538 Update dependency knex-migrator to v4 2021-02-25 15:02:27 +00:00
Renovate Bot
2fc93e2582
Update dependency analytics-node to v4.0.1 2021-02-25 08:04:35 +00:00
Renovate Bot
30371b0986
Update dependency nock to v13.0.8 2021-02-25 03:25:52 +00:00
Renovate Bot
1d48d5af7c Update dependency analytics-node to v4 2021-02-24 15:57:38 +00:00
Renovate Bot
bd28ee9610 Update dependency @tryghost/members-ssr to v0.8.11 2021-02-24 13:01:48 +00:00
Renovate Bot
ad6f3a41c0 Update dependency @tryghost/session-service to v0.1.17 2021-02-24 13:01:30 +00:00
Renovate Bot
30fcf8de2e Update dependency @tryghost/constants to v0.1.6 2021-02-24 09:28:36 +00:00
Renovate Bot
fee3bec2b1 Update dependency @tryghost/magic-link to v0.6.7 2021-02-24 09:06:27 +00:00
Renovate Bot
f39e734197 Update dependency @tryghost/promise to v0.1.6 2021-02-24 09:05:20 +00:00
Renovate Bot
70809889b2 Update dependency @tryghost/errors to v0.2.9 2021-02-24 09:05:08 +00:00
Fabien O'Carroll
7ecd1067ba Fixed generation of MRR and Volume data
refs https://github.com/TryGhost/Members/commit/bb433e13

MRR and Volume aggregates were broken, this fix is in members-api
2021-02-23 17:50:43 +00:00
Daniel Lockyer
2fe1fb59ee
Updated knex-migrator to v3.5.1
no issue

- Renovate was being slow again
2021-02-23 15:56:22 +00:00
Renovate Bot
0665085c25 Update dependency @tryghost/security to v0.2.6 2021-02-23 15:40:40 +00:00