Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

8773: Merge 1.10.x into dev #8774

Merged
merged 63 commits into from
Apr 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
63 commits
Select commit Hold shift + click to select a range
274b441
Using MailKit instead of SmtpClient (ORCH-267) (#8707)
dministro Jul 17, 2023
d8bb23a
Update SslSettingsPartHandler.cs (#8715)
HermesSbicego-Laser Jul 21, 2023
b854839
Implements the "scale" filter to prevent image degradation (#8713)
luciofassio Jul 31, 2023
ba0daf3
Improve Orchard.Layouts UX (#8721)
HermesSbicego-Laser Sep 1, 2023
a4be7c6
Fixes null culture (#8723)
HermesSbicego-Laser Sep 29, 2023
03884cb
Lazy field loading using content item ContentManager instead of the i…
AndreaPiovanelli Oct 27, 2023
4e73190
Makes upgrade to Mailkit fully backward compatible
HermesSbicego-Laser Nov 10, 2023
9644ced
self closing divs ar not a W3C valid markup: Self-closing syntax (/>)…
HermesSbicego-Laser Nov 17, 2023
e013e00
Prevent TermsFilter from having to deal with empty strings (#8727)
MatteoPiovanelli-Laser Jan 15, 2024
d943fbd
Added StringComparer and forced lowercase where needed to ensure matc…
AndreaPiovanelli Jan 19, 2024
97648ed
Implemented ability to add localizations of selected terms to filter …
MatteoPiovanelli-Laser Jan 19, 2024
90b104e
Updated XML helper to support storing and parsing of Guid (#8717)
RichieOrtiz Feb 7, 2024
d46f26d
Added chain to Slug token to enable TextTokens for Autoroute configur…
AndreaPiovanelli Feb 21, 2024
eb09ab7
Added data annotation to have a proper validation on MenuText length …
AndreaPiovanelli Feb 21, 2024
44bfa39
Feature/maxlengthsetting (#8719)
AgostiniAlessandro Feb 21, 2024
90dc993
Using content item's ContentManager for lazy field loading instead of…
AndreaPiovanelli Feb 29, 2024
c7d10fd
When chaining tokens, if nothing was selected in a CPF, evaluation wo…
MatteoPiovanelli-Laser Feb 29, 2024
35f1c8d
Corrections on media resizing process (#8762)
AndreaPiovanelli Feb 29, 2024
50d416c
Projections: Consolidating Migration Update steps into Create
BenedekFarkas Mar 1, 2024
bfe1e6a
Merge branch '1.10.x' into issue/8773
BenedekFarkas Mar 8, 2024
ccdeeab
Fixing merge + code styling
BenedekFarkas Mar 8, 2024
52b4053
Resolving merge conflict in MediaLibraryPickerFieldHandler between fd…
BenedekFarkas Mar 8, 2024
0e1129e
Re-applying change from 6ea2b8c7f49beda69fada4b037c5320a4bed34ca (Log…
BenedekFarkas Mar 8, 2024
0fb45b4
Re-applying FromAddress/FromName changes from 1c93e4a501f1203c9726b27…
BenedekFarkas Mar 8, 2024
c8c5196
Re-applying logic to send attachments from 46c3fe6e79cf5da6d8ccf1abfc…
BenedekFarkas Mar 8, 2024
049cc6a
Re-applying logic to ask for an email read notification from 7c725bf2…
BenedekFarkas Mar 8, 2024
f2f3a25
Fixing build warning
BenedekFarkas Mar 8, 2024
358744e
Fixing merge error in Orchard.Projections/Migrations.cs
BenedekFarkas Mar 8, 2024
f667d00
Adding verbosity = minimal to msbuild commands in the compile workflow
BenedekFarkas Mar 9, 2024
bfe5671
Adding verbosity = minimal to msbuild commands in the specflow workfl…
BenedekFarkas Mar 9, 2024
7226b06
Updating rebuilt client-side assets that only changed in terms of sou…
BenedekFarkas Mar 9, 2024
13bbb43
Updating rebuilt client-side assets that changed functionally
BenedekFarkas Mar 9, 2024
c420676
Fixing/simplifying Layout editor toolbox stickyness and height restri…
BenedekFarkas Mar 9, 2024
391c032
Gulpfile: Updating TS compilation options to fix TS6131 error
BenedekFarkas Mar 10, 2024
d80513a
Merge branch 'issue/8773-1.10.x' into issue/8773
BenedekFarkas Mar 10, 2024
8dec61b
Updating jQueryUI to version 1.13.2 (July 14, 2022) to mitigate some …
BenedekFarkas Mar 10, 2024
041a361
Merge branch 'dev' into issue/8773
BenedekFarkas Mar 10, 2024
5e928e7
Temporary email test setup
BenedekFarkas Mar 11, 2024
b5ad09e
Making SmtpMessageChannel.ParseRecipients more fault-tolerant to simp…
BenedekFarkas Mar 11, 2024
44dcc86
SmtpMessageChannel: Simplifying the processing of the "from" address
BenedekFarkas Mar 11, 2024
8449ead
SmtpMessageChannel: Fixing that the "reply to" address should fall ba…
BenedekFarkas Mar 11, 2024
a803d7b
Revert "Temporary email test setup"
BenedekFarkas Mar 11, 2024
2fd4d28
Attempting to fix Razor compilation warning (error) regarding System.…
BenedekFarkas Mar 11, 2024
eaa4322
Fixing System.Net.Http publicKeyToken in assembly binding redirect
BenedekFarkas Mar 11, 2024
d2f4d7e
Attempting to free Orchard from the DLL-hell
BenedekFarkas Mar 11, 2024
068b616
Maybe we don't need the System.Net.Http assembly reference in the Orc…
BenedekFarkas Mar 11, 2024
5f34102
Uploading MSBuild log as artifact
BenedekFarkas Mar 11, 2024
2d7ce45
TermsPart.Record usage made before the delegate to avoid accessing a …
AndreaPiovanelli Mar 15, 2024
1900b35
Updated ClickToBuild.cmd to support VS2019 (v16) and VS2022 (v17) (#8…
dmhiggins23 Mar 15, 2024
0053384
gitignore: Fixing the pattern that ignores ".vs" folders at any level…
BenedekFarkas Mar 16, 2024
9b57673
Resetting the branch to a803d7bc2d5f0cb4d31a132a2c427aa7b92b1c96 by r…
BenedekFarkas Mar 18, 2024
5aaf46b
Setting MSBuild log verbosity to minimal in the compile workflow
BenedekFarkas Mar 18, 2024
fb1aa73
8776: Upgrade Microsoft.CodeDom.Providers.DotNetCompilerPlatform to l…
BenedekFarkas Apr 4, 2024
832a0c8
Merge branch 'dev' into issue/8773
BenedekFarkas Apr 4, 2024
39ea4c7
Merge branch '1.10.x' into issue/8773
BenedekFarkas Apr 4, 2024
3ce5025
Updating Microsoft.CodeDom.Providers.DotNetCompilerPlatform to versio…
BenedekFarkas Apr 4, 2024
f30a472
Removing SharpZipLib package and references as its no longer used
BenedekFarkas Apr 4, 2024
7f2e467
Upgrade: Adding System.Net.Http assembly binding redirect
BenedekFarkas Apr 5, 2024
8086c01
7919: The Alias UI links for sites using UrlPrefix are broken (#7930)
Hazzamanic Apr 11, 2024
530d2a9
8773: Recompiling client-side assets on 1.10.x (#8779)
BenedekFarkas Apr 16, 2024
04e9c73
8012: Add Excel Export functionality to DynamicForms (#8016)
TFleury Apr 16, 2024
7b07ab9
Merge branch 'dev' into issue/8773
BenedekFarkas Apr 17, 2024
70e1366
Merge branch '1.10.x' into issue/8773
BenedekFarkas Apr 17, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
50 changes: 43 additions & 7 deletions .github/workflows/compile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,25 +10,61 @@ on:
- 1.10.x

jobs:
compile:
name: Compile
compile-dotnet:
name: Compile .NET solution
defaults:
run:
shell: pwsh
runs-on: windows-latest

steps:
- name: Clone repository
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
uses: actions/[email protected]

- name: Restore NuGet packages
run: nuget restore src/Orchard.sln

- name: Add msbuild to PATH
uses: microsoft/setup-msbuild@6fb02220983dee41ce7ae257b6f4d8f9bf5ed4ce # v2.0.0
uses: microsoft/setup-msbuild@v2

- name: Compile
run: msbuild Orchard.proj /m /t:Compile /p:MvcBuildViews=true /p:TreatWarningsAsErrors=true -WarnAsError
run: msbuild Orchard.proj /m /v:minimal /t:Compile /p:MvcBuildViews=true /p:TreatWarningsAsErrors=true -WarnAsError

- name: Test
run: msbuild Orchard.proj /m /t:Test
run: msbuild Orchard.proj /m /v:minimal /t:Test

compile-node:
name: Compile client-side assets
defaults:
run:
shell: pwsh
runs-on: windows-latest
steps:
- name: Clone repository
uses: actions/[email protected]

- name: Setup NodeJS
uses: actions/[email protected]
with:
node-version: '7'

- name: Setup NPM packages
working-directory: ./src
run: |
npm install --loglevel warn

# Install gulp globally to be able to run the rebuild task, using the same version as in the project.
$gulpVersion = (Get-Content Package.json -Raw | ConvertFrom-Json).devDependencies.gulp
Start-Process npm -NoNewWindow -Wait -ArgumentList "install gulp@$gulpVersion -g --loglevel warn"

- name: Rebuild client-side assets
working-directory: ./src
run: |
gulp rebuild

git add . # To make line ending changes "disappear".
$gitStatus = (git status --porcelain)
if ($gitStatus)
{
throw ("Client-side assets are not up-to-date. Please run 'gulp rebuild' and commit the changes.`n" +
[System.String]::Join([System.Environment]::NewLine, $gitStatus))
}
6 changes: 3 additions & 3 deletions .github/workflows/specflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@ jobs:
uses: microsoft/setup-msbuild@6fb02220983dee41ce7ae257b6f4d8f9bf5ed4ce # v2.0.0

- name: Compile
run: msbuild Orchard.proj /m /t:Compile /p:MvcBuildViews=true /p:TreatWarningsAsErrors=true -WarnAsError
run: msbuild Orchard.proj /m /v:minimal /t:Compile /p:MvcBuildViews=true /p:TreatWarningsAsErrors=true -WarnAsError

- name: Test
run: msbuild Orchard.proj /m /t:Test
run: msbuild Orchard.proj /m /v:minimal /t:Test

- name: Spec
run: msbuild Orchard.proj /m /t:Spec
run: msbuild Orchard.proj /m /v:minimal /t:Spec
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
## Ignore Visual Studio temporary files, build results, and
## files generated by popular Visual Studio add-ons.
**/.vs/**
src/Rebracer.xml

# User-specific files
*.suo
Expand Down Expand Up @@ -190,5 +192,3 @@ src/Orchard.Azure/Orchard.Azure.CloudService/Staging/

#enable all /lib artifacts
!lib/**/*.*
**/.vs/*
src/Rebracer.xml
22 changes: 2 additions & 20 deletions ClickToBuild.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -3,36 +3,18 @@
REM Necessary for the InstallDir variable to work inside the MsBuild-finding loop below.
SETLOCAL ENABLEDELAYEDEXPANSION

for /f "usebackq tokens=1* delims=: " %%i in (`lib\vswhere\vswhere -latest -version "[15.0,17.0)" -requires Microsoft.Component.MSBuild`) do (
for /f "usebackq tokens=1* delims=: " %%i in (`lib\vswhere\vswhere -latest -version "[16.0,18.0)" -requires Microsoft.Component.MSBuild`) do (
if /i "%%i"=="installationPath" (
set InstallDir=%%j
echo !InstallDir!
if exist "!InstallDir!\MSBuild\15.0\Bin\MSBuild.exe" (
echo "Using MSBuild from Visual Studio 2017"
set msbuild="!InstallDir!\MSBuild\15.0\Bin\MSBuild.exe"
goto build
)
if exist "!InstallDir!\MSBuild\Current\Bin\MSBuild.exe" (
echo "Using MSBuild from Visual Studio 2019"
echo "Using MSBuild from !InstallDir!"
set msbuild="!InstallDir!\MSBuild\Current\Bin\MSBuild.exe"
goto build
)
)
)

FOR %%b in (
"%VS140COMNTOOLS%\vsvars32.bat"
"%VS120COMNTOOLS%\vsvars32.bat"
"%VS110COMNTOOLS%\vsvars32.bat"
) do (
if exist %%b (
echo "Using MSBuild from %%b"
call %%b
set msbuild="msbuild"
goto build
)
)

echo "Unable to detect suitable environment. Build may not succeed."

:build
Expand Down
24 changes: 9 additions & 15 deletions Orchard.proj
Original file line number Diff line number Diff line change
Expand Up @@ -113,29 +113,25 @@
</Target>

<Target Name="Compile">
<CallTarget Targets="DevCompile"/>
<!-- Compile to "OutputFolder" -->
<MSBuild
Projects="$(Solution)"
Targets="Build"
Properties="Configuration=$(Configuration);OutputPath=$(CompileFolder);MvcBuildViews=false" />
<!-- Compile to "regular" output folder for devs using VS locally -->
<MSBuild
Projects="$(Solution)"
Targets="Build"
Properties="Configuration=$(Configuration);MvcBuildViews=$(MvcBuildViews)" />
Properties="Configuration=$(Configuration);OutputPath=$(CompileFolder)" />
</Target>

<Target Name="BuildViews">
<!-- To make sure that Roslyn tools are available, even if the Compile task was not called before this. -->
<Target Name="DevCompile">
<!-- To make sure that Roslyn tools are available, since it's included with Orchard.Web, which is not referenced by
other projects, so it will be built towards the end. -->
<MSBuild
Projects="$(OrchardWebFolder)\Orchard.Web.csproj"
Targets="CopyRoslynFilesToOutputFolder"
Properties="Configuration=$(Configuration)" />
<!-- The actual compilation with views also compiled. -->
Targets="CopyRoslynCompilerFilesToOutputDirectory" />
<!-- Compile to "regular" output folder for devs using VS locally -->
<MSBuild
Projects="$(Solution)"
Targets="Build"
Properties="Configuration=$(Configuration);MvcBuildViews=true" />
Properties="Configuration=$(Configuration);MvcBuildViews=$(MvcBuildViews)" />
</Target>

<Target Name="CompileMsBuildTasks">
Expand Down Expand Up @@ -195,7 +191,6 @@
<Stage-Media Include="$(SrcFolder)\Orchard.Web\Media\OrchardLogo.png" />
<Stage-PoFiles Include="$(SrcFolder)\Orchard.Web\**\*.po" />
<Stage-Core Include="$(WebSitesFolder)\Orchard.Core\**\*" Exclude="$(WebSitesFolder)\Orchard.Core\**\bin\**\*" />
<Stage-Roslyn Include="$(SrcFolder)\Orchard.Web\bin\roslyn\*" />

<!-- Get list of module names from the module definition files within ModulesSrcFolder -->
<Stage-Modules-Definitions Include="$(ModulesSrcFolder)\**\Module.txt" />
Expand Down Expand Up @@ -237,7 +232,7 @@

<!-- Copying module binaries is somewhat tricky: From a module "bin" directory, we
only want to include the files that are _not_ already present in
the "Orchard.Web\Bin" folder (except for "Orchard.Web\bin\roslyn"). -->
the "Orchard.Web\Bin" folder. -->
<FilterModuleBinaries
ModulesBinaries="@(Stage-Modules-Binaries)"
OrchardWebBinaries="@(Stage-Orchard-Web-Bins)">
Expand Down Expand Up @@ -267,7 +262,6 @@
<Copy SourceFiles="@(Stage-Themes-Custom)" DestinationFiles="@(Stage-Themes-Custom->'$(StageFolder)\Themes\%(ThemeName)\%(RecursiveDir)%(Filename)%(Extension)')"/>
<Copy SourceFiles="@(Stage-Themes-Binaries-Unique)" DestinationFiles="@(Stage-Themes-Binaries-Unique->'$(StageFolder)\Themes\%(ThemeName)\%(RecursiveDir)%(Filename)%(Extension)')"/>
<Copy SourceFiles="@(Stage-Themes-Sources)" DestinationFolder="$(StageFolder)\Themes\%(RecursiveDir)"/>
<Copy SourceFiles="@(Stage-Roslyn)" DestinationFolder="$(StageFolder)\bin\roslyn"/>

<MakeDir Directories="$(StageFolder)\App_Data"/>
<WriteLinesToFile File="$(StageFolder)\App_Data\_marker.txt" Lines="some_text" Overwrite="true"/>
Expand Down
Binary file modified lib/nuget/nuget.exe
Binary file not shown.
2 changes: 1 addition & 1 deletion src/Gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ function buildJsPipeline(assetGroup, doConcat, doRebuild) {
// Source maps are useless if neither concatenating nor transpiling.
if ((!doConcat || assetGroup.inputPaths.length < 2) && !assetGroup.inputPaths.some(function (inputPath) { return path.extname(inputPath).toLowerCase() === ".ts"; }))
generateSourceMaps = false;
var typeScriptOptions = { allowJs: true, noImplicitAny: true, noEmitOnError: true };
var typeScriptOptions = { allowJs: true, noImplicitAny: true, noEmitOnError: true, module: 'amd' };
if (assetGroup.typeScriptOptions)
typeScriptOptions = Object.assign(typeScriptOptions, assetGroup.typeScriptOptions); // Merge override options from asset group if any.
if (doConcat)
Expand Down
3 changes: 1 addition & 2 deletions src/Orchard.Azure.Tests/Orchard.Azure.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
<RootNamespace>Orchard.Azure.Tests</RootNamespace>
<AssemblyName>Orchard.Azure.Tests</AssemblyName>
<TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
<LangVersion>7.3</LangVersion>
<FileAlignment>512</FileAlignment>
<FileUpgradeFlags>
</FileUpgradeFlags>
Expand Down Expand Up @@ -41,7 +42,6 @@
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<LangVersion>latest</LangVersion>
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
Expand All @@ -52,7 +52,6 @@
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<LangVersion>latest</LangVersion>
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
Expand Down
3 changes: 1 addition & 2 deletions src/Orchard.Core.Tests/Orchard.Core.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
<RootNamespace>Orchard.Core.Tests</RootNamespace>
<AssemblyName>Orchard.Core.Tests</AssemblyName>
<TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
<LangVersion>7.3</LangVersion>
<FileAlignment>512</FileAlignment>
<FileUpgradeFlags>
</FileUpgradeFlags>
Expand Down Expand Up @@ -41,7 +42,6 @@
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<LangVersion>latest</LangVersion>
<CodeAnalysisRuleSet>..\OrchardBasicCorrectness.ruleset</CodeAnalysisRuleSet>
<PlatformTarget>AnyCPU</PlatformTarget>
<Prefer32Bit>false</Prefer32Bit>
Expand All @@ -53,7 +53,6 @@
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<LangVersion>latest</LangVersion>
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
<PlatformTarget>AnyCPU</PlatformTarget>
<Prefer32Bit>false</Prefer32Bit>
Expand Down
3 changes: 1 addition & 2 deletions src/Orchard.Profile/Orchard.Profile.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
<RootNamespace>Orchard.Profile</RootNamespace>
<AssemblyName>Orchard.Profile</AssemblyName>
<TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
<LangVersion>7.3</LangVersion>
<FileAlignment>512</FileAlignment>
<FileUpgradeFlags>
</FileUpgradeFlags>
Expand Down Expand Up @@ -41,7 +42,6 @@
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<LangVersion>latest</LangVersion>
<PlatformTarget>AnyCPU</PlatformTarget>
<CodeAnalysisRuleSet>..\OrchardBasicCorrectness.ruleset</CodeAnalysisRuleSet>
<Prefer32Bit>false</Prefer32Bit>
Expand All @@ -53,7 +53,6 @@
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<LangVersion>latest</LangVersion>
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
Expand Down
3 changes: 1 addition & 2 deletions src/Orchard.Specs/Hosting/Orchard.Web/Core/Web.config
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,9 @@
<add key="webpages:Enabled" value="false" />
<add key="aspnet:RoslynCompilerLocation" value="..\bin\roslyn" />
</appSettings>
<!-- Registering Roslyn as a compiler for Razor IntelliSense. -->
<system.codedom>
<compilers>
<compiler language="c#;cs;csharp" extension=".cs" type="Microsoft.CodeDom.Providers.DotNetCompilerPlatform.CSharpCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=2.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" warningLevel="4" compilerOptions="/langversion:latest" />
<compiler language="c#;cs;csharp" extension=".cs" warningLevel="4" compilerOptions="/langversion:7.3 /nowarn:1659;1699;1701;612;618" type="Microsoft.CodeDom.Providers.DotNetCompilerPlatform.CSharpCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=4.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
</compilers>
</system.codedom>
<system.web>
Expand Down
3 changes: 1 addition & 2 deletions src/Orchard.Specs/Hosting/Orchard.Web/Themes/Web.config
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,9 @@
<add key="webpages:Enabled" value="false" />
<add key="aspnet:RoslynCompilerLocation" value="..\bin\roslyn" />
</appSettings>
<!-- Registering Roslyn as a compiler for Razor IntelliSense. -->
<system.codedom>
<compilers>
<compiler language="c#;cs;csharp" extension=".cs" type="Microsoft.CodeDom.Providers.DotNetCompilerPlatform.CSharpCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=2.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" warningLevel="4" compilerOptions="/langversion:latest" />
<compiler language="c#;cs;csharp" extension=".cs" warningLevel="4" compilerOptions="/langversion:7.3 /nowarn:1659;1699;1701;612;618" type="Microsoft.CodeDom.Providers.DotNetCompilerPlatform.CSharpCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=4.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
</compilers>
</system.codedom>
<system.web>
Expand Down
2 changes: 1 addition & 1 deletion src/Orchard.Specs/Hosting/Orchard.Web/Web.config
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
<!-- Registering Roslyn as a compiler for Dynamic Compilation. -->
<system.codedom>
<compilers>
<compiler language="c#;cs;csharp" extension=".cs" type="Microsoft.CodeDom.Providers.DotNetCompilerPlatform.CSharpCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=2.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" warningLevel="4" compilerOptions="/langversion:latest" />
<compiler language="c#;cs;csharp" extension=".cs" warningLevel="4" compilerOptions="/langversion:7.3 /nowarn:1659;1699;1701;612;618" type="Microsoft.CodeDom.Providers.DotNetCompilerPlatform.CSharpCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=4.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
</compilers>
</system.codedom>
<system.web>
Expand Down
3 changes: 1 addition & 2 deletions src/Orchard.Specs/Orchard.Specs.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
<RootNamespace>Orchard.Specs</RootNamespace>
<AssemblyName>Orchard.Specs</AssemblyName>
<TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
<LangVersion>7.3</LangVersion>
<FileAlignment>512</FileAlignment>
<FileUpgradeFlags>
</FileUpgradeFlags>
Expand Down Expand Up @@ -41,7 +42,6 @@
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<LangVersion>latest</LangVersion>
<CodeAnalysisRuleSet>..\OrchardBasicCorrectness.ruleset</CodeAnalysisRuleSet>
<PlatformTarget>AnyCPU</PlatformTarget>
<Prefer32Bit>false</Prefer32Bit>
Expand All @@ -53,7 +53,6 @@
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<LangVersion>latest</LangVersion>
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
<PlatformTarget>AnyCPU</PlatformTarget>
<Prefer32Bit>false</Prefer32Bit>
Expand Down
10 changes: 2 additions & 8 deletions src/Orchard.Tests.Modules/Email/EmailChannelTests.cs
Original file line number Diff line number Diff line change
@@ -1,15 +1,9 @@
using System.Collections.Generic;
using Autofac;
using Moq;
using NUnit.Framework;
using Orchard.ContentManagement.Records;
using Orchard.DisplayManagement;
using Orchard.Email.Services;
using Orchard.Messaging.Events;
using Orchard.Messaging.Services;
using Orchard.Tests.Messaging;
using Orchard.Tests.Modules.Stubs;
using Orchard.Tests.Utility;

namespace Orchard.Tests.Modules.Email {
[TestFixture]
Expand All @@ -30,10 +24,10 @@ public void Init() {
var container = builder.Build();
_messageService = container.Resolve<IMessageService>();
}

[Test]
public void CanSendEmailUsingAddresses() {
_messageService.Send("Email", new Dictionary<string, object>() { {"", null} });
_messageService.Send("Email", new Dictionary<string, object>() { { "", null } });
Assert.That(_smtpChannel.Processed, Is.Not.Null);
}

Expand Down
6 changes: 1 addition & 5 deletions src/Orchard.Tests.Modules/Orchard.Tests.Modules.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
<RootNamespace>Orchard.Tests.Modules</RootNamespace>
<AssemblyName>Orchard.Tests.Modules</AssemblyName>
<TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
<LangVersion>7.3</LangVersion>
<FileAlignment>512</FileAlignment>
<FileUpgradeFlags>
</FileUpgradeFlags>
Expand Down Expand Up @@ -41,7 +42,6 @@
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<LangVersion>latest</LangVersion>
<CodeAnalysisRuleSet>..\OrchardBasicCorrectness.ruleset</CodeAnalysisRuleSet>
<PlatformTarget>AnyCPU</PlatformTarget>
<Prefer32Bit>false</Prefer32Bit>
Expand All @@ -53,7 +53,6 @@
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<LangVersion>latest</LangVersion>
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
<PlatformTarget>AnyCPU</PlatformTarget>
<Prefer32Bit>false</Prefer32Bit>
Expand All @@ -77,9 +76,6 @@
<Reference Include="FluentPath, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\Orchard.FluentPath.1.0.0.1\lib\FluentPath.dll</HintPath>
</Reference>
<Reference Include="ICSharpCode.SharpZipLib, Version=1.3.3.11, Culture=neutral, PublicKeyToken=1b03e6acf1164f73, processorArchitecture=MSIL">
<HintPath>..\packages\SharpZipLib.1.3.3\lib\net45\ICSharpCode.SharpZipLib.dll</HintPath>
</Reference>
<Reference Include="Iesi.Collections, Version=4.0.0.4000, Culture=neutral, PublicKeyToken=aa95f207798dfdb4, processorArchitecture=MSIL">
<HintPath>..\packages\Iesi.Collections.4.0.4\lib\net461\Iesi.Collections.dll</HintPath>
</Reference>
Expand Down
Loading