Add view counters per album, recipient and browser, per-browser sign-out in admin, and photo hearts

This commit is contained in:
zyphlar
2026-11-07 22:55:29 -08:00
parent 17bf59b218
commit 1db425d493
17 changed files with 511 additions and 26 deletions
+7
View File
@@ -20,6 +20,13 @@ or **sign-in only** (only people you invite).
- **Comments.** Recipients can comment on any photo from the lightbox (comment button, or the info sidebar). They can
delete their own; you can moderate all of them from the admin page. Comments are only ever shown to recipients
given that share, never to other visitors of a public share.
- **Hearts.** Recipients can heart a photo from the lightbox (heart button, beside the comments button). The count is
everyone's; each recipient hearts a photo at most once and can take it back. Like comments, hearts are for
recipients given that share only.
- **Activity.** `/admin` shows how often each album's gallery was opened (and how many of those opens were by
visitors who weren't signed in), its hearts, and how often each recipient opened their albums. A recipient's page
lists each signed-in browser with when it was last used and its views, and can sign out any one of them. Counting
started with this release; earlier visits aren't included.
- **Lost links.** A visitor with no session can ask for a new link by email. The reply is the same whether or not the
address was invited, and requests are rate-limited.
- **Password-protected shares.** Store the share password when adding the album, and recipients are never asked