Commit Graph

18 Commits

Author SHA1 Message Date
Benedek Farkas
4ce2ec152b Revert "Upgrading Microsoft.Web.Infrastructure from 1.0.0.0 to 2.0.0
This reverts commit ba9f54b067.

Revert "Adding Microsoft.Web.Infrastructure assembly binding redirect to the codegen template"
This reverts commit d35b46265d.

Revert "Adding Microsoft.Web.Infrastructure assembly binding redirect to the Spec app's root web.config too"
This reverts commit 3eca050e91.
2025-10-14 17:18:53 +02:00
Benedek Farkas
ba9f54b067 Upgrading Microsoft.Web.Infrastructure from 1.0.0.0 to 2.0.0 2025-10-14 15:01:31 +02:00
Benedek Farkas
cdf58c6825 Updating MailKit from 4.14.0 to 4.14.1 2025-10-13 20:25:55 +02:00
Benedek Farkas
3ca5dd381f Upgrading MVC from 5.2.7 to 5.3.0 (latest) and its dependent packages to latest 2025-10-12 16:16:30 +02:00
Benedek Farkas
84dc53ace5 Upgrading MailKit from 4.9.0 to 4.14.0 (latest) 2025-10-12 12:15:58 +02:00
Benedek Farkas
32c5f1e821 #8822: Upgrading MailKit to 4.9.0 and consolidating all NuGet packages (#8823)
Some checks failed
Compile / Compile .NET solution (push) Has been cancelled
Compile / Compile Client-side Assets (push) Has been cancelled
* Upgrading MailKit to 4.8.0 and consolidating all NuGet packages

* Upgrading MailKit to 4.9.0 and consolidating dependency package versions
2025-01-17 19:22:19 +01:00
Benedek Farkas
8425b4ad76 #8811: Update vulnerable NuGet packages and consolidate them (#8812)
* Updating System.IdentityModel.Tokens.Jwt and its dependencies in Orchard.Azure.MediaServices

* Using System.IO.Compression instead of DotNetZip

* Upgrading Newtonsoft.Json from 12.0.3 (vulnerable) to 13.0.3

* Updating ModuleRootWebConfig.txt codegen template according to the new Newtonsoft.Json version
2024-12-06 09:49:45 +01:00
Benedek Farkas
fb1aa73475 8776: Upgrade Microsoft.CodeDom.Providers.DotNetCompilerPlatform to latest version (#8777)
* Upgrading projects, code generation templates and Specflow app to use Microsoft.CodeDom.Providers.DotNetCompilerPlatform 4.1.0 (latest)

* Updating csprojs not to define LangVersion separately in Release and Debug mode, setting it to "default" instead of "latest"

* Restricting C# language version to 7.3

* Downgrading SmtpMessageChannel.cs to C# 7.3

* Setting MvcBuildViews = false in the remaining csprojs that reference DotNetCompilerPlatform, like the others

* Setting RoslynCopyToOutDir = false in each csproj that references DotNetCompilerPlatform

See https://github.com/aspnet/RoslynCodeDomProvider?tab=readme-ov-file#build-time-options
- We only need Orchard.Web to include the Roslyn tools in its bin folder, the other csprojs only need the DLL reference
- We could simply remove the targets import in these csprojs, but it will be re-added when the package is updated, so this is cleaner/easier

* We don't actually need <MvcBuildViews>false</MvcBuildViews> in csprojs

* Orchard.Web: Copying Roslyn files to the output folder using the provided target (CopyRoslynCompilerFilesToOutputDirectory) instead of our custom one

* Orchard.proj: Factoring out a part of the Compile target into the DevCompile target and removing BuildViews target

- For a simple local build (just to validate that the solution builds), we don't actually need that second build that copies files to the output folder.
- CI builds (Test, Spec, etc.) that operate on the build output folder are unaffected, because Compile calls DevCompile
- The BuildViews target is not really necessary, just call any other target (Compile, DevCompile, Spec, etc.) with "/p:MvcBuildViews=true"

* Removing incorrect comment about Razor IntelliSense

* Removing VBCodeProvider configuration from Web.config files

* Getting rid of Microsoft.CodeDom.Providers.DotNetCompilerPlatform.targets imports and associated configuration except in Orchard.Web.csproj

* Adding VB compiler configuration to src/Orchard.Web/Web.config, because it would be readded on rebuild by the imported target anyway
2024-04-04 16:35:29 +02:00
József Horváth
274b4416ec Using MailKit instead of SmtpClient (ORCH-267) (#8707)
* Using MailKit instead of SmtpClient

* Removing 2 more references to System.Net.Http that we hopefully don't need at all anymore

* Attempting to fix Razor compilation warning about Orchard.Email's reference to System.Net.Http

* Improving SmtpSettings.cshtml a bit (port number restrictions, user name box width)

* Fixing encription method is not persisted

* Adding migration step to migrate from EnableSsl to EncryptionMethod in SmtpSettingsPart

* Code styling/simplifications

* Using infoset default values instead of Migrations to keep SSL settings when upgrading to MailKit

---------

Co-authored-by: Lombiq <github@lombiq.com>
Co-authored-by: Benedek Farkas <benedek.farkas@lombiq.com>
2023-07-17 09:58:16 +02:00
Hermes Sbicego
0c34ca3dd5 Feature/8445 libraries update (#8446) 2021-02-04 10:05:50 -08:00
Hermes Sbicego
700b029a34 target framework 4.8 to all projects (#8444) 2021-01-07 10:07:38 -08:00
Lombiq
f31e6aa60d Upgrading DotNetCompilerPlatform package from 2.0.0 to 2.0.1
This update includes version 2.9.0 of the Roslyn package (improved C# 7.3 compilation)
2018-09-19 20:59:06 +02:00
Benedek Farkas
be802146bc Dynamic C# Compilation, Static and Dynamic Razor Compilation with Roslyn (1.10.x) (#7713) 2018-09-19 13:45:23 +02:00
Benedek Farkas
ed0c60c5fd 5408: Dropping static view compilation temporarily to be able support Dynamic Compilation with Roslyn (#7892) 2017-12-21 12:49:53 -08:00
Daniel Stolt
3f6fc4899e Retargeted NuGet references to targetFramework="net452". Fixes #6406. 2016-02-19 22:49:15 +01:00
Rob King
74d8cf8e9a Line endings resolution 2015-12-15 11:55:23 +00:00
Rob King
3f72249654 Moved System.Web.Mvc to NuGet. Version change: None 2015-12-07 20:46:05 +00:00
Rob King
fe215587b1 Moved Newtonsoft.Json to NuGet. Version change: None 2015-12-04 17:32:50 +00:00