Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance
Java decentralizedintranet-searchintranet-search-enginep2pp2p-networkprivacyprivacy-protectionsearch-enginesearchenginewebweb-search-enginewebsearchwebseearch-engine
*) 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.xmlindex 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.javaindex 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 modediff --git a/htroot/Settings_Http.inc b/htroot/Settings_Http.incindex 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"> <i>Changes will take effect immediately.</i></td>+ <td colspan="3"><input type="submit" name="httpNetworking" value="Submit"> <i>Changes will take effect immediately.</i></td></tr></table></fieldset>diff --git a/htroot/Settings_MessageForwarding.inc b/htroot/Settings_MessageForwarding.incindex 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> <code>root@localhost</code></td></tr><tr valign="top">- <td colspan="3"><input type="submit" name="msgForwarding" value="submit"> <i>Changes will take effect immediately.</i></td>+ <td colspan="3"><input type="submit" name="msgForwarding" value="Submit"> <i>Changes will take effect immediately.</i></td></tr></table>diff --git a/htroot/Settings_Parser.inc b/htroot/Settings_Parser.incindex 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"> </td></tr><tr class="TableCellDark">- <td colspan="#[parser.colspan]#" class="small" ><input type="submit" name="parserSettings" value="submit"> Changes take effect immediately</td>+ <td colspan="#[parser.colspan]#" class="small" ><input type="submit" name="parserSettings" value="Submit"> Changes take effect immediately</td></tr></table></fieldset>diff --git a/htroot/Settings_Proxy.inc b/htroot/Settings_Proxy.incindex 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"> <em>Changes will take effect immediately.</em></td>+ <td colspan="4"><input type="submit" name="proxysettings" value="Submit"> <em>Changes will take effect immediately.</em></td></tr></table></fieldset>diff --git a/htroot/Settings_Seed.inc b/htroot/Settings_Seed.incindex 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.<my-host>.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.incindex 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.incindex 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.incindex 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.incindex 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.incdeleted file mode 100644index 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.htmlindex 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.javaindex 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.incindex 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.lngindex 466e12573..a521aaeaf 100644--- a/locales/de.lng+++ b/locales/de.lng@@ -1508,7 +1508,7 @@ Connects \(==Verbindungen ("disconnected peers"=="nichtverbundene Peers"peers/hour==Peers/StundeThis 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ä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ä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ßen erreicht werden. Ein möglicher Grund ist, dass Sie sich hinter einer Firewall, NAT oder einem Router befinden. Trotzdem kö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öchten Sie ermutigen den Port, den Sie für YaCy eingestellt haben (Vorgabe: 8080) in Ihrer Firewall zu ö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ützen den globalen Index, den Sie auch selbst <a href="index.html">durchsuchen</a> kö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ätzlich Ihre Seed-Liste auf einen öffentlich zugä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ätsbasierten Modus""Permanent Mode"=="Permanenter Modus"You are in <em>event-based</em> online mode.==Sie sind im <em>aktivitä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 Sielog in</a> as administrator and see full status.==hier</a>, um sich als Administrator einzuloggen und den vollständigen Status zu sehen.+Disable==Abschalten+Disabled==Abgeschaltet+Enable==Anschalten+Enabled==Angeschaltet+#-----------------------------