-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ROAD-957] Added option for custom CLI paths and auto-update disables (…
…#196) * chore: move from shared project * Removed WebBrowser * fix: using label instead of HTML * fix: remove redundant label * chore: move back to shared project * refactor: removed redundant code * feat: add option to block CLI auto-updates * Revert "chore: move back to shared project" This reverts commit 15983b6. * Added custom CLI path to view * Added custom cli path to options * Cli custom path with textbox * fix divide by null * change textbox to open-file dialog * chore: move back to shared project * fix: use custom cli instead of default one in SnykCli.cs * chore: cleanup * refactor: Added constructor for ChecksumVerificationException * Remove redundant code * fix: isCliDownloading not being set correctly * fix: added finally block to guarantee isCliDownloading = false * refactor: remove OnUiLoaded from SnykTasksService * Remove redundant code * refactor: make panels readonly * fix: Set API token in options on SetupApiToken * fix: specify Task in using directives and fix typo * refactor: Made DisposeCancellationTokenSource static * feat: Added properties to ChecksumVerificationException * feat: Logging the hashes when ChecksumVerificationException is raised * refactor: Removed RetryDownloadAsync * refactor: removed callbacks and fixed progressbar staying visible during CLI download * refactor: Authenticate throws FileNotFoundException * refactor: renamed progressBar * feat: show dog logo on message panel * feat: show cli not found message * refactor: use JTF instead of Task.Run * feat: CLI custom path textbox enabled * refactor: remove redundant tag * refactor: add DownloadFailed event * feat: implemented different flow for CLI download fails * feat: removed Snyk logo from messagePanel * feat: improved message to the user * fix: fixed the case where download fails but CLI already exists * fix: fire settings changed event after changing Custom CLI path * feat: allow CLI custom executable selection only from the browse/clear buttons in settings * fix: broken tests * refactor: removed redundant code * fix: Snyk.Common keeps getting recompiled * fix: settings.json file gets deleted every time we build * refactor: removed DoesCliExist(string) * fix: cli auto-update false but cli is missing case * fix: same thing but for real this time * docs: changelog.md * fix: settings.json deletion on pre-2022 extension * chore: move settings.json instead of copy * fix: token disposing nullifies the reference * docs: changelog.md * Revert "fix: token disposing nullifies the reference" This reverts commit a43ba86. * chore: removed unused directives * feat: renamed labels in settings * feat: changed settings UI * chore: csproj reformatted by VS * refactor: renamed CliAutoUpdate to BinariesAutoUpdate * docs: added docs to SnykCliDownloader.GetCliFilePath
- Loading branch information
Asaf Agami
authored
Jul 20, 2022
1 parent
a157fb0
commit 9a05faa
Showing
35 changed files
with
702 additions
and
437 deletions.
There are no files selected for viewing
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
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
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
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
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
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
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
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
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
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
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
Oops, something went wrong.