Tick off Phase 6 download TODO
This commit is contained in:
11
README.md
11
README.md
@@ -642,11 +642,12 @@ Phase 5: collections and files
|
|||||||
|
|
||||||
Phase 6: download
|
Phase 6: download
|
||||||
|
|
||||||
- [ ] `downloadFile(fileID, outPath)` streams the encrypted body, decrypts it
|
- [x] `downloadFile(api, file, outPath?)` streams encrypted body, buffers to 4
|
||||||
chunk by chunk, writes plaintext to `outPath`. Resolves the filename from
|
MiB chunk boundary, decrypts via secretstream pull, writes to disk. Falls
|
||||||
the decrypted metadata title when no `outPath` is supplied.
|
back to `metadata.title` when outPath is omitted.
|
||||||
- [ ] `downloadThumbnail(fileID, outPath)` for the thumbnail CDN
|
- [x] `downloadThumbnail(api, file, outPath?)` same for thumbnails
|
||||||
- [ ] Live integration test against a throwaway Ente account if one is available
|
- [x] Live integration test: logs in, decrypts collections and files, downloads
|
||||||
|
a real JPEG from the dev account and verifies it on disk
|
||||||
|
|
||||||
Phase 7: session persistence
|
Phase 7: session persistence
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user