* Console:

- Add link to jobs.jsp on configservice.jsp
      - Add plugin disableStop support
This commit is contained in:
zzz
2010-03-02 22:54:32 +00:00
parent ca9f174171
commit 26aebe6a0f
5 changed files with 19 additions and 6 deletions

View File

@ -146,9 +146,10 @@ public class ConfigClientsHelper extends HelperBase {
.append("<a href=\"").append(updateURL).append("\">").append(_("Update link")).append("</a><td>&nbsp;"); .append("<a href=\"").append(updateURL).append("\">").append(_("Update link")).append("</a><td>&nbsp;");
} }
desc.append("</table>"); desc.append("</table>");
boolean enableStop = !Boolean.valueOf(appProps.getProperty("disableStop")).booleanValue();
renderForm(buf, app, app, false, renderForm(buf, app, app, false,
"true".equals(val), false, desc.toString(), false, false, "true".equals(val), false, desc.toString(), false, false,
updateURL != null, true, true); updateURL != null, enableStop, true);
} }
} }
buf.append("</table>\n"); buf.append("</table>\n");

View File

@ -240,8 +240,6 @@ public class PluginUpdateHandler extends UpdateHandler {
return; return;
} }
// todo compare sud version with property version
String minVersion = ConfigClientsHelper.stripHTML(props, "min-i2p-version"); String minVersion = ConfigClientsHelper.stripHTML(props, "min-i2p-version");
if (minVersion != null && if (minVersion != null &&
(new VersionComparator()).compare(CoreVersion.VERSION, minVersion) < 0) { (new VersionComparator()).compare(CoreVersion.VERSION, minVersion) < 0) {

View File

@ -59,12 +59,14 @@
<%=intl._("You may want to consider shutting down gracefully, as above, then running uninstall_i2p_service_winnt.bat.")%></p> <%=intl._("You may want to consider shutting down gracefully, as above, then running uninstall_i2p_service_winnt.bat.")%></p>
<% } %> <% } %>
<% if (System.getProperty("wrapper.version") != null) { %>
<h3><%=intl._("Debugging")%></h3> <h3><%=intl._("Debugging")%></h3>
<p><a href="/jobs.jsp"><%=intl._("View the job queue")%></a>
<% if (System.getProperty("wrapper.version") != null) { %>
<p><%=intl._("At times, it may be helpful to debug I2P by getting a thread dump. To do so, please select the following option and review the thread dumped to <a href=\"logs.jsp#servicelogs\">wrapper.log</a>.")%></p> <p><%=intl._("At times, it may be helpful to debug I2P by getting a thread dump. To do so, please select the following option and review the thread dumped to <a href=\"logs.jsp#servicelogs\">wrapper.log</a>.")%></p>
<hr><div class="formaction"> <hr><div class="formaction">
<input type="submit" name="action" value="<%=intl._("Dump threads")%>" > <input type="submit" name="action" value="<%=intl._("Dump threads")%>" >
<% } %></div> </div>
<% } %>
<h3><%=intl._("Launch browser on router startup?")%></h3> <h3><%=intl._("Launch browser on router startup?")%></h3>
<p><%=intl._("I2P's main configuration interface is this web console, so for your convenience I2P can launch a web browser on startup pointing at")%> <p><%=intl._("I2P's main configuration interface is this web console, so for your convenience I2P can launch a web browser on startup pointing at")%>

View File

@ -1,3 +1,15 @@
2010-03-02 zzz
* Console:
- Add link to jobs.jsp on configservice.jsp
- Add plugin disableStop support
* Context: Add boolean getProperty methods
* HTTP Proxy:
- Fix address helper conflicts caused by last checkin
- Use B32 instead of random hostname for conflict link
* LoadClientAppsJob:
- Fix unquoted arg after quoted arg
- Logging cleanup
2010-02-27 zzz 2010-02-27 zzz
* eepsite: Add some help to index.html * eepsite: Add some help to index.html
* HTTP Proxy: * HTTP Proxy:

View File

@ -18,7 +18,7 @@ public class RouterVersion {
/** deprecated */ /** deprecated */
public final static String ID = "Monotone"; public final static String ID = "Monotone";
public final static String VERSION = CoreVersion.VERSION; public final static String VERSION = CoreVersion.VERSION;
public final static long BUILD = 7; public final static long BUILD = 8;
/** for example "-test" */ /** for example "-test" */
public final static String EXTRA = ""; public final static String EXTRA = "";