Ghost/ghost/email-service/test
Simon Backx 9e6f5e93d8
🐛 Fixed email header images serving original image size (#15950)
fixes https://github.com/TryGhost/Team/issues/2368

- Removed the usage of the `isLocalContentImage` Koenig util for the
email header and feature image url generation.
- While we were trying to set the width to 1200px, we didn't have that
size hardcoded. So that url would redirect back to the original location
instead of serving a smaller image. So I added a new internal size to
the `imageOptimization` config.
- This is fixed in both the new and old email flow and includes some
extra tests for the new flow.
2022-12-09 11:17:22 +01:00
..
utils Added email service package (#15849) 2022-11-21 10:29:53 +01:00
.eslintrc.js Added email service package (#15849) 2022-11-21 10:29:53 +01:00
email-event-storage.test.js 🐛 Fixed setting delivered_at to null after hard bounce (#15942) 2022-12-06 10:26:54 +05:30
email-renderer.test.js 🐛 Fixed email header images serving original image size (#15950) 2022-12-09 11:17:22 +01:00
email-segmenter.test.js Updated unit test coverage for email service (#15913) 2022-12-02 00:33:28 +05:30
mailgun-email-provider.test.js Added mailgun provider for sending emails (#15896) 2022-11-30 16:21:58 +05:30
sending-service.test.js Updated unit test coverage for email service (#15913) 2022-12-02 00:33:28 +05:30