Fixed automatic package update
authorAlexander Ebert <ebert@woltlab.com>
Mon, 3 Jun 2013 23:04:41 +0000 (01:04 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Mon, 3 Jun 2013 23:04:41 +0000 (01:04 +0200)
wcfsetup/install/files/acp/templates/packageUpdate.tpl
wcfsetup/install/files/lib/data/package/update/PackageUpdateAction.class.php
wcfsetup/install/lang/de.xml
wcfsetup/install/lang/en.xml

index 01374232b74d629942d1c5d912aba56daf0db513..82015303d9efd05e6cdec546163734925d2a88c1 100644 (file)
@@ -1,4 +1,4 @@
-{include file='header' pageTitle='wcf.acp.packageUpdate'}
+{include file='header' pageTitle='wcf.acp.package.update.title'}
 
 <script type="text/javascript">
        //<![CDATA[
@@ -13,7 +13,7 @@
 </script>
 
 <header class="boxHeadline">
-       <h1>{lang}wcf.acp.packageUpdate{/lang}</h1>
+       <h1>{lang}wcf.acp.package.update.title{/lang}</h1>
 </header>
 
 <div class="container containerPadding marginTop">
index f434172f2d96198a7bdd4d2c4bf880fe65046a73..ba0dfe65a466dffcaf971a2c0c8dd818bc3c5ef8 100644 (file)
@@ -382,7 +382,7 @@ class PackageUpdateAction extends AbstractDatabaseObjectAction {
                        PackageUpdateServer::storeAuthData($this->parameters['authData']['packageUpdateServerID'], $this->parameters['authData']['username'], $this->parameters['authData']['password'], $this->parameters['authData']['saveCredentials']);
                }
                
-               $scheduler = new PackageInstallationScheduler($this->parameters['package']);
+               $scheduler = new PackageInstallationScheduler($this->parameters['packages']);
                
                try {
                        $scheduler->buildPackageInstallationStack();
index f3249ae929600bd3ffd02be7c313ad3ee7b30088..ceac12b7da947f24b35801d24630b8043740ab4f 100644 (file)
                <item name="wcf.acp.package.application.installed"><![CDATA[Installierte Anwendungen]]></item>
                <item name="wcf.acp.package.application.title"><![CDATA[Anwendungen]]></item>
                <item name="wcf.acp.package.author"><![CDATA[Entwickler]]></item>
+               <item name="wcf.acp.package.availableVersions"><![CDATA[Verfügbare Versionen]]></item>
                <item name="wcf.acp.package.button.info"><![CDATA[Informationen]]></item>
                <item name="wcf.acp.package.button.installPackage"><![CDATA[Paket installieren]]></item>
                <item name="wcf.acp.package.button.uninstall"><![CDATA[Deinstallieren]]></item>
                <item name="wcf.acp.package.installation.step.install.success"><![CDATA[Installation abgeschlossen]]></item>
                <item name="wcf.acp.package.installation.step.update"><![CDATA[„{$packageName}“ wird aktualisiert …]]></item>
                <item name="wcf.acp.package.installation.step.update.success"><![CDATA[Aktualisierung abgeschlossen]]></item>
+               <item name="wcf.acp.package.installedVersion"><![CDATA[Installierte Version]]></item>
                <item name="wcf.acp.package.install.step.prepare"><![CDATA[Installation wird vorbereitet …]]></item>
                <item name="wcf.acp.package.install.title"><![CDATA[Paket-Installation]]></item>
                <item name="wcf.acp.package.installation.requiredVersion"><![CDATA[Benötigte Version]]></item>
index 14ba9b48a2afc57cfefff8dcd10e872b84208752..4fcc0f082d56e8ae7ad56dcea5251933b9ee8dcc 100644 (file)
@@ -781,6 +781,7 @@ Examples for medium ID detection:
                <item name="wcf.acp.package.application.installed"><![CDATA[Installed Applications]]></item>
                <item name="wcf.acp.package.application.title"><![CDATA[Applications]]></item>
                <item name="wcf.acp.package.author"><![CDATA[Developer]]></item>
+               <item name="wcf.acp.package.availableVersions"><![CDATA[Available Versions]]></item>
                <item name="wcf.acp.package.button.info"><![CDATA[Details]]></item>
                <item name="wcf.acp.package.button.installPackage"><![CDATA[Install Package]]></item>
                <item name="wcf.acp.package.button.uninstall"><![CDATA[Uninstall]]></item>
@@ -812,6 +813,7 @@ Examples for medium ID detection:
                <item name="wcf.acp.package.installation.step.install.success"><![CDATA[Installation completed]]></item>
                <item name="wcf.acp.package.installation.step.update"><![CDATA[Updating “{$packageName}” …]]></item>
                <item name="wcf.acp.package.installation.step.update.success"><![CDATA[Updated completed]]></item>
+               <item name="wcf.acp.package.installedVersion"><![CDATA[Installed Version]]></item>
                <item name="wcf.acp.package.install.step.prepare"><![CDATA[Preparing Installation …]]></item>
                <item name="wcf.acp.package.install.title"><![CDATA[Installation]]></item>
                <item name="wcf.acp.package.installation.requiredVersion"><![CDATA[Required Version]]></item>