Commit graph

15 commits

Author SHA1 Message Date
8fda7746a1 Add one-click unsubscribe detection and warning
All checks were successful
continuous-integration/drone/push Build is passing
Detect the List-Unsubscribe-Post: List-Unsubscribe=One-Click header
(RFC 8058) and expose it as the 'one-click' unsubscribe method in the
content analysis. When unsubscribe methods are present but one-click is
absent, the summary card now shows a warning nudging senders to adopt it.
2026-02-23 00:15:17 +07:00
96e83ff70d Add multilingual unsubscribe keywords for link detection
The list comes from github.com/knadh/listmonk i18n strings

Bug: https://github.com/happyDomain/happydeliver/issues/8
2026-02-23 00:15:17 +07:00
6b983f0506 Use List-Unsubscribe header URLs for unsubscribe link detection
Bug: https://github.com/happyDomain/happydeliver/issues/8
2026-02-23 00:15:17 +07:00
c50e18a347 Use modern Go slices.Contains and switch instead of if/else if 2026-02-23 00:15:17 +07:00
e05c6d0bc2 Fix calculateTextPlainConsistency algorithm 2025-11-14 12:55:16 +00:00
2172603ad5 content: Add spaces behind each node to reduce gap with plain text
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2025-11-07 15:14:15 +07:00
90dda126ad Don't consider mailto as suspiscious, search domain alignment 2025-10-30 14:10:42 +07:00
871f4e62f6 Fix content scoring error
All checks were successful
continuous-integration/drone/push Build is passing
2025-10-27 17:56:06 +07:00
7ed347c86e Improve test display in some circonstancies 2025-10-25 03:31:29 +07:00
a64b866cfa Add grades 2025-10-24 09:56:35 +07:00
33d394a27b Improve content analyzing and reporting 2025-10-23 18:09:23 +07:00
d87b0cbcb0 Remove checks 2025-10-23 10:40:12 +07:00
74aee54432 Score as percentages 2025-10-21 12:52:20 +07:00
0ac51ac06d Use grade instead of numeral notation 2025-10-20 19:25:48 +07:00
30f774c1fb Expose analyzer 2025-10-20 15:13:53 +07:00
Renamed from internal/analyzer/content.go (Browse further)