-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
ConnectionInfo improvements #3661
Merged
Merged
Conversation
This file contains 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
TODO:
|
TranceLove
added
Area-CodeHealth
Issues related to code cleanliness, linting, rules, warnings, errors, static analysis, etc.
Area-Ssh/Scp/Sftp
Area-FTPClient
Issues related to FTP client implementation.
labels
Dec 11, 2022
TranceLove
force-pushed
the
feature/1347
branch
5 times, most recently
from
December 19, 2022 14:42
c1b2ad7
to
b653065
Compare
TranceLove
force-pushed
the
feature/1347
branch
3 times, most recently
from
December 22, 2022 16:27
e4c22cc
to
e12adf2
Compare
TranceLove
force-pushed
the
feature/1347
branch
6 times, most recently
from
December 31, 2022 13:48
d7743fe
to
977ae4f
Compare
TranceLove
force-pushed
the
feature/1347
branch
3 times, most recently
from
January 22, 2023 08:26
b3bae63
to
c73c5f1
Compare
So initial loading seem to work on smb, however after I close and restart the app, and tap the connection again, it's not able to load the list.
|
TranceLove
force-pushed
the
feature/1347
branch
from
January 30, 2023 15:00
7f08289
to
eb7aefb
Compare
TranceLove
force-pushed
the
feature/1347
branch
from
February 20, 2023 08:21
406f70b
to
02ccc66
Compare
- Decouple from NetCopyClientConnectionPool to individual class - Use proven regex to parse URI instead of mangling substrings all the time - Defer decrypting password until authentication callables In design it can handle the path part in URL encoded string, but seems the regex is enough to grep the parts, so let it be.
With test cases, with test cases to prove TeamAmaze#2964 will work. Fixes TeamAmaze#3560, fixes TeamAmaze#3636, fixes TeamAmaze#2964
Fixes problem with dropping connection from drawer
TranceLove
force-pushed
the
feature/1347
branch
6 times, most recently
from
February 23, 2023 16:17
09596fc
to
21f34d1
Compare
Still a few rough edges after countless nights struggling a problem writing loops using
|
TranceLove
force-pushed
the
feature/1347
branch
from
February 24, 2023 17:07
21f34d1
to
8d0654c
Compare
TranceLove
force-pushed
the
feature/1347
branch
6 times, most recently
from
February 28, 2023 15:00
72d11f0
to
f391919
Compare
- Fix password authentication regressions - Add routine to cleanup path as necessary, to prevent duplicate slashes display at path (TeamAmaze#3739)
TranceLove
force-pushed
the
feature/1347
branch
from
February 28, 2023 15:07
f391919
to
026ce89
Compare
VishalNehra
approved these changes
Apr 9, 2023
VishnuSanal
added a commit
that referenced
this pull request
Jun 14, 2023
Signed-off-by: VishnuSanal <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Area-CodeHealth
Issues related to code cleanliness, linting, rules, warnings, errors, static analysis, etc.
Area-FTPClient
Issues related to FTP client implementation.
Area-Ssh/Scp/Sftp
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.
Description
To tackle problems with FTP/FTPS/SSH URLs having complex characters, and over-complicated parsing logic in ConnectionInfo.
URL format is
<scheme>://<base64-encoded username>:<encrypted base64-encoded password>@<host>:<port><path, if specified>
And because of the changes in URL format, there will be incompatibilities with FTP/FTPS/SSH URLs currently stored in database. You will have to create them again...
Changes:
Uri.parse()
is not working for our URLs here, hence had to use yet another waysIssue tracker
Fixes #1347, fixes #2964, fixes #3636, fixes #3560, fixes #3739
Automatic tests
Manual tests
Build tasks success
Successfully running following tasks on local:
./gradlew assembledebug
./gradlew spotlessCheck