From 2361165642a3f98ee864c6bbe17a472e27353f69 Mon Sep 17 00:00:00 2001 From: "Aaron K. Clark" Date: Thu, 18 Jun 2026 20:45:48 -0400 Subject: [PATCH] feat: source links + spam reminder on login and in the email (1.7.5) - Login page: add a "check your spam folder" reminder (magic-link mail often lands in spam on a new sending domain) and an "Open source on GitHub" link, on both the initial card and the "check your inbox" confirmation. - Magic-link email: add the GitHub repo link at the bottom (HTML footer + the plain-text body). Co-Authored-By: Claude Opus 4.8 (1M context) --- api/ApplyTrack.Api/ApplyTrack.Api.csproj | 2 +- api/ApplyTrack.Api/Auth/SmtpEmailSender.cs | 4 +++- api/ApplyTrack.Api/wwwroot/app.js | 8 +++++--- pyproject.toml | 2 +- 4 files changed, 10 insertions(+), 6 deletions(-) diff --git a/api/ApplyTrack.Api/ApplyTrack.Api.csproj b/api/ApplyTrack.Api/ApplyTrack.Api.csproj index 8e6fc8b..127b298 100644 --- a/api/ApplyTrack.Api/ApplyTrack.Api.csproj +++ b/api/ApplyTrack.Api/ApplyTrack.Api.csproj @@ -5,7 +5,7 @@ enable enable ApplyTrack.Api - 1.7.4 + 1.7.5 Aaron K. Clark Copyright 2026 Aaron K. Clark Apache-2.0 diff --git a/api/ApplyTrack.Api/Auth/SmtpEmailSender.cs b/api/ApplyTrack.Api/Auth/SmtpEmailSender.cs index fd8902a..d454ac3 100644 --- a/api/ApplyTrack.Api/Auth/SmtpEmailSender.cs +++ b/api/ApplyTrack.Api/Auth/SmtpEmailSender.cs @@ -34,7 +34,8 @@ public async Task SendMagicLinkAsync(string email, string link) TextBody = $"Sign in to OSApplyTrack:\n\n{link}\n\n" + "This link is single-use and expires in 15 minutes. " - + "If you didn't request it, you can ignore this email.", + + "If you didn't request it, you can ignore this email.\n\n" + + "Open source: https://github.com/CryptoJones/OSApplyTrack", // A LIGHT layout with cyberdeck branding (the cyan applytrack wordmark on a // near-black header band). This is deliberate, not a fallback: a forced-dark // background does not survive — iOS/Apple Mail and Gmail auto-INVERT a @@ -68,6 +69,7 @@ public async Task SendMagicLinkAsync(string email, string link)
If you didn't request this, you can safely ignore this email.
+
github.com/CryptoJones/OSApplyTrack
diff --git a/api/ApplyTrack.Api/wwwroot/app.js b/api/ApplyTrack.Api/wwwroot/app.js index c901f10..553e2d0 100644 --- a/api/ApplyTrack.Api/wwwroot/app.js +++ b/api/ApplyTrack.Api/wwwroot/app.js @@ -97,7 +97,8 @@ function showLogin() { - + + `; document.body.appendChild(overlay); @@ -114,8 +115,9 @@ function showLogin() { form.innerHTML = `

applytrack

- `; + + `; }); overlay.querySelector("#login-email").focus(); } diff --git a/pyproject.toml b/pyproject.toml index 37d5e4b..c735fd9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "hatchling.build" [project] name = "applytrack-poller" -version = "1.7.4" +version = "1.7.5" description = "Discovery poller for OSApplyTrack — fetches and scores remote job leads into shared Postgres." requires-python = ">=3.10" license = { text = "Apache-2.0" }