Daniel Lockyer
adb5347dd3
Updated Admin to v4.18.0
2021-10-08 16:00:25 +01:00
Hannah Wolfe
8b7d0fc6a1
Fixed linting error from bad merge
...
refs: #13380
- one of the prs I merged was a duplicate and ended up with the same messages object declared twice
2021-10-08 15:49:27 +01:00
Aleksander Chromik
48ac52800b
Replaced i18n.t w/ tpl in core/server/lib/image ( #13507 )
...
refs: #13380
- The i18n package is deprecated. It is being replaced with the tpl package.
Co-authored-by: Aleksander Chromik <aleksander.chromik@footballco.com>
2021-10-08 15:44:13 +01:00
Aleksander Chromik
36a2569370
Replaced i18n.t w/ tpl in class Invites ( #13506 )
...
refs: #13380
- The i18n package is deprecated. It is being replaced with the tpl package.
Co-authored-by: Aleksander Chromik <aleksander.chromik@footballco.com>
2021-10-08 15:42:50 +01:00
LucasOe
1ceab9dea3
Replaced i18n.t w/ tpl in v2/slugs.js ( #13505 )
...
refs: TryGhost#13380
- The i18n package is deprecated. It is being replaced with the tpl package.
2021-10-08 15:41:10 +01:00
LucasOe
ace3ff033c
Replaced i18n.t w/ tpl in v2/settings.js ( #13504 )
...
refs: TryGhost#13380
- The i18n package is deprecated. It is being replaced with the tpl package.
2021-10-08 15:40:55 +01:00
LucasOe
5ec272a377
Replaced i18n.t w/ tpl in v2/preview.js ( #13503 )
...
refs: TryGhost#13380
- The i18n package is deprecated. It is being replaced with the tpl package.
2021-10-08 15:40:22 +01:00
LucasOe
649461ba2f
Replaced i18n.t w/ tpl in v2/posts.js ( #13502 )
...
refs: TryGhost#13380
- The i18n package is deprecated. It is being replaced with the tpl package.
2021-10-08 15:39:58 +01:00
LucasOe
ea346d5d22
Replaced i18n.t w/ tpl in v2/posts-public.js ( #13501 )
...
refs: TryGhost#13380
- The i18n package is deprecated. It is being replaced with the tpl package.
2021-10-08 15:39:15 +01:00
LucasOe
280bc6e6e1
Replaced i18n.t w/ tpl in v2/pages.js ( #13500 )
...
refs: TryGhost#13380
- The i18n package is deprecated. It is being replaced with the tpl package.
2021-10-08 15:38:40 +01:00
LucasOe
3303ce127c
Replaced i18n.t w/ tpl in v2/oembed.js ( #13499 )
...
refs: TryGhost#13380
- The i18n package is deprecated. It is being replaced with the tpl package.
2021-10-08 15:38:23 +01:00
LucasOe
e1bcd422f5
Replaced i18n.t w/ tpl in v2/invites.js ( #13498 )
...
refs: TryGhost#13380
- The i18n package is deprecated. It is being replaced with the tpl package.
2021-10-08 15:38:06 +01:00
LucasOe
4b742adafc
Replaced i18n.t w/ tpl in v2/integrations.js ( #13497 )
...
refs: TryGhost#13380
- The i18n package is deprecated. It is being replaced with the tpl package.
2021-10-08 15:35:54 +01:00
LucasOe
eca69da254
Replaced i18n.t w/ tpl in v2/authentication.js ( #13496 )
...
refs: TryGhost#13380
- The i18n package is deprecated. It is being replaced with the tpl package.
2021-10-08 15:35:22 +01:00
Brilliant Djaka
fc55089266
Replaced i18n.t w/ tpl helper in preview.js ( #13494 )
...
refs: #13380
The i18n package is deprecated. It is being replaced with the tpl package.
2021-10-08 15:32:51 +01:00
Aleksander Chromik
df0d92f060
Replaced i18n.t w/ tpl in class OEmbed ( #13492 )
...
refs: #13380
- The i18n package is deprecated. It is being replaced with the tpl package.
Co-authored-by: Aleksander Chromik <aleksander.chromik@footballco.com>
2021-10-08 15:32:16 +01:00
Aleksander Chromik
cadd63bc9c
Replaced i18n.t w/ tpl in core/server/data ( #13491 )
...
refs: #13380
- The i18n package is deprecated. It is being replaced with the tpl package.
Co-authored-by: Aleksander Chromik <aleksander.chromik@footballco.com>
2021-10-08 15:31:17 +01:00
Antonino Bertulla
368b5e41db
Replaced i18n.t w/ tpl helper in webhooks ( #13482 )
...
refs: #13380
- The i18n package is deprecated. It is being replaced with the tpl package.
2021-10-08 15:26:44 +01:00
Minna N
d02cd54cde
Replaced i18n.t w/ tpl helper in v3/members.js ( #13480 )
...
refs: #13380
- The i18n package is deprecated. It is being replaced with the tpl package.
2021-10-08 15:25:06 +01:00
PJ
684721b1bd
Replaced i18n with tpl in accept.js ( #13471 )
...
refs: #13380
- The i18n package is deprecated. It is being replaced with the tpl package.
2021-10-08 15:21:22 +01:00
PJ
940d10fc3b
Replaced i18n with tpl in oembed.js ( #13472 )
...
refs: #13380
- The i18n package is deprecated. It is being replaced with the tpl package.
2021-10-08 15:20:41 +01:00
Ayoub BERDEDDOUCH
3255c806f8
Replaced i18n with tpl core/server/api/canary/session.js ( #13487 )
...
refs: #13380
- The i18n package is deprecated. It is being replaced with the tpl package.
2021-10-08 15:11:26 +01:00
Daniel Lockyer
a6833077a7
Optimized database integrity check
...
refs 838fe54628
- see referenced commit for majority of context but in short,
knex-migrator was doing a DB query per migration folder
- in Ghost, we currently have 79 folders, which results in 79
queries during boot... owch
- the bump to knex-migrator in this commit uses a smarter method of
grouping together the DB entries in 1 query, resulting in a drop of 79
queries -> 1 query
2021-10-08 15:06:46 +01:00
Peter Zimon
5f96512d30
Link color udpate in newsletter
...
- Updated newsletter emails template to use accent color as link in post content
2021-10-08 15:55:55 +02:00
Fabien O'Carroll
d9bcd4ec82
Fixed Stripe Checkout for Offers with monthly Cadence
...
no-issue
We were incorrectly checking the Offer Cadence and sending Members to
the yearly checkout.
2021-10-08 15:22:51 +02:00
Hannah Wolfe
61bb4ae770
Moved parent vhost test back to regression temporarily
...
- this test file uses a different pattern to the other test files
- not yet sure if the pattern is terrible or genius, need to assess before moving it into a folder full of what are meant to be exemplary tests
2021-10-08 13:50:37 +01:00
Fabien O'Carroll
955621fa21
Removed requirement for Offer description field
...
refs https://github.com/TryGhost/Team/issues/1083
This field is not required but was previously causing API errors when
missing, the bump to members-offers removes this requirement.
2021-10-08 12:44:14 +02:00
Fabien O'Carroll
999cff35cf
Supported repeating Offers for monthly Cadence
...
refs https://github.com/TryGhost/Team/issues/1083
Offers with a "repeating" duration will repeat for a number of months.
These offers are restricted to the monthly Cadence. This updates the
members-offers module to add support for them.
2021-10-08 12:15:11 +02:00
Fabien O'Carroll
817b2a3b0b
Fixed Offers not sending back currency
...
refs https://github.com/TryGhost/Team/issues/1083
Offers should send back their currency when they are for a fixed amount
- this was missing that.
2021-10-08 11:43:40 +02:00
Renovate Bot
ff62a07142
Update dependency passport to v0.5.0
2021-10-08 10:32:41 +01:00
Renovate Bot
d9e426df0e
Update dependency c8 to v7.10.0
2021-10-08 10:29:55 +01:00
renovate[bot]
47ffefe93e
Update dependency @tryghost/custom-theme-settings-service to v0.1.0 ( #13512 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-07 23:07:20 +01:00
Fabien O'Carroll
15466b33ee
Fixed durations for coupons created for Offers
...
refs https://github.com/TryGhost/Team/issues/1083
Previously we were not forwarding the Offer duration to Stripe.
2021-10-07 19:03:05 +02:00
renovate[bot]
ab9fc8e848
Supported fixed-amount & forever Offers
...
refs https://github.com/TryGhost/Team/issues/1083
The @tryghost/members-offers package has been updated to add support for
more Offer durations and types
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-07 18:57:54 +02:00
Naz
e69fa71584
Added basic unit test to cover notifications' service add method
...
refs https://linear.app/tryghost/issue/CORE-64/resolve-undissmissable-update-notification-banners
- We aim for full unit test coverage in our libraries and services. The very basic method coverage was missing so adding it!
2021-10-07 18:18:28 +02:00
Renovate Bot
7555020a49
Pin dependency @tryghost/express-dynamic-redirects to 0.1.0
2021-10-07 16:52:23 +01:00
Ayoub BERDEDDOUCH
41d03bd08b
replaced i18n with tpl ( #13484 )
...
refs: #13380
- The i18n package is deprecated. It is being replaced with the tpl package.
2021-10-07 16:51:28 +01:00
Naz
84118068c8
Remove i18n dependency from notifications service
...
refs https://github.com/TryGhost/Ghost/issues/13380
- The i18n package is deprecated. It is being replaced with the tpl package.
2021-10-07 17:36:13 +02:00
renovate[bot]
f8dd0b3d56
Ensured Offer codes are slugified
...
refs https://github.com/TryGhost/Team/issues/1083
As Offer codes are used in redirects we must ensure they're URL safe
2021-10-07 16:10:46 +02:00
Alex Ward
9ca2e205a1
Replaced i18n.t w/ tpl helper in providers.js
...
refs: TryGhost#13380
The i18n package is deprecated. It is being replaced with the tpl package.
2021-10-07 11:32:07 +01:00
Alex Ward
189b7bb97b
Replaced i18n.t w/ tpl helper in import-manager.js
...
refs: TryGhost#13380
The i18n package is deprecated. It is being replaced with the tpl package.
2021-10-07 11:31:44 +01:00
Naz
c65e62b7df
✨ Promoted email-only feature to general availability
...
closes https://github.com/TryGhost/Team/issues/1125
refs 3c822e0457
- Email-only is not considered a general availability feature and can be used without special flags.
- It allows to publish a new post type "email only" that only goes out as an email newletter and is available through an undescoverable URL (does not appear anywhere publicly similarly to preview posts) on the site.
2021-10-07 12:08:56 +02:00
Deeksha Agrawal
e8ad189511
Replace i18n with tpl in email-preview.js ( #13475 )
...
refs: TryGhost#13380
- The i18n package is deprecated. It is being replaced with the tpl package.
2021-10-07 09:22:32 +01:00
Deeksha Agrawal
e9c01d6ebe
Replace i18n with tpl in webhooks.js
...
refs: TryGhost#13380
Replace i18n with tpl in webhooks.js (v2, v3)
2021-10-07 09:18:40 +01:00
thick-hollins
fa7048c61b
Replaced i18n with tpl in webhooks.js
...
refs: TryGhost#13380
2021-10-07 09:16:20 +01:00
Ania Kowalska
c38b4ef1f7
Replaced i18n.t w/ tpl helper in pages-public.js
...
refs: #13380
2021-10-07 09:14:15 +01:00
Ania Kowalska
1d534bcd65
Replaced i18n.t w/ tpl helper in pages.js
...
refs: #13380
2021-10-07 09:14:15 +01:00
Naz
10a24393d0
🐛 Fixed alert notifications being sent out to non-active users
...
refs https://linear.app/tryghost/issue/CORE-63/restrict-update-service-notifications-to-active-admins
- It only makes sense to notify active users about a notification of 'alert' or any other type really.
2021-10-06 22:34:25 +02:00
Naz
6fd05592f8
Fixed lint error
...
refs 551ecb2b40
- Leftover module import and clearly not enough attention on my side caused it -_-
2021-10-06 21:34:27 +02:00
Naz
551ecb2b40
Fixed 404 error when email only posts have been enabled
...
refs 74f00bae1e
refs TryGhost/Team#990
refs https://linear.app/tryghost/issue/CORE-25
- In the refed commit the 'emailOnlyPost' flag check has been moved to a dynamic runtime check and the code controlling the route mounting during the boot time wasn't cleaned up.
2021-10-06 21:23:42 +02:00