*) Some enhancements to the statuspage, which save one point from the advanced config

*) ant clean now doesn't remove RPMs anymore

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@3079 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
rramthun 18 years ago
parent ee3d91cb6b
commit 882ebf34fa

@ -594,7 +594,6 @@
<fileset dir="${src}" includes="**/*.class" />
<fileset dir="${build}" includes="**/*.class" />
<fileset dir="${htroot}" includes="**/*.class" />
<fileset dir="${release}" includes="*.rpm" />
</delete>
</target>

@ -363,19 +363,7 @@ public class SettingsAck_p {
prop.put("info_filter", filter);
return prop;
}
if (post.containsKey("dispop")) {
env.setConfig("browserPopUpTrigger", "false");
prop.put("info", 9);//popup disabled
return prop;
}
if (post.containsKey("enpop")) {
env.setConfig("browserPopUpTrigger", "true");
prop.put("info", 10);//popup enabled
return prop;
}
if (post.containsKey("pmode")) {
env.setConfig("onlineMode", "2");
prop.put("info", 11);//permanent online mode

@ -25,7 +25,7 @@
<td>Specifies if the proxy should send the X-Forwarded-For http header.</td>
</tr>
<tr valign="top">
<td colspan="3"><input type="submit" name="httpNetworking" value="submit">&nbsp;<i>Changes will take effect immediately.</i></td>
<td colspan="3"><input type="submit" name="httpNetworking" value="Submit">&nbsp;<i>Changes will take effect immediately.</i></td>
</tr>
</table>
</fieldset>

@ -19,7 +19,7 @@
<td><i>The recipient email-address.<br> e.g.:</i>&nbsp;<code>root@localhost</code></td>
</tr>
<tr valign="top">
<td colspan="3"><input type="submit" name="msgForwarding" value="submit">&nbsp;<i>Changes will take effect immediately.</i></td>
<td colspan="3"><input type="submit" name="msgForwarding" value="Submit">&nbsp;<i>Changes will take effect immediately.</i></td>
</tr>
</table>

@ -37,7 +37,7 @@ For a detailed description of the various MIME-types take a look at <a href="htt
<td class="small">&nbsp;</td>
</tr>
<tr class="TableCellDark">
<td colspan="#[parser.colspan]#" class="small" ><input type="submit" name="parserSettings" value="submit">&nbsp;Changes take effect immediately</td>
<td colspan="#[parser.colspan]#" class="small" ><input type="submit" name="parserSettings" value="Submit">&nbsp;Changes take effect immediately</td>
</tr>
</table>
</fieldset>

@ -58,7 +58,7 @@
<!-- submit button -->
<tr valign="top">
<td colspan="4"><input type="submit" name="proxysettings" value="submit">&nbsp; <em>Changes will take effect immediately.</em></td>
<td colspan="4"><input type="submit" name="proxysettings" value="Submit">&nbsp; <em>Changes will take effect immediately.</em></td>
</tr>
</table>
</fieldset>

@ -27,7 +27,7 @@ but only if there have been changes to the seed-list.
http://www.&lt;my-host&gt;.net/yacy/seed.txt'</i></td>
</tr>
<tr>
<td colspan="3"><input type="submit" name="seedSettings" value="submit"></td>
<td colspan="3"><input type="submit" name="seedSettings" value="Submit"></td>
</tr>
</table>
</form>

@ -9,7 +9,7 @@
<td><i>Here you can specify the path within the filesystem where the seed-list file should be stored.</i></td>
</tr>
<tr>
<td colspan="3"><input type="submit" name="seedFileSettings" value="submit"></td>
<td colspan="3"><input type="submit" name="seedFileSettings" value="Submit"></td>
</tr>
</table>
</form>

@ -29,7 +29,7 @@ but only if there had been changes to the seed-list.
<td><i>The password</i></td>
</tr>
<tr>
<td colspan="3"><input type="submit" name="seedFtpSettings" value="submit"></td>
<td colspan="3"><input type="submit" name="seedFtpSettings" value="Submit"></td>
</tr>
</table>
</form>

@ -30,7 +30,7 @@
<td><i>The password</i></td>
</tr>
<tr>
<td colspan="3"><input type="submit" name="seedScpSettings" value="submit"></td>
<td colspan="3"><input type="submit" name="seedScpSettings" value="Submit"></td>
</tr>
</table>
</form>

@ -44,7 +44,7 @@
you will not be able to access the server pages anymore.</td>
</tr>
<tr valign="top">
<td colspan="3"><input type="submit" name="serveraccount" value="submit"></td>
<td colspan="3"><input type="submit" name="serveraccount" value="Submit"></td>
</tr>
</table>
</fieldset>

@ -1,8 +0,0 @@
<p><form action="SettingsAck_p.html" method="post" enctype="multipart/form-data">
<fieldset><legend id="SystemBehaviour">System Behaviour Settings</legend>
<table>
<tr><td>Auto pop-up of status page on start-up:</td>
<td><input type="submit" name="enpop" value="enable"> / <input type="submit" name="dispop" value="disable"></td></tr>
</table>
</fieldset>
</form><br>

@ -35,7 +35,6 @@
<li><a href="?page=http">HTTP Networking</a></li>
<li><a href="?page=proxy">Remote Proxy (optional)</a></li>
<li><a href="?page=portForwarding">Port Forwarding (optional)</a></li>
<li><a href="?page=SystemBehaviour">System Behaviour Settings</a></li>
<li><a href="?page=seed">Seed Upload Settings</a></li>
<li><a href="?page=messageForwarding">Message Forwarding (optional)</a></li>
</ul>

@ -96,8 +96,26 @@ public class Status {
((plasmaSwitchboard)env).continueCrawlJob(plasmaSwitchboard.CRAWLJOB_GLOBAL_CRAWL_TRIGGER);
} else if (post.containsKey("ResetTraffic")) {
httpdByteCountInputStream.resetCount();
httpdByteCountOutputStream.resetCount();
httpdByteCountOutputStream.resetCount();
//enables or disables the browser popup on Yacy-start
} else if (post.containsKey("popup")) {
String trigger_enabled = (String) post.get("popup");
if (trigger_enabled.equals("false")) {
env.setConfig("browserPopUpTrigger", "false");
} else if (trigger_enabled.equals("true")){
env.setConfig("browserPopUpTrigger", "true");
}
}
/*
} else if (post.containsKey("popup")) {
env.setConfig("browserPopUpTrigger", "false");
prop.put("info", 9); //popup disabled
} else if (post.containsKey("enpop")) {
env.setConfig("browserPopUpTrigger", "true");
prop.put("info", 10); //popup enabled
} */
prop.put("LOCATION","");
}
return prop;

@ -11,7 +11,7 @@
<td>Protection</td>
<td>
#(protection)#
<strong>Your settings are _not_ protected!</strong> Please go to the <a href="Settings_p.html?page=admin">settings</a> page <strong>immediately</strong> and set an administration password.
<strong>Your settings are _not_ protected!</strong> Please go to the <a href="ConfigBasic.html">settings</a> page <strong>immediately</strong> and set an administration password.
::
Your settings are protected by a password.
#(/protection)#
@ -35,14 +35,22 @@
</tr>
<tr class="TableCellDark">
<td>Auto-popup on start-up</td>
<td>
#(popup)#
Disabled. To enable this again please use the <a href="Settings_p.html?page=SystemBehaviour">Settings</a> page.
<td>
Disabled
</td>
<td>
<a href="Status.html?popup=true">[Enable]</a>
</td>
::
Enabled. To disable this please use the <a href="Settings_p.html?page=SystemBehaviour">Settings</a> page.
<td>
Enabled
</td>
<td>
<a href="Status.html?popup=false">[Disable]</a>
</td>
#(/popup)#
</td>
<td></td>
</tr>
<tr class="TableCellLight">
<td>Memory Usage</td>
@ -121,7 +129,10 @@
</tr>
<tr class="TableCellLight"><td>Seed server</td><td>
#(seedServer)#
Disabled. To enable this you need a FTP account where you can upload files to a web space. If you do that, you become a YaCy root server. You can configure your account details on the <a href="Settings_p.html#seed">Settings page</a>.
Disabled. To enable this you need a FTP account where you can upload files to a web space. If you do that, you become a YaCy root server.
</td>
<td>
<a href="Settings_p.html#seed">[Configure]</a>.
::
Enabled: Updating periodically to server #[seedServer]#.
Last upload: #[lastUpload]# ago.
@ -129,5 +140,5 @@
Enabled: Updating periodically to file #[seedFile]#.
Last upload: #[lastUpload]# ago.
#(/seedServer)#
</td><td></td></tr>
</td></tr>
</table>

@ -1508,7 +1508,7 @@ Connects \(==Verbindungen (
"disconnected peers"=="nichtverbundene Peers"
peers/hour==Peers/Stunde
This peer's status==Status dieses Peers
Virgin - You have not published your peer seed yet. This happens automatically, just wait. While you have this status you are not allowed to search other peers.==Virgin - Ihr Peer ist dem Netzwerk noch nicht bekannt. Warten Sie noch ein wenig, dies geschieht automatisch. W&auml;hrend Sie diesen Status haben, ist es Ihnen nicht erlaubt andere Peers zu durchsuchen.
Virgin - You have not published your peer seed yet. This happens automatically, just wait. While you have this status you are not allowed to search other peers.==Virgin - Ihr Peer ist dem Netzwerk noch nicht bekannt. Warten Sie noch ein wenig, dies geschieht automatisch. W&auml;hrend Sie diesen Status haben, ist es Ihnen nicht erlaubt andere Peers zu durchsuchen.
Junior - You cannot be reached from outside. A possible reason is that you are behind a firewall, NAT or Router. But you can <a href="index.html">search the internet</a> using the other peers' global index on your own search page. We encourage you to open your firewall for the port you configured \(usually: 8080\), or to set up a 'virtual server' in your router settings \(often called DMZ\). Please be fair, contribute your own index to the global index.==Junior - Ihr Peer kann nicht von au&szlig;en erreicht werden. Ein m&ouml;glicher Grund ist, dass Sie sich hinter einer Firewall, NAT oder einem Router befinden. Trotzdem k&ouml;nnen Sie <a href="index.html">das Internet durchsuchen</a>, indem Sie den globalen Index der anderen Peers von Ihrer Suchseite aus benutzen. Wir m&ouml;chten Sie ermutigen den Port, den Sie f&uuml;r YaCy eingestellt haben (Vorgabe: 8080) in Ihrer Firewall zu &ouml;ffnen, oder einen "virtuellen Server" in Ihrem Router aufzusetzten (oft auch DMZ genannt). Bitte seien Sie fair und tragen Sie Ihren Teil zum globalen Index bei!
Senior - You are running a server and you support the global internet index, which you can also <a href="index.html">search yourself</a>. Thank you!==Senior - Sie lassen YaCy bei sich laufen und unterst&uuml;tzen den globalen Index, den Sie auch selbst <a href="index.html">durchsuchen</a> k&ouml;nnen. Danke!
Principal - You are senior and you publish your seed-list to a public accessible server where it can be retrieved using the URL==Principal - Sie haben den Senior-Status und laden zus&auml;tzlich Ihre Seed-Liste auf einen &ouml;ffentlich zug&auml;nglichen Server hoch, von wo aus sie unter folgender Adresse erreichbar ist:
@ -1523,13 +1523,18 @@ To switch online-mode, press one of the following buttons:==Um den Online Modus
"event-based Mode"=="aktivit&auml;tsbasierten Modus"
"Permanent Mode"=="Permanenter Modus"
You are in <em>event-based</em> online mode.==Sie sind im <em>aktivit&auml;tsbasierten</em> Onlinemodus.
The YaCy p2p network will boot when you start using YaCy as a web proxy or you switch to permanent mode.==Das YaCy-P2P-Netzwerk wird aktiviert, wenn Sie YaCy zum ersten Mal als Web Proxy benutzen oder Sie in den permanenten Modus wechseln.
The YaCy p2p network will boot when you start using YaCy as a web proxy or you switch to permanent mode.==Das YaCy-P2P-Netzwerk wird aktiviert, wenn Sie YaCy zum ersten Mal als Web Proxy benutzen oder Sie in den permanenten Modus wechseln.
"Go on-line"=="Online gehen"
"Go to Cache-Mode"=="In Cache-Modus gehen"
You are in <em>permanent</em> mode.==Sie sind im <em>permanenten</em> Modus.
Last Refresh:==Letzte Aktualisierung:
Click here to==Klicken Sie
log in</a> as administrator and see full status.==hier</a>, um sich als Administrator einzuloggen und den vollst&auml;ndigen Status zu sehen.
Disable==Abschalten
Disabled==Abgeschaltet
Enable==Anschalten
Enabled==Angeschaltet
#-----------------------------

Loading…
Cancel
Save