Commit Graph

24 Commits

Author SHA1 Message Date
Benedek Farkas
e60a845359 #8791: Merge 1.10.x into dev (#8792)
* 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>
2024-04-19 15:48:17 +02:00
Márk Bartha
21f5d33402 Workaround for the Azure blob rename bug (#8215) (Lombiq Technologies: ORCH-202), fixes #7741 2019-05-27 19:59:26 +02:00
Benedek Farkas
7599a25594 Merge branch '1.10.x' into dev
# Conflicts:
#	src/Orchard.Azure.Tests/Orchard.Azure.Tests.csproj
#	src/Orchard.Azure/Orchard.Azure.Web/Orchard.Azure.Web.csproj
#	src/Orchard.Core.Tests/Orchard.Core.Tests.csproj
#	src/Orchard.Profile/Orchard.Profile.csproj
#	src/Orchard.Tests.Modules/Orchard.Tests.Modules.csproj
#	src/Orchard.Tests/Orchard.Framework.Tests.csproj
#	src/Orchard.Web/Core/Navigation/Migrations.cs
#	src/Orchard.Web/Modules/Orchard.MediaLibrary/Controllers/FolderController.cs
#	src/Orchard.Web/Modules/Orchard.MediaLibrary/Services/XmlRpcHandler.cs
#	src/Orchard.Web/Modules/Orchard.Taxonomies/Orchard.Taxonomies.csproj
#	src/Orchard.Web/Orchard.Web.csproj
#	src/Orchard.Web/Web.config
#	src/Orchard.Web/packages.config
#	src/Orchard/Mvc/MvcModule.cs
#	src/Orchard/Orchard.Framework.csproj
2017-11-10 00:54:02 +01:00
Thierry Fleury
6e95dc9d92 [Fixes #6323] Rename media folder fails with Azure Media Storage (#7670)
Fixes #6323
2017-05-04 12:17:39 -07:00
Another Developer
4a35e86cae [Fixes 7472] Fix for mp4 file not streaming from Azure blob (#7465)
Fixes 7474 

By default Azure blob storage uses service version "2009-09-19". mp4 files served with this version have to be fully downloaded to play.
More info can be found here http://blog.thoughtstuff.co.uk/2014/01/streaming-mp4-video-files-in-azure-storage-containers-blob-storage/.
2016-12-15 12:29:11 -08:00
Matthew Harris
be31746c4e [Fixes #7119] Path Comparison Case Sensitivity 2016-09-15 12:07:09 -07:00
Thierry Fleury
9a1d047154 Rename uri to uriBuilder 2016-03-23 14:36:36 +01:00
Thierry Fleury
8b66c9530f Return clean PublicUrl without port number when default is used. 2016-03-23 12:31:24 +01:00
Lombiq
5406b17601 Converting all files stored as CRLF in git to be stored as LF
LF is the git default and all new files are stored as such. Old files from the hg to git conversion however were moved over as CRLF.
2015-12-13 22:21:02 +01:00
Kegan Maher
dbe89d0a82 avoid null exception in AzureBlobStorageProvider.GetStoragePath, fixes #4402 2015-10-16 14:19:39 -07:00
Gustavo Tandeciarz
d64541d47a Fixes #5896 - AzureFileStorageProvider
Needs verification that this will not break anything else - don't think it will.
2015-10-14 10:15:06 -04:00
Sebastien Ros
62136eb59f Updating to Azure SDK 2.7 2015-09-30 15:50:05 -07:00
Lombiq
ef10c6902b #20498: Exposing the StorageAccount object from AzureFileSystem
Work Item: 20498
2015-01-15 23:31:07 +01:00
Stanley Goldman
e90001605d #20453: Adding Clone Button to Media Library
#20453: Fixing Formatting Issues

#20453: Adding Clone Button to Media Library

Work Item: 20453

Conflicts:
	src/Orchard.Web/Modules/Orchard.MediaLibrary/Controllers/AdminController.cs
	src/Orchard.Web/Modules/Orchard.MediaLibrary/Scripts/media-library.js
2014-10-12 16:17:01 -04:00
Sebastien Ros
5033927da7 Changing default access level for azure containers 2014-07-31 11:35:23 -07:00
Lombiq
584981efe3 #20384: Reconstructing Uri using UriBuilder when there's an available public host name for Azure storage (Orchard.Azure) 2014-03-08 00:09:49 +01:00
Lombiq
bf07c5e2d4 #20384: Public host name for Azure storage can be defined with a setting, based on the previous changes (Orchard.Azure)
Work Item: 20384
2014-03-07 17:56:18 +01:00
Sebastien Ros
178dc94555 Fixing LastUpdatedTime fetch on azure 2014-03-03 15:45:53 -08:00
Lombiq
d5b68e2c9a #20420: Fixing Internal server error on the Azure Storage emulator when multiple concurrent requests try to access Blob storage.
Work Item: 20420
2014-01-15 22:40:22 +01:00
Sebastien Ros
9bc2d6dfd5 Fixing Azure unit tests 2013-09-06 15:45:21 -07:00
Sebastien Ros
d1d51e6f92 Fixing Azure features 2013-09-06 13:44:27 -07:00
Sebastien Ros
bde2006dc7 Code cleanup 2013-08-30 12:50:39 -07:00
Daniel Stolt
ca34a462b6 Enabled caching by default in Orchard.Azure.Web cloud service role.
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.
2013-08-30 12:13:28 -07:00
Daniel Stolt
92f8d0df80 Added module Orchard.Azure. Added Azure Cache providers to it.
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.
2013-08-30 12:13:17 -07:00