Skip to content

fix: protect sidecars and edit files, keep the vault passkey in the window, and pass picker paths as data - #18

Merged
nodemode-ai merged 7 commits into
mainfrom
fix/review-2026-11-28
Nov 29, 2026
Merged

nodemode-ai merged 7 commits into
mainfrom
fix/review-2026-11-28

Conversation

@gbarnai

@gbarnai gbarnai commented Nov 29, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Disk browser: rating, labelling or keywording a file whose XMP sidecar was written by another tool now changes only xmp:Rating, xmp:Label, xmp:MetadataDate, dc:subject and lr:hierarchicalSubject. Every other setting in the sidecar is kept. A sidecar that does not parse, or that is not UTF-8, is left as it is. A sidecar's own namespace prefixes no longer change the prefixes used for the next file.
  • Export with sidecars: a name is used only when both the image and its .xmp are free. An existing sidecar in the destination folder, or the shared sidecar of a RAW and JPEG pair, is no longer replaced.
  • Deleting an item for good keeps any edit file that another item still points at. Files that arrive by sync can carry another device's id in their name.
  • Vault: the vault passkey can only be set from the formDAM window or the desktop shell. After 10 wrong passkeys within 5 minutes, vault unlock, private album unlock and saving the passkey to the device store answer 429. A right passkey clears the count.
  • Folder picker: the starting folder reaches the system dialog as data, through an environment variable on Windows and a script argument on macOS. It is never placed in the script text, and folders with quotes in their names now work as a starting folder.
  • Test plan: [ ] CI green on this branch [ ] check the folder picker's starting folder on a Windows PC [ ] rate a Lightroom-edited RAW in the Disk browser and confirm its develop settings are still there

Tests

  • Each fix has a test that fails on the previous code where practical.
  • The repo CI commands were run locally on macOS. Every failure seen locally also fails on main in the same environment (missing local tools or platform-specific tests); none is introduced here.
  • Please rely on this PR's CI run for Linux and Windows.

For the owner

  • A few related items need an owner decision; they are listed separately, not here.

How to ship

  • Independent of other repos; merge in any order. No version bump; release as usual.

@gbarnai
gbarnai requested a review from nodemode-ai as a code owner November 29, 2026 18:18
@nodemode-ai
nodemode-ai merged commit 7ac703c into main Nov 29, 2026
5 checks passed
@nodemode-ai
nodemode-ai deleted the fix/review-2026-11-28 branch November 29, 2026 18:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants