mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-08 04:32:42 +00:00
Document vault shows a per-file thumbnail: a server-rendered preview, downscaled and re-encoded so location and camera metadata are dropped, served only to the file's owner over an authenticated request. Files that cannot be previewed keep their type icon. Generation is bounded — a header sniff refuses an over-large source before decode, so a crafted image cannot exhaust the preview worker. Also folds in admin-managed central AI access — an administrator connects one access on the server and each user opts in or keeps their own provider, off until an admin turns it on — and trims the redundant documents-search caption and per-file searchable/read badges.
944 KiB
944 KiB