Benedek Farkas
3a69399bd7
Adding the compile workflow to the solution
2023-06-28 14:33:23 +02:00
Benedek Farkas
2494c7872a
Updating the compile workflow to run the build + tests on PR, dev and 1.10.x commits
2023-06-28 14:33:01 +02:00
Benedek Farkas
39bbc0fbe8
Specs: Workaround for the DefineDefaultCulture binding and removing the Settings feature which is now redundant with CreatingAndUsingDateTimeFieldsInAnotherCulture
2023-05-26 17:50:33 +02:00
Benedek Farkas
0f6c0c7f6b
Merge branch '1.10.x' into issue/8686
2023-05-26 16:15:43 +02:00
Benedek Farkas
9d2bb2bec5
Fixing Newtonsoft.Json references
2023-05-26 10:32:13 +02:00
Matteo Piovanelli
9122abbdec
Added missing module dependency ( #8694 )
...
610b3c4f53/src/Orchard.Web/Modules/Orchard.Recipes/Providers/Executors/ModuleStep.cs (L14)
if feature PackagingServices is not enabled, `ModuleStep` cannot be constructed by Autofac, causing several things to fail (e.g. import/export).
2023-05-26 09:16:57 +02:00
Matteo Piovanelli
a215e606b7
Added dictionaries to memorize results of queries and avoid repeating them ( #8690 )
...
within a request.
2023-05-26 09:16:04 +02:00
Matteo Piovanelli
e55dbb0db8
Changed Loader and Setter delegates of the LazyFields of LocalizationPart to ( #8693 )
...
use Store/Retrieve implementations rather than go directly to the Record.
2023-05-26 09:12:14 +02:00
Benedek Farkas
5d911c2193
Orchard.Specs: Updating Settings.AddingANewSiteCultureAndSelectingItAsTheDefaultWorks to correctly detect that a culture that wasn't added before can be set as default
2023-05-24 21:17:56 +02:00
Benedek Farkas
6e8d7d2d50
Orchard.Specs: Updating DateTime.CreatingAndUsingDateTimeFieldsInAnotherCulture structure without functional change
2023-05-24 21:06:53 +02:00
Benedek Farkas
75e17d410c
Orchard.Specs: Adding Settings feature
2023-05-24 20:53:30 +02:00
Benedek Farkas
d266db61de
Revert "Marking System.Net.Http references as private (copy local) to make sure that it's always available, because it requires a specific version"
...
This reverts commit e4f5632236
.
2023-05-24 20:41:53 +02:00
Benedek Farkas
e4f5632236
Marking System.Net.Http references as private (copy local) to make sure that it's always available, because it requires a specific version
2023-05-24 16:14:25 +02:00
Benedek Farkas
70ed140231
Re-enabling the Specs step
2023-05-24 13:07:17 +02:00
Benedek Farkas
f610c53bcf
Re-enabling the Test step
2023-05-24 12:48:27 +02:00
Benedek Farkas
86c7350358
Pinning the referenced version of System.Net.Http to 4.2.0.0 to prevent Razor compilation warning
...
System.Net.Http is known to have such problems across different framework versions ways of referencing it
The original warning is:
ASPNETCOMPILER : error : The following assembly has dependencies on a version of the .NET Framework that is higher than the target and might not load correctly during runtime causing a failure: Orchard.Workflows, Version=1.10.3.0, Culture=neutral, PublicKeyToken=null. The dependencies are: System.Net.Http, Version=4.2.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a. You should either ensure that the dependent assembly is correct for the target framework, or ensure that the target framework you are addressing is that of the dependent assembly. [D:\a\Orchard\Orchard\src\Orchard.Web\Modules\Orchard.Workflows\Orchard.Workflows.csproj
2023-05-24 12:30:14 +02:00
Benedek Farkas
d2eccf5c2c
Adding step to the Compile workflow to upload the MSBuild binlog results
2023-05-23 20:15:16 +02:00
Benedek Farkas
a912162e96
Specs: Media test simplified since the Orchard.Media feature is deprecated
2023-05-23 19:51:17 +02:00
Benedek Farkas
62b2f65112
Specs: Fixing "I can create browse blog posts on several pages" Blog test's flakyness due to timing
...
because the blog posts are created quickly after one another and the lack of millisecond-precision can cause
the blog posts to appear out of order of creation
2023-05-23 17:39:05 +02:00
Benedek Farkas
3aaf2272e1
Specs: Fixing "I can create browse blog posts on several pages" Blog test's usage of "I should not see" and correcting the parameters too
...
because unlike "I should see", this is not a regex match, just contains
2023-05-23 17:36:18 +02:00
Benedek Farkas
29f58677a3
Moving the System.Net.Http assembly redirect to Orchard.Web
2023-05-23 17:29:59 +02:00
Benedek Farkas
0fd452a4f9
Orchard.Workflows: Adding assembly binding redirect for System.Net.Http to avoid Razor compilation warning
2023-05-23 15:43:24 +02:00
Benedek Farkas
e22e2dbe72
Orchard.Framework: Making the System.Net.Http not-private to prevent an outdated version sticking around
2023-05-23 14:29:36 +02:00
Benedek Farkas
99190fe4e5
Disabling Test and Spec execution for now
2023-05-23 14:18:39 +02:00
Benedek Farkas
3f214897eb
Reverting the addition of assembly binding redirects to Orchard.Specs/Hosting/Simple.Web/Web.config
...
since it doesn't need them like Orchard.Specs/Hosting/Orchard.Web/Web.config does
2023-05-23 12:52:41 +02:00
Benedek Farkas
ae7763eb7c
Revert "Upgrading Microsoft.CodeDom.Providers.DotNetCompilerPlatform to 4.1.0 (latest) to get rid of old System.Http.Net dependency"
...
This reverts commit be2ba866e3
.
2023-05-23 12:45:33 +02:00
Benedek Farkas
ddd08c227d
Revert "Replacing System.Net.Http references with its NuGet package to pin the correct version number (experimental)"
...
This reverts commit 087f2849b1
.
2023-05-23 12:45:19 +02:00
Benedek Farkas
6bda87d680
Orchard.Specs/Hosting/Orchard.Web/Global.asax.cs: Workaround for AntiForgeryToken bug in ASP.NET MVC since version 5.2.4
...
https://github.com/aspnet/AspNetWebStack/issues/162
2023-05-23 12:44:59 +02:00
Benedek Farkas
975a802ed0
Restoring Orchard.Specs/Hosting/Orchard.Web/Web.config to match Orchard.Web's web.config closer
...
so that it loads assemblies from the Dependencies folder.
This fixes the error with Autofac not being able to resolve dependencies for DefaultOrchardShell
2023-05-23 12:42:26 +02:00
Benedek Farkas
8446bb94d3
Fixing compile workflow to also mark Razor compilation warnings as errors
2023-05-23 12:33:49 +02:00
Benedek Farkas
b714a44feb
Fixing Test step
2023-05-19 11:43:50 +02:00
Benedek Farkas
5065e8fb20
Compile workflow: Testing the Test and Spec targets
2023-05-19 11:34:44 +02:00
Benedek Farkas
12d7494a54
Orchard.proj: Spec target actually depends on only the Compile target, not Package-Stage (experimental)
2023-05-19 11:33:57 +02:00
Benedek Farkas
be2ba866e3
Upgrading Microsoft.CodeDom.Providers.DotNetCompilerPlatform to 4.1.0 (latest) to get rid of old System.Http.Net dependency
2023-05-18 21:28:32 +02:00
Benedek Farkas
087f2849b1
Replacing System.Net.Http references with its NuGet package to pin the correct version number (experimental)
2023-05-18 19:11:35 +02:00
Benedek Farkas
605551dde2
Removing unused references to System.Net.Http
2023-05-18 19:10:13 +02:00
Benedek Farkas
7e3d1c8cbc
Adding msbuild to PATH
2023-05-18 17:26:09 +02:00
Benedek Farkas
9f86b7dc0f
Changing default shell to pwsh (msbuild was not found in cmd?)
2023-05-18 16:58:37 +02:00
Benedek Farkas
c821afa9a5
Adding the compile workflow's actual contents
2023-05-18 16:45:50 +02:00
Benedek Farkas
42f04dd11b
Adding empty compile workflow from dev
2023-05-18 16:30:17 +02:00
Benedek Farkas
aa71039416
Orchard.Specs: Fixing assembly loading errors when starting up the web host by adding binding redirects
2023-05-18 12:34:51 +02:00
Benedek Farkas
eeb2e4764a
Updating Orchard.Azure.Web's required version of System.Web.Mvc to match the rest of the solution
2023-05-18 09:49:42 +02:00
Benedek Farkas
6ab590bc7a
Fixing indentation in DefaultDateFormatterTests
2023-05-17 22:24:56 +02:00
Benedek Farkas
bbafeded05
Fixing CurrentCultureWorkContextTests
2023-05-17 21:43:17 +02:00
Benedek Farkas
5f0c0c2fec
Fixing that test cases for invalid path in FileSystemStorageProviderTests broke in a3e9bef3ca
(issue #6802 , PR #6919 )
...
I should review PRs more carefully!
2023-05-17 21:04:07 +02:00
Benedek Farkas
d1043b9f4f
Fixing typo in CommonPartProviderTests.UpdateModelStub class name
2023-05-17 21:03:12 +02:00
Benedek Farkas
077bfa6ae0
Fixing OwnerEditor tests in CommonPartProviderTests as the owner editor now checks for a different permission since 5b0c82d1ad
2023-05-17 21:02:52 +02:00
Benedek Farkas
8d7a35b0f0
Fixing that RecipeManagerTests failed due to HttpContext not being available
2023-05-17 20:41:46 +02:00
Benedek Farkas
610b3c4f53
Fixing warning in Orchard.MediaLibrary/Views/ClientStorage/Index.cshtml (LimitConcurrentUploads is a non-nullable int)
2023-05-17 18:33:02 +02:00
Hermes Sbicego
05e3c196aa
Feature/tinymce contentlinks plugin ( #8679 )
...
* Adds the ability to create links based on orchard contents, calculating href during the display process using tokens
# Conflicts:
# src/Orchard.Web/Modules/TinyMce/Scripts/orchard-tinymce.js
* Adds Contentmanager.Get Tokens
Adds Content Links plugin to TinyMCE
* Adds settings for TextField and BodyPart in order to specify which content types or part to show in the list
* Settings for Html editors built on BodyParts, TextFields, LayoutParts
* Adds minified version of the plugin.js
* Tests if dependencies are enabled before activating the content links settings
* new .png for TinyMce
* Renamed the token as suggested during last meeting
2023-05-08 09:07:05 +02:00