11863 Commits

Author SHA1 Message Date
Milán Keszthelyi
165505b1db #8862: Preventing the SQL Server Service Broker feature from being enabled when not using SQL Server (Lombiq Technologies: ORCH-309) (#8875)
Some checks failed
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
2025-12-09 00:05:04 +01:00
Benedek Farkas
d9d071115c ResourceManager skips rendering a resource without an URL (#8876) 2025-12-04 21:54:36 +01:00
Gábor Domonkos
e5e71c70fb #8266: Security sensitive permissions (Lombiq Technologies: ORCH-214) (#8874)
Some checks failed
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
* Adding IsSecurityCritical property to Permission class and setting up Security Critical permissions

* Setting up default hint for security critical permissions

* Adding GetSecurityCriticalPermissions to IRoleService

* Indicating security critical permissions in the role editor

* Indicating roles that have security sensitive permissions in the UserRolesPart editor

* Indicating roles that have security sensitive permissions in the Role Admin list

* Code styling

* Styling

* Removing empty line

* Code styling in Orchard.Roles/Views/Admin/Index.cshtml

* Optimizing and standardizing the processing of security critical permissions / roles + code styling

* Simplifying the GetSecurityCriticalPermissions method

Co-authored-by: Benedek Farkas <benedek.farkas@lombiq.com>

* Removing setting up a Hint for security critical permissions

* Adding a meaningful summary for the IsSecurityCritical property of Permission

* Removing the Hint property from the Permission

---------

Co-authored-by: Benedek Farkas <benedek.farkas@lombiq.com>
2025-11-27 21:33:33 +01:00
Gábor Domonkos
df2b7dde3d #8268: Getting rid of [Obsolete] stuff (Lombiq Technologies: ORCH-308) (#8873)
* Using Orchard.Mvc.FormValueRequiredAttribute instead of the FormValueRequiredAttribute class of the AdminController in the Orchard.Core.Contents namespace.

* Removing obsoleted Spam value from the Orchard.Comments.Models.CommentStatus enum.

* Removing the obsolete AddFilters method of the IFilterProvider interface in the Orchard.Mvc.Filters namespace.

* Removing the obsolete LazyField<T> class from the Orchard.Core.Common.Utilities namespace.

* Removing obsolete methods from OrchardLog4netLogger.

* Removing obsolete Loader(Func<T, T> loader) method from LazyField.cs in the Orchard.ContentManagement.Utilities namespace.

* Removing obsoleted ContentShapeResult ContentShape(IShape shape) method from ContentPartDriver.

* Removing obsoleted ISessionLocator interface.

* Removing obsoleted ContentFieldTemplate methods from ContentFieldDriver<TField>.

* Removing obsoleted IMessagingChannel and IMessageManager interfaces, along with the migration step that updates the existing Send Email activities to use the new Message Queueing functionality.

* Removing obsoleted CustomStepsStep. Don't need the CustomStepsStep RecipeBuilderStep because you can implement IRecipeBuilderStep and IRecipeExecutionStep instead of implementing custom export steps.

* Removing obsoleted CustomPropertiesPart. It used to be necessary for the List feature (also obsolete) to be able to sort on custom data.

* Removing the obsoleted ITaskLeaseService with its default implementation. Removing deprecated Orchard.TaskLease module because it only contains this interface with its default implementation. Use Orchard.Tasks.Locking.IDistributedLockService instead.

* Removing LegacyRulesEvaluator. This condition provider was there for backwards compatibility during the deprecation period.

* Removing IRuleManager with its default implementation. Use Orchard.Conditions.Services.ConditionManager instead.

* Removing unused RequiresOwnership permission.

* Reverting unnecessary sln file changes

* Resolving IMessageChannelSelector instead of IMessageManager in editor templates

* Removing commented out code from ContentPartDriverCoordinatorTests

* Removing Orchard.jQuery too since its quite outdated and Orchard.Resources has been available since 1.9

* Readding the migration step that updates the existing Send Email activities

---------

Co-authored-by: Benedek Farkas <benedek.farkas@lombiq.com>
2025-11-26 17:07:59 +01:00
Milán Keszthelyi
9bc5e7f1e4 #8836: Adding configurable script tag sanitization by adding valid elements as a configurable site setting for TinyMCE (Lombiq Technologies: ORCH-307) (#8872)
* Adding valid elements site setting for TinyMCE, we would like to configure script tag sanitization

* Adding better hint text for valid elements site setting in TinyMCE

* Code styling for TinyMCE

* Fixing alphabet for TinyMCE

* A bit of rewording in Valid Elements hints [skip ci]

---------

Co-authored-by: Benedek Farkas <benedek.farkas@lombiq.com>
2025-11-21 01:53:41 +01:00
Milán Keszthelyi
890f837dfb Replacing deprecated jQuery event alias with .on() method in the ImageEditor (#8871) 2025-11-19 15:53:34 +01:00
Gábor Domonkos
860d6a4aeb #8835: Merging imported SearchFields from recipes instead of overwriting them (Lombiq Technologies: ORCH-310) (#8870)
* Merging imported SearchFields from recipes instead of overwriting them

* The import process overwrites the given index's configuration, but does not drop the others (if they aren't included).

* Clarifying comments and a bit of code styling [skip ci]

---------

Co-authored-by: Benedek Farkas <benedek.farkas@lombiq.com>
2025-11-19 15:32:12 +01:00
Benedek Farkas
75a4fd59a2 #8208: Adopt the Orchard Core .editorconfig (#8868)
Some checks failed
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
Gábor Domonkos
782389e42c #8863: Fixing ArgumentException in Blog Archives widget (#8867)
Some checks failed
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-30 20:57:55 +01:00
Benedek Farkas
4cfbafd22a #8859: Fixing setup errors with PostgreSQL and MySQL (#8861)
Some checks failed
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
Gábor Domonkos
f0ad335e77 #8864: Fixing an error during Audit Trail trimming (Lombiq Technologies: ORCH-306) (#8866) 2025-10-29 19:41:34 +01:00
Benedek Farkas
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
Benedek Farkas
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
Some checks failed
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
Mazur Yuriy
c10168a946 #8506: Adapting MySqlCommandInterpreter to 767 character length limitation (#8826)
Some checks failed
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
* Update MySqlCommandInterpreter.cs

https://github.com/OrchardCMS/Orchard/issues/8056
767 length limitation in mysql

* Fixing typo

* Code styling and simplifications in MySqlCommandInterpreter

---------

Co-authored-by: Benedek Farkas <benedek.farkas@lombiq.com>
2025-10-17 23:35:39 +02:00
Benedek Farkas
80707a48fa Projections: Removing duplicate index creation that is a result of a merge from 1.10.x
Some checks failed
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)
Some checks failed
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)
Some checks failed
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
1.10.4
2025-10-10 18:49:26 +02:00
Benedek Farkas
8b52007976 Merge branch '1.10.x-to-dev' into dev
Some checks failed
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)
Some checks failed
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)
Some checks failed
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)
Some checks failed
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
Michael Wentz
26fcdfbc5b #8839 Orchard Layouts Bootstrap 4 columns fix (#8840)
Some checks failed
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
* #8839 update all col-xs-* in Orchard.Layouts module to just col-* to fix columns. col-xs-* was removed in Bootstrap 4. display:flex was also added to Row.less to counteract the display:block on all the divs between .row and the .col-*

* Remove unnecessary file update. Didn't mean to include this, it is part of the Bootstrap 3 source which is not used anymore.

* OrchardCMS#8839 fixes for the layout editor from the previous work. If multiple elements were in a column, they were displaying horizontally instead of vertically. In order to fix this and manage situations where there are nested rows, the CSS specification had to be high.

* Rebuild client-side assets

---------

Co-authored-by: Benedek Farkas <benedek.farkas@lombiq.com>
2025-09-26 21:29:55 +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