Fix password reset flow (#1) #27

Merged
westfarn merged 4 commits from feature/password-reset-1 into master 2026-07-27 05:07:42 -07:00
4 Commits
Author SHA1 Message Date
westfarn c3e29d3e72 Fix feedback email test for on_commit task enqueue
CI / test (pull_request) Successful in 10s
Unit Tests / test (pull_request) Successful in 10s
Execute on_commit callbacks so OutboundEmail ImmediateBackend send runs
inside TestCase transactions, matching invite/reset coverage.
2026-07-27 06:43:36 -05:00
westfarn 9412dc3efc Track outbound emails in admin with send status
CI / test (pull_request) Failing after 9s
Unit Tests / test (pull_request) Failing after 9s
Persist OutboundEmail rows (queued/sending/sent/failed) for invite, reset,
and feedback mail, show them on user detail + a dedicated admin list, and
stamp X-Hesychia-Email-Id for a future SMTP2GO webhook (#28).
2026-07-27 06:41:50 -05:00
westfarn 6a985a2477 Brand emails as Hesychia and audit password reset/set events
CI / test (pull_request) Failing after 10s
Unit Tests / test (pull_request) Failing after 9s
Restyle invite/reset/feedback mail to match the app glass UI, queue sends
via Django 6 Tasks (ImmediateBackend for now), and show timestamped auth
events on the user admin detail page.
2026-07-27 06:39:28 -05:00
westfarn 199c57f1d6 Fix password reset flow so forgot-password emails work (#1)
CI / test (pull_request) Successful in 10s
Unit Tests / test (pull_request) Successful in 9s
Replace the broken csrf_exempt handler (responses never returned) with a
working DRF endpoint, use FRONTEND_BASE_URL for reset links, and harden
set-password against reuse and short passwords.
2026-07-27 06:26:53 -05:00