discourse/spec/lib/email
Ted Johansson 39f4485939
FIX: Don't attach images that aren't rendered in the digest e-mail (#31525)
When secure uploads are enabled, we need to send images that are rendered in the digest e-mail as attachments. Before this change, we would indiscriminately attach all images in the relevant topic's first post, whether they were rendered the e-mail body or not.

This change fixes that by only attaching images that are referenced in the e-mail body.
2025-02-27 11:41:17 +08:00
..
authentication_results_spec.rb DEV: Fix various rubocop lints (#24749) 2023-12-06 23:25:00 +01:00
cleaner_spec.rb DEV: Apply syntax_tree formatting to spec/* 2023-01-09 11:49:28 +00:00
email_spec.rb DEV: Apply syntax_tree formatting to spec/* 2023-01-09 11:49:28 +00:00
message_builder_spec.rb FEATURE: add support for One-Click unsubscribe (RFC 8058) 2024-12-31 15:28:59 +01:00
processor_spec.rb DEV: Don’t replace Rails logger in specs (#29721) 2024-11-13 08:47:39 +08:00
receiver_spec.rb FEATURE: Improve use_email_for_username_and_name_suggestions (#30845) 2025-01-21 13:04:48 +00:00
renderer_spec.rb DEV: Reset DiscoursePluginRegistry after spec (#25369) 2024-01-22 08:51:36 -06:00
sender_spec.rb FIX: Don't attach images that aren't rendered in the digest e-mail (#31525) 2025-02-27 11:41:17 +08:00
styles_spec.rb DEV: deduplicate inline styles in emails (#30015) 2024-11-30 16:38:45 +01:00