@owncloud/android-developers
Time has come.
From my POV, this is finally ready to be tested by QA (cc @jesmrec).
Many hands contributed here, starting with the awesome effort of @LukeOwncloud. Sounds wise summoning many eyes to review it. So, any comment about the code will be welcome.
Though many things have been rewritten and considerably cleaned-up, sure you will still find many points that could (and should) be refactored. I can't promise that all of them may be attended in this PR, since we really, really, need to release this with next version 1.9.2, that should be very near in time to the release of OC 9. Evolution of testing is the leading criteria right now.
This means: if we think we can refactor something in a safe manner without introducing an important risk for QA, we will do. If bugs appear and the code to fix is also subject of comments in the code review, we will apply the comments.
But if change requests are big enough to require QA starts the testing all over again, we will have to wait for a better chance.
This one should not be too far in time. This PR lets aside an important topic that was originally addressed by @LukeOwncloud , the improvement of automatic retries. Right now instant uploads are retried when Wifi connection is established, in a similar way to the operation of the currently released version 1.9.1 [1]. But other convenient improvements will be addressed specifically in the short term [2], not in this PR. And that should be a good moment to improve the code of uploads further.
Come on Barbie, let's go party!
[1] You may notice some light improvements, but that's a side effect of the many changes done; was easier let it that way that adding artificial limits. Have fun finding them :)
[2] If you don't want to wait and prefer to implement them, go for it. Just mention me to let me know, and I'll try to help.
BUGS FOUND AND ENHANCEMENT:
- [x] Failed uploads can not be retried in another account #1497
- [x] Failed uploads are not retried by the button #1498
- [x] Deleting an account does not clear the current uploads #1499
- [x] Killing the app leaves uploads in an inconsistent state #1500
- [x] Wording issues in uploads view #1501
- [x] Manual retries are "delayed #1502
- [x] Uploads in SAML requests authentication twice #1503
- [x] Current upload should be in the top of the uploads view #1511
- [x] Only current upload in progress naming as "Uploading" #1520
- [x] Retry failed uploads start uploading by the bottom #1521
- [x] Credentials requested on each failed upload #1522
- [x] Uploaded files are possible to uploaded it again #1523
- [x] Title on top bar in upload view is shown sometimes owncloud instead of Uploads #1524
- [x] Failed Uploads set as wrong status "Waiting for wifi connectivity" #1525
- [x] Show account info also while the file is uploading or waiting to upload #1526
- [x] Title on top bar in upload view is shown the name of the failed upload #1530
- [x] Some Instant uploads naming as "Unknown error" #1531
- [x] Uploads with status "Waiting wifi connectivity" are not retried #1532
- [x] Clear all uplodas does not cancel all the current uploads #1533
- [x] Current upload can't be cancelled (Android 4.1.2) #1535
- [x] Progress bar not updated in uploads view when the upload is retried manually (Android 4.1.2) #1536
- [x] Upload the same file to different folder fails #1549
- [x] Deleting a file while uploading results in "Connection error" message instead of "file deleted locally" #1528
- [x] Background color should be white everywhere #1426
- [x] Thumbnails not shown in
UPLOADED
section #1517
- [x] If the same file is uploaded twice, both uploads are removed from list #1553
- [x] Yellow arrow when the file has a duplicated name #1554 [OUT OF SCOPE]
- [x] If wifi is lost, only one upload is move to failed #1569
- [x] Username in drawer not refreshed when account is removed from uploads view #1572
- [x] When a lot of files is sent to uploads view, progress bar is not correctly managed #1573
- [x] Upload path does not appear in "Uploaded" #1576
Enhancement Uploads Approved by qa