Skip to content

Use new auto folder creation feture available since Nextcloud 32 - #17618

Open
daniele-verducci wants to merge 9 commits into
masterfrom
feature/create-folder-during-upload
Open

daniele-verducci wants to merge 9 commits into
masterfrom
feature/create-folder-during-upload

Conversation

@daniele-verducci

@daniele-verducci daniele-verducci commented Sep 11, 2026

Copy link
Copy Markdown
Contributor

Use new auto folder creation feture available since Nextcloud 32 instead of explicitly creating folders before an upload.
The library PR is: nextcloud/android-library#2141

🖼️ Screenshots

🏚️ Before 🏡 After
B A

🏁 Checklist

  • ⛑️ Tests (unit and/or integration) are included or not needed
  • 🔙 Backport requests are created or not needed: /backport to stable-xx.x
  • 📅 Milestone is set
  • 🌸 PR title is meaningful (if it should be in the changelog: is it meaningful to users?)

🤖 AI (if applicable)

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

@github-actions

github-actions Bot commented Sep 11, 2026

Copy link
Copy Markdown

📱 QA build

Download app-qa-debug.apk (165M)
QR code Open the QR code for this download
Commit 3d0053b
Version 17618
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.

@daniele-verducci

Copy link
Copy Markdown
Contributor Author

This is ready to review

@github-actions

Copy link
Copy Markdown

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

@github-actions

Copy link
Copy Markdown

Comment thread app/src/main/java/com/owncloud/android/operations/UploadFileOperation.java Outdated
Comment thread app/src/main/java/com/owncloud/android/operations/UploadFileOperation.java Outdated
@daniele-verducci
daniele-verducci force-pushed the feature/create-folder-during-upload branch 2 times, most recently from 8ecd813 to 671bc32 Compare September 15, 2026 09:39
@daniele-verducci

Copy link
Copy Markdown
Contributor Author

Hey @alperozturk96 , thanks for the review! I fixed it!

@daniele-verducci

Copy link
Copy Markdown
Contributor Author

Tests are failing, I'm checking them

@daniele-verducci
daniele-verducci force-pushed the feature/create-folder-during-upload branch from d2cda94 to d03927c Compare September 16, 2026 09:46
@github-actions

Copy link
Copy Markdown

@github-actions

Copy link
Copy Markdown

daniele-verducci and others added 5 commits September 16, 2026 18:30
…ture

Signed-off-by: daniele-verducci <daniele.verducci@nextcloud.com>
Signed-off-by: daniele-verducci <daniele.verducci@nextcloud.com>
Signed-off-by: daniele-verducci <daniele.verducci@nextcloud.com>
Co-authored-by: Alper Öztürk <67455295+alperozturk96@users.noreply.github.com>
Signed-off-by: daniele-verducci <daniele.verducci@nextcloud.com>
Signed-off-by: daniele-verducci <daniele.verducci@nextcloud.com>
Signed-off-by: daniele-verducci <daniele.verducci@nextcloud.com>
…rsion)

Signed-off-by: daniele-verducci <daniele.verducci@nextcloud.com>
Signed-off-by: daniele-verducci <daniele.verducci@nextcloud.com>
Signed-off-by: daniele-verducci <daniele.verducci@nextcloud.com>
@daniele-verducci
daniele-verducci force-pushed the feature/create-folder-during-upload branch from d03927c to 3d0053b Compare September 16, 2026 16:31
@daniele-verducci

Copy link
Copy Markdown
Contributor Author

Tests should be fixed now, let's see next CI run

@github-actions

Copy link
Copy Markdown

Codacy

SpotBugs

CategoryBaseNew
Bad practice3232
Correctness5858
Dodgy code186185
Experimental11
Malicious code vulnerability22
Multithreaded correctness2626
Performance3736
Security1818
Total360358

@codecov

codecov Bot commented Sep 16, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 61.90476% with 16 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
...ncloud/android/operations/UploadFileOperation.java 30.43% 9 Missing and 7 partials ⚠️

📢 Thoughts on this report? Let us know!

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.

2 participants