From e177d69387fe09edad7eaf22ca8d752f672bd9a4 Mon Sep 17 00:00:00 2001 From: reger Date: Mon, 29 Dec 2014 03:50:00 +0100 Subject: [PATCH] remove obsolete config footer option (ConfigPortal user.login) no footer or footer-option in use remove unused yacy.init item allowUnlimitedReceiveIndexFrom --- defaults/yacy.init | 2 -- htroot/ConfigPortal.html | 5 ----- htroot/ConfigPortal.java | 3 --- 3 files changed, 10 deletions(-) diff --git a/defaults/yacy.init b/defaults/yacy.init index 08cf1cffe..14d1b426d 100644 --- a/defaults/yacy.init +++ b/defaults/yacy.init @@ -498,7 +498,6 @@ allowDistributeIndexWhileCrawling=false allowDistributeIndexWhileIndexing=true allowReceiveIndex=true allowReceiveIndex.search=true -allowUnlimitedReceiveIndexFrom= indexReceiveBlockBlacklist=true # the frequency is the number of links per minute, that the peer allowes @@ -1222,7 +1221,6 @@ interaction.feedback.url = interaction.feedback.accept = false interaction.usertracking.enabled = true interaction.addcontent.enabled = false -interaction.userlogon.enabled = false interaction.approvelist.enabled = false interaction.suggestrejected.enabled = false diff --git a/htroot/ConfigPortal.html b/htroot/ConfigPortal.html index c303d5b2a..c5236e50a 100644 --- a/htroot/ConfigPortal.html +++ b/htroot/ConfigPortal.html @@ -48,11 +48,6 @@ do not show Advanced Search -
Show additional interaction features in footer
-
- User-Logon  -
-
Snippet Fetch Strategy & Link Verification
ideaSpeed up search results with this option! (use CACHEONLY or FALSE to switch off verification)
diff --git a/htroot/ConfigPortal.java b/htroot/ConfigPortal.java index 58eb3d633..e450b65a7 100644 --- a/htroot/ConfigPortal.java +++ b/htroot/ConfigPortal.java @@ -89,7 +89,6 @@ public class ConfigPortal { sb.setConfig(SwitchboardConstants.PUBLIC_SEARCHPAGE, !post.containsKey(SwitchboardConstants.PUBLIC_SEARCHPAGE) || post.getBoolean(SwitchboardConstants.PUBLIC_SEARCHPAGE)); sb.setConfig("search.options", post.getBoolean("search.options")); - sb.setConfig("interaction.userlogon.enabled", post.getBoolean("interaction.userlogon")); sb.setConfig(SwitchboardConstants.GREEDYLEARNING_ACTIVE, post.getBoolean(SwitchboardConstants.GREEDYLEARNING_ACTIVE)); sb.setConfig(SwitchboardConstants.SEARCH_VERIFY, post.get("search.verify", "ifexist")); @@ -144,7 +143,6 @@ public class ConfigPortal { sb.setConfig(SwitchboardConstants.PUBLIC_SEARCHPAGE, config.getProperty(SwitchboardConstants.PUBLIC_SEARCHPAGE,"true")); sb.setConfig("search.navigation", config.getProperty("search.navigation","hosts,authors,namespace,topics")); sb.setConfig("search.options", config.getProperty("search.options","true")); - sb.setConfig("interaction.userlogon.enabled", config.getProperty("interaction.userlogon.enabled","false")); sb.setConfig(SwitchboardConstants.GREEDYLEARNING_ACTIVE, config.getProperty(SwitchboardConstants.GREEDYLEARNING_ACTIVE)); sb.setConfig(SwitchboardConstants.SEARCH_VERIFY, config.getProperty(SwitchboardConstants.SEARCH_VERIFY,"iffresh")); sb.setConfig(SwitchboardConstants.SEARCH_VERIFY_DELETE, config.getProperty(SwitchboardConstants.SEARCH_VERIFY_DELETE,"true")); @@ -164,7 +162,6 @@ public class ConfigPortal { prop.put(SwitchboardConstants.PUBLIC_SEARCHPAGE, sb.getConfigBool(SwitchboardConstants.PUBLIC_SEARCHPAGE, false) ? 1 : 0); prop.put("search.options", sb.getConfigBool("search.options", false) ? 1 : 0); - prop.put("interaction.userlogon", sb.getConfigBool("interaction.userlogon.enabled", false) ? 1 : 0); prop.put(SwitchboardConstants.GREEDYLEARNING_ACTIVE, sb.getConfigBool(SwitchboardConstants.GREEDYLEARNING_ACTIVE, false) ? 1 : 0); prop.put(SwitchboardConstants.GREEDYLEARNING_LIMIT_DOCCOUNT, sb.getConfig(SwitchboardConstants.GREEDYLEARNING_LIMIT_DOCCOUNT, "0"));