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

DEV2-3818 support insecure mode #663

Merged
merged 7 commits into from
Oct 18, 2023
Merged

DEV2-3818 support insecure mode #663

merged 7 commits into from
Oct 18, 2023

Conversation

amirbilu
Copy link
Contributor

No description provided.

@amirbilu amirbilu requested a review from a team as a code owner October 18, 2023 09:45
Copy link
Contributor

@yanir-codota yanir-codota left a comment

Choose a reason for hiding this comment

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

LGTM, but I think someone who's more familiar with the plugin pitfalls should also look. |
Had some questions, nothing critical.

BTW, does this plugin have automatic tests of some sort? even just for passing params all the way?

@@ -24,6 +26,9 @@
import org.jetbrains.annotations.Nullable;

public class BinaryRun {

static final SemVer TLS_CONFIG_MIN_SUPPORTED_VERSION = SemVer.parseFromText("4.22.0");
Copy link
Contributor

Choose a reason for hiding this comment

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

why? what is this? backward compatibility?

@@ -57,15 +57,14 @@ public String fetchBinary() throws NoValidBinaryToRunException {
preferredBetaVersion.get().getVersion()));

if (!isBadVersion(preferredBetaVersion.get())) {
return preferredBetaVersion.get().getVersionFullPath();
return preferredBetaVersion.get();
Copy link
Contributor

Choose a reason for hiding this comment

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

can't find relation to this in the code, will beta still work?

@@ -74,6 +74,7 @@ class AppSettingsConfigurable : Configurable {
settings.cloud2Url = settingsComponent!!.cloud2Url
settings.useIJProxySettings = settingsComponent!!.useIJProxySettings
settings.autoPluginUpdates = settingsComponent!!.autoPluginUpdates
settings.ignoreCertificateErrors = settingsComponent!!.ignoreCertificateErrors
Copy link
Contributor

Choose a reason for hiding this comment

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

what does !! mean in kotlin?

Copy link
Contributor

@yanir-codota yanir-codota left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@yairco1990 yairco1990 left a comment

Choose a reason for hiding this comment

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

lgtm

@amirbilu amirbilu changed the title support insecure mode DEV2-3818 support insecure mode Oct 18, 2023
@amirbilu amirbilu merged commit 3141f7e into master Oct 18, 2023
7 of 9 checks passed
@amirbilu amirbilu deleted the add-tls-config branch October 18, 2023 14:01
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.

3 participants