* 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
* 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.
* 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
* 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
* 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
* 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
* #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>
* 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
* 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
* 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.
* 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
* #6981 Normalized image profile path hash and added profile purging
* Profile purge functions rather belong in IImageProfileService
* Deleting an Image Profile now also removes all its files too
* Comment formatting
* Caching the value of the "Orchard.MediaProcessing.NormalizePath" app setting in ImageProfileManager
* Code styling in ImageProfileManager
* Formatting and code styling ImageProfileManager
---------
Co-authored-by: Arjan Noordende <arjan@zumey.com>
* 6748: Stricter file and folder name validation (#6792)
* Media Library: More strict file and folder name validation, fixes#6748
* Resetting MediaLibraryService changes to 1.10.x
* Code styling in FileSystemStorageProvider
* Adding string file and folder name validation to FileSystemStorageProvider, so that MediaLibrary components don't need to do it separately
* Applying the same file and folder name validation to AzureFileSystem too
* Code styling and fixes in AzureFileSystem, MediaLibrary and IStorageProvider
* Simplifying invalid character detection
* Code styling
* Adding InvalidNameCharacterException to be able to handle invalid characters precisely at various user-facing components
* Updating MediaLibrary not to log an error when a file can't be uploaded due to invalid characters
---------
Co-authored-by: Lombiq <github@lombiq.com>
* #6793: Adding a content-independent culture selector shape for the front-end (#8784)
* Adds a new CultureSelector shape for front-end
* fixed query string culture change
* Moving NameValueCollectionExtensions from Orchard.DynamicForms and Orchard.Localization to Orchard.Framework
* Code styling
* Simplifying UserCultureSelectorController and removing the addition of the culture to the query string
* EOF empty lines and code styling
* Fixing that the main Orchard.Localization should depend on Orchard.Autoroute
* Code styling in LocalizationService
* Updating LocalizationService to not have to use IEnumerable.Single
* Matching culture name matching in LocalizationService culture- and casing-invariant
---------
Co-authored-by: Sergio Navarro <jersio@hotmail.com>
Co-authored-by: psp589 <pablosanchez589@gmail.com>
* #8640: Fixing consistency between different Enumeration Field flavors' data storage (#8789)
* Reworking EnumerationField's logic to store/retrieve its (selected) values
* Fixing exception when creating new item with CheckboxList flavor, adding more nullchecks and compactness
* Code styling in EnumerationFieldDriver
* Code styling in EnumerationField editor template
* Fixing that EnumerationFieldDriver and the EnumerationField editor template should read SelectedValues instead of Values directly
---------
Co-authored-by: Matteo Piovanelli <MatteoPiovanelli-Laser@users.noreply.github.com>
* Fixing merge
---------
Co-authored-by: Lombiq <github@lombiq.com>
Co-authored-by: Sergio Navarro <jersio@hotmail.com>
Co-authored-by: psp589 <pablosanchez589@gmail.com>
Co-authored-by: Matteo Piovanelli <MatteoPiovanelli-Laser@users.noreply.github.com>