yacy_search_server/htroot/ConfigUpdate_p.html
lotus 4a48717017 * automatic update for windows
pleas disable before release because 2nd update fails at the moment
and commandline handling has to be improved for windows
* update via new unTar class
please review stream- and exceptionhandling because I'm fairly new to Java
maybe it can be done concurrent
* updated windows startscripts to values from yacy.init

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@4832 6c8d7289-2bf4-0310-a012-ef5d649a1542
2008-05-21 15:23:56 +00:00

110 lines
4.9 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
#(forwardToSteering)#::<meta http-equiv="REFRESH" content="0; url=/Steering.html?update=1&releaseinstall=#[release]#">#(/forwardToSteering)#
<head>
<title>YaCy '#[clientname]#': System Update</title>
#%env/templates/metas.template%#
</head>
<body style="margin:0px;">
#%env/templates/header.template%#
#%env/templates/submenuConfig.template%#
<h2>System Update</h2>
#(deploys)#::Release will be installed. Please wait.#(/deploys)#
#(candeploy)#
This servlet can only be used on operation systems that are currently supported for deploy functions.
If you see this message this means that your operation system is not supported.
::
<fieldset>
<legend>Manual System Update</legend>
<dl>
<dt>Current installed Release</dt>
<dd>#[versionpp]#</dd>
<dt><br />Available Releases</dt>
<dd><form action="ConfigUpdate_p.html" method="get">
&nbsp;<select name="releasedownload">
#{availreleases}#
<option #(selected)#::selected#(/selected)# value="#[url]#">#[name]#</option>
#{/availreleases}#
</select>
&nbsp;&nbsp;<input type="submit" name="downloadRelease" value="Download Release" />
&nbsp;&nbsp;<input type="submit" name="checkRelease" value="Check for new Release" />
</form></dd>
<dt><br />Downloaded Releases</dt>
<dd><form action="ConfigUpdate_p.html" method="get">
&nbsp;<select name="releaseinstall">
#{downloadedreleases}#
<option #(selected)#::selected#(/selected)# value="#[file]#">#[name]#</option>
#{/downloadedreleases}#
</select>
#(deployenabled)#::no&nbsp;automated installation on development environments::
&nbsp;&nbsp;<input type="submit" name="update" value="Install Release" />
&nbsp;&nbsp;<input type="submit" name="deleteRelease" value="Delete Release" />
#(/deployenabled)#
</form></dd>
<dt><br />Automatic Update</dt>
<dd><form action="ConfigUpdate_p.html" method="get">
&nbsp;check for new releases, download if available and restart with downloaded release<br />
&nbsp;&nbsp;<input type="submit" name="autoUpdate" value="Check + Download + Install Release Now" /><br />
#(autoUpdate)#::
<div class="commit">Download of release #[downloadedRelease]# finished. Restart Initiated.</div>::
<div class="error">No more recent release found.</div>::
<div class="error">Omiting update because this is a development environment.</div>::
<div class="error">Omiting update because download of relase #[downloadedRelease]# failed.</div>
#(/autoUpdate)#
</form></dd>
</dl>
</fieldset>
<form action="ConfigUpdate_p.html" method="get">
<fieldset>
<legend>Automated System Update</legend>
<dl>
<dt>
manual update&nbsp;<input type="radio" name="updateMode" value="manual" #(manualUpdateChecked)#::checked="checked" #(/manualUpdateChecked)#/>&nbsp;
</dt>
<dd>
no automatic look-up, updates can be made manually using this interface (see options above)<br /><br />
</dd>
<dt>
automatic update&nbsp;<input type="radio" name="updateMode" value="auto" #(autoUpdateChecked)#::checked="checked" #(/autoUpdateChecked)#/>&nbsp;
</dt>
<dd>
updates are made within fixed cycles:
<fieldset>
<dl>
<dt>Time between lookup</dt>
<dd><input type="text" name="cycle" value="#[cycle]#" size="4" maxlength="4" />hours</dd>
<dt>Release blacklist</dt>
<dd><input type="text" name="blacklist" value="#[blacklist]#" size="20" maxlength="20" />(regex on release number strings)</dd>
<dt>Release type</dt>
<dd>
<input type="radio" name="releaseType" value="main" #(releaseTypeMainChecked)#::checked="checked" #(/releaseTypeMainChecked)#/>only main releases&nbsp;&nbsp;
<input type="radio" name="releaseType" value="any" #(releaseTypeAnyChecked)#::checked="checked" #(/releaseTypeAnyChecked)#/>any release including developer releases
</dd>
</dl>
</fieldset>
</dd>
<dt><input type="submit" name="configSubmit" value="Submit"></dt>
<dd>#(configCommit)#::<div class="commit">Accepted Changes.</div>#(/configCommit)#</dd>
</dl>
</fieldset>
</form>
<fieldset>
<legend>System Update Statistics</legend>
<dl>
<dt>Last System Lookup</dt><dd><p>#(lastlookup)#never::#[time]##(/lastlookup)#</p></dd>
<dt>Last Release Download</dt><dd><p>#(lastdownload)#never::#[time]##(/lastdownload)#</p></dd>
<dt>Last Deploy</dt><dd><p>#(lastdeploy)#never::#[time]##(/lastdeploy)#</p></dd>
</dl>
</fieldset>
::
#(/candeploy)#
#%env/templates/footer.template%#
</body>
</html>