-
Notifications
You must be signed in to change notification settings - Fork 1
feat: Add Upload with v2 API #595
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
LouisCAD
wants to merge
33
commits into
protected/v2
Choose a base branch
from
upload-v2
base: protected/v2
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
Changes from all commits
Commits
Show all changes
33 commits
Select commit
Hold shift + click to select a range
573d98a
refactor: Fix and simplify AccountUtils and AccountPreferences
LouisCAD 17c5cd8
chore: Update usages of ValidityPeriod
LouisCAD a6c9707
chore: Update TransferUi constructor calls
LouisCAD bbfd7d1
chore: Update for new TransferStatus enum entry
LouisCAD 1cef3f6
chore: Ensure pre-prod flavor enables pre-prod for the whole app
LouisCAD 24b8c0c
chore: Forward login issues from the login library to logcat
LouisCAD 07e55fa
chore: Specify databaseNameOrPath for SwissTransferInjection
LouisCAD bdad1bd
chore: Introduce UploadSessionStarterV1 & TransferUploaderV2
LouisCAD aae1bd6
chore: Remove workaround for parallel upload
LouisCAD 8514d49
chore: Remove no longer needed commented code
LouisCAD 4379010
chore: Update for download of v2 transfers
LouisCAD bcf94dc
chore: Add TODO comment regarding duplicated code
LouisCAD 1de30e7
refactor: Only specify preprod in a single place in the code
LunarX a2f32a1
feat: Hide download all button and download count for v2 transfers
LunarX a0105b2
refactor: Use mimeType.substringAfterLast directly
sirambd e612538
refactor: Apply review suggestion
sirambd 607a0ca
refactor: Update the TAG name
sirambd 5e15a2b
feat: Download a transfer with password from api v2
sirambd ece9411
fix: Fix API v2 password header addition logic
LunarX 8e6d775
refactor: Only specify preprod in a single place in the code (#598)
sirambd 3894071
feat: Download a transfer with password from api v2 (#597)
sirambd b114808
feat: Hide download all button and download count for v2 transfers (#…
sirambd 680c334
feat: Display the title if available
sirambd f2138ad
chore: Add transferTitlePlaceholder string res
sirambd fec38db
feat: Show Api V2 title if available
sirambd 9930181
chore: Update app/src/main/java/com/infomaniak/swisstransfer/ui/previ…
sirambd 9334a8a
chore: Use LocalUser to check if user is in apiV2
sirambd 54ae2a5
refactor: Use spacedBy instead of manually adding spacer everywhere
LunarX a989b06
fix: Make it so EmailAddressTextField has the same top padding as Out…
LunarX 4ce8587
refactor: Fix preview parameters
LunarX 8d1e3c7
feat: Show Api V2 title if available (#600)
sirambd 61c0567
Refactor pick files screen textfield spacings (#601)
sirambd 354eb60
chore: Use 7.0.0-SNAPSHOT
sirambd File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
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
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
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The
sentryCallbackcurrently logsextras.toString()to logcat. Depending on whatextrascontains (tokens, user identifiers, URLs), this can leak sensitive information on production devices. Consider guarding this behindBuildConfig.DEBUG, redacting known-sensitive keys/values, or sending a sanitized event to Sentry instead of raw logcat output.