Commit Graph

1303 Commits

Author SHA1 Message Date
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
Renovate Bot
193e0b20e8
Update dependency sanitize-html to v2.3.2 2021-01-26 22:15:17 +00:00
renovate[bot]
0e08ce1612
Update dependency @tryghost/members-api to v0.37.5 (#12575)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-01-26 13:15:02 +00:00
Renovate Bot
380ee8223a Update dependency @tryghost/members-csv to v0.4.2 2021-01-26 09:53:26 +05:30
Renovate Bot
b6c9538e54 Update dependency @tryghost/magic-link to v0.6.4 2021-01-26 09:52:13 +05:30
Renovate Bot
10fcaf8f23 Update dependency @tryghost/members-ssr to v0.8.8 2021-01-26 09:51:43 +05:30
Renovate Bot
fad905d86c
Update dependency supertest to v6.1.3 2021-01-25 21:47:40 +00:00
renovate[bot]
646f63ebdf
Update dependency @tryghost/members-api to v0.37.3 (#12571)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-01-25 14:27:04 +00:00
renovate[bot]
38647930b1
Update dependency @tryghost/members-api to v0.37.2 (#12561)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-01-25 11:12:15 +00:00
Renovate Bot
01206217f5
Update dependency supertest to v6.1.2 2021-01-25 06:46:03 +00:00
Renovate Bot
8fd3034d3c
Update dependency sinon to v9.2.4 2021-01-25 00:51:49 +00:00
Renovate Bot
f8776c0536
Update dependency sanitize-html to v2.3.1 2021-01-22 20:35:28 +00:00
Renovate Bot
aae58ba4e4
Update dependency ghost-ignition to v4.4.2 2021-01-22 14:21:41 +00:00
Renovate Bot
cbfdf79661
Update dependency ghost-ignition to v4.4.1 2021-01-21 18:16:29 +00:00
Renovate Bot
5fed75d794
Update dependency ghost-ignition to v4.4.0 2021-01-21 15:51:27 +00:00
Renovate Bot
9c3c90a4be
Update dependency nock to v13.0.6 2021-01-20 20:54:25 +00:00
Renovate Bot
c3f5b188c4
Update dependency fs-extra to v9.1.0 2021-01-19 17:55:11 +00:00
Fabien 'egg' O'Carroll
ab5833182b
Updated @tryghost/members-api to 0.37.1 (#12553)
no-issue

* Internal refactor
* Change to the signature of the updateSubscription method
2021-01-19 11:12:52 +00:00
Renovate Bot
a0303a246e Update dependency @tryghost/adapter-manager to v0.2.7 2021-01-18 11:01:22 +00:00
Renovate Bot
920592e0ac Update dependency @tryghost/constants to v0.1.4 2021-01-18 11:00:50 +00:00
Renovate Bot
df4743b2f7
Update dependency eslint to v7.18.0 2021-01-18 07:52:33 +00:00
Renovate Bot
f7690dedc1
Update dependency supertest to v6.1.1 2021-01-15 19:09:28 +00:00
Renovate Bot
a9777139f9
Update dependency supertest to v6.1.0 2021-01-15 17:09:41 +00:00
Renovate Bot
42cac5a93b Update dependency @tryghost/string to v0.1.16 2021-01-15 14:37:31 +00:00
Renovate Bot
6fef7046b6 Update dependency @tryghost/session-service to v0.1.15 2021-01-15 14:37:23 +00:00
Renovate Bot
3f890151af Update dependency @tryghost/promise to v0.1.4 2021-01-15 14:37:14 +00:00
Renovate Bot
112109ca45
Update dependency jsonpath to v1.1.0 2021-01-14 21:06:38 +00:00
Renovate Bot
4e497fb9d1 Update dependency @tryghost/errors to v0.2.7 2021-01-13 18:06:31 +00:00
Renovate Bot
680133a888 Update dependency @tryghost/bootstrap-socket to v0.2.5 2021-01-13 18:06:23 +00:00
Renovate Bot
3ecc84c737 Update dependency @tryghost/social-urls to v0.1.18 2021-01-13 18:06:02 +00:00
Renovate Bot
fe888c7050
Update dependency ghost-ignition to v4.3.0 2021-01-13 16:02:06 +00:00
Renovate Bot
79b512df95 Update dependency @tryghost/job-manager to v0.7.1 2021-01-13 15:52:06 +00:00
Renovate Bot
1f2cebcc47 Update dependency @tryghost/html-to-mobiledoc to v0.7.9 2021-01-13 15:51:56 +00:00
Renovate Bot
e4adc5564a Update dependency @tryghost/mw-session-from-token to v0.1.14 2021-01-13 15:51:39 +00:00
Renovate Bot
01bf344b14 Update dependency @tryghost/security to v0.2.4 2021-01-13 15:51:08 +00:00
Renovate Bot
5d55a54090 Update dependency @tryghost/url-utils to v0.6.25 2021-01-13 15:50:52 +00:00
Renovate Bot
78afa4cf1f
Update dependency @sentry/node to v5.30.0 2021-01-13 12:06:39 +00:00
Renovate Bot
f92cb0f31c
Update dependency @tryghost/zip to v1.1.8 2021-01-12 23:09:37 +00:00
Renovate Bot
51a452bd27
Update dependency @tryghost/vhost-middleware to v1.0.11 2021-01-12 21:09:34 +00:00
Renovate Bot
5805e9d93a
Update dependency @tryghost/helpers to v1.1.37 2021-01-12 19:07:03 +00:00
Renovate Bot
92de3f342a
Update dependency @tryghost/admin-api-schema to v1.4.3 2021-01-12 17:06:18 +00:00
Renovate Bot
c985a4f0c8
Update dependency @tryghost/kg-default-cards to v3.1.0 2021-01-12 13:06:22 +00:00
Renovate Bot
f1c78f6336
Update dependency @tryghost/kg-card-factory to v2.1.5 2021-01-12 11:23:04 +00:00
renovate[bot]
b07c278e92
Update dependency @tryghost/kg-markdown-html-renderer to v3 (#12521)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-01-12 11:21:37 +00:00
Renovate Bot
e4e62a6a7c Update dependency analytics-node to v3.5.0 2021-01-12 10:38:48 +00:00
Renovate Bot
8111cb2f49 Update dependency @tryghost/string to v0.1.15 2021-01-12 10:38:26 +00:00
Renovate Bot
5d1281fcfb Update dependency nconf to v0.11.1 2021-01-08 13:07:00 +00:00
Renovate Bot
bed13e22e5 Update dependency jwks-rsa to v1.12.2 2021-01-08 13:05:15 +00:00
Renovate Bot
7f7bdb9f4d Update dependency @tryghost/html-to-mobiledoc to v0.7.8 2021-01-08 13:04:24 +00:00
Renovate Bot
e71a50d2ad Update dependency @tryghost/social-urls to v0.1.17 2021-01-08 13:04:04 +00:00
Renovate Bot
12b31ec41b Update dependency @tryghost/url-utils to v0.6.24 2021-01-08 13:03:52 +00:00
Renovate Bot
d69b60c3b3 Update dependency @tryghost/adapter-manager to v0.2.6 2021-01-08 13:03:36 +00:00
Renovate Bot
924be50157
Update dependency @tryghost/helpers to v1.1.36 2021-01-07 13:07:41 +00:00
Renovate Bot
dc13ea0562
Update dependency @tryghost/admin-api-schema to v1.4.2 2021-01-07 11:05:56 +00:00
Renovate Bot
9b46c89d93
Update dependency sinon to v9.2.3 2021-01-06 15:05:39 +00:00
Naz
b2e7d2bf06 Bumped job-manager version to 0.7.0
closes https://github.com/TryGhost/Ghost-Utils/issues/122
2021-01-06 17:48:05 +13:00
Kevin Ansfield
ab834b2615 Updated bookshelf-relations dependency to fix broken release
closes https://github.com/TryGhost/Ghost/issues/12493

- the published version of `bookshelf-relations` 1.4.0 was missing the critical commit that added the new relationship config feature
- v1.4.1 is a valid release
2021-01-05 15:24:45 +00:00
Kevin Ansfield
eccd220461 🐛 Fixed error when deleting a member that has received a newsletter email
closes https://github.com/TryGhost/Ghost/issues/12493

- bumps `bookshelf-relations` to new version that allows for `hasMany` children to be kept when a parent record is destroyed
- adds necessary config to the `Member.email_recipients` relationship to keep related records when a member is deleted
2021-01-05 14:06:20 +00:00
Renovate Bot
9b5184387f Update dependency jwks-rsa to v1.12.1 2021-01-04 08:57:07 +00:00
Renovate Bot
4c52c710b3
Update dependency eslint to v7.17.0 2021-01-04 00:07:54 +00:00
Renovate Bot
2daa87df5b
Update dependency eslint to v7.16.0 2020-12-18 23:06:06 +00:00
Renovate Bot
a0bfec6591
Update dependency @sentry/node to v5.29.2 2020-12-17 20:52:07 +00:00
Renovate Bot
ce6b8364c9
Update dependency sanitize-html to v2.3.0 2020-12-16 16:11:16 +00:00