* 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>
Enabled session state cache provider by default in Orchard.Azure.Wew.
Moved all string constants into Constants class.
Got rid of unused implicit module feature of Orchard.Azure.
Added missing settings banner.
Split Orchard.StorageConnectionString role configuration setting up into two separate settings for Media and Settings respectively.
Renamed startup task.
Removed hard coded connection string and container name from AzureFileSystem, making it truly reusable.
Deleted old module Orchard.AzureBlobStorage.
Moved all Azure code into Orchard.Azure module, deleting the old Orchard.Azure project.
Cleaned up Web.config and Config\* files in Orchard.Web and Orchard.Azure.Web.