Skip to content

morfPhoto - v0.13.0

Choose a tag to compare

@morfredus morfredus released this 05 Sep 14:09
· 14 commits to main since this release

morfPhoto 0.13.0

  • Per-source read/write mounts, so context qualification can actually write. Pushed SMB sources were always mounted read-only, which made writing the .morfphoto.json sidecar beside the photos impossible - the qualification screen failed with "Système de fichiers accessible en lecture seulement" even though morfPhoto only ever writes that one sidecar, never the photos. A source can now be declared qualifiable (writable), mounted read/write; archives stay read-only.
  • POST /api/v1/sources accepts a writable flag (default false, backward compatible), threaded through PhotoModule and SourceManager to the privileged helper. The stored source metadata records writable.
  • The privileged helper's mount verb takes an optional 6th argument rw|ro (default ro), writes the matching fstab option, and remounts when the current mode no longer matches - so re-pushing a source to make it qualifiable actually flips an existing read-only mount to read/write instead of silently keeping it ro.