Skip to content

Conversation

@alperozturk96
Copy link
Collaborator

@alperozturk96 alperozturk96 commented Oct 30, 2025

  • Tests written, or not not needed

Changes

Upload conditions are validated before scheduling jobs, ensuring that only eligible uploads are sent to the worker.

Fixes an unnecessary chained call in UploadListActivity and refreshes the UI after worker completed.

Removes startAutoUploadImmediately from UploadListActivity, as auto uploads are already managed by a periodic job. Manually triggering them provides no benefit, if a previous scan was recently completed, it will simply be skipped.
Additionally, retryFailedUploads already handles retrying failed auto uploads.

Handles result of retryFailedUploads in UploadListActivity.

Demo

Screenshot 2025-10-30 at 09 39 29

tobiasKaminsky

This comment was marked as resolved.

@alperozturk96 alperozturk96 force-pushed the fix/choose-correct-upload-ids-for-retry branch from 36233d8 to 71209dd Compare November 5, 2025 10:54
@alperozturk96 alperozturk96 force-pushed the fix/choose-correct-upload-ids-for-retry branch 2 times, most recently from 29890e6 to dce5c99 Compare November 7, 2025 12:38
Signed-off-by: alperozturk <[email protected]>

# Conflicts:
#	app/src/main/java/com/nextcloud/client/jobs/upload/FileUploadHelper.kt
Signed-off-by: alperozturk <[email protected]>
@tobiasKaminsky tobiasKaminsky force-pushed the fix/choose-correct-upload-ids-for-retry branch from dce5c99 to e9dc260 Compare November 14, 2025 08:56
@github-actions
Copy link

Codacy

SpotBugs

CategoryBaseNew
Bad practice4242
Correctness7373
Dodgy code272272
Experimental11
Internationalization77
Malicious code vulnerability22
Multithreaded correctness3535
Performance4848
Security1818
Total498498

@github-actions
Copy link

@github-actions
Copy link

APK file: https://www.kaminsky.me/nc-dev/android-artifacts/15872.apk

qrcode

To test this change/fix you can simply download above APK file and install and test it in parallel to your existing Nextcloud app.

@alperozturk96 alperozturk96 merged commit f2c3137 into master Nov 14, 2025
16 of 21 checks passed
@alperozturk96 alperozturk96 deleted the fix/choose-correct-upload-ids-for-retry branch November 14, 2025 09:49
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.

3 participants