COnf parametrica x email di auth...

This commit is contained in:
Samuele E. Locatelli
2018-05-24 11:22:52 +02:00
parent 799041e3ff
commit a4800f3769
6 changed files with 22 additions and 5 deletions
Vendored
+1 -1
View File
@@ -17,7 +17,7 @@ pipeline {
/* calcolo numero versione... diverso x branch MASTER/DEVELOP */
script {
withEnv(['NEXT_BUILD_NUMBER=70']) {
withEnv(['NEXT_BUILD_NUMBER=72']) {
// env.versionNumber = VersionNumber(versionNumberString : '0.9.${BUILD_DATE_FORMATTED, "yyMM"}.${BUILDS_ALL_TIME}', projectStartDate : '2006-01-01', skipFailedBuilds: true)
env.versionNumber = VersionNumber(versionNumberString : '0.9.${BUILD_DATE_FORMATTED, "yyMM"}.${BUILDS_ALL_TIME}', projectStartDate : '2006-01-01', skipFailedBuilds: true, overrideBuildsAllTime: '${NEXT_BUILD_NUMBER}')
env.APP_NAME = 'SOSCONDOMINI'
+5
View File
@@ -2,6 +2,11 @@
body {
padding-top: 50px;
padding-bottom: 20px;
background: url('../images/Condomini_01.jpeg') no-repeat center center fixed;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
}
/* Wrapping element */
/* Set some basic padding to keep content from hitting the edges */
+12 -1
View File
@@ -6,7 +6,7 @@ modificando il file MSBuild. Per altre informazioni su questo argomento, vedere
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<WebPublishMethod>MSDeploy</WebPublishMethod>
<LastUsedBuildConfiguration>IIS02</LastUsedBuildConfiguration>
<LastUsedBuildConfiguration>IIS01</LastUsedBuildConfiguration>
<LastUsedPlatform>Any CPU</LastUsedPlatform>
<SiteUrlToLaunchAfterPublish />
<LaunchSiteAfterPublish>True</LaunchSiteAfterPublish>
@@ -31,6 +31,16 @@ modificando il file MSBuild. Per altre informazioni su questo argomento, vedere
<Source MatchValue="Data Source=SQL2016DEV;Initial Catalog=B2BCond;Persist Security Info=True;User ID=sa;Password=keyhammer16" MatchAttributes="$(UpdateFromConnectionStringAttributes)" />
</UpdateFrom>
</ObjectGroup>
<ObjectGroup Name="SteamWare.Properties.Settings.DS_AuthConnectionString" Order="2" Enabled="False">
<Destination Path="" />
<Object Type="DbDacFx">
<PreSource Path="Data Source=SQL2016DEV;Initial Catalog=B2BCond;Persist Security Info=True;User ID=sa;Password=keyhammer16" includeData="False" />
<Source Path="$(IntermediateOutputPath)AutoScripts\SteamWare.Properties.Settings.DS_AuthConnectionString_IncrementalSchemaOnly.dacpac" dacpacAction="Deploy" />
</Object>
<UpdateFrom Type="Web.Config">
<Source MatchValue="Data Source=SQL2016DEV;Initial Catalog=B2BCond;Persist Security Info=True;User ID=sa;Password=keyhammer16;" MatchAttributes="$(UpdateFromConnectionStringAttributes)" />
</UpdateFrom>
</ObjectGroup>
</Objects>
</PublishDatabaseSettings>
<PrecompileBeforePublish>True</PrecompileBeforePublish>
@@ -39,6 +49,7 @@ modificando il file MSBuild. Per altre informazioni su questo argomento, vedere
<WDPMergeOption>DonotMerge</WDPMergeOption>
</PropertyGroup>
<ItemGroup>
<MSDeployParameterValue Include="$(DeployParameterPrefix)SteamWare.Properties.Settings.DS_AuthConnectionString-Web.config Connection String" />
<MSDeployParameterValue Include="Data.Properties.Settings.B2BCondConnectionString-Web.config Connection String">
<UpdateDestWebConfig>False</UpdateDestWebConfig>
</MSDeployParameterValue>
+1 -1
View File
@@ -2,7 +2,7 @@
<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
<appSettings>
<add key="baseUrlAdmin" value="http://seriate.steamware.net:8083/B2BC/" xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
<add key="baseUrl" value="http://seriate.steamware.net:8083/B2BC/" xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
</appSettings>
<connectionStrings>
</connectionStrings>
+1 -1
View File
@@ -2,7 +2,7 @@
<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
<appSettings>
<add key="baseUrlAdmin" value="http://seriate.steamware.net:8083/B2BC/" xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
<add key="baseUrl" value="http://seriate.steamware.net:8083/B2BC/" xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
</appSettings>
<connectionStrings>
</connectionStrings>
@@ -90,8 +90,9 @@ namespace PUB.WebUserControls
{ }
if (USER_NAME != "" && AuthKey != "")
{
string body = "Salve,<br/><br/>Questo è un messaggio automatico generato da {3} a nome dell'amministratore della piattaforma.<br/><br/><a href=\"{0}/jumper?UserAuthkey={1}&USER_NAME={2}\">Prego cliccare sul seguente link (oppure copiare lo stesso ed incollarlo sul browser preferito)</a> per abilitare l'accesso a {3}.<br/><br/>Cordialmente.";
// invio email!
devicesAuthProxy.stObj.sendEmailAuthKey(USER_NAME, AuthKey, "ScheMe Authorization");
devicesAuthProxy.stObj.sendEmailAuthKey(USER_NAME, AuthKey, "www.b2bcondomini.it", body);
}
break;
case "Edit":