Kevin Ansfield
8e2568c776
🐛 Fixed error when a theme does not have a "config"
object in it's package.json
...
no issue
- bumped `gscan` to version with an added guard check where it extracts custom theme settings from `config.custom`
2021-10-25 10:08:35 +01:00
Renovate Bot
3b773c2ab5
Update dependency oembed-parser to v1.4.9
2021-10-22 16:21:39 +00:00
Fabien O'Carroll
c3694c9903
Improved error messages for Offers API
...
no-issue
The error messages for duplicate Offer name and code were not
particularly helpful. This includes an update to them based on feedback
from Peter.
2021-10-22 16:50:48 +02:00
Renovate Bot
b2e95ba12a
Update dependency @tryghost/metrics to v0.2.6
2021-10-22 15:50:35 +02:00
Renovate Bot
b467d45c5c
Update dependency @tryghost/image-transform to v1.0.17
2021-10-22 15:47:28 +02:00
Renovate Bot
0bacf3ef69
Update dependency @tryghost/config-url-helpers to v0.1.3
2021-10-22 15:45:52 +02:00
Renovate Bot
e188c6bd9f
Update dependency @tryghost/zip to v1.1.18
2021-10-22 15:45:12 +02:00
Renovate Bot
e7e1568a9c
Update dependency @tryghost/mw-session-from-token to v0.1.26
2021-10-22 15:44:28 +02:00
Renovate Bot
9e5de91dc1
Update dependency @tryghost/limit-service to v0.6.5
2021-10-22 15:43:14 +02:00
Renovate Bot
742b5f7dd3
Update dependency @tryghost/package-json to v1.0.6
2021-10-22 15:41:53 +02:00
Renovate Bot
2208ae1655
Update dependency @tryghost/security to v0.2.13
2021-10-22 15:41:43 +02:00
Renovate Bot
0e4be5a390
Update dependency @tryghost/job-manager to v0.8.11
2021-10-22 15:39:15 +02:00
Renovate Bot
cceda95ba0
Update dependency @tryghost/bootstrap-socket to v0.2.13
2021-10-22 15:21:54 +02:00
Renovate Bot
7b43e30d8e
Update dependency @tryghost/adapter-manager to v0.2.18
2021-10-22 15:04:47 +02:00
Renovate Bot
d842259f22
Update dependency @tryghost/errors to v0.2.17
2021-10-22 15:04:38 +02:00
Renovate Bot
da6a66c777
Update dependency @tryghost/constants to v0.1.12
2021-10-22 15:04:30 +02:00
Renovate Bot
ff09230382
Update dependency @tryghost/promise to v0.1.13
2021-10-22 15:04:10 +02:00
Renovate Bot
51d6cf3922
Update dependency @tryghost/session-service to v0.1.28
2021-10-22 15:03:59 +02:00
Renovate Bot
b57dcf9a98
Update dependency @tryghost/vhost-middleware to v1.0.19
2021-10-22 15:03:47 +02:00
Fabien O'Carroll
70f7039539
Handled empty Offer titles
...
no-issue
We want to allow for Offers titles to be blank/empty. This updates the
API to handle both null & empty strings for the Offer title.
2021-10-22 14:18:01 +02:00
Renovate Bot
4d56e9a7af
Update dependency @tryghost/version to v0.1.7
2021-10-22 13:22:24 +02:00
Renovate Bot
8a6640d00f
Update dependency @tryghost/request to v0.1.8
2021-10-22 13:08:36 +02:00
Renovate Bot
6d2de5b369
Update dependency @tryghost/debug to v0.1.9
2021-10-22 13:08:28 +02:00
Renovate Bot
2deb396291
Update dependency @tryghost/metrics to v0.2.5
2021-10-22 13:00:59 +02:00
Renovate Bot
f82f52a9e7
Update dependency @tryghost/bookshelf-plugins to v0.3.4
2021-10-22 13:00:17 +02:00
Renovate Bot
2ea8c5ee5b
Update dependency @tryghost/validator to v0.1.8
2021-10-22 12:59:45 +02:00
Renovate Bot
842c850534
Update dependency @tryghost/nodemailer to v0.3.6
2021-10-22 12:27:45 +02:00
Renovate Bot
fe191a0f96
Update dependency @tryghost/root-utils to v0.3.7
2021-10-22 12:25:56 +02:00
Renovate Bot
113e01c2c4
Update dependency @tryghost/tpl to v0.1.8
2021-10-22 12:25:42 +02:00
renovate[bot]
c95ce4c685
Update dependency @tryghost/members-csv to v1.1.8 ( #13642 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-22 12:03:56 +02:00
renovate[bot]
967f34f4e0
Update dependency @tryghost/express-dynamic-redirects to v0.2.1 ( #13640 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-22 11:18:24 +02:00
renovate[bot]
be100d24ce
Update dependency @tryghost/magic-link to v1.0.14 ( #13641 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-22 11:18:11 +02:00
renovate[bot]
cafbd01611
Update dependency @tryghost/members-importer to v0.3.4 ( #13643 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-22 11:17:53 +02:00
Renovate Bot
a2b4ccb0ad
Update dependency @tryghost/email-analytics-provider-mailgun to v1.0.4
2021-10-22 08:54:28 +02:00
Renovate Bot
1be8d30f44
Update dependency eslint-plugin-ghost to v2.7.0
2021-10-21 21:06:14 +00:00
Fabien O'Carroll
c10e76aa2c
Included Offers on Member Subscriptions
...
refs https://github.com/TryGhost/Team/issues/1135
This adds Offer information to Subscriptions for which the Offer is
valid. This means that if a Subscription has changed its Tier/Cadence
from the what the Offers supports - it will not be attached. The data
however is still stored in the db.
This also fixes a bug with creating Stripe Checkout Sessions without an
Offer.
2021-10-21 18:12:32 +02:00
renovate[bot]
28283b54ac
Update dependency @tryghost/members-ssr to v1.0.15 ( #13644 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-21 17:00:10 +02:00
Renovate Bot
39706126c0
Update dependency postcss to v8.3.11
2021-10-21 16:50:51 +02:00
Fabien 'egg' O'Carroll
21ec444139
Handled Stripe Disconnect for Offers ( #13638 )
...
refs https://github.com/TryGhost/Team/issues/1166
This updates the Members & Offers modules to correctly handle
disconnecting from Stripe, this includes:
- Deleting Stripe data on disconnect (coupons for Offers)
- Recreating missing Stripe Coupons after disconnect/reconnect
2021-10-21 16:25:35 +02:00
Renovate Bot
8709da36e9
Update dependency @tryghost/email-analytics-service to v1.0.3
2021-10-21 15:25:51 +02:00
Renovate Bot
8dc31438b3
Update dependency analytics-node to v5.1.2
2021-10-21 12:08:00 +02:00
Renovate Bot
87b0af1de7
Update dependency postcss to v8.3.10
2021-10-21 12:07:45 +02:00
Kevin Ansfield
59a6f040d2
Fixed custom theme settings being clobbered with duplicate-named themes
...
refs https://github.com/TryGhost/Team/issues/1149
Ghost allows different themes to have the same `name` value in `package.json` but gives them a custom name based on the zip file used to upload it. The custom theme settings service however was always using the package.json name meaning that when syncing a theme with a duplicate name it was overwriting the settings for all other themes.
- bumped `@tryghost/custom-theme-settings-service` which changes the `.activateTheme()` signature to accept a theme name as the first argument
- updated our calls to `.activateTheme()` to pass Ghost's known theme name as the first argument so we're always syncing with the correct `theme` field value in the `custom_theme_settings` table
2021-10-20 13:25:02 +01:00
Thibaut Patel
c273727b5f
Added api validation for custom settings
...
refs https://github.com/TryGhost/Team/issues/1107 https://github.com/TryGhost/Team/issues/1106
- Replicates the gscan custom theme settings validation in the admin api.
2021-10-20 13:36:41 +02:00
Renovate Bot
5524509274
Update dependency nock to v13.1.4
2021-10-20 10:22:32 +02:00
Daniel Lockyer
1fd980ee9b
Set global Luxon timezone override to UTC
...
refs https://linear.app/tryghost/issue/CORE-113/start-off-luxon-refactor
- we're planning on switching to Luxon for our date/timezone library,
eventually replacing `moment` and `moment-timezone`
- the first step is to set the global timezone override to UTC, which is
done in `core/server/overrides.js`
- also adds a test to ensure we're setting the timezone correctly
- this was mostly pulled from https://moment.github.io/luxon/#/zones?id=changing-the-default-zone
2021-10-20 09:19:29 +02:00
Fabien O'Carroll
d303c40248
Fixed editing Offer description via API
...
no-issue
We were only updating the Offer description if it was truthy - rather
than if it existing, this resulting in empty strings or null not working
correctly.
2021-10-19 11:11:02 +02:00
Thibaut Patel
2891898f94
Added a rule to forbid the custom theme setting image type to have a default
...
refs https://github.com/TryGhost/Team/issues/1108
- The default is something that the theme developpers should be coding in the template rather than using a default value
2021-10-19 09:41:35 +02:00
Fabien O'Carroll
c5856d04e4
Added support for redemption_count to Offers API
...
refs https://github.com/TryGhost/Team/issues/1132
This adds redemption_count to the Offers API so that we can display how
many times an Offer has been used. This also adds the storage mechanism
for Offer Redemptions - which ensure that everytime a Checkout Session
is completed - we will create the Offer Redemption in the database.
This means that manual usage of the underlying will not count toward the
Offer redemption count, this is considered an edge case.
2021-10-18 17:40:05 +02:00
Daniel Lockyer
f9f0fb34f2
Merged v4.19.1 into main
...
v4.19.1
2021-10-18 15:10:22 +02:00