Commit Graph

71 Commits

Author SHA1 Message Date
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
Matteo Piovanelli
b37256fc94
Update nhibernate (#8488)
* Update nHibernate to version 4.1.2.4000

# Conflicts:
#	src/Orchard.Web/Modules/Orchard.ContentPicker/packages.config
#	src/Orchard.Web/Modules/Orchard.ImportExport/packages.config
#	src/Orchard.Web/Modules/Orchard.MessageBus/packages.config
#	src/Orchard.Web/Modules/Orchard.MultiTenancy/packages.config
#	src/Orchard.Web/Modules/Orchard.Projections/packages.config
#	src/Orchard.Web/Modules/Orchard.Tags/packages.config
#	src/Orchard.Web/Modules/Upgrade/packages.config
#	src/Orchard.Web/Web.config

* Update AssemblyBindings for NHibernate
2021-07-30 08:41:53 +02:00
Hermes Sbicego
c5240678bd
Feature/upgradable libraries (#8457) 2021-02-18 10:06:24 -08: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
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
Benedek Farkas
2904d35d91 Enabling C# 6 for Dynamic Compilation and Razor IntelliSense
Fixes #5408
2017-11-09 12:04:12 -08:00
Benedek Farkas
185ad6b1eb Adding LangVersion 5 setting to each csproj's Debug and Release target (#7641)
Fixes #7639
2017-04-03 10:38:41 -07:00
Lombiq
3e2b5d5b82 Upgrading FluentNHibernate so it's sync with other assemblies to prevent exceptions when running tests. Fixes #6933. 2016-06-16 19:01:07 +02:00
Daniel Stolt
dec68d454c Updated code base to target .NET Framework 4.5.2. Fixes #5700. 2016-01-14 01:06:32 +01:00
Lombiq
7fa4783b1d Fixing leftover MVC references by changing them to also use packages 2016-01-06 01:04:40 +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
86fd4a0df5 Moved NHibernate to NuGet. Version change: None 2015-12-04 18:06:08 +00:00
Rob King
21b9cc7d11 Moved Moq to NuGet. Version change: 4.0.812 >>> 4.0.10827 2015-12-04 16:46:21 +00:00
Rob King
929b6bb2c0 Moved Autofac to NuGet. Version change: None 2015-12-04 11:36:33 +00:00
Rob King
6df007561d Moved NUnit to NuGet. Version change: 2.5.2.9222 >>> 2.5.10.11092 2015-12-04 11:27:42 +00:00
Lombiq
680a9eb85b Fixing that some files had line endings mixed up (both LF and CRLF) 2015-12-03 00:10:12 +01:00
Sebastien Ros
5fd02aacd9 Merge branch '1.9.x' into dev
Conflicts:
	README.md
2015-07-30 15:51:28 -07:00
Sebastien Ros
cc82bfcca0 Fixing duplicate session creation 2015-07-30 15:49:13 -07:00
Bing Huan Chio
0395d33f71 Updated UT and displaying last updated by correctly 2015-04-22 18:42:07 -07:00
Kees Damen
2cfcdfaa8b Fixed project references to Orchard.Core and Orchard.Framework 2015-04-16 16:23:12 +02:00
Sebastien Ros
221197f314 Upgrading to .NET Framework 4.5.1 2014-08-13 14:07:45 -07:00
Sebastien Ros
35d2a6c8fd #20577: Fixing Orchard.Templates
Work Item: 20577
2014-03-26 12:21:51 -07:00
Erik Oppedijk
8e84bd57e7 Upgrade projects and web.config to 4.5 FW 2013-08-23 15:16:14 +02:00
Sebastien Ros
fca554ddc9 Merge with clayless
--HG--
branch : 1.x
2013-02-04 10:51:21 -08:00
Sebastien Ros
a9f1312b88 Removing clay usage in favor or pre-configured dynamic objects
--HG--
branch : clayless
extra : rebase_source : fe1f730585d0df763d4dd4215b11bace48bcd944
2012-11-20 17:21:52 -08:00
Sebastien Ros
bf46e56b86 Fixing NHibernate references
--HG--
branch : 1.x
2012-11-14 16:19:57 -08:00
Sebastien Ros
4630269e60 Optimizing Bbcode filter
--HG--
branch : 1.x
2012-08-09 18:14:19 -07:00
Sebastien Ros
9bed7cbaba Upgrading NH3
--HG--
branch : NH3
2012-07-10 16:01:46 -07:00
randompete
7c944ccf18 Cut all ties to Routable module
--HG--
branch : autoroute
2011-12-29 14:36:39 +00:00
Sebastien Ros
f9ffc95964 Fixing references to SqlCe library
--HG--
branch : 1.x
2011-11-04 10:48:35 -07:00
Renaud Paquay
4dd978f304 Update the way we copy c++ run time for SqlCe
--HG--
branch : 1.x
2011-01-12 00:47:26 -08:00
Nathan Heskew
36b049deb6 Merge
--HG--
branch : dev
2010-11-14 21:52:31 -08:00
andrerod
6eb257fc7c Updating project references with hint paths to avoid warnings on clean.
--HG--
branch : dev
2010-11-14 00:09:42 -08:00
Nathan Heskew
036033116f Some work on making the route part more container aware
- still needs some work in the Slugify method (for client slugification)
- also a container path placeholder...

--HG--
branch : dev
2010-11-13 01:52:53 -08:00
Dave Reed
e869a4f467 Fixing some basic fx cop warnings
--HG--
branch : dev
2010-11-12 12:47:06 -08:00
Dave Reed
ca74da5ea5 Setting code analysis ruleset to paired down Security rules.
--HG--
branch : dev
2010-11-10 16:16:54 -08:00
Louis DeJardin
70426a89b9 Overloading ContentPart to optionally have new shape passed in
If lambda takes an argument, it is dynamic, and is an uninitialized shape of the named type
ShapeHelper and IShapeHelperFactory are obsolete - IShapeFactory itself is now dynamic

--HG--
branch : dev
2010-10-15 17:24:30 -07:00
Nathan Heskew
70453d012b Merge
--HG--
branch : dev
2010-09-02 21:29:10 -07:00
Sebastien Ros
e81ec58497 Added unit tests for big text
--HG--
branch : dev
2010-08-31 12:13:55 -07:00
Louis DeJardin
bf8d1ec9e6 Merge
--HG--
branch : mvc3p1
2010-08-26 18:34:12 -07:00
Nathan Heskew
f3f04d6ea0 Allowing the '/' in slugs.
- Also moved the RoutableServiceTests to a more appropriate location

--HG--
branch : dev
2010-08-26 07:32:45 -07:00
Nathan Heskew
69c901e5c0 Starting the move to ASP.NET MVC 3 Preview 1
--HG--
branch : mvc3p1
2010-08-16 15:37:51 -07:00
Nathan Heskew
5b02277fee BodyAspect -> BodyPart; CommonAspect -> CommonPart
- updating part names to conform to a <name>Part convention

--HG--
branch : dev
rename : src/Orchard.Core.Tests/Common/Providers/CommonAspectProviderTests.cs => src/Orchard.Core.Tests/Common/Providers/CommonPartProviderTests.cs
rename : src/Orchard.Web/Core/Common/Drivers/BodyDriver.cs => src/Orchard.Web/Core/Common/Drivers/BodyPartDriver.cs
rename : src/Orchard.Web/Core/Common/Drivers/CommonDriver.cs => src/Orchard.Web/Core/Common/Drivers/CommonPartDriver.cs
rename : src/Orchard.Web/Core/Common/Handlers/BodyAspectHandler.cs => src/Orchard.Web/Core/Common/Handlers/BodyPartHandler.cs
rename : src/Orchard.Web/Core/Common/Handlers/CommonAspectHandler.cs => src/Orchard.Web/Core/Common/Handlers/CommonPartHandler.cs
rename : src/Orchard.Web/Core/Common/Models/BodyAspect.cs => src/Orchard.Web/Core/Common/Models/BodyPart.cs
rename : src/Orchard.Web/Core/Common/Models/BodyRecord.cs => src/Orchard.Web/Core/Common/Models/BodyPartRecord.cs
rename : src/Orchard.Web/Core/Common/Models/CommonAspect.cs => src/Orchard.Web/Core/Common/Models/CommonPart.cs
rename : src/Orchard.Web/Core/Common/Models/CommonRecord.cs => src/Orchard.Web/Core/Common/Models/CommonPartRecord.cs
rename : src/Orchard.Web/Core/Common/Models/CommonVersionRecord.cs => src/Orchard.Web/Core/Common/Models/CommonPartVersionRecord.cs
rename : src/Orchard/ContentManagement/Aspects/ICommonAspect.cs => src/Orchard/ContentManagement/Aspects/ICommonPart.cs
2010-07-22 12:52:16 -07:00
Renaud Paquay
2ce8a58cdc Cleanup build for SqlCe
No need to mark test assemblies as x86
No need to copy nunit to a temporary directory
Also remove unused file

--HG--
branch : dev
2010-07-13 22:04:02 -07:00
Renaud Paquay
d70f391d93 Fix AfterBuild task to work on TeamCity
--HG--
branch : dev
2010-07-13 20:25:36 -07:00
Renaud Paquay
62f900b5d8 Completely remove support from SQLite, use SqlCe instead
--HG--
branch : dev
rename : src/Orchard/Data/Migration/Interpreters/SqLiteCommandInterpreter.cs => src/Orchard/Data/Migration/Interpreters/SqlCeCommandInterpreter.cs
2010-07-13 19:49:42 -07:00
Sebastien Ros
40769d6f2a Complete refactoring on Indexing module
Changed Parse() to use lucene syntax
Moved everything to Orchard.Indexing
New filters for search

--HG--
branch : dev
2010-06-17 16:21:29 -07:00