\n");
+ .append("
\n");
// Get news content.
List
entries = Collections.emptyList();
ClientAppManager cmgr = _context.clientAppManager();
@@ -719,7 +719,7 @@ class SummaryBarRenderer {
entries = nmgr.getEntries();
}
if (!entries.isEmpty()) {
- buf.append("\n");
}
return buf.toString();
diff --git a/apps/routerconsole/java/src/net/i2p/router/web/SummaryHelper.java b/apps/routerconsole/java/src/net/i2p/router/web/SummaryHelper.java
index 1683582c27..3b151d57d4 100644
--- a/apps/routerconsole/java/src/net/i2p/router/web/SummaryHelper.java
+++ b/apps/routerconsole/java/src/net/i2p/router/web/SummaryHelper.java
@@ -45,16 +45,15 @@ public class SummaryHelper extends HelperBase {
static final String DEFAULT_FULL =
"HelpAndFAQ" + S +
"ShortGeneral" + S +
- "Bandwidth" + S +
"UpdateStatus" + S +
- "FirewallAndReseedStatus" + S +
+ "Bandwidth" + S +
"NetworkReachability" + S +
+ "FirewallAndReseedStatus" + S +
"I2PServices" + S +
"I2PInternals" + S +
"Peers" + S +
"Tunnels" + S +
"TunnelStatus" + S +
- "Congestion" + S +
"RestartStatus" + S +
"Destinations" + S +
"";
@@ -62,10 +61,10 @@ public class SummaryHelper extends HelperBase {
static final String DEFAULT_FULL_ADVANCED =
"HelpAndFAQ" + S +
"ShortGeneral" + S +
- "Bandwidth" + S +
"UpdateStatus" + S +
- "FirewallAndReseedStatus" + S +
+ "Bandwidth" + S +
"NetworkReachability" + S +
+ "FirewallAndReseedStatus" + S +
"I2PServices" + S +
"I2PInternals" + S +
"Advanced" + S +
@@ -80,11 +79,11 @@ public class SummaryHelper extends HelperBase {
static final String DEFAULT_MINIMAL =
"ShortGeneral" + S +
"Bandwidth" + S +
- "NewsHeadings" + S +
"UpdateStatus" + S +
+ "NewsHeadings" + S +
"NetworkReachability" + S +
- "RestartStatus" + S +
"FirewallAndReseedStatus" + S +
+ "RestartStatus" + S +
"Destinations" + S +
"";
@@ -516,10 +515,11 @@ public class SummaryHelper extends HelperBase {
buf.append("client.png\" alt=\"Client\" title=\"").append(_t("Client")).append("\">");
buf.append("
");
- if (name.length() <= 20)
+ // Increase permitted max length of tunnel name & handle overflow with css
+ if (name.length() <= 32)
buf.append(DataHelper.escapeHTML(name));
else
- buf.append(DataHelper.escapeHTML(name.substring(0,18))).append("…");
+ buf.append(DataHelper.escapeHTML(name.substring(0,29))).append("…");
buf.append(" | \n");
LeaseSet ls = _context.netDb().lookupLeaseSetLocally(h);
if (ls != null && _context.tunnelManager().getOutboundClientTunnelCount(h) > 0) {
diff --git a/apps/routerconsole/java/src/net/i2p/router/web/SummaryRenderer.java b/apps/routerconsole/java/src/net/i2p/router/web/SummaryRenderer.java
index 1a5bb960df..db9af12337 100644
--- a/apps/routerconsole/java/src/net/i2p/router/web/SummaryRenderer.java
+++ b/apps/routerconsole/java/src/net/i2p/router/web/SummaryRenderer.java
@@ -35,6 +35,9 @@ class SummaryRenderer {
private final Log _log;
private final SummaryListener _listener;
private final I2PAppContext _context;
+ private static final Color BACK_COLOR = new Color(246, 246, 255);
+ private static final Color SHADEA_COLOR = new Color(246, 246, 255);
+ private static final Color SHADEB_COLOR = new Color(246, 246, 255);
private static final Color GRID_COLOR = new Color(100, 100, 100, 75);
private static final Color MGRID_COLOR = new Color(255, 91, 91, 110);
private static final Color AREA_COLOR = new Color(100, 160, 200, 200);
@@ -131,8 +134,11 @@ class SummaryRenderer {
RrdGraphDef def = new RrdGraphDef();
// Override defaults
- def.setColor(RrdGraphDef.COLOR_GRID, GRID_COLOR);
- def.setColor(RrdGraphDef.COLOR_MGRID, MGRID_COLOR);
+ def.setColor(RrdGraphDef.COLOR_BACK, BACK_COLOR);
+ def.setColor(RrdGraphDef.COLOR_SHADEA, SHADEA_COLOR);
+ def.setColor(RrdGraphDef.COLOR_SHADEB, SHADEB_COLOR);
+ def.setColor(RrdGraphDef.COLOR_GRID, GRID_COLOR);
+ def.setColor(RrdGraphDef.COLOR_MGRID, MGRID_COLOR);
def.setFont(RrdGraphDef.FONTTAG_DEFAULT, new Font(DEFAULT_FONT_NAME, Font.PLAIN, 10));
def.setFont(RrdGraphDef.FONTTAG_TITLE, new Font(DEFAULT_FONT_NAME, Font.PLAIN, 10));
def.setFont(RrdGraphDef.FONTTAG_AXIS, new Font("Droid Sans Mono", Font.PLAIN, 10));
diff --git a/apps/routerconsole/jsp/configadvanced.jsp b/apps/routerconsole/jsp/configadvanced.jsp
index a8724d8345..b3390f8ba0 100644
--- a/apps/routerconsole/jsp/configadvanced.jsp
+++ b/apps/routerconsole/jsp/configadvanced.jsp
@@ -30,13 +30,11 @@
<%=intl._t("Floodfill participation helps the network, but may use more of your computer's resources.")%>
- |
-
<%
if (advancedhelper.isFloodfill()) {
-%><%=intl._t("This router is currently a floodfill participant.")%><%
+%> (<%=intl._t("This router is currently a floodfill participant.")%><%
} else {
-%><%=intl._t("This router is not currently a floodfill participant.")%><%
+%> (<%=intl._t("This router is not currently a floodfill participant.")%>)<%
}
%>
|
diff --git a/apps/routerconsole/jsp/help_ar.jsp b/apps/routerconsole/jsp/help_ar.jsp
index a3455aa751..0c33d9ddd1 100644
--- a/apps/routerconsole/jsp/help_ar.jsp
+++ b/apps/routerconsole/jsp/help_ar.jsp
@@ -32,7 +32,7 @@
اذا رغبت في المساعدة أو ترجمة الوثائق، أو المساعدة في أشياء أخرى، انظر اسفله تطوع
المزيد من المساعدة هنا:
diff --git a/apps/susimail/src/src/i2p/susi/webmail/WebMail.java b/apps/susimail/src/src/i2p/susi/webmail/WebMail.java
index cdf0c6dbbd..0c907b8ea3 100644
--- a/apps/susimail/src/src/i2p/susi/webmail/WebMail.java
+++ b/apps/susimail/src/src/i2p/susi/webmail/WebMail.java
@@ -2233,7 +2233,7 @@ public class WebMail extends HttpServlet
spacer +
button(CONFIGURE, _t("Settings")) +
"\n" +
- " " + _t("Learn about I2P mail") + " | " + _t("Create Account") + " |
\n" +
+ " " + _t("Learn about I2P mail") + " | " + _t("Create Account") + " |
\n" +
"
");
}
diff --git a/history.txt b/history.txt
index 05d901477b..03cd78a051 100644
--- a/history.txt
+++ b/history.txt
@@ -1,14 +1,56 @@
2017-07-26 str4d
+ * Themes:
+ - 'light' theme (console & apps):
+ - Rework to reduce contrast (ticket #1996)
+ - Add custom radio/checkbox icons for Chrome/Blink
* Console:
- Add JavaScript snippet to reset dest address scroll position onblur (fixes
Chrome/Blink disappearing text bugs in i2ptunnel and susidns)
+ - Fix reseed failure notice overlap when "check connection" message shown
+ - Enhance presentation of console "error 500" messages
+ - Cosmetic tweaks to welcome page presentation, arabic welcome page tidyup
+ - Migrate .smallhead th class to tr to simplify markup
+ - Sidebar:
+ - Remove "Congestion" from default sidebar (still present in default
+ advanced sidebar)
+ - Fix label wrapping issue with translations
+ - Migrate sidepanel news section to tables to permit better control over
+ wrapping and placement (ticket #1996)
+ - Move news item dates to tooltips to lessen chance of headlines wrapping
+ and cleanup presentation
+ - Increase maximum length of local tunnel links in the sidebar (and handle
+ overflow with CSS) to minimize chance of default tunnels display
+ truncating in translations
+ - Add the power off icon to sidebar restart button on hover to clarify
+ button function (ticket #1996)
+ - /configadvanced: Move floodfill status to row above to remove unnecessary
+ whitespace and cleanup UI
- /debug:
- Add container divs and styling markup
- Add top navigation menu
+ - Add debug icon to h2 headers to aid navigation
+ - /graphs: Improve presentation of graph images by removing rendered border
+ and setting background color to better integrate with themes
+ - /home: Widen div.app to lessen chance of truncation (classic/midnight)
- /jars:
- JARs, WARs & individual plugins separated with headers
- Filenames stripped of path info (path indicated on headers and tooltips)
- Add container divs and styling markup
+ - Minimize table overflow with conditional scaling of content
+ - One-click select for revision, sha256 & unsigned mods
+ - /logs:
+ - Reduce line/entry spacing for router and critical logs (#ticket 1996)
+ - Multi-column view for changelog at >=1400px to address horizontal
+ whitespace issue
+ - /netdb:
+ - Multi-column display of Leases in LeaseSet tables
+ - Better alignment of Lease elements, iconify gateway
+ - Placeholder flag for unknown/unresolved peers for [flag+dest] combos to
+ improve presentation / fix deadspace issue
+ - Chinese:
+ - Fix alignment of table contents in /tunnels (classic)
+ - Fix sidebar content display width (midnight)
+ - Cosmetic fixes (all themes)
* I2PSnark:
- Mitigate truncation of ratings dropdown in comments section (translations)
- light: Reduce contrast of display text
@@ -20,7 +62,18 @@
- Migrate "view or change bandwidth" to [Configure] tooltip to standardize
configuration links, allow for more space for option labels and lessen
chance of option labels wrapping in translations
- * SusiMail: Dismiss notifications on click
+ * I2PTunnel:
+ - Ensure message log font scales proportionately
+ - Fix overflow issue with dropdowns in Chrome/blink (dark/midnight)
+ * SusiDNS
+ - Reduce width of filter buttons to lessen chance of wrapping (ticket #1996)
+ - Add non-selectable items to improve copy/paste of hosts in address books
+ - Make dest addresses in host list only display scrollbar on focus to reduce
+ screen clutter
+ - Hide broken imagegen images
+ * SusiMail:
+ - Dismiss notifications on click
+ - Enhance presentation of 'postman' links on login panel
2017-07-25 str4d
* Console: Move JRobin default color and font changes into SummaryRenderer
diff --git a/installer/resources/icons/flags/a0.png b/installer/resources/icons/flags/a0.png
new file mode 100644
index 0000000000..fccea54876
Binary files /dev/null and b/installer/resources/icons/flags/a0.png differ
diff --git a/installer/resources/readme/readme_ar.html b/installer/resources/readme/readme_ar.html
index f9e9766a03..322ed406b4 100644
--- a/installer/resources/readme/readme_ar.html
+++ b/installer/resources/readme/readme_ar.html
@@ -7,7 +7,7 @@