From dadf0909dd235a7764a59a63d2b51861fa81e385 Mon Sep 17 00:00:00 2001 From: dax Date: Tue, 4 Aug 2026 16:54:07 +0100 Subject: add photo import: upload -> photoprism, fix desktop file dialog - POST /api/import with native multipart parser (no new deps); stages files then delegates indexing+thumbnailing to PhotoPrism via `photoprism cp` - pathways reflects new photos immediately via refresh() - upload UI shown only in empty-library state - nixos: PHOTOPRISM_READONLY=false; pathways service gets STAGING_ROOT and photoprism env; PATH includes /run/wrappers/bin so sudo is found - fix: stage.setPointerCapture was swallowing the import label's click on desktop, preventing the native file dialog from opening --- public/index.html | 22 +++++++++++++++------- 1 file changed, 15 insertions(+), 7 deletions(-) (limited to 'public/index.html') diff --git a/public/index.html b/public/index.html index 549ca5d..0f44c6b 100644 --- a/public/index.html +++ b/public/index.html @@ -5,17 +5,25 @@ pathways - +
+
-
-

pathways.

-

four paths, one per direction. walk them.

- -
- + +
drop photos to import
+
+ -- cgit v1.3.1