Skip to content

Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance

*) Some enhancements to the statuspage, which save one point from the advanced config *) ant clean now doesn't remove RPMs anymore

rramthun882ebf34fa77
diff --git a/build.xml b/build.xml
index ab750e0f1..ff0349874 100644
--- a/build.xml
+++ b/build.xml
@@ -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>
diff --git a/htroot/SettingsAck_p.java b/htroot/SettingsAck_p.java
index 8af76049d..575595925 100644
--- a/htroot/SettingsAck_p.java
+++ b/htroot/SettingsAck_p.java
@@ -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
diff --git a/htroot/Settings_Http.inc b/htroot/Settings_Http.inc
index 52723dc11..2ffc1b617 100644
--- a/htroot/Settings_Http.inc
+++ b/htroot/Settings_Http.inc
@@ -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>
diff --git a/htroot/Settings_MessageForwarding.inc b/htroot/Settings_MessageForwarding.inc
index e20fe8131..db777496a 100644
--- a/htroot/Settings_MessageForwarding.inc
+++ b/htroot/Settings_MessageForwarding.inc
@@ -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>
diff --git a/htroot/Settings_Parser.inc b/htroot/Settings_Parser.inc
index 7309b63de..9c82a8b7a 100644
--- a/htroot/Settings_Parser.inc
+++ b/htroot/Settings_Parser.inc
@@ -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>
diff --git a/htroot/Settings_Proxy.inc b/htroot/Settings_Proxy.inc
index e5795f5ca..548600c36 100644
--- a/htroot/Settings_Proxy.inc
+++ b/htroot/Settings_Proxy.inc
@@ -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>
diff --git a/htroot/Settings_Seed.inc b/htroot/Settings_Seed.inc
index 92517c161..ee0be2978 100644
--- a/htroot/Settings_Seed.inc
+++ b/htroot/Settings_Seed.inc
@@ -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>
diff --git a/htroot/Settings_Seed_UploadFile.inc b/htroot/Settings_Seed_UploadFile.inc
index 9c963dea7..403a149d9 100644
--- a/htroot/Settings_Seed_UploadFile.inc
+++ b/htroot/Settings_Seed_UploadFile.inc
@@ -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>
diff --git a/htroot/Settings_Seed_UploadFtp.inc b/htroot/Settings_Seed_UploadFtp.inc
index 5de47805e..bbac0fb99 100644
--- a/htroot/Settings_Seed_UploadFtp.inc
+++ b/htroot/Settings_Seed_UploadFtp.inc
@@ -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>
diff --git a/htroot/Settings_Seed_UploadScp.inc b/htroot/Settings_Seed_UploadScp.inc
index 92960b748..217530f28 100644
--- a/htroot/Settings_Seed_UploadScp.inc
+++ b/htroot/Settings_Seed_UploadScp.inc
@@ -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>
diff --git a/htroot/Settings_ServerAccess.inc b/htroot/Settings_ServerAccess.inc
index ed4800724..e9c8b2a02 100644
--- a/htroot/Settings_ServerAccess.inc
+++ b/htroot/Settings_ServerAccess.inc
@@ -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>
diff --git a/htroot/Settings_SystemBehaviour.inc b/htroot/Settings_SystemBehaviour.inc
deleted file mode 100644
index 207a4ace0..000000000
--- a/htroot/Settings_SystemBehaviour.inc
+++ /dev/null
@@ -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>
diff --git a/htroot/Settings_p.html b/htroot/Settings_p.html
index 63508b765..b5bd27655 100644
--- a/htroot/Settings_p.html
+++ b/htroot/Settings_p.html
@@ -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>
diff --git a/htroot/Status.java b/htroot/Status.java
index f39ba2375..3c68e1232 100644
--- a/htroot/Status.java
+++ b/htroot/Status.java
@@ -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;
diff --git a/htroot/Status_p.inc b/htroot/Status_p.inc
index 6c4ad2184..134d8cd0c 100644
--- a/htroot/Status_p.inc
+++ b/htroot/Status_p.inc
@@ -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>
diff --git a/locales/de.lng b/locales/de.lng
index 466e12573..a521aaeaf 100644
--- a/locales/de.lng
+++ b/locales/de.lng
@@ -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
+
#-----------------------------