Repository navigation
Conversation
Reuse encrypted folder metadata and existing upload operations for automatic uploads, including account ownership, collision handling, and server rollback. Assisted-by: Codex:GPT-6 Signed-off-by: Li Wei <caeser222000@sohu.com>
805553a to
c6c5300
Compare
Verify same-name encrypted files using authenticated plaintext and cache unchanged versions. Reuse verified downloads, complete identical-file records through the existing upload flow, and clean temporary plaintext and ciphertext. Preserve upload names, results and progress; authenticate encrypted downloads before publication; resolve first-open preview events by account and physical path; reuse local originals for upload and encrypted-folder thumbnails. Assisted-by: Codex:GPT-6 Signed-off-by: Li Wei <caeser222000@sohu.com>
Assisted-by: Codex:GPT-6 Signed-off-by: Li Wei <caeser222000@sohu.com>
Signed-off-by: Li Wei <caeser222000@sohu.com> Assisted-by: Codex:GPT-6
Signed-off-by: Li Wei <caeser222000@sohu.com> Assisted-by: Codex:GPT-6
Keep this change compatible with the current upstream dependencies and updates. Signed-off-by: Li Wei <caeser222000@sohu.com> Assisted-by: Codex:GPT-6
Use the upstream transfer helper to own temporary plaintext copies during encrypted uploads. Preserve folder resolution and verify original-file preservation and conflict cleanup. Assisted-by: Codex:GPT-6 Signed-off-by: O.O <caeser222000@163.com>
Preserve ciphertext lookup and missing-preview handling with the upstream Kotlin storage manager. Adapt automatic upload account handling and regression tests to the new folder model. Assisted-by: Codex:GPT-6 Signed-off-by: O.O <caeser222000@163.com>
There was a problem hiding this comment.
Hi, thank you for your time on this. We appreciate it.
Unfortunately we can't accept this PR in its current form. Every change needs a careful line-by-line review, and we have to be confident it can't cause any regression or weaken security.
This PR combines several things, it also touches many files. A change this large to this area is very hard to review reliably.
If you'd like to continue, please:
Open an issue first that describes the exact problem, feature and how to reproduce it, so we can agree on the approach before any code is written.
Thanks again for your understanding and for contributing to Nextcloud.
|
I will reduce this rather than keep expanding the PR. The destination-selection problem is already tracked in #14771; I have added the proposed initial scope there for discussion. Conflict comparison, previews and thumbnails would be separate changes. I will wait for scope confirmation before replacing this PR. |
|
Hello there, We hope that the review process is going smooth and is helpful for you. We want to ensure your pull request is reviewed to your satisfaction. If you have a moment, our community management team would very much appreciate your feedback on your experience with this PR review process. Your feedback is valuable to us as we continuously strive to improve our community developer experience. Please take a moment to complete our short survey by clicking on the following link: https://cloud.nextcloud.com/apps/forms/s/i9Ago4EQRZ7TWxjfmeEpPkf6 Thank you for contributing to Nextcloud and we hope to hear from you soon! (If you believe you should not receive this message, you can add yourself to the blocklist.) |
Keep the retained upload source and pass its MIME type to the upstream thumbnail helpers. Assisted-by: Codex:GPT-6 Signed-off-by: O.O <caeser222000@163.com>
Keep the encrypted upload branch compatible with the upstream auto-upload settings refactor. Assisted-by: Codex:GPT-6 Signed-off-by: O.O <caeser222000@163.com>
Automatic upload currently prevents selecting an end-to-end encrypted destination. This change allows existing E2EE folders as destinations and uses the existing encrypted upload operations. Testing also exposed problems with identical-file conflicts, completed-upload links, first-open previews and locally available thumbnails; the accompanying fixes keep those paths usable for encrypted automatic uploads.
Uploads and conflicts
OCFilemetadata mapping. Create missing descendants through the existing folder operations, including encrypted descendants within ordinary automatic-upload roots.Completed uploads, previews and thumbnails
Validation
35.2.0-test.20261112.10.java.io.Filepath semantics.Checklist
AI disclosure
Codex assisted implementation, tests, consolidation and this description under the contributor's direction. AI-assisted commits retain their
Assisted-bytrailers.