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

New UI #33

Merged
merged 143 commits into from
Mar 31, 2024
Merged

New UI #33

merged 143 commits into from
Mar 31, 2024

Conversation

Ashuh
Copy link
Owner

@Ashuh Ashuh commented Mar 31, 2024

No description provided.

Ashuh added 30 commits December 17, 2023 17:50
- Remove callback setters
- Perform binding logic in setViewModel() method instead
Ashuh added 23 commits March 17, 2024 20:58
- Update torrents list on JavaFX Application Thread
- Dispose torrents and clear maps when clear event is received
This will ensure that subscribers immediately receive an update in case
there are no underlying sources currently
Relative path to source should be passed into BencodedFile.fromPath()
Shift io logic out of Bencoded models into FileTorrentRepository
// only works on windows. Doing this because Desktop::browseFileDirectory doesn't work on Windows 10
final String command = EXPLORER_EXE + " /SELECT,\"" + torrent.getSaveAsPath().toAbsolutePath() + "\"";
try {
Runtime.getRuntime().exec(command);

Check failure

Code scanning / CodeQL

Building a command line with string concatenation Critical

Command line is built with string concatenation.
@Ashuh Ashuh merged commit ef9a8e8 into main Mar 31, 2024
2 of 4 checks passed
@Ashuh Ashuh deleted the new-ui branch March 31, 2024 16:56
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.

1 participant