forked from I2P_Developers/i2p.i2p
Console: Fix /configfamily form (ticket #1797)
This commit is contained in:
@ -24,7 +24,7 @@ public class ConfigFamilyHandler extends FormHandler {
|
|||||||
@Override
|
@Override
|
||||||
protected void processForm() {
|
protected void processForm() {
|
||||||
|
|
||||||
if (_action.equals(_t("Create Router Family"))) {
|
if (_action.equals(_t("Create New Router Family"))) {
|
||||||
String family = getJettyString("family");
|
String family = getJettyString("family");
|
||||||
String old = _context.getProperty(FamilyKeyCrypto.PROP_FAMILY_NAME);
|
String old = _context.getProperty(FamilyKeyCrypto.PROP_FAMILY_NAME);
|
||||||
if (family == null || family.trim().length() <= 0) {
|
if (family == null || family.trim().length() <= 0) {
|
||||||
@ -39,7 +39,7 @@ public class ConfigFamilyHandler extends FormHandler {
|
|||||||
} else {
|
} else {
|
||||||
addFormError(_t("Error saving the configuration (applied but not saved) - please see the error logs"));
|
addFormError(_t("Error saving the configuration (applied but not saved) - please see the error logs"));
|
||||||
}
|
}
|
||||||
} else if (_action.equals(_t("Join Router Family"))) {
|
} else if (_action.equals(_t("Join Existing Router Family"))) {
|
||||||
InputStream in = _requestWrapper.getInputStream("file");
|
InputStream in = _requestWrapper.getInputStream("file");
|
||||||
try {
|
try {
|
||||||
// non-null but zero bytes if no file entered, don't know why
|
// non-null but zero bytes if no file entered, don't know why
|
||||||
|
@ -1,8 +1,14 @@
|
|||||||
|
2016-05-29 zzz
|
||||||
|
* Console: Fix /configfamily form (ticket #1797)
|
||||||
|
|
||||||
2016-05-29 str4d
|
2016-05-29 str4d
|
||||||
* CertUtil: Dynamically load javax.naming classes to avoid
|
* CertUtil: Dynamically load javax.naming classes to avoid
|
||||||
VerifyErrors on some Androids
|
VerifyErrors on some Androids
|
||||||
* LogWriter: Dynamically load Android writer
|
* LogWriter: Dynamically load Android writer
|
||||||
|
|
||||||
|
2016-05-26 zzz
|
||||||
|
* Build: Launchpad build fixes
|
||||||
|
|
||||||
2016-05-25 zzz
|
2016-05-25 zzz
|
||||||
* DesktopGui: Add monochrome icons for Windows and Mac
|
* DesktopGui: Add monochrome icons for Windows and Mac
|
||||||
* Reseed:
|
* Reseed:
|
||||||
|
@ -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 = 14;
|
public final static long BUILD = 15;
|
||||||
|
|
||||||
/** for example "-test" */
|
/** for example "-test" */
|
||||||
public final static String EXTRA = "";
|
public final static String EXTRA = "";
|
||||||
|
Reference in New Issue
Block a user