Commit Graph

11194 Commits

Author SHA1 Message Date
Benedek Farkas
9d2bb2bec5 Fixing Newtonsoft.Json references 2023-05-26 10:32:13 +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
Matteo Piovanelli
12e9f06689 Perf: shapetable sorting (#8676)
* Grouped ShapeAlteration by feature before sorting them

* removed stopwatches

* Sorting approach can be selected by setting the GroupByFeatures option in HostComponents.config
2023-05-05 09:43:02 +02:00
Matteo Piovanelli
bf8cc13922 Perf: ExtensionManager (#8677)
* WIP extension manager allowing serial loading of features

* Proper comments in HostComponents.config. Removed test/dev logs in ExtensionManager.
2023-05-05 08:56:22 +02:00
Matteo Piovanelli
ff2f222695 added orchardFeature attribute where it was missing in Orchard.Roles (#8680) 2023-05-05 08:49:25 +02:00
Hermes Sbicego
6283106c53 Adds the ability to insert/edit snippets of html source code (#8668)
* adds a new tinyMCE plugin enabling editing a piece of html source code

* - Adds the new plugin to the VS project
- Adds js minified version
2023-04-28 08:52:46 +02:00
Andrea Piovanelli
55ec9e2335 No term selection option in TaxonomyField (#8667)
* Added no term selection option when taxonomy field is not required and is set to be shown as a radio button set (single choice without autocomplete)

* Correctly checked the "no selection" option when SingleTermId == 0.
2023-04-21 08:53:55 +02:00
Andrea Piovanelli
10e5078956 Corrected RoleEvent actions to match activity outcomes (RoleRenamed -> Renamed, RoleCreated -> Created, RoleRemoved -> Removed) (#8659) 2023-03-31 09:43:29 +02:00
Alessandro Agostini
d5acf2dc41 Email confirmation fail on multiple confirmation attempts (#8656)
If an user already confirmed his email address and tries to confirm it again it should fail.
2023-03-17 09:12:18 +01:00