From 6ec191944dd1079208c743e270b44226994248ec Mon Sep 17 00:00:00 2001 From: sehraf Date: Mon, 14 Sep 2015 12:39:46 +0200 Subject: [PATCH] gui changes --- retroshare-gui/src/gui/settings/ServerPage.cpp | 10 +++++++--- retroshare-gui/src/gui/settings/ServerPage.ui | 15 ++++++++------- 2 files changed, 15 insertions(+), 10 deletions(-) diff --git a/retroshare-gui/src/gui/settings/ServerPage.cpp b/retroshare-gui/src/gui/settings/ServerPage.cpp index 18715d823..3ee684b59 100755 --- a/retroshare-gui/src/gui/settings/ServerPage.cpp +++ b/retroshare-gui/src/gui/settings/ServerPage.cpp @@ -967,20 +967,24 @@ void ServerPage::loadHiddenNode() updateOutProxyIndicator(); - QString expected; + QString expected = ""; switch (mHiddenType) { case RS_HIDDEN_TYPE_I2P: ui.l_serviceAddress->setText(tr("I2P Address")); ui.l_incomingTestResult->setText(tr("I2P incoming ok")); - expected = "--TODO-- see http://127.0.0.1:7657/i2ptunnelmgr"; + expected += "http://127.0.0.1:7657/i2ptunnelmgr - I2P Hidden Services\n"; + expected += tr("Points at: "); + expected += QString::fromStdString(detail.localAddr); + expected += ":"; + expected += QString::number(detail.localPort); break; case RS_HIDDEN_TYPE_TOR: default: ui.l_serviceAddress->setText(tr("Onion Address")); ui.l_incomingTestResult->setText(tr("Tor incoming ok")); - expected = "HiddenServiceDir \n"; + expected += "HiddenServiceDir \n"; expected += "HiddenServicePort "; expected += QString::number(detail.hiddenNodePort); expected += " "; diff --git a/retroshare-gui/src/gui/settings/ServerPage.ui b/retroshare-gui/src/gui/settings/ServerPage.ui index 61afb4d96..eb9ce5afb 100755 --- a/retroshare-gui/src/gui/settings/ServerPage.ui +++ b/retroshare-gui/src/gui/settings/ServerPage.ui @@ -1023,7 +1023,7 @@ are running a standard Node, so why not setup Tor and/or I2P? - Expected torrc Port Configuration: + Expected Configuration: @@ -1079,14 +1079,15 @@ HiddenServicePort 9191 127.0.0.1:9191 true - To Receive Connections, you must first setup a Tor Hidden Service. -See Tor documentation for HOWTO details. + To Receive Connections, you must first setup a Tor/I2P Hidden Service. +For Tor: See torrc and documentation for HOWTO details. +For I2P: See http://127.0.0.1:7657/i2ptunnelmgr and documentation for HOWTO details. -Once this is done, paste the Onion Address in the box above. -This is your external address on the Tor network. -Finally make sure that the Ports match the Tor configuration. +Once this is done, paste the Onion/I2P (Base32) Address in the box above. +This is your external address on the Tor/I2P network. +Finally make sure that the Ports match the configuration. -If you have issues connecting over Tor check the Tor logs too. +If you have issues connecting over Tor check the Tor logs, too.