Skip to content

Commit f4cc8cf

Browse files
committed
Installer is working....
1 parent ad9ffc2 commit f4cc8cf

File tree

6 files changed

+458
-173
lines changed

6 files changed

+458
-173
lines changed

build/transforms/web.config.install.xdt

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,18 @@
11
<?xml version="1.0"?>
22
<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
33
<appSettings>
4+
<add key="AzureBlobFileSystem.ContainerName:media" xdt:Locator="Match(key)" xdt:Transform="Remove" />
45
<add key="AzureBlobFileSystem.ContainerName:media" value="media" xdt:Locator="Match(key)" xdt:Transform="InsertIfMissing" />
6+
<add key="AzureBlobFileSystem.RootUrl:media" xdt:Locator="Match(key)" xdt:Transform="Remove" />
57
<add key="AzureBlobFileSystem.RootUrl:media" value="https://[myAccountName].blob.core.windows.net/" xdt:Locator="Match(key)" xdt:Transform="InsertIfMissing"/>
8+
<add key="AzureBlobFileSystem.ConnectionString:media" xdt:Locator="Match(key)" xdt:Transform="Remove" />
69
<add key="AzureBlobFileSystem.ConnectionString:media" value="DefaultEndpointsProtocol=https;AccountName=[myAccountName];AccountKey=[myAccountKey]" xdt:Locator="Match(key)" xdt:Transform="InsertIfMissing"/>
7-
<add key="AzureBlobFileSystem.MaxDays:media" value="365" xdt:Locator="Match(key)" xdt:Transform="InsertIfMissing"/>
8-
<add key="AzureBlobFileSystem.UseDefaultRoute:media" value="true" xdt:Locator="Match(key)" xdt:Transform="InsertIfMissing"/>
9-
<add key="AzureBlobFileSystem.UsePrivateContainer:media" value="false" xdt:Locator="Match(key)" xdt:Transform="InsertIfMissing"/>
10+
<add key="AzureBlobFileSystem.MaxDays:media" xdt:Locator="Match(key)" xdt:Transform="Remove" />
11+
<add key="AzureBlobFileSystem.MaxDays:media" value="365" xdt:Locator="Match(key)" xdt:Transform="InsertIfMissing" />
12+
<add key="AzureBlobFileSystem.UseDefaultRoute:media" xdt:Locator="Match(key)" xdt:Transform="Remove" />
13+
<add key="AzureBlobFileSystem.UseDefaultRoute:media" value="true" xdt:Locator="Match(key)" xdt:Transform="InsertIfMissing" />
14+
<add key="AzureBlobFileSystem.UsePrivateContainer:media" xdt:Locator="Match(key)" xdt:Transform="Remove" />
15+
<add key="AzureBlobFileSystem.UsePrivateContainer:media" value="false" xdt:Locator="Match(key)" xdt:Transform="InsertIfMissing" />
1016
</appSettings>
1117

1218
<location path="media" xdt:Locator="Match(path)" xdt:Transform="InsertIfMissing">

src/UmbracoFileSystemProviders.Azure.Installer/Configurator/Views/Configure.htm

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -49,20 +49,11 @@
4949

5050
<div class="row">
5151
<div>
52-
<div class="alert alert-success" ng-show="saved && (status === 'Ok' || status === 'ImageProcessorWebCompatibility' || status === 'ImageProcessorWebConfigError')">
53-
The Azure storage provider was sucessfully configured and your media is now as light as candyfloss
54-
</div>
55-
<div class="alert alert-info" ng-show="saved && status === 'ImageProcessorWebCompatibility'">
56-
<strong>Warning!</strong> You need to upgrade the installed version of ImageProcessor.Web to v4.3.2+ (reinstall this package once you've updated) to be fully compatible with this package <a href="https://our.umbraco.org/projects/collaboration/imageprocessor/" target="_blank">https://our.umbraco.org/projects/collaboration/imageprocessor/</a>
57-
</div>
58-
<div class="alert alert-info" ng-show="saved && status === 'ImageProcessorWebConfigError'">
59-
<strong>Warning!</strong> The installer was unable to configure ImageProcessor.Web, please see documentation to fix the issue <a href="https://our.umbraco.org/projects/collaboration/umbracofilesystemprovidersazure/" target="_blank">https://our.umbraco.org/projects/collaboration/umbracofilesystemprovidersazure/</a>
60-
</div>
61-
<div class="alert alert-error" ng-show="saved && status != 'Ok' && status != 'ImageProcessorWebCompatibility'">
62-
<strong>Oh no</strong>, something went wrong saving, please check Umbraco log files for exceptions
52+
<div class="alert alert-success" ng-show="saved && (status === 'Ok')">
53+
The Azure storage provider was successfully configured and your media is now as light as candyfloss
6354
</div>
6455
<div class="alert alert-error" ng-show="!saved && status === 'ConnectionError'">
65-
<strong>Oh no</strong>, there was something wrong with your Azure connection string, please check and try again, more info in the Umbraco log files
56+
<strong>Oh no</strong>, there was something wrong with your Azure connection string, please check and try again, more info in the Umbraco logs
6657
</div>
6758
</div>
6859
</div>

0 commit comments

Comments
 (0)