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
Daniel Lockyer
bc6df8cebe
v3.40.3
2021-01-05 13:10:14 +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
Daniel Lockyer
2f2b71c2db
v3.40.2
2020-12-16 14:04:43 +00:00
Renovate Bot
39489bbc0b
Update dependency @tryghost/constants to v0.1.3
2020-12-16 13:46:19 +00:00
Renovate Bot
810989dba8
Update dependency @tryghost/mw-session-from-token to v0.1.13
2020-12-16 13:46:07 +00:00
Renovate Bot
e04f913f1f
Update dependency @tryghost/security to v0.2.3
2020-12-16 13:45:49 +00:00
Renovate Bot
b4bb1b46b3
Update dependency @sentry/node to v5.29.1
2020-12-16 11:45:44 +00:00
Renovate Bot
79b723eee6
Update dependency @tryghost/adapter-manager to v0.2.5
2020-12-14 12:18:53 +00:00
Renovate Bot
d37f49508c
Update dependency @tryghost/bootstrap-socket to v0.2.4
2020-12-14 12:18:44 +00:00
Renovate Bot
e6b6f74232
Update dependency @tryghost/errors to v0.2.6
2020-12-14 12:18:34 +00:00
Renovate Bot
1cf4d346f7
Update dependency @tryghost/promise to v0.1.3
2020-12-14 12:18:22 +00:00
Renovate Bot
e31c18c013
Update dependency @tryghost/session-service to v0.1.14
2020-12-14 12:17:57 +00:00
Renovate Bot
6383f1dbd7
Update dependency @tryghost/zip to v1.1.7
2020-12-14 05:08:18 +00:00
Naz
c1e3788570
Added central error handler to job manager
...
refs https://github.com/TryGhost/Ghost-Utils/issues/118
- Duplicating error handling across jobs is not best developer experience. Also, having custom error handling logic did not allow for recommended worker script behavior: allowing for unhandled exceptions to bubble up and be managed by parent process
2020-12-14 18:01:41 +13:00
Renovate Bot
90adc9ed98
Update dependency sinon to v9.2.2
2020-12-11 12:43:36 +00:00
Daniel Lockyer
cbadaa762d
v3.40.1
2020-12-11 11:28:16 +00:00
Thibaut Patel
1677a05481
🐛 Fixed an issue with zip files parsing.
...
no issue
Updated gscan to 3.6.1
2020-12-11 12:15:29 +01:00
Daniel Lockyer
78013968e7
v3.40.0
2020-12-10 15:49:37 +00:00
Renovate Bot
c2bb7bd106
Update dependency @tryghost/mw-session-from-token to v0.1.12
2020-12-10 09:43:25 +00:00
Renovate Bot
7b4e041203
Update dependency @tryghost/adapter-manager to v0.2.4
2020-12-10 09:43:13 +00:00
Renovate Bot
89f77c8248
Update dependency @tryghost/job-manager to v0.5.0
2020-12-10 09:43:04 +00:00
Renovate Bot
0e6ee237ac
Update dependency @tryghost/session-service to v0.1.13
2020-12-10 09:42:48 +00:00
Renovate Bot
712f78bc24
Update dependency @tryghost/helpers to v1.1.35
2020-12-09 21:48:48 +00:00
Kevin Ansfield
24bd2d78cb
Fixed validation errors when saving members
...
no issue
- schema validation was erroring due extra properties on the member resource that were recently added to the output causing the client to send them back when saving
- updated @tryghost/admin-api-schema to include skips for the new read-only properties
2020-12-09 21:47:14 +00:00
Fabien O'Carroll
ff12d7a89a
Updated @tryghost/members-{api,csv} for importer
...
no-issue
- Updates members-api to throw errors when attempting to link to
stripe customers if it is not configured, which allows us to include
the errors in the CSV
- Updates members-csv to handle the header mappings as well as parsing
the values so that we can read a CSV file and get back valid member
objects
2020-12-09 19:25:57 +00:00
Renovate Bot
e91f740ade
Update dependency jwks-rsa to v1.12.0
2020-12-09 09:57:24 +00:00
Renovate Bot
3d4f5b5ee5
Update dependency uuid to v8.3.2
2020-12-08 21:23:14 +00:00
Daniel Lockyer
99632eab43
Merged 3.39.3 into master
...
v3.39.3
* tag '3.39.3':
v3.39.3
Updated Ghost-Admin to v3.39.3
2020-12-08 09:42:01 +00:00
Daniel Lockyer
6ca434a16f
v3.39.3
2020-12-08 09:37:00 +00:00
renovate[bot]
85f94ad4b4
Update dependency @tryghost/job-manager to v0.4.0 ( #12460 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-12-08 17:48:13 +13:00
Renovate Bot
3aa43eb36f
Update dependency js-yaml to v3.14.1
2020-12-07 19:50:35 +00:00
Renovate Bot
81d5fb60d1
Update dependency @sentry/node to v5.29.0
2020-12-07 11:18:56 +00:00
Daniel Lockyer
12470de19c
Merged 3.39.2 into master
...
v3.39.2
* tag '3.39.2':
v3.39.2
Updated Ghost-Admin to v3.39.2
Added guard for page.items existing in Mailgun response
2020-12-07 11:17:37 +00:00
Daniel Lockyer
3d61603719
v3.39.2
2020-12-07 11:14:54 +00:00
Daniel Lockyer
f351357159
Merged 3.39.1 into master
...
v3.39.1
* tag '3.39.1':
v3.39.1
Updated Ghost-Admin to v3.39.1
2020-12-07 09:23:12 +00:00
Daniel Lockyer
0f6f5d09db
v3.39.1
2020-12-07 09:20:09 +00:00
Renovate Bot
52b0f970e9
Update dependency eslint to v7.15.0
2020-12-07 00:07:07 +00:00
Renovate Bot
30a98c0185
Update dependency grunt-mocha-cli to v7
2020-12-03 08:46:48 +00:00
Renovate Bot
2d621c9680
Update dependency sanitize-html to v2.2.0
2020-12-02 15:32:57 +00:00
Daniel Lockyer
07354ab1ec
v3.39.0
2020-12-02 15:11:33 +00:00
Renovate Bot
57c3244f3a
Update dependency semver to v7.3.4
2020-12-02 00:07:11 +00:00
Renovate Bot
0e46898aaa
Update dependency @sentry/node to v5.28.0
2020-12-01 14:27:06 +00:00
Naz
ddcdaa6193
Bumped job-manager version to 0.3.4
...
no issue
- Fixes a bug with ignored seconds when specifying cron syntax
2020-12-02 00:24:03 +13:00
Renovate Bot
99dcf43a45
Update dependency @tryghost/job-manager to v0.3.3
2020-11-30 11:16:25 +00:00
Renovate Bot
c8ec1067c5
Update dependency @tryghost/adapter-manager to v0.2.3
2020-11-26 10:39:44 +00:00
Renovate Bot
d58337b229
Update dependency @tryghost/job-manager to v0.3.2
2020-11-26 10:39:24 +00:00
Renovate Bot
200e83c75d
Update dependency nconf to v0.11.0
2020-11-25 09:34:09 +00:00
Renovate Bot
dec93a4b72
Update dependency @tryghost/members-ssr to v0.8.6
2020-11-24 10:45:36 +00:00
Renovate Bot
235185f212
Update dependency @tryghost/members-csv to v0.3.3
2020-11-24 08:15:28 +00:00
Renovate Bot
6a9f5b48e9
Update dependency @tryghost/magic-link to v0.6.2
2020-11-24 08:15:08 +00:00
Daniel Lockyer
15650f9dad
Merged 3.38.3 into master
...
v3.38.3
* tag '3.38.3':
v3.38.3
Updated Ghost-Admin to v3.38.3
Fixed sans-serif link style
2020-11-23 17:37:51 +00:00
Fabien 'egg' O'Carroll
b9eb835498
Supported cancellation_reason in @tryghost/members-api ( #12406 )
...
refs #12403
This adds support for passing a cancellation_reason when updating a
subscription to cancel_at_end_of_period. The reason will be stored on
the Subscription metadata, as well as in the cancellation_reason column
in the members_stripe_customers_subscriptions table.
refs https://github.com/TryGhost/Members/pull/221
refs https://github.com/TryGhost/Members/pull/222
2020-11-23 17:34:40 +00:00
Daniel Lockyer
1f0e7daa6f
v3.38.3
2020-11-23 17:34:33 +00:00
Renovate Bot
3d85625fb1
Update dependency @sentry/node to v5.27.6
2020-11-23 12:45:54 +00:00
Renovate Bot
68856821db
Update dependency @sentry/node to v5.27.5
2020-11-23 10:39:17 +00:00
Renovate Bot
48ab8e2e6c
Update dependency @tryghost/session-service to v0.1.12
2020-11-23 09:55:05 +00:00
Renovate Bot
7fa0669ce5
Update dependency @tryghost/mw-session-from-token to v0.1.11
2020-11-23 09:54:56 +00:00
Renovate Bot
25bd4253a6
Update dependency @tryghost/adapter-manager to v0.2.2
2020-11-23 09:54:45 +00:00
Naz
5c4e884070
Added support for graceful job shutdown and worker threads
...
refs #12402
- With bumped version of job-manager it offloads job procesing into separate worker thread. Having jobs run out of main Ghost process even loop allows for safe job execution, which does not block Ghost from serving requests or performing other functions without a delay
- Added experimental data access to 'testmode' jobs. This should serve as an illustration of how to access data from the job layer
2020-11-23 17:17:49 +13:00
Renovate Bot
73911f7ba4
Update dependency eslint to v7.14.0
2020-11-23 00:05:58 +00:00
Daniel Lockyer
49197a6597
Merged 3.38.2 into master
...
* origin/3.38.2:
v3.38.2
Updated Ghost-Admin to v3.38.2
🐛 Added missing Bluebird require in v2 API
2020-11-19 13:43:18 +00:00
Daniel Lockyer
560aac1ae6
v3.38.2
2020-11-19 13:40:09 +00:00
Renovate Bot
aefd88ace4
Update dependency @tryghost/adapter-manager to v0.2.1
2020-11-19 11:03:04 +00:00
Renovate Bot
7e89ca661c
Update dependency @tryghost/mw-session-from-token to v0.1.10
2020-11-19 11:02:29 +00:00
Renovate Bot
ce06fde00d
Update dependency @tryghost/security to v0.2.2
2020-11-19 11:02:08 +00:00
Renovate Bot
c6146ff4d7
Update dependency @tryghost/zip to v1.1.6
2020-11-19 11:01:57 +00:00
Renovate Bot
874403d3ae
Update dependency @tryghost/job-manager to v0.3.0
2020-11-19 08:41:37 +00:00
Renovate Bot
23554b75a8
Update dependency @tryghost/session-service to v0.1.11
2020-11-19 08:41:11 +00:00
Daniel Lockyer
001cf6bb29
v3.38.1
2020-11-17 16:42:06 +00:00
Daniel Lockyer
fb82b7a734
v3.38.0
2020-11-17 13:53:34 +00:00
Renovate Bot
d7a0833821
Update dependency @sentry/node to v5.27.4
2020-11-13 11:04:49 +00:00
Renovate Bot
ee5d0e962d
Update dependency nock to v13.0.5
2020-11-11 03:46:17 +00:00
Naz
5b6fe31002
Added support for jobs defined as modules
...
no issue
- These changes should allow easy testing of scheduled jobs and provide an implementation example for future jobs within Ghost
- Added experimental support to run jobs based on functions defined in modules
- Extendeded testmode "schedule" endpoint with an optional job name parameter which picks up job from "jobs" folder
- Adjusted scheduleJob method use and passed "schedule" as first parameter
- Bumped job-manager version to allow for all new functionality
2020-11-10 17:29:35 +13:00
Renovate Bot
e86e8fd5d2
Update dependency @tryghost/social-urls to v0.1.16
2020-11-09 09:26:44 +00:00
Renovate Bot
26df296c65
Update dependency @tryghost/html-to-mobiledoc to v0.7.7
2020-11-09 08:26:47 +00:00
Renovate Bot
d572e9c97b
Update dependency eslint to v7.13.0
2020-11-09 00:06:19 +00:00
Renovate Bot
82224f5626
Update dependency @tryghost/admin-api-schema to v1.4.0
2020-11-06 14:05:48 +00:00
renovate[bot]
6795797179
Merge pull request #12336 from TryGhost/renovate/tryghost-constants-0.x
...
Update dependency @tryghost/constants to v0.1.2
2020-11-05 12:39:51 +00:00
Renovate Bot
64454b941e
Update dependency @tryghost/mw-session-from-token to v0.1.9
2020-11-05 12:39:35 +00:00
Renovate Bot
3da083a36d
Update dependency @tryghost/adapter-manager to v0.2.0
2020-11-05 10:50:47 +00:00
Renovate Bot
55081d7d5a
Update dependency @tryghost/bootstrap-socket to v0.2.3
2020-11-05 10:50:25 +00:00
Renovate Bot
571b6a621d
Update dependency @tryghost/errors to v0.2.5
2020-11-05 10:50:10 +00:00
Renovate Bot
ebd55028cd
Update dependency @tryghost/security to v0.2.1
2020-11-05 10:49:49 +00:00
Renovate Bot
8666ff3713
Update dependency @tryghost/promise to v0.1.2
2020-11-05 08:07:45 +00:00
Renovate Bot
2319f085e9
Update dependency @tryghost/zip to v1.1.5
2020-11-05 07:41:43 +00:00
Renovate Bot
7cac75b1bc
Update dependency @tryghost/session-service to v0.1.10
2020-11-05 07:38:49 +00:00
Renovate Bot
9daba4e679
Update dependency @tryghost/vhost-middleware to v1.0.10
2020-11-05 04:50:29 +00:00
Naz
c7541a1fe0
Added scheduled job support in testmode
...
no issue
- We need an ability to early test scheduled jobs to refine the new feature and it's API. Should be used with caution
- To schedule an example scheduled job every 30 seconds run following request: `curl http://localhost:2368/ghost/api/schedule/every%2030%20seconds `
2020-11-05 17:46:57 +13:00
Renovate Bot
142f5d389d
Update dependency supertest to v6.0.1
2020-11-04 20:04:18 +00:00
Renovate Bot
73d9639780
Update dependency @sentry/node to v5.27.3
2020-11-04 18:04:40 +00:00
Renovate Bot
9856d7c777
Update dependency sanitize-html to v2.1.2
2020-11-04 17:11:37 +00:00
Renovate Bot
9f93a0895e
Update dependency ghost-ignition to v4.2.4
2020-11-04 11:06:57 +00:00
Renovate Bot
7d78895b4b
Update dependency @tryghost/kg-markdown-html-renderer to v2.0.4
2020-11-03 20:08:55 +00:00
Renovate Bot
b166ec816f
Update dependency @tryghost/kg-card-factory to v2.1.4
2020-11-03 16:50:32 +00:00
Kevin Ansfield
bcf409ee8a
🐛 Fixed bookmark card caption formatting showing as visible html
...
no issue
- updated `@tryghost/kg-default-cards` which fixed the escaping of bookmark card caption output
2020-11-03 16:49:07 +00:00
Daniel Lockyer
1ecaac99b7
Removed grunt-contrib-uglify
dependency
...
- the only bit of code that needed this, the minification of `members.js`, was
removed in 3.37.0 so we no longer need this plugin
2020-11-03 14:13:00 +00:00
Daniel Lockyer
7904b8eb50
v3.37.1
2020-11-03 14:00:30 +00:00
Daniel Lockyer
a824ba8d70
v3.37.0
2020-11-03 13:11:42 +00:00
Renovate Bot
fd1e2f924b
Update dependency mocha to v8.2.1
2020-11-02 23:06:05 +00:00
Renovate Bot
be441c204f
Update dependency brute-knex to v4.0.1
2020-11-02 17:07:12 +00:00
Renovate Bot
ebaeb053c1
Update dependency @tryghost/helpers to v1.1.34
2020-11-02 15:54:33 +00:00
Renovate Bot
d86dca244f
Update dependency @tryghost/string to v0.1.14
2020-11-02 15:53:37 +00:00
Renovate Bot
00bfb13a4d
Update dependency @tryghost/html-to-mobiledoc to v0.7.6
2020-11-02 15:02:45 +00:00
Renovate Bot
614e1f6641
Update dependency knex to v0.21.12
2020-11-02 15:02:32 +00:00
Renovate Bot
dc51d997f8
Update dependency @tryghost/social-urls to v0.1.15
2020-11-02 15:02:08 +00:00
Renovate Bot
80738dcba0
Update dependency @tryghost/url-utils to v0.6.23
2020-11-02 15:01:52 +00:00
Renovate Bot
1c470f3d66
Update dependency @tryghost/admin-api-schema to v1.3.0
2020-11-02 13:19:45 +00:00
Renovate Bot
14ac6168ac
Update dependency @tryghost/members-api to v0.34.2
2020-11-02 10:34:21 +00:00
Renovate Bot
0958e6af82
Update dependency knex to v0.21.11
2020-11-02 10:10:38 +00:00
naz
a2bfef53de
🐛 Fixed post resource filtering by posts_meta table fields ( #12307 )
...
refs #11572
- Filtering by fields coming from posts_meta table did not work for post resources. This was due to lack of support for these types of operations on NQL layer. The approach taken here is using same way filtering was done for many:many relations and generates a `WHERE IN` filtering clause. In the future we could look into adding preloading of 1:1 relations which should allow getting rid of `WHERE IN` in favor of `JOIN` and filtering directly by field names.
- Changed structure of `EXPANSIONS` filter configuration. Current approach was based on "bag of all the things". Such structure will become problematic as more fields are added. For example, adding all the fields from 1:1 relation posts:posts_meta might collide with any other relations that would have similar naming like meta_description from tags table (if it were was added).
- Bumped nql version to 0.5.0. This adds filtering support to 1:1 relations
- Added filter expansions which can be unique per model Previous approach with single global expansions lookup wasn't working in case different models would need to declare expansion for same field names. Having a `filterExpansion` method per model works in a similar convention other filter related model methods do (e.g. enforcedFilters, defaultFilters)
2020-11-02 12:53:57 +13:00
Renovate Bot
aaeba56134
Update dependency ghost-ignition to v4.2.3
2020-10-29 15:18:58 +00:00
Renovate Bot
37f071f860
Update dependency @sentry/node to v5.27.2
2020-10-29 14:12:16 +00:00
Renovate Bot
44a64da011
Update dependency @tryghost/members-api to v0.34.1
2020-10-29 17:21:56 +05:30
Renovate Bot
dcb4e37790
Update dependency @tryghost/members-csv to v0.3.2
2020-10-29 16:32:06 +05:30
Renovate Bot
8c990d2907
Update dependency @tryghost/magic-link to v0.6.1
2020-10-29 16:31:42 +05:30
Renovate Bot
6e82934230
Update dependency supertest to v6
2020-10-28 19:54:01 +00:00
Daniel Lockyer
d28bbc848f
Bumped minimum Node 14 version to latest LTS
...
- 14.15.0 is the latest version of Node 14 LTS
2020-10-28 11:03:02 +00:00
Renovate Bot
ad3b7b798d
Update dependency sinon to v9.2.1
2020-10-28 09:04:45 +00:00
Renovate Bot
67d42a62fe
Update dependency @tryghost/members-api to v0.34.0
2020-10-27 15:43:12 +05:30
Renovate Bot
9ac669c34c
Update dependency knex to v0.21.8
2020-10-27 09:50:24 +00:00
Renovate Bot
0c62f28a42
Update dependency analytics-node to v3.4.0-beta.3
2020-10-27 08:02:32 +00:00
Renovate Bot
da1f49e2dd
Update dependency eslint to v7.12.1
2020-10-27 05:05:45 +00:00
Renovate Bot
983e2c4e0e
Update dependency jwks-rsa to v1.11.0
2020-10-26 08:29:18 +00:00
Renovate Bot
e103a8c6cd
Update dependency knex to v0.21.7
2020-10-26 08:28:54 +00:00
Renovate Bot
b04a9ff9db
Update dependency eslint to v7.12.0
2020-10-26 00:07:09 +00:00
Austin Burdine
c262a6a341
🔥 Added support for Node 14
2020-10-23 12:57:02 +01:00
Renovate Bot
a4f6d1f01e
Update dependency @sentry/node to v5.27.1
2020-10-23 10:41:07 +00:00
Renovate Bot
26ab27b4bf
Update dependency eslint-plugin-ghost to v2
2020-10-23 09:01:27 +00:00
Renovate Bot
29af4d46f5
Update dependency sanitize-html to v2.1.1
2020-10-21 14:17:24 +00:00
Renovate Bot
b59026e213
Update dependency knex-migrator to v3.5.0
2020-10-21 12:40:55 +00:00
Renovate Bot
99c030b749
Update dependency @sentry/node to v5.27.0
2020-10-21 10:57:52 +00:00
Renovate Bot
a57db99b43
Update dependency gscan to v3.6.0
2020-10-21 11:39:01 +01:00
Renovate Bot
6b8116df2f
Update dependency sanitize-html to v2
2020-10-21 11:37:08 +01:00
Renovate Bot
90bf886b28
Update dependency @lodder/grunt-postcss to v3
2020-10-21 11:31:52 +01:00
Daniel Lockyer
280cefc447
v3.36.0
2020-10-20 09:38:10 +01:00
Renovate Bot
8cf644d5ba
Update dependency @tryghost/kg-markdown-html-renderer to v2.0.3
2020-10-19 18:05:31 +00:00
Renovate Bot
79c49a8262
Update dependency @tryghost/kg-card-factory to v2.1.3
2020-10-19 16:07:31 +00:00
Kevin Ansfield
d08b586781
🐛 Fixed width/height attributes in gallery cards not matching resized images
...
closes https://github.com/TryGhost/Ghost/issues/11548
- bumps @tryghost/kg-default-cards
- introduces a breaking change where `imageOptimization` is passed as an options argument instead of separating out individual config options
- fixes width/height attributes for images in gallery cards being larger than the max default width used when resizing images
2020-10-19 17:05:57 +01:00
Fabien 'egg' O'Carroll
7097cfe8a4
Updated @tryghost/members-api to 0.33.3 ( #12292 )
...
closes https://github.com/TryGhost/Ghost/issues/12270
refs https://github.com/TryGhost/Members/pull/209
This includes a change to member creation after a Stripe Checkout, we
now add the name from the default payment method at creation, rather
than updating it after.
2020-10-19 13:06:51 +01:00
Renovate Bot
b61fb2a867
Update dependency mocha to v8.2.0
2020-10-16 21:23:19 +00:00
Renovate Bot
1700206aa7
Update dependency @tryghost/helpers to v1.1.33
2020-10-16 18:05:47 +00:00
Kevin Ansfield
16bfb3fa41
Added basic CRUD admin API for snippets
...
no issue
- standard browse/read/add/edit/destroy API endpoints for snippets resource
- updates `@tryghost/admin-api-schema` dependency to version that includes snippet definition and schemas
2020-10-16 18:02:58 +01:00
Renovate Bot
8ecd6a7c71
Update dependency @tryghost/members-api to v0.33.2
2020-10-15 12:45:19 +01:00
Renovate Bot
2cf5ca546b
Update dependency @tryghost/string to v0.1.13
2020-10-14 08:45:29 +01:00
Renovate Bot
92f98a8d36
Update dependency @tryghost/url-utils to v0.6.22
2020-10-14 08:00:51 +01:00