discourse/lib/email
Martin Brennan cf4d80d0b3
FIX: Notification email CTA by system user (#31726)
Followup https://github.com/discourse/discourse/pull/31505/

When sending notification emails for system user responses for PMs,
we removed the part of the CTA where it says "to respond to xyz" in a
previous commit.

This commit takes it slightly further -- we now only show a "Visit
Topic"
or "Visit Message" button if the PM notification is from a system user,
it's a bit cleaner.

This commit also adds more in-depth tests, and refactors the message
builder a little.
2025-03-12 13:49:12 +10:00
..
authentication_results.rb DEV: Apply syntax_tree formatting to lib/* 2023-01-09 12:10:19 +00:00
build_email_helper.rb DEV: Apply syntax_tree formatting to lib/* 2023-01-09 12:10:19 +00:00
cleaner.rb DEV: Apply syntax_tree formatting to lib/* 2023-01-09 12:10:19 +00:00
message_builder.rb FIX: Notification email CTA by system user (#31726) 2025-03-12 13:49:12 +10:00
message_id_service.rb DEV: Remove old TODOs for message-id formats (#27196) 2024-05-28 13:57:09 +10:00
poller.rb FEATURE: Add hooks for email poller plugins (#21384) 2023-06-26 13:16:03 +08:00
processor.rb FIX: Prevent Email Processor errors when mail is blank or nil (#21292) 2023-05-18 10:39:37 +08:00
receiver.rb FIX: strip unsubscribe links in incoming emails (#30695) 2025-01-13 11:33:46 +01:00
renderer.rb DEV: Add apply_modifier in Email::Renderer for html modifications (#25205) 2024-01-12 09:14:55 -06:00
sender.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.rb Revert "DEV: prioritize new email styles over existing, to make customization easier (#30244)" (#30297) 2024-12-16 11:16:17 +00:00
validator.rb DEV: Apply syntax_tree formatting to lib/* 2023-01-09 12:10:19 +00:00