Console: Add Java version warning to sidebar (Gitea #510)
Some checks failed
Sync Primary Repository to GitHub Mirror / sync (push) Has been cancelled
Daily Workflow / daily-job (push) Has been cancelled
Daily Workflow / javadoc-latest (push) Has been cancelled
Daily Workflow / build-java7 (push) Has been cancelled
Java CI / build (push) Has been cancelled
Java CI / javadoc-latest (push) Has been cancelled
Java CI / build-java7 (push) Has been cancelled
Dockerhub / docker (push) Has been cancelled
Java with IzPack Snapshot Setup / setup (push) Has been cancelled
Some checks failed
Sync Primary Repository to GitHub Mirror / sync (push) Has been cancelled
Daily Workflow / daily-job (push) Has been cancelled
Daily Workflow / javadoc-latest (push) Has been cancelled
Daily Workflow / build-java7 (push) Has been cancelled
Java CI / build (push) Has been cancelled
Java CI / javadoc-latest (push) Has been cancelled
Java CI / build-java7 (push) Has been cancelled
Dockerhub / docker (push) Has been cancelled
Java with IzPack Snapshot Setup / setup (push) Has been cancelled
remove old check for ECDSA-P256
This commit is contained in:
@ -793,21 +793,11 @@ class SummaryBarRenderer {
|
||||
.append(": ")
|
||||
.append(reachability.getMessage())
|
||||
.append("</a></span></h4>\n");
|
||||
if (!SigType.ECDSA_SHA256_P256.isAvailable()) {
|
||||
buf.append("<hr>\n<h4><span class=\"warn\"><a href=\"http://trac.i2p2.i2p/wiki/Crypto/ECDSA");
|
||||
if ("ru".equals(Messages.getLanguage(_context)))
|
||||
buf.append("-ru");
|
||||
buf.append("\" target=\"_top\" title=\"")
|
||||
.append(_t("See more information on the wiki"))
|
||||
.append("\">")
|
||||
.append(_t("Warning: ECDSA is not available. Update your Java or OS"))
|
||||
.append("</a></span></h4>\n");
|
||||
}
|
||||
if (!SystemVersion.isJava7()) {
|
||||
if (!SystemVersion.isJava(17)) {
|
||||
buf.append("<hr><h4><span class=\"warn\">")
|
||||
.append(_t("Warning: Java version {0} is no longer supported by I2P.", System.getProperty("java.version")))
|
||||
.append(' ')
|
||||
.append(_t("Update Java to version {0} or higher to receive I2P updates.", "7"))
|
||||
.append(_t("Update Java to version {0} or higher to receive I2P updates.", "17"))
|
||||
.append("</span></h4>\n");
|
||||
}
|
||||
return buf.toString();
|
||||
|
@ -414,11 +414,12 @@ div.warning {
|
||||
}
|
||||
|
||||
.routersummary h4 {
|
||||
background: #333;
|
||||
border: 0;
|
||||
border-bottom: 0 !important;
|
||||
font-size: 8pt;
|
||||
margin: -6px -9px -8px !important;
|
||||
padding: 6px 1px;
|
||||
padding: 6px 2px;
|
||||
text-decoration: none !important;
|
||||
color: #e6e6e7;
|
||||
line-height: 120%;
|
||||
@ -6881,7 +6882,7 @@ form[action="events"] {
|
||||
.routersummary .firewalled::before,
|
||||
.routersummary .vmcomm::before,
|
||||
.routersummary .clockskew::before {
|
||||
margin-right: 2px;
|
||||
margin-right: 4px;
|
||||
vertical-align: middle;
|
||||
display: inline-block;
|
||||
filter: drop-shadow(0 0 1px rgba(192, 192, 192, 0.5));
|
||||
|
@ -292,7 +292,6 @@ h3#helpfaq {
|
||||
|
||||
.routersummary h4 {
|
||||
border: #dee2e6;
|
||||
border-radius: 0;
|
||||
font-size: 8.5pt;
|
||||
letter-spacing: normal;
|
||||
text-transform: none;
|
||||
@ -303,7 +302,6 @@ h3#helpfaq {
|
||||
text-decoration: none !important;
|
||||
color: #343a40;
|
||||
box-shadow: inset 0 0 0 1px #dee2e6;
|
||||
line-height: 105%;
|
||||
}
|
||||
|
||||
.routersummary h4::after {
|
||||
@ -852,7 +850,6 @@ p:empty+.sb_notice {
|
||||
.routersummary .warn,
|
||||
.routersummary .clockskew {
|
||||
background: rgba(255, 255, 200, 0.25);
|
||||
box-shadow: inset 0 0 0 1px #ff0, 0 0 1px rgba(96, 96, 96, 0.5);
|
||||
}
|
||||
|
||||
.routersummary .testing {
|
||||
|
Reference in New Issue
Block a user