Files
25131c49db Notifications - Markdown to HTML conversion applied per notification URL (#4619) (#4641)
* Notifications - Markdown to HTML conversion applied per notification URL (#4619)

* Notifications - Only call notify() when the per-URL Apprise instance loaded the URL

add() already logs an ERROR for a URL it cannot load, which LogCapture turns
into the notification error. Calling notify() on the then-empty instance only
added a misleading "There are no service(s) to notify" warning per bad URL.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Tests - Move #4619 per-URL Markdown test onto the existing SMTP echo server

Drops the hand-rolled SMTP sink in favour of tests/smtp/smtp-test-server.py,
which the smtp-tests CI job already runs, so there is only one SMTP test
mechanism. The title carries the parametrize value so the echo server's
"last message" is checked to be this run's email.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Tests - #4619 per-URL notification tests also cover html, htmlcolor and an explicit ?format= override

The single notify() after the loop also sent the email's monospaced wrapper (or
lost it) for html/htmlcolor, and a ?format= on one URL rewrote the shared format
for every later URL - not only the Markdown case.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: dgtlmoon <dgtlmoon@gmail.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-04 13:11:44 +01:00
..