What's New
Weekly Digest Email
- Scheduled summary: Automatic email every Sunday at midnight with certificate stats, client cert overview, and weekly activity (created/renewed/failed).
- On-demand send:
POST /api/digest/send(admin) or "Send now" button in Notification Settings. - Preview endpoint:
GET /api/digest/previewreturns digest data as JSON. - Toggle:
digest_enabledflag in notification config — enabled by default when SMTP is configured. - HTML + plain text: Formatted email with color-coded stats and expiring domain list.
Bug Fix
- Fix #71: Settings tab content (Users & Backup) was leaking across all tabs due to malformed HTML
<div>tags missing closing>. Alpine.jsx-showdirectives were not parsed, causing content to display unconditionally.
Details
- New
WeeklyDigestmodule (modules/core/digest.py) - APScheduler cron job:
day_of_week='sun', hour=0, minute=0 - 10 unit tests for digest (stats, formatting, skip conditions, SMTP send)
- Bandit clean, all tests passing
Full Changelog: v1.10.6...v1.10.7