Ghost/ghost/email-service/lib
Simon Backx 109cdeb492 Fixed exporting post metrics without email
no issue

Bookshelf by default returns an empty model when requesting .related('email') for a post without an email. So we need to be a bit smarter to know if a post has an email or not. This fixed an issue where we always showed 'published and emailed' instead of 'published only'.

Since this change also included some changes to test helpers, it also made some changes to the email service because coverage dropped below 100% as a result of fixing the .related method mocking. Ideally we want to move test test helpers to a seperate package in the future.
2023-03-28 12:41:32 +02:00
..
email-templates Fixed issue with email template in Outlook (#16486) 2023-03-24 14:54:16 +01:00
batch-sending-service.js Fixed exporting post metrics without email 2023-03-28 12:41:32 +02:00
email-body-cache.js Added short lived caching to email batch body (#16233) 2023-02-07 11:01:49 +01:00
email-controller.js 🎨 Add ability to send test email with chosen newsletter (#15783) 2023-01-09 17:48:30 +04:00
email-event-processor.js Implemented email analytics retrying (#16273) 2023-02-21 16:00:32 +01:00
email-event-storage.js Disabled autoRefresh when adding an email recipient failure 2023-02-27 15:45:25 +01:00
email-renderer.js Fixed LinkReplacer bug causing broken links on published post/page (#16514) 2023-03-28 15:59:15 +05:30
email-segmenter.js Updated unit test coverage for email service (#15913) 2022-12-02 00:33:28 +05:30
email-service.js Added subscription status text in newsletters (#16442) 2023-03-22 11:52:41 +01:00
mailgun-email-provider.js Implemented retrying for sending email via Mailgun API 2023-02-21 16:06:23 +01:00
sending-service.js 🐛 Fixed email replacements without fallback 2023-02-13 15:58:40 +01:00