Commit Graph
100 Commits
Author SHA1 Message Date
Benedek Farkas d58037bd8f Recycle Bin improvements (Lombiq Technologies: COLI-1711) (#8890)
Build Crowdin Translation Packages / build-crowdin-translation-packages (push) Has been cancelled
Compile / Compile .NET solution (push) Has been cancelled
Compile / Compile Client-side Assets (push) Has been cancelled
SpecFlow Tests / SpecFlow Tests (push) Has been cancelled
2026-01-25 17:54:35 +01:00
Benedek Farkas 8687ca0a98 Updating version numbers to 1.11 (#8889)
Build Crowdin Translation Packages / build-crowdin-translation-packages (push) Has been cancelled
Compile / Compile .NET solution (push) Has been cancelled
Compile / Compile Client-side Assets (push) Has been cancelled
SpecFlow Tests / SpecFlow Tests (push) Has been cancelled
2026-01-13 17:16:17 +01:00
Benedek Farkas 2a1c898ff2 #8878: Fixing that Projection Manager should apply the Version Scope even if there are multiple filter groups (#8880) 2026-01-12 17:04:21 +01:00
Benedek Farkas bbde34d9c5 Fixing that displaying the publish button in the user editor should depend on ManageUsers permissions instead of PublishContent (#8886) 2026-01-12 13:16:07 +01:00
Benedek Farkas 9de766de29 #8879: Adding GetNullableDateTime to ISearchHit and LuceneSearchHit (#8883)
Compile / Compile .NET solution (push) Has been cancelled
Compile / Compile Client-side Assets (push) Has been cancelled
SpecFlow Tests / SpecFlow Tests (push) Has been cancelled
Build Crowdin Translation Packages / build-crowdin-translation-packages (push) Has been cancelled
2026-01-09 15:13:43 +01:00
Benedek Farkas f2f67d3c0b #8268: Removing obsolete TermPart.SortObsolete (and TermsComparer) from Taxonomies (#8887) 2026-01-09 14:09:51 +01:00
Benedek Farkas 1bd5d0a905 Modifying search settings deserialization to allow line breaks in the imported XML (#8882) 2026-01-09 13:06:45 +01:00
Benedek Farkas d9d071115c ResourceManager skips rendering a resource without an URL (#8876) 2025-12-04 21:54:36 +01:00
Benedek Farkas 75a4fd59a2 #8208: Adopt the Orchard Core .editorconfig (#8868)
Build Crowdin Translation Packages / build-crowdin-translation-packages (push) Has been cancelled
Compile / Compile .NET solution (push) Has been cancelled
Compile / Compile Client-side Assets (push) Has been cancelled
SpecFlow Tests / SpecFlow Tests (push) Has been cancelled
* Updating .editorconfig from Orchard Core

* VS code cleanup, round 1

- Apply expression/block body preference
- Apply language/framework type preferences
- Apply null checking preferences
- Apply using directive placement preferences
- Apply using statement preferences
- Format document
- Remove unnecessary imports or usings
- Sort Imports or usings

* VS code cleanup: Apply auto property preferences

* VS code cleanup: Apply parenthesis preferences

* VS code cleanup: Apply object/collection initializer preferences

* Reverting NHibernate.Linq changes

* Removing commented out RecipeResultRecord class
2025-10-31 23:50:28 +01:00
Benedek Farkas 4cfbafd22a #8859: Fixing setup errors with PostgreSQL and MySQL (#8861)
Compile / Compile .NET solution (push) Has been cancelled
Compile / Compile Client-side Assets (push) Has been cancelled
SpecFlow Tests / SpecFlow Tests (push) Has been cancelled
2025-10-29 22:52:34 +01:00
5b6edacbc7 #7412: Cloning overrides for some content parts, including deep clone for records (Lombiq Technologies: ORCH-204) (#8854)
Co-authored-by: matteo.piovanelli <matteo.piovanelli@laser-group.com>
Co-authored-by: Gábor Domonkos <gabor.domonkos@lombiq.com>
2025-10-29 15:30:16 +01:00
Benedek Farkas d8537f14fb Updating NuGet packages to latest minor/patch versions (#8856) 2025-10-29 15:25:49 +01:00
ca70a5caaf #8525: Upgrading client-side libraries (#8848)
Co-authored-by: HermesSbicego-Laser <hermes.sbicego@laser-group.com>
Co-authored-by: Alessandro Agostini <alessandro.agostini@laser-group.com>
2025-10-29 15:20:53 +01:00
Benedek Farkas d4a36a825f Updating SpecFlow workflow not to run on 1.10.x anymore
Compile / Compile .NET solution (push) Has been cancelled
Compile / Compile Client-side Assets (push) Has been cancelled
SpecFlow Tests / SpecFlow Tests (push) Has been cancelled
Build Crowdin Translation Packages / build-crowdin-translation-packages (push) Has been cancelled
2025-10-20 12:33:52 +02:00
Benedek Farkas 80707a48fa Projections: Removing duplicate index creation that is a result of a merge from 1.10.x
Compile / Compile .NET solution (push) Has been cancelled
Compile / Compile Client-side Assets (push) Has been cancelled
SpecFlow Tests / Define Strategy Matrix (push) Has been cancelled
Build Crowdin Translation Packages / build-crowdin-translation-packages (push) Has been cancelled
SpecFlow Tests / SpecFlow Tests (push) Has been cancelled
2025-10-14 14:47:12 +02:00
Benedek Farkas a77453dcab #8759: Removing the Azure Media Services module (#8853)
Compile / Compile .NET solution (push) Has been cancelled
Compile / Compile Client-side Assets (push) Has been cancelled
SpecFlow Tests / Define Strategy Matrix (push) Has been cancelled
SpecFlow Tests / SpecFlow Tests (push) Has been cancelled
Build Crowdin Translation Packages / build-crowdin-translation-packages (push) Has been cancelled
* Removing the Azure Media Services module

* Resources: Removing Moment.js and URI.js
2025-10-10 22:23:17 +02:00
Benedek Farkas 20f42c2ee6 Merge branch '1.10.x-to-dev' into dev 2025-10-10 20:24:58 +02:00
Benedek Farkas 9f65be8e26 Merge branch '1.10.x' into 1.10.x-to-dev 2025-10-10 19:11:39 +02:00
Benedek Farkas b9de36e346 Merge branch 'dev' into 1.10.x-to-dev 2025-10-10 19:07:35 +02:00
Benedek Farkas 78ee4efb4f #8850: Release 1.10.4 (#8851)
Compile / Compile .NET solution (push) Has been cancelled
Compile / Compile Client-side Assets (push) Has been cancelled
SpecFlow Tests / Define Strategy Matrix (push) Has been cancelled
SpecFlow Tests / SpecFlow Tests (push) Has been cancelled
* Updating version numbers to 1.10.4

* Updating Advisory Dashboard Widget iframe URL

* Dashboards: Removing empty Scripts folder

* Dashboards: Updating the Advisory element's iframe URL

* Updating solution with GHA workflow files
2025-10-10 18:49:26 +02:00
Benedek Farkas 8b52007976 Merge branch '1.10.x-to-dev' into dev
Compile / Compile .NET solution (push) Has been cancelled
Compile / Compile Client-side Assets (push) Has been cancelled
SpecFlow Tests / Define Strategy Matrix (push) Has been cancelled
SpecFlow Tests / SpecFlow Tests (push) Has been cancelled
Build Crowdin Translation Packages / build-crowdin-translation-packages (push) Has been cancelled
2025-10-05 20:03:42 +02:00
Benedek Farkas 1eaa9f3068 Removing duplicate action from the Core/Navigation AdminController 2025-10-05 19:53:45 +02:00
Benedek Farkas ce23a974d7 Merge branch '1.10.x' into 1.10.x-to-dev
# Conflicts:
#	src/Orchard.Web/Core/Navigation/Controllers/AdminController.cs
2025-10-05 19:46:43 +02:00
Benedek Farkas dbbe3efedf Merge branch 'dev' into 1.10.x-to-dev 2025-10-05 19:42:59 +02:00
Benedek Farkas 28f0bd52ed #8830: Fixing that fields attached to a Menu Item are not updated (#8844)
Compile / Compile .NET solution (push) Has been cancelled
Compile / Compile Client-side Assets (push) Has been cancelled
SpecFlow Tests / Define Strategy Matrix (push) Has been cancelled
SpecFlow Tests / SpecFlow Tests (push) Has been cancelled
* Navigation: Fixing that saving a menu item should not force creating a draft version

* Navigation: Adding support to the AdminController for the Delete button rendered by the Contents feature

* Navigation: Fixing that fields attached to a Menu Item should also be updated when creating the item

* MainMenuService: Fixing that unpublished menu items could not be deleted

* Adding notification when deleting a menu items
2025-10-05 16:26:36 +02:00
Benedek Farkas 971a97874c Preventing Indexing AdminController and Commands from operating with unsafe index names (#8845)
Compile / Compile .NET solution (push) Has been cancelled
Compile / Compile Client-side Assets (push) Has been cancelled
SpecFlow Tests / Define Strategy Matrix (push) Has been cancelled
SpecFlow Tests / SpecFlow Tests (push) Has been cancelled
2025-10-02 19:18:19 +02:00
Benedek Farkas 8851f622a3 Adding release package workflow (#8846)
Compile / Compile .NET solution (push) Has been cancelled
Compile / Compile Client-side Assets (push) Has been cancelled
SpecFlow Tests / Define Strategy Matrix (push) Has been cancelled
SpecFlow Tests / SpecFlow Tests (push) Has been cancelled
(cherry picked from commit 4268b28d95)
2025-09-29 21:10:53 +02:00
Benedek Farkas 4268b28d95 Adding release package workflow (#8846)
* Updating release-package workflow

* Updating 3rd-party actions to their latest versions

* Testing artifact upload without separate compress step to avoid double-zipping [skip ci]

Hopefully it doesn't have horrible performance anymore

* Updating release-package workflow [skip ci]
2025-09-29 20:53:30 +02:00
Benedek Farkas 8891ee4873 Adding the skeleton of the release-package workflow [skip ci] 2025-09-29 19:45:48 +02:00
Benedek Farkas acd93104e2 Merge branch '1.10.x-to-dev' into dev 2025-09-26 20:48:59 +02:00
Benedek Farkas 99ce4ca61e Users: Hiding the Unpublish and Delete buttons in the User editor 2025-09-26 18:41:31 +02:00
Benedek Farkas e7e888d422 Projections: Hiding the Unpublish button in the Query (Properties) editor 2025-09-26 17:44:06 +02:00
Benedek Farkas 4490c9bc38 Taxonomies: Updating AdminController to support the Core/Contents Delete button + a bit of code styling 2025-09-26 17:28:13 +02:00
Benedek Farkas 3cdf4e9a1b Taxonomies: Hiding the Unpublish button in the Taxonomy editor 2025-09-26 17:27:22 +02:00
Benedek Farkas 08b65c241c Taxonomies: Hiding the Unpublish and Delete buttons in the Term editor 2025-09-26 17:26:59 +02:00
Benedek Farkas d42fbd3448 Media: Hiding Unpublish Button in the Media editor, since it doesn't do anything 2025-09-26 17:10:25 +02:00
Benedek Farkas 0a5187a699 Specs: Fixing typos in WebAppHosting 2025-09-26 16:59:40 +02:00
Benedek Farkas bd680a44e5 Fixing SpecFlow test CreatingAndUsingDateTimeFieldsInAnotherCulture 2025-09-26 16:11:45 +02:00
Benedek Farkas 811f7a9c33 Updating SpecFlow generated files 2025-09-24 22:29:50 +02:00
Benedek Farkas ea48baa146 Moving SpecFlow test files to the Test subfolder 2025-09-24 22:26:03 +02:00
Benedek Farkas 99a5003764 Upgrading SpecFlow packages to 2.4.1 to fix issues with VS sometimes not recognizing that a feature file has changed 2025-09-24 22:23:51 +02:00
Benedek Farkas 2dc01bba5e Updating SpecFlow workflow schedule to run once a week, but also on every push to 1.10.x and dev [skip ci] 2025-09-20 23:55:01 +02:00
Benedek Farkas 55fafa896f Widget editor: Hiding the UnpublishButton as it's not supported by the Widget AdminController 2025-09-20 23:50:53 +02:00
Benedek Farkas fa5e1e48c7 Menu Item editor: Adding support in the Navigation AdminController for the Unpublish and Delete buttons rendered by the Core ContentsDriver 2025-09-20 23:29:28 +02:00
Benedek Farkas 6c2420dae4 Menu editor: Hiding the Unpublish button, since the menu will become inaccessible unless the Menu type is Listable 2025-09-20 23:27:44 +02:00
Benedek Farkas e95bf05ecc Menu editor: Removing the duplicate Delete button, since the Core ContentsDriver already renders one 2025-09-20 23:27:00 +02:00
Benedek Farkas 973114988e Blog editor: Hiding the UnpublishButton as it's not supported by the Controller 2025-09-20 22:56:44 +02:00
Benedek Farkas 8227579c2e Blog admin editor: Removing the duplicate Delete button, since the Core ContentsDriver now renders one 2025-09-20 22:56:10 +02:00
Benedek Farkas 8d862f5a94 Adding NUnit.Runners to Orchard.Tests packages as nunit-console is no longer packaged since NUnit 2.6.0 2025-09-19 23:13:37 +02:00
Benedek Farkas 6ca9e5ad7e Updating Module Test project codegen templates with NUnit upgraded to 2.7.1 2025-09-19 23:04:53 +02:00
Benedek Farkas c3f6beea4c Updating obsolete code due to NUnit upgrade 2025-09-19 22:57:28 +02:00
Benedek Farkas ab986ad0a3 Regenerating Profiling.feature 2025-09-19 22:38:40 +02:00
Benedek Farkas b7f5ace53b Cleaning up Orchard.Profile and Orchard.Specs.csproj as the SpecFlow VS extension is no longer needed 2025-09-19 22:37:09 +02:00
Benedek Farkas 2f7deb7fef Fixing the rendering of buttons from the merge in ContentsDriver 2025-09-19 18:48:40 +02:00
Benedek Farkas d66c6b8919 Updating generated SpecFlow files 2025-09-19 18:31:39 +02:00
Benedek Farkas 0e71cf3c9d Upgrading NUnit to 2.7.1 in the whole solution 2025-09-19 18:29:27 +02:00
Benedek Farkas e42519c988 Adding SpecFlow.Tools.MsBuild.Generation v2.3.0 (and upgrading SpecFlow to v2.3.0) in Orchard.Profile and Orchard.Specs 2025-09-19 18:00:14 +02:00
Benedek Farkas 1a0bfa17ab Code styling 2025-09-19 12:16:19 +02:00
Benedek Farkas 65eb601c0c Code styling in Core/Contents/Placement.info [skip ci] 2025-09-19 11:17:21 +02:00
Benedek Farkas 307b2918f3 Fixing that Content.SaveButton should be "Save" instead of "Save Draft" if the type is not Draftable 2025-09-19 11:12:28 +02:00
Benedek Farkas 7759803a49 Capitalization in workflow/step display names 2025-09-19 10:59:17 +02:00
Benedek Farkas 8a1afeafb2 Updating the specflow workflow to run on the selected branch when triggered manually, take 2 [skip ci] 2025-09-19 10:42:03 +02:00
Benedek Farkas c3f162c958 build-crowdin-translation-packages runner version pinning to ubuntu-24.04 2025-09-19 10:26:24 +02:00
Benedek Farkas e89b31bbcc Switching the specflow workflow to use windows-2025 runners 2025-09-19 10:13:54 +02:00
Benedek Farkas 61ee88a46d Switching the specflow workflow to use cmd instead of pwsh 2025-09-19 10:13:25 +02:00
Benedek Farkas 7e53fcb272 Cleaning up the build-crowdin-translation-packages workflow 2025-09-19 10:11:51 +02:00
Benedek Farkas c683103578 Fixing that the specflow workflow should run on the selected branch when triggered manually 2025-09-19 10:10:12 +02:00
Benedek Farkas 4a0dc97f5f Updating bootstrap.css and bootstrap.min.css from gulp rebuild 2025-09-19 10:03:28 +02:00
Benedek Farkas 10471049d4 Merge branch '1.10.x' into 1.10.x-to-dev 2025-09-19 09:58:03 +02:00
Benedek Farkas 0063c18f7f Testing windows-2025 runners on 1.10.x (#8843)
* Testing compile workflow on windows-2025 runners

* Wording [skip ci]

* Compile workflow: Switch shell to cmd where pwsh is not needed
2025-09-19 09:57:27 +02:00
Benedek Farkas 51400833e8 Merge branch '1.10.x' into 1.10.x-to-dev 2025-09-18 23:48:39 +02:00
Benedek Farkas 0de919d36f Fix gulp pipeline installation and error detection (#8841)
Compile / Compile .NET solution (push) Has been cancelled
Compile / Compile Client-side Assets (push) Has been cancelled
* Fine-tuning the compile-node job in the compile workflow

* Temporarily disabling the compile job

* Splitting up steps in the compile-node job of the compile workflow

* Revert "Temporarily disabling the compile job"

This reverts commit c130566943.
2025-09-18 23:48:02 +02:00
Benedek Farkas 1819e91a61 Revert "Experimental compile workflow changes for better error detection"
This reverts commit 4e18292616.
2025-09-18 23:28:21 +02:00
Benedek Farkas 4e18292616 Experimental compile workflow changes for better error detection 2025-09-18 23:15:56 +02:00
Benedek Farkas 1925ec3541 Fixing indentation in TheAdmin/Styles/site.css 2025-09-18 22:41:32 +02:00
Benedek Farkas 673d782d82 Merge branch '1.10.x' into 1.10.x-to-dev
# Conflicts:
#	src/Orchard.Web/Core/Contents/Controllers/AdminController.cs
#	src/Orchard.Web/Core/Contents/Drivers/ContentsDriver.cs
#	src/Orchard.Web/Core/Contents/Placement.info
#	src/Orchard.Web/Modules/Orchard.Fields/Orchard.Fields.csproj
#	src/Orchard.Web/Themes/TheAdmin/Styles/site.css
#	src/Orchard/Orchard.Framework.csproj
2025-09-18 22:35:24 +02:00
Benedek Farkas 9b7b561869 Merge branch 'dev' into 1.10.x-to-dev 2025-09-18 22:13:32 +02:00
Benedek Farkas 5c3d045aa1 #8800: Reverting breaking changes to Enumeration Fields caused by #8789 (#8824)
Compile / Compile .NET solution (push) Has been cancelled
Compile / Compile Client-side Assets (push) Has been cancelled
* Revert "#8640: Fixing consistency between different Enumeration Field flavors' data storage (#8789)"

This reverts commit fdbb06ba8d.

* Re-adding change to fix that changing the ListMode of an EnumerationField from a multi-select to a single-select flavor shouldn't break the editor

* Code styling in Fields/Enumeration.Edit.cshtml
2025-01-23 11:59:24 +01:00
Benedek Farkas c38c9bf398 Merge branch '1.10.x-to-dev' into dev
Compile / Compile .NET solution (push) Has been cancelled
Compile / Compile Client-side Assets (push) Has been cancelled
SpecFlow tests / SpecFlow tests (1.10.x) (push) Has been cancelled
SpecFlow tests / SpecFlow tests (dev) (push) Has been cancelled
Build Crowdin Translation Packages / build-crowdin-translation-packages (push) Has been cancelled
2025-01-17 19:55:39 +01:00
Benedek Farkas d2e91853e1 Merge branch '1.10.x' into 1.10.x-to-dev
# Conflicts:
#	src/Orchard.Specs/App.Config
#	src/Orchard.Web.Tests/app.config
#	src/Orchard.Web/Modules/Orchard.Projections/Services/ProjectionManager.cs
#	src/Orchard.Web/Orchard.Web.csproj
#	src/Orchard.Web/Web.config
#	src/Orchard.Web/packages.config
2025-01-17 19:39:55 +01:00
Benedek Farkas e405f48cad Merge branch 'dev' into 1.10.x-to-dev 2025-01-17 19:27:36 +01:00
Benedek Farkas 32c5f1e821 #8822: Upgrading MailKit to 4.9.0 and consolidating all NuGet packages (#8823)
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 d26e8e47f1 #8232: Adding warnings when a Projection Query has an empty Filter Group (#8813)
Compile / Compile .NET solution (push) Has been cancelled
Compile / Compile Client-side Assets (push) Has been cancelled
* Projections: Returning empty list of content items instead of every content item when the query has no filters

* Better solution to skip processing empty filter groups, instead of returning nothing when there's an empty filter group

* Code styling and comments

* Code styling in ProjectionPartDriver, QueryPartDriver and ProjectionManager

* Reverting functional change to ignore empty filter groups

* Code styling in AdminController, ProjectionPartDriver and QueryPartDriver

* Adding notification when saving a Query or a ProjectionPart to warn about the effect of an empty filter group

* Fixing that upgrading Newtonsoft.Json 13.x broke the SpecFlow test execution app
2025-01-14 17:22:02 +01:00
Benedek Farkas 6466c3884b Merge branch '1.10.x' into dev
Compile / Compile .NET solution (push) Has been cancelled
Compile / Compile Client-side Assets (push) Has been cancelled
# Conflicts:
#	src/Orchard.Specs/Hosting/Orchard.Web/Web.config
#	src/Orchard.Web/Core/Orchard.Core.csproj
2024-12-10 09:38:09 +01:00
Benedek Farkas 1c40b8ba93 #8808: Fixing Container admin navigation (#8809)
* Fixing that Core.Containers "Show on admin menu" functionality shouldn't depend on the Orchard.Lists feature

* Moving menu.list.png admin menu icon from Orchard.Lists to Core.Containers as menu.container.png

to fix that Containers should have a default admin menu icon

* Fixing conflict between lists and container admin navicon by applying the unused menu.list-definition.png to lists

* Code styling and removing duplicate code
2024-12-10 09:30:58 +01:00
Benedek Farkas c35bdb2389 Merge branch '1.10.x-to-dev' into dev 2024-12-08 20:22:22 +01:00
Benedek Farkas 20de85e5b6 Simplifying LinkFieldDriver validation of URL and fragment 2024-12-08 20:19:49 +01:00
Benedek Farkas 7dbc8110fa Fixing notification types in the Navigation AdminController for Save, Publish, Unpublish 2024-12-08 19:37:53 +01:00
Benedek Farkas 1aec856831 Code and comment styling in MainMenuService and LinkFieldDriver 2024-12-08 19:37:09 +01:00
Benedek Farkas e68d25e46d Fixing merge and consolidating NuGet packages 2024-12-08 13:58:44 +01:00
Benedek Farkas aa44765825 Merge branch '1.10.x' into 1.10.x-to-dev 2024-12-08 13:31:27 +01:00
Benedek Farkas c3b98ba3c4 #8819: Compile workflow should run at least one of the SpecFlow tests (#8820)
* Using Title Casing in the Compile workflow's step names

* Adding step to run the Setup with SpecFlow

* Fixing typo

* Fixing that upgrading Newtonsoft.Json to 13.x broke the SpecFlow test execution app
2024-12-07 20:48:21 +01:00
Benedek Farkas d01c331a9e Fixing that upgrading NHibernate broke the SpecFlow test execution app 2024-12-07 17:56:17 +01:00
Benedek FarkasandArjan Noordende 18ce08f379 #6986: Media Processing Html Filter (improved) (#8806)
* #6986 Created feature Media Processing Html Filter

* Fixing HtmlAgilityPack and upgrading FW and package version to match Orchard.Specs

* Adapting MediaProcessingHtmlFilter to IHtmlFilter breaking change

* Fixing that Orchard.MediaProcessingHtmlFilter should depend on Orchard.MediaProcessing

* Code styling

* Using regexes instead of HtmlAgilityPack, thanks GHCP

* Updating comments and code styling

* Code styling

* Reworking ProcessContent to use StringBuilder instead of replaces

* Fixing that GetAttributeRegex should find attributes with empty value

* Code styling

* Fixing that detecting the extension works regardless of casing

but it still works with Azure Blob Storage (which is case-sensitive) too

* Optimizing image tag regex

* Caching attribute regexes

* Caching attribute values of img tags

* Simplifying attribute value cache

---------

Co-authored-by: Arjan Noordende <arjan@zumey.com>
2024-12-07 11:59:46 +01:00
Benedek Farkas 5c57a30907 Setting fail-fast to false in the Specflow workflow's strategy
https://docs.github.com/en/actions/writing-workflows/workflow-syntax-for-github-actions#jobsjob_idstrategyfail-fast
2024-12-07 11:10:35 +01:00
Benedek Farkas ebae790f15 #8276: Updating Npgsql to 4.0.17 and fixing setup with PostgreSQL (#8810)
* Updating Npgsql to version 4.0.17 (the latest minor version of the closest major version that isn't vulnerable)

https://github.com/OrchardCMS/Orchard/security/dependabot/54

* Fixing that Projection Migrations created indexes with the same name in different tables, which is not supported by PostgreSQL
2024-12-06 14:14:57 +01:00
Benedek Farkas 79f66cebf6 #8752: Publish/unpublish Menu Items in the Menu editor (#8807)
* Cleaning up Core/Navigation/Controllers/AdminController

* Extending Core/Navigation/Controllers/AdminController to be able to publish/unpublish menuitems

* Redirecting to menu when saving a menu item and using the menu item text in the notification

* Fixing that saving a menu item shouldn't publish it if it's unpublished

* Using the menu item text in the notification when publishing and unpublishing too
2024-12-06 10:09:52 +01:00
Benedek Farkas 0d93cb1d8d #8816: Compilation workflow should test the setup and code generation (#8817)
* Updating Compile workflow with setup and code generation steps

* Updating NHibernate reference and OrchardBasicCorrectness.ruleset path in ModuleTestsCsProj code generation template

* Ignoring CS2008 warning when recompiling with generated modules, because the theme and test projects don't have .cs files

* Generating a test project should also include packages.config

* Fixing the relative path of Orchard.Core and Orchard.Framework in the generated test project

* A bit of code styling in the Compile workflow

* Updating Readme

* Revert "A bit of code styling in the Compile workflow"

This reverts commit 7b01ebbad0.
2024-12-06 09:59:15 +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 53f3a19ece #8814: Upgrading NHibernate to 5.5.2 (#8815)
* Upgrading NHibernate to 5.5.2

* Adapting SchemaCommandGenerator to obsolete NHibernate code

* Adapting unit tests to NHibernate breaking change

https://github.com/nhibernate/nhibernate-core/issues/1106
https://github.com/nhibernate/nhibernate-core/issues/1095

* Updating ModuleRootWebConfig.txt codegen template according to the new Newtonsoft.Json and NHibernate version
2024-12-06 09:49:25 +01:00