-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
fix: choose correct upload ids for retry #15872
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
alperozturk96
wants to merge
4
commits into
master
Choose a base branch
from
fix/choose-correct-upload-ids-for-retry
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
+123
−119
Conversation
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
Collaborator
Author
|
/backport to stable-3.34 |
6fbdc17 to
36233d8
Compare
app/src/main/java/com/nextcloud/client/jobs/upload/FileUploadHelper.kt
Outdated
Show resolved
Hide resolved
36233d8 to
71209dd
Compare
ec322d2 to
29890e6
Compare
Signed-off-by: alperozturk <[email protected]> # Conflicts: # app/src/main/java/com/nextcloud/client/jobs/upload/FileUploadHelper.kt
Signed-off-by: alperozturk <[email protected]>
Signed-off-by: alperozturk <[email protected]>
Signed-off-by: alperozturk <[email protected]>
29890e6 to
dce5c99
Compare
|
APK file: https://www.kaminsky.me/nc-dev/android-artifacts/15872.apk |
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.

Changes
Upload conditions are validated before scheduling jobs, ensuring that only eligible uploads are sent to the worker.
Fixes an unnecessary chained call in
UploadListActivityand refreshes the UI after worker completed.Removes
startAutoUploadImmediatelyfromUploadListActivity, 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,
retryFailedUploadsalready handles retrying failed auto uploads.Handles result of
retryFailedUploadsinUploadListActivity.Demo