Skip to content

Internal two way sync upload new files - #17598

Open
tobiasKaminsky wants to merge 11 commits into
masterfrom
internalTwoWaySyncUploadNewFiles
Open

tobiasKaminsky wants to merge 11 commits into
masterfrom
internalTwoWaySyncUploadNewFiles

Conversation

@tobiasKaminsky

@tobiasKaminsky tobiasKaminsky commented Sep 9, 2026 •

Copy link
Copy Markdown
Member

Fix #13752

Expected behaviour

  • Create a file in the folder with another app
  • Create a folder with files inside, with another app
  • Edit a downloaded file with another app
  • Delete a downloaded file with another app
  • Create, edit or delete a file on the web
  • Create nested folders on the web (a/b/file) -> app should sync with the latest state

  • Edit the same file on the phone and the web -> app should mark it as a conflict; neither side is overwritten
  • Deletes a synced folder on the web -> app should never re-create
  • Syncs again without changes -> app should do nothing

To testing "run sync now" can be used from Settings.

🤖 AI (if applicable)

  • The content of this PR was partly or fully generated using AI (N/A)

@github-actions

github-actions Bot commented Sep 9, 2026

Copy link
Copy Markdown

blue-Light-Screenshot test failed, but no output was generated. Maybe a preliminary stage failed.

@github-actions

github-actions Bot commented Sep 9, 2026

Copy link
Copy Markdown

APK file: https://github.com/nextcloud/android/actions/runs/34354803647/artifacts/10106974799
To test this change/fix you can simply download above APK file and install and test it in parallel to your existing Nextcloud app.
qrcode (please click on link to get QR code displayed)

@tobiasKaminsky

Copy link
Copy Markdown
Member Author

Waiting for feedback in #13752

@tobiasKaminsky

Copy link
Copy Markdown
Member Author

/backport to stable-35.0.x

@github-actions

github-actions Bot commented Oct 5, 2026 •

Copy link
Copy Markdown

📱 QA build

Download app-qa-debug.apk
QR code Open the QR code for this download
Commit d0cf122
Version 17598
Available until 7 days after this build

The QA build installs alongside a released Nextcloud app, so you can keep
using your existing install while testing.

Downloading the file requires a GitHub account, so open this link on the
device you want to test on, or transfer the APK to it.

@alperozturk96
alperozturk96 force-pushed the internalTwoWaySyncUploadNewFiles branch from 13088e1 to be3236d Compare October 5, 2026 13:49
@nextcloud nextcloud deleted a comment from github-actions Bot Oct 5, 2026
@github-actions

github-actions Bot commented Oct 5, 2026

Copy link
Copy Markdown

@github-actions

github-actions Bot commented Oct 5, 2026

Copy link
Copy Markdown

@github-actions

github-actions Bot commented Oct 5, 2026

Copy link
Copy Markdown

@alperozturk96
alperozturk96 force-pushed the internalTwoWaySyncUploadNewFiles branch from fdea366 to 7439520 Compare October 6, 2026 08:43
tobiasKaminsky and others added 8 commits October 6, 2026 11:19
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>

# Conflicts:
#	app/src/main/java/com/owncloud/android/operations/SynchronizeFolderOperation.java
#	app/src/main/res/values/strings.xml
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
Signed-off-by: alperozturk96 <alper_ozturk@proton.me>
Signed-off-by: alperozturk96 <alper_ozturk@proton.me>
Signed-off-by: alperozturk96 <alper_ozturk@proton.me>
Signed-off-by: alperozturk96 <alper_ozturk@proton.me>
Signed-off-by: alperozturk96 <alper_ozturk@proton.me>
Signed-off-by: alperozturk96 <alper_ozturk@proton.me>
@alperozturk96
alperozturk96 force-pushed the internalTwoWaySyncUploadNewFiles branch from 799d753 to 9301570 Compare October 6, 2026 09:19
Signed-off-by: alperozturk96 <alper_ozturk@proton.me>
Signed-off-by: alperozturk96 <alper_ozturk@proton.me>
Signed-off-by: alperozturk96 <alper_ozturk@proton.me>
@github-actions

github-actions Bot commented Oct 6, 2026

Copy link
Copy Markdown

Codacy

SpotBugs

CategoryBaseNew
Bad practice3030
Correctness5454
Dodgy code177177
Experimental11
Malicious code vulnerability22
Multithreaded correctness2620
Performance3535
Security1616
Total341335

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Internal 2-way sync does not pick up files / folders created/modified/deleted outside nextcloud app

2 participants