summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2026-05-12Move slideshow interval control to album page; fix mobile viewport clippingKen D'Ambrosio5-9/+13
- Interval input (default 5 s) now lives beside Shuffle/Full screen on the album page; passed as ?interval= param to the slideshow and seeded into the hidden ss-interval input on load. - Added "Interval" label text next to the input. - Fixed slideshow controls being pushed off-screen on mobile by using 100dvh (dynamic viewport height) with 100vh as a fallback, so the layout accounts for mobile browser chrome. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-12Prune orphaned thumbnails when update.rb removes deleted filesKen D'Ambrosio1-4/+10
When a media file is deleted from disk, also delete its cached thumbnail from cache/thumbs/ so stale .th.jpg files don't accumulate. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-12Fix slideshow photos showing too briefly due to preload timingKen D'Ambrosio1-5/+8
The next timer was starting as soon as ssShow() was called, so preload time + 500ms crossfade ate into the visible interval. Now the timer starts only after applyEntry() fires (photo is actually on screen), guaranteeing each photo gets a full interval of visibility. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-12Keep screen awake during slideshow via Wake Lock APIKen D'Ambrosio1-1/+16
Acquire a screen wake lock when the slideshow is playing; release on pause or page hide; re-acquire when the tab returns to the foreground. Failures are silently ignored so older browsers degrade gracefully. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-11Fix slideshow timer burst when returning from background tabKen D'Ambrosio1-1/+10
Use Page Visibility API to cancel the timer when the tab hides and reschedule fresh on return, so no queued ticks fire in a burst. Also fix stale #photo= → ?photo= in stage click-through. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-11v1.01: replace bcrypt with PBKDF2-SHA256; update README and DESIGN docsv1.01Ken D'Ambrosio7-36/+149
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-11Fix OG image previews: use ?photo= param so server can set correct og:imagev1.0Ken D'Ambrosio3-19/+30
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-11Add Open Graph meta tags for social media link previewsKen D'Ambrosio2-0/+19
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-11Add HTTP vs HTTPS setup guide with Certbot instructions to INSTALL.mdKen D'Ambrosio1-0/+67
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-11Replace cover dropdown with Random checkbox and per-file cover radioKen D'Ambrosio2-13/+25
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-11Always show filename in lightbox info panelKen D'Ambrosio2-2/+2
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-11Limit slideshow to filtered albums when search filter is activeKen D'Ambrosio3-26/+43
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-11Fix set_password.rb to chown config.yml to albumen user when run as rootKen D'Ambrosio1-0/+9
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-11Add INSTALL.md with Debian/Ubuntu setup instructionsKen D'Ambrosio1-0/+103
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-11Reverse sub-album listing order on admin edit pageKen D'Ambrosio1-1/+1
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-11Add Save button above Files table; redirect admin login to current albumKen D'Ambrosio1-0/+4
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-11Return to current album's edit page after admin loginKen D'Ambrosio1-1/+1
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-10Add slideshow: root-level, shuffle, fullscreen, click-to-albumKen D'Ambrosio7-27/+159
- Root slideshow: all_media_entries walks the full media tree so /slideshow/ shows every photo across all albums; Slideshow button always appears on the root album page - Shuffle and Full screen checkboxes sit next to the Slideshow button on the album page; options pass as ?shuffle=1&fullscreen=1 URL params - Fullscreen uses a tap-to-activate overlay (browsers block auto-entry on page load); webkit-prefixed for Safari; ⛶ button and F key for mid-session toggle - Fullscreen mode hides controls, counter, caption bar, and site header - Exiting fullscreen auto-pauses so the current photo stays visible - Click/tap anywhere in the stage navigates to the photo's album lightbox; reads the live src attribute instead of ssIdx to avoid a race where ssIdx advances during the cross-fade while the old photo is still on screen - layout.erb excluded from slideshow (layout: false) so the site header never appears there - CSS cache-busted with ?v=2 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-09Fix taken_at timezone: store and display as camera local timeKen D'Ambrosio2-2/+2
EXIF DateTimeOriginal has no timezone — it's the camera's wall clock. Storing it via .iso8601 attached +00:00 (server TZ), causing browsers to shift the time to their local zone when parsing. Switch to strftime('%Y-%m-%dT%H:%M:%S') so no offset is written. JS strips any existing +00:00 suffix from already-stored values so old data is also displayed correctly. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-09Add info overlay to lightbox showing photo metadataKen D'Ambrosio4-0/+36
Tap "ℹ Info" in the caption bar to toggle a semi-transparent panel at the bottom of the image showing filename (if different from title), date taken, and pixel dimensions. Panel resets to hidden on each photo change. Button is hidden automatically when no metadata is available. Width/height are now included in the ENTRIES payload. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-09Add show/hide password toggle to admin loginKen D'Ambrosio2-1/+22
SVG eye icon sits inside the right edge of the password field. Tap/click to reveal; tap again to conceal. Helps mobile users confirm what they're typing without a separate "show password" step. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-09Bump album.js cache-buster to force fresh load of search codeKen D'Ambrosio1-1/+1
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-09Add live album filter search boxKen D'Ambrosio3-1/+18
Typing in the search box instantly hides non-matching album cards. Shown only when an album has more than 4 sub-albums (no point otherwise). Pure client-side — no server round-trips. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-09Add DESIGN.md — architecture and workflow referenceKen D'Ambrosio1-0/+398
Covers system architecture, directory layout, dependencies, data model, all HTTP routes, request flows (browse, thumbnail, lightbox, slideshow, admin), the update.rb script, security model, and deployment. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-09Search subdirs recursively for album cover candidatesKen D'Ambrosio1-6/+11
Albums with no top-level photos (only sub-albums) now find a cover by walking the full directory tree. Extracted cover_candidates() does a recursive glob and returns paths relative to the album dir so the existing thumb URL construction works unchanged. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-09Replace dynamic cover checkbox with random image dropdown optionKen D'Ambrosio2-12/+10
Adds "— random image —" as a selectable cover option (stored as __random__ sentinel). album_cover() now picks a random eligible file when that value is set, giving a fresh cover on each page load. Removes the cover_dynamic field that was saved but never actually used in display logic. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-09Fix video/audio players showing on image lightboxKen D'Ambrosio1-0/+1
#lb-video and #lb-audio had explicit display:block via ID selectors, which outweighed the .hidden class selector and kept the players visible for photos. Added !important to .hidden so the utility class always wins. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-09Initial commit — Albumen photo albumKen19-0/+1788
Ruby/Sinatra self-hosted photo album with directory hierarchy, per-photo captions and visibility, lightbox, slideshow, admin UI, and Let's Encrypt HTTPS via Apache reverse proxy on prouter. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>