* 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
* #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>
* Added publish and delete buttons to backoffice content edit.
* Corrected condition for content unpublishing.
Managed unpublish and delete button for blogs and widgets.
* Some little code refactoring
* Added css classes for unpublish-button.
Condition for delete button visibility now checks for contentItem.Id > 0 instead of IsNew() function
* Removed UnpublishButton from Widget Editor.
* Removed Widget_DeleteButton to use the generic Content_DeleteButton shape and avoid its duplication or confusing management via Placement.info.
* Removed Widget_UnpublishButton shape
* Removed unpublish button show/hide logic from driver.
Added comments to clarify how new Unpublish and Delete actions work.
* EOL fix to Orchard.Widgets.csproj.
* Added unpublish button to edit widget (shown if widget is draftable only)
* Hide Content edit delete button at frontend
* ContentsDriver: removed AdminFilter check to display delete button and checked the content is published before showing the unpublish button.
* Applied some of the proposed formatting changes
* Several refactoring operations
* Autoformatting.
* Stylesheet refactoring and reorganization to properly position backoffice buttons
* Autoformatting
---------
Co-authored-by: Alessandro Agostini <alessandro.agostini@laser-group.com>
Co-authored-by: Matteo Piovanelli <matteo.piovanelli@laser-group.com>
* #8828: Expose Redis API to clear multiple keys using wildcard syntax
* #8828: Rename IRedisCacheStorageProvider to ICacheStorageProviderWithKeyPrefix
* Moving ICacheStorageProviderWithKeyPrefix to Orchard.Caching
---------
Co-authored-by: Benedek Farkas <benedek.farkas@lombiq.com>
* 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