Calendar home screen, day-of-week headings, cookie-based login #107
Loading…
Reference in a new issue
No description provided.
Delete branch "refs/pull/107/head"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Implements three UI improvements from the project roadmap.
Calendar home screen — replaces the flat date list at
/dayswith a two-month calendar grid. Each day cell shows motion event count and snapshot count on separate lines; clicking any day with footage navigates to the day view. Desktop shows two months side by side; mobile stacks them. Prev/next navigation via?month=YYYY-MM.Day-of-week headings — single-day pages now show the weekday name alongside the date (e.g.
Thursday · 2026-07-11) in the page h1 and back-links.Cookie-based login — replaces HTTP Basic Auth with an HTML login form backed by a stateless HMAC-SHA256 signed session cookie. The cookie secret is derived from the configured password, so rotating the password invalidates all sessions automatically. Includes open redirect prevention and a Log out link in the header.
Also bumps the WuMing
max_diff_lineslimit to 3000 in CI.Closes #104
Closes #105
Closes #106
TODO.mdline 6✅ Fixed — removed the duplicate "a".
TODO.mdline 8✅ Fixed — corrected spelling of "password".
.forgejo/workflows/ci.yml🔴 Not actioned —
forge.tokenis the correct Forgejo Actions automatic token (the Forgejo equivalent of GitHub Actions'github.token). CI is running successfully with it.