Commit Graph
15 Commits
Author SHA1 Message Date
nvrl aa17b52692 feat(photos): save photos to the timeline
Ports upstream C# e0e198e2 (SavePhotosToTimelineAsync, itself the JS
saveToTimeline). Photos already on our photos volume are moved into the
timeline root via PUT photos/volumes/{vid}/links/transfer-multiple,
batched so no request carries more than ten links and a photo is never
split from its related photos; photos on another volume — from an album
shared with us — are copied via POST volumes/{vid}/links/{lid}/copy, one
request each. That closes the cross-volume copy hole (TS copyPhoto).

The re-encryption is what add_photos_to_album already did, so it moves
into a shared photo_target_payload: name re-encrypted to the target key
and signed by the photos membership address, name/content hashes under
the target hash key, node passphrase rewrapped so the original
NodePassphraseSignature survives.

A photo the server reports an incomplete group for is re-queued once
with the related photos it named; only its second answer becomes an
outcome, so outcomes arrive in completion order, not input order.

Also adds ProtonPhotosClient::enumerate_events (c8d03244's only
non-interop hunk) and bumps the upstream pin to c8d03244. Upstream
29e58378 (upload telemetry) and 0537d906 (NodeProvider refactor) are
deliberately not ported — see UPSTREAM_SYNC.md.
2026-08-27 15:58:06 +02:00
nvrl 0cf760362a fix(sdk) token mutex no longer spans the refresh 2026-08-16 18:53:29 +02:00
nvrl 9ec0582efe added chain with salts 2026-08-10 15:19:18 +02:00
nvrl e378db6ec8 implemented enumeration for drive 2026-08-10 14:10:43 +02:00
nvrl 4fe7f02ebb version 0.4.0 2026-08-03 00:18:39 +02:00
nvrl 3616f15cfc validate_node_name, albums, photo tags 2026-07-31 19:32:59 +02:00
nvrl 0e335e35ec updated readme 2026-07-16 16:47:46 +02:00
nvrl 8039793010 added badges + github templates 2026-06-30 04:33:31 +02:00
nvrl ec7de59851 updated readme 2026-06-30 04:21:04 +02:00
nvrl 643f5a2c3b renamed for crate 2026-06-28 11:47:54 +02:00
nvrl b9742e122a added license, author, metadata 2026-06-28 10:33:59 +02:00
nvrl 2400e28e4a Update README.md 2026-06-25 17:34:11 +02:00
nvrl 69c09dac24 removed hidden-line markers from doc 2026-06-25 17:27:47 +02:00
nvrl b0eeb8cf0f updated readme + example 2026-06-25 17:26:02 +02:00
nvrl 808a96cdd1 init 2026-06-25 09:42:34 +02:00