Skip to content
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

PE-4754: Uploader/Downloader #1415

Conversation

thiagocarvalhodev
Copy link
Collaborator

@thiagocarvalhodev thiagocarvalhodev commented Oct 9, 2023

The tickets for download/upload were merged into staging before the QA and the total review, so the team could go testing it. We will address all the comments on both PRs in this ticket.

--- Releases ---
Android release: https://appdistribution.firebase.google.com/testerapps/1:305132849030:android:6cf0cd5ec064fad3ffce07/releases/1p63u2td9iov0

Needed to avoid confusion on waiting of not the _uploadFiles method
@thiagocarvalhodev thiagocarvalhodev self-assigned this Oct 9, 2023
remove unnecessary for and commented code
@github-actions
Copy link

github-actions bot commented Oct 9, 2023

Visit the preview URL for this PR (updated for commit ac19f01):

https://ardrive-web--pr1415-pe-4754-address-code-l0gn9fgj.web.app

(expires Thu, 02 Nov 2023 16:41:44 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: a224ebaee2f0939e7665e7630e7d3d6cd7d0f8b0

- makes the abstract class public
- renames from UploadTask to ARFSUpload task as this task uses the ARFS metadata for the upload
- uses the correct version for fetch_client from arweave dart
use switch case instead of if else statement
use switch case instead of if else statement
…ader-implementations' of github.com:ardriveapp/ardrive-web into PE-4754-address-code-review-comments-on-uploader-downloader-implementations
- removes the unstable methods from the API of the UploadController
- comments the retry widget on UploadForm
move file for ardrive_utils and replace all the imports
rename variable
- set the progress unavailable for files larger than 500MiB on the streamed upload class
- uses the base2size instead of literal integers
- changes the method used for logging
- updates the task status when the process of bundling fails
- improves how we check for finished downloads
- implement the Worker and WorkerPool classes to perform the concurrency
- add the cancel option for turbo web with dio and fetch client. Still missing the implementation for dio native.
- implements the cancel functionality
- add sendTask to the UploadController API
- improves how the folder is uploaded
- improves the feedback for the user when the file is in preparation
- adds a new icon to show that the upload is in preparation
-  fixes d2n issue of not finish the upload after reaching 100% on the upload
- improved the inProgress status update
- now every property of UploadTask is immutable
- improves the logging of errors
if the download failed don't show the upload in progress without progress text
- use the right limit on turbo
- add GCM encryption
@thiagocarvalhodev thiagocarvalhodev changed the title PE-4754: Address code review comments on Uploader/Downloader PE-4754: Uploader/Downloader Oct 24, 2023
thiagocarvalhodev and others added 15 commits October 24, 2023 14:56
- fixes the download of manifest when using ArDriveDownloader
adds a constant for the large files upload using turbo
add sized box on conditional
PE-4808: makes turbo uploads be marked as not possible when size is below the limit
- warn the user if the upload is bigger than 500mib uploading for turbo
- adds the new downloader on the share page
This reverts commit 6ecd7fd.
This reverts commit 7a802d4.
- caches the contract for a max of 30min
- now it calculates a token holder for each upload
- minor refactors
- renames method to get literal string from a number of Winstons
validates if the contract oracles are not null
Base automatically changed from PE-4754-revert_the_revert to dev October 26, 2023 10:07
thiagocarvalhodev and others added 7 commits October 26, 2023 08:45
…d-modal

PE-4876: add warning to upload modal
…ader-implementations' into PE-4864-unable-to-download-files-in-safari
…ader-implementations' into PE-4864-unable-to-download-files-in-safari
…-reader-that-reads-our-own-cache

PE-4866: implement a contract reader that reads our own cache
…pe-of-the-function-cipher-buffer-impl-to-aes-gcm-instead-of-streaming-cipher

PE-4851: fix the `cipherBufferImpl` running in a dart vm
…iles-in-safari

PE-4864: fixes: unable to download files in safari
Copy link
Contributor

@matibat matibat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@thiagocarvalhodev thiagocarvalhodev merged commit 983259a into dev Oct 26, 2023
6 checks passed
@thiagocarvalhodev thiagocarvalhodev deleted the PE-4754-address-code-review-comments-on-uploader-downloader-implementations branch October 26, 2023 19:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants