Repository navigation
M28, first part: read Commonage's own export - #72
Merged
Merged
Conversation
…aks the import page Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Signed-off-by: Seb H. <[email protected]>
…s only) Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Signed-off-by: Seb H. <[email protected]>
Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Signed-off-by: Seb H. <[email protected]>
Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Signed-off-by: Seb H. <[email protected]>
- An item whose contribution does not say yes (no key, null) is left out, like a no. - A file that cannot be stored costs only that file: counted, no error text shown; the PhotosAdded line is written in a finally; the run no longer takes the request's token. - Cap on files in all of archive.json, and on recorded dry-run lines (the rest is counted and shown). - The staged ZIP and its folder are owner-only where the system has such modes. - Path regex ends with \z; "at most N characters" through T.Plural; handbooks and security.md updated. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Signed-off-by: Seb H. <[email protected]>
Stop a run after 5 failures in a row or when the app shuts down, and say how many items were not tried. Delete the stored original when its save fails and the .uploading file when a copy fails. Store alt text, caption and rotation in the photo's one save. Write the summary and photo lines in finally paths, log swallowed file errors by type, catch only store failures per file, and release the lock and remove staging when a run ends unexpectedly. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Signed-off-by: Seb H. <[email protected]>
…hen no row exists A save that throws may still have committed (a dropped connection), so the original is removed only when a fresh look finds no row; the entry is detached. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Signed-off-by: Seb H. <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
An admin-only page (
/Admin/ImportArchive) that reads Commonage's own export (versions 4 to 8), with a dry run first and nothing changed until an admin confirms. Plan:docs/plan-m28-toward-1-0.md.Published.mediaLevelandpublicFromare kept.MediaUploadService; the ZIP is size-, count-, depth- and path-limited, checksums verified.ImportStaging.DeleteOldso a folder that cannot be removed no longer breaks cleanup; staged files are owner-only on Linux.Checks
Release build clean; 571 passed / 6 skipped / 0 failed; browser tests 210/210; gitleaks clean; three privacy reviews, no leak.
Not tested here
Owner-only file modes on Linux (CI first run), real phones, screen readers. A final-summary audit write can still fail if the database is down at the end of a run (low impact).
🤖 Generated with Claude Code