From 786166041a83134ed16731f6eff6678a13a503a6 Mon Sep 17 00:00:00 2001 From: orbiter Date: Thu, 27 Jan 2011 11:17:11 +0000 Subject: [PATCH] - added recording of all accessed and submitted servlets - this recording is then used to redirect from the Status.html page to BasicConfig in case that servlet was never submitted - this acts as an addition to the new default pop-up page 'index.html' which offers an administration link to Status.html. For a first-time user this then redirects directly to the former start page BasicConfig.html git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@7451 6c8d7289-2bf4-0310-a012-ef5d649a1542 --- defaults/yacy.init | 8 ++++++++ htroot/Status.html | 1 + htroot/Status.java | 10 +++++++++- htroot/env/templates/header.template | 2 +- source/de/anomic/http/server/HTTPDFileHandler.java | 12 ++++++++++++ 5 files changed, 31 insertions(+), 2 deletions(-) diff --git a/defaults/yacy.init b/defaults/yacy.init index 28125b03e..c7e736137 100644 --- a/defaults/yacy.init +++ b/defaults/yacy.init @@ -65,6 +65,14 @@ keyStorePassword = pkcs12ImportFile = pkcs12ImportPwd = +# property that collects the names of all servlets that had been used so far +# that is used to track if the user has already done some configuration steps +# if the used missed configuration steps that should be done, then a help system +# is possible which leads the used based on the list of servlets that had been used +# the list distinguishes called and submitted servlets +server.servlets.called = +server.servlets.submitted = + # server tracking: maximum time a track entry is hold in the internal cache # value is in milliseconds, default is one hour server.maxTrackingTime = 3600000 diff --git a/htroot/Status.html b/htroot/Status.html index 57ce52e24..b226a4d6e 100644 --- a/htroot/Status.html +++ b/htroot/Status.html @@ -1,6 +1,7 @@ + #(forwardToConfigBasic)#::#(/forwardToConfigBasic)# YaCy '#[clientname]#': Console Status #%env/templates/metas.template%#