diff --git a/src/Umbraco.Tests/Install/InstallHelperTests.cs b/src/Umbraco.Tests/Install/InstallHelperTests.cs index 1338df0239..cd1b6471d3 100644 --- a/src/Umbraco.Tests/Install/InstallHelperTests.cs +++ b/src/Umbraco.Tests/Install/InstallHelperTests.cs @@ -40,7 +40,7 @@ namespace Umbraco.Tests.Install var expected = new[] { - typeof (FilePermissionsStep), typeof (UserStep), typeof(MajorVersion7UpgradeReport), typeof (DatabaseConfigureStep), typeof (DatabaseInstallStep), + typeof (FilePermissionsStep), typeof (NewInstallStep), typeof(MajorVersion7UpgradeReport), typeof (DatabaseConfigureStep), typeof (DatabaseInstallStep), typeof (DatabaseUpgradeStep), typeof (StarterKitDownloadStep), typeof (StarterKitInstallStep), typeof (StarterKitCleanupStep), typeof (SetUmbracoVersionStep) }; diff --git a/src/Umbraco.Web.UI.Client/src/installer/installer.controller.js b/src/Umbraco.Web.UI.Client/src/installer/installer.controller.js index 043e8d5152..79d4b28b6b 100644 --- a/src/Umbraco.Web.UI.Client/src/installer/installer.controller.js +++ b/src/Umbraco.Web.UI.Client/src/installer/installer.controller.js @@ -20,4 +20,8 @@ angular.module("umbraco.install").controller("Umbraco.InstallerController", $scope.gotoStep = function(step){ installerService.gotoNamedStep(step); }; + + $scope.restart = function () { + installerService.gotoStep(0); + }; }); diff --git a/src/Umbraco.Web.UI.Client/src/installer/installer.service.js b/src/Umbraco.Web.UI.Client/src/installer/installer.service.js index 7873c57f65..441e576d9f 100644 --- a/src/Umbraco.Web.UI.Client/src/installer/installer.service.js +++ b/src/Umbraco.Web.UI.Client/src/installer/installer.service.js @@ -89,20 +89,20 @@ angular.module("umbraco.install").factory('installerService', function($q, $time }, gotoNamedStep : function(stepName){ - var step = _.find(service.status.steps, function(s, index){ - if (s.view && s.name === stepName) { - service.status.index = index; - return true; - } - return false; - }); - - step.view = resolveView(step.view); - if(!step.model){ - step.model = {}; + var step = _.find(service.status.steps, function(s, index){ + if (s.view && s.name === stepName) { + service.status.index = index; + return true; } - service.retrieveCurrentStep(); - service.status.current = step; + return false; + }); + + step.view = resolveView(step.view); + if(!step.model){ + step.model = {}; + } + service.retrieveCurrentStep(); + service.status.current = step; }, /** diff --git a/src/Umbraco.Web.UI.Client/src/installer/steps/continueinstall.html b/src/Umbraco.Web.UI.Client/src/installer/steps/continueinstall.html new file mode 100644 index 0000000000..28fa1d3fff --- /dev/null +++ b/src/Umbraco.Web.UI.Client/src/installer/steps/continueinstall.html @@ -0,0 +1,13 @@ +
+

Continue Umbraco Installation

+

+ You see this screen because your Umbraco installation did not complete correctly. +

+

+ Simply click continue below to be guided through the rest of the installation process. +

+ +

+ +

+
diff --git a/src/Umbraco.Web.UI.Client/src/installer/steps/error.html b/src/Umbraco.Web.UI.Client/src/installer/steps/error.html index 5c4dabf96e..234f86e1a4 100644 --- a/src/Umbraco.Web.UI.Client/src/installer/steps/error.html +++ b/src/Umbraco.Web.UI.Client/src/installer/steps/error.html @@ -1,7 +1,9 @@
-

Error during installation

+

Error during installation

-

{{installer.current.model.message}}

+

{{installer.current.model.message}}

- +

See log for full details

+ +
diff --git a/src/Umbraco.Web.UI.Client/src/installer/steps/starterkit.controller.js b/src/Umbraco.Web.UI.Client/src/installer/steps/starterkit.controller.js index bc1604354c..81958ddd55 100644 --- a/src/Umbraco.Web.UI.Client/src/installer/steps/starterkit.controller.js +++ b/src/Umbraco.Web.UI.Client/src/installer/steps/starterkit.controller.js @@ -4,7 +4,8 @@ angular.module("umbraco.install").controller("Umbraco.Installer.PackagesControll $scope.packages = response.data; }); - $scope.setPackageAndContinue = function (pck) { + $scope.setPackageAndContinue = function (pckId) { + installerService.status.current.model = pckId; installerService.forward(); }; diff --git a/src/Umbraco.Web.UI.Client/src/installer/steps/starterkit.html b/src/Umbraco.Web.UI.Client/src/installer/steps/starterkit.html index 4183df869d..7347023c9d 100644 --- a/src/Umbraco.Web.UI.Client/src/installer/steps/starterkit.html +++ b/src/Umbraco.Web.UI.Client/src/installer/steps/starterkit.html @@ -6,14 +6,15 @@ and simple foundation to build on top of.

- + - - No thanks, I do not want to install a starter website + + No thanks, I do not want to install a starter website + diff --git a/src/Umbraco.Web.UI.Client/src/installer/steps/upgrade.html b/src/Umbraco.Web.UI.Client/src/installer/steps/upgrade.html index ebbcd1d641..3638f7f37a 100644 --- a/src/Umbraco.Web.UI.Client/src/installer/steps/upgrade.html +++ b/src/Umbraco.Web.UI.Client/src/installer/steps/upgrade.html @@ -5,7 +5,7 @@ it is completely harmless and will simply ensure your website is kept as fast, secure and uptodate as possible.

- Simply click continue below to be guided through the rest of the upgrade

+ Simply click continue below to be guided through the rest of the upgrade

diff --git a/src/Umbraco.Web.UI/config/ClientDependency.config b/src/Umbraco.Web.UI/config/ClientDependency.config index 585ff05a10..e09251e424 100644 --- a/src/Umbraco.Web.UI/config/ClientDependency.config +++ b/src/Umbraco.Web.UI/config/ClientDependency.config @@ -10,7 +10,7 @@ NOTES: * Compression/Combination/Minification is not enabled unless debug="false" is specified on the 'compiliation' element in the web.config * A new version will invalidate both client and server cache and create new persisted files --> - +