Commit Graph

39247 Commits

Author SHA1 Message Date
Ronald Barendse
992eb58023 Move ImageSharpImageUrlGenerator back to Infrastructure and remove NoopImageUrlGenerator 2021-08-16 11:08:09 +02:00
Ronald Barendse
42c6aa8d56 Register default ImageSharp configuration for application-wide use 2021-08-16 10:35:37 +02:00
Ronald Barendse
a0184d5556 Remove repeated ImageSharp default configuration 2021-08-13 16:04:44 +02:00
Ronald Barendse
36568a0fdc Move ImageSharpImageUrlGenerator to Web.Common and add NoopImageUrlGenerator 2021-08-13 16:01:56 +02:00
Ronald Barendse
74ea311e3c Remove width/height when both are above the configured maximums, add comments/documentation 2021-08-13 14:23:27 +02:00
Andy Butland
8ca35f598b Removed two effectively duplicate tests. 2021-08-12 10:08:41 +02:00
Ronald Barendse
8b1bd14df1 Remove ImageCropRatioMode and clean up GetCropUrl overloads 2021-08-12 09:03:02 +02:00
Andy Butland
902984f977 Added unit tests for CropWebProcessor and ImageCropperTemplateCoreExtensions. 2021-08-11 17:18:23 +02:00
Ronald Barendse
c5361ec54e Improve crop coordinate calculations 2021-08-11 09:53:58 +02:00
Ronald Barendse
01559ede97 Only support crop coordinates in CropWebProcessor 2021-08-10 23:55:37 +02:00
Ronald Barendse
22814036a1 Update FocalPointPosition and CropCoordinates constructors/properties 2021-08-10 17:20:03 +02:00
Ronald Barendse
766530fcd3 Swap focal point order to left,top to match resize X,Y coordinates 2021-08-10 17:17:40 +02:00
Ronald Barendse
0753353cf7 Remove obsolete/unused properties and parameters 2021-08-10 13:36:50 +02:00
Ronald Barendse
474b63a590 Update AngularJS image URL parameters 2021-08-10 13:35:04 +02:00
Ronald Barendse
0b9f1f4f86 Remove usage of obsolete image URL generation properties (width/height ratio, default crop, upscale and animation process mode) 2021-08-10 11:23:37 +02:00
Ronald Barendse
50d8e74b5b Obsolete unsupported image URL generation options and update ImageSharp implementation 2021-08-10 10:26:02 +02:00
Ronald Barendse
c21656aff2 Change processor order and fix crop percentage calculation 2021-08-09 14:52:07 +02:00
Ronald Barendse
5cdcd021fa Remove support for whole percentage crop values 2021-08-09 12:00:37 +02:00
Ronald Barendse
fd93248d11 Move CropMode enum into seperate file 2021-08-09 11:59:23 +02:00
Ronald Barendse
6430b36a22 Update resize mode and anchor query string parameters 2021-08-06 14:44:16 +02:00
Ronald Barendse
4b85edd1d9 Update ImageSharpImageUrlGenerator 2021-08-06 14:25:09 +02:00
Ronald Barendse
760c15e5ce Add cropmode paramerter back to tests 2021-08-06 12:59:56 +02:00
Ronald Barendse
20007db7f2 Add cropmode support and align logic to ImageProcessors Crop processor 2021-08-06 12:59:23 +02:00
Ronald Barendse
ca5af1e9a7 Only add our custom CropWebProcessor to ImageSharp 2021-08-06 12:56:49 +02:00
Ronald Barendse
f4ac0a532e Merge branch 'v9/dev' into v9/bugfix/image-cropping 2021-08-06 09:44:01 +02:00
Nikolaj Geisle
61b343da8b Merge pull request #10722 from umbraco/v9/bugfix/fix-multi-url-picker
V9: Fix multi url picker
2021-08-05 08:11:31 +02:00
Nikolaj Geisle
eca3536dc7 Merge pull request #10660 from vsilvar/v9/feature/modelsbuilders-nullable-references-maybenull
Added MaybeNullAttribute to ModelsBuilder generated files
2021-08-04 15:13:31 +02:00
Bjarke Berg
cb81b96c4a Merge pull request #10716 from lars-erik/patch-separate-sqlce-from-integration-tests
Testable BTree to ContentCache in V9 / Separate SqlCe from integration tests
2021-08-04 15:02:49 +02:00
Bjarke Berg
f67415a363 Force only tests of csproj files to avoid executing the tests for dll's too 2021-08-04 13:47:14 +02:00
Bjarke Berg
c65cde38f7 Aligned the solution files 2021-08-04 12:51:40 +02:00
Bjarke Berg
bcb8c0e286 Fixed todo in test that is now possible after update of nunit 2021-08-04 12:51:25 +02:00
Bjarke Berg
8ad456a6d0 Test sqlCe integration tests on azure too 2021-08-04 12:50:49 +02:00
Bjarke Berg
f9b91cd272 Merge pull request #10661 from vsilvar/v9/feature/10648-umbracobuilder-extensions-chaining
Updated public IUmbracoBuilder extension methods to allow chaining
2021-08-04 12:45:33 +02:00
Bjarke Berg
e1dab63123 Merge remote-tracking branch 'origin/v9/dev' into patch-separate-sqlce-from-integration-tests 2021-08-04 10:50:33 +02:00
Bjarke Berg
d1a004078f Merge pull request #10781 from umbraco/v9/feature/merge_v8_dev_03082021
V9: Merge v8/dev 03082021
2021-08-04 10:40:34 +02:00
Nikolaj Geisle
9f1ed2b676 Merge pull request #10615 from umbraco/v9/bugfix/fix-get-local-crop-url
V9: Fix GetLocalCropUrl
2021-08-04 10:30:57 +02:00
Bjarke Berg
0de0b52354 Merge pull request #10785 from umbraco/v9/bugfix/10699/swapped_hashset_to_concurrent_hashset
v9: Changed HashSet to ConcurrentHashSet to fix concurrency issues https://github.com/umbraco/Umbraco-CMS/issues/10699
2021-08-04 09:51:11 +02:00
Bjarke Berg
30badd7d69 Fixed migration to support updating from 8.15rc (and before),8.15 final and 9.0rc1 2021-08-04 09:44:34 +02:00
Nikolaj Geisle
c7dd3b2461 Merge pull request #10688 from adamhearn/temp-10665
Support member names using Down-Level Logon Name format
2021-08-04 09:12:57 +02:00
Nikolaj Geisle
1b54013873 Merge pull request #10687 from umbraco/v9/bugfix/translations-everywhere
V9: Fix translations not shown everywhere
2021-08-03 14:52:00 +02:00
Bjarke Berg
a90b9dc052 Merge pull request #10784 from umbraco/v9/bugfix/10776/added_namespaces_to_view_imports
v9: Added missing namespaces to viewimports https://github.com/umbrac…
2021-08-03 14:28:21 +02:00
Zeegaan
338e1e0d6d https://github.com/umbraco/Umbraco-CMS/issues/10699 Changed HasSet<Uri> to ConcurrentHashSet<Uri>
and changed Add method to TryAdd in AspNetCoreHostingEnviroment.EnsureApplicationMainUrl()
to fix concurrency errors
2021-08-03 14:04:19 +02:00
Bjarke Berg
2229a3e7f8 Remove project references used to test 2021-08-03 13:18:27 +02:00
Zeegaan
d76044875b v9: Added missing namespaces to viewimports https://github.com/umbraco/Umbraco-CMS/issues/10776 2021-08-03 12:57:52 +02:00
Bjarke Berg
ac2f567f0e Still do ToArray as the first thing, to avoid test fails. 2021-08-03 12:29:15 +02:00
Bjarke Berg
06951d2e2e Fix for IPropertyCacheCompressionOptions registration 2021-08-03 10:01:13 +02:00
Bjarke Berg
e84fcd31a1 Moved namespaces 2021-08-03 09:58:41 +02:00
Bjarke Berg
4ab0b65238 post merge fix - Moved migration to infrastructure 2021-08-03 09:56:32 +02:00
Bjarke Berg
43ae1fa3e4 Merge remote-tracking branch 'origin/v8/dev' into v9/feature/merge_v8_dev_03082021
# Conflicts:
#	build/NuSpecs/UmbracoCms.Web.nuspec
#	src/SolutionInfo.cs
#	src/Umbraco.Core/ContentEditing/ContentTypesByKeys.cs
#	src/Umbraco.Core/Persistence/NPocoDatabaseExtensions-Bulk.cs
#	src/Umbraco.Core/PropertyEditors/IPropertyCacheCompression.cs
#	src/Umbraco.Core/PropertyEditors/IPropertyCacheCompressionOptions.cs
#	src/Umbraco.Core/PropertyEditors/NoopPropertyCacheCompressionOptions.cs
#	src/Umbraco.Core/Services/LocalizedTextServiceExtensions.cs
#	src/Umbraco.Infrastructure/Migrations/Upgrade/UmbracoPlan.cs
#	src/Umbraco.Infrastructure/Migrations/Upgrade/V_8_15_0/AddCmsContentNuByteColumn.cs
#	src/Umbraco.Web.BackOffice/Controllers/ContentController.cs
#	src/Umbraco.Web.UI/Umbraco.Web.UI.csproj
#	src/Umbraco.Web/PublishedCache/NuCache/DataSource/DatabaseDataSource.cs
#	src/Umbraco.Web/PublishedCache/NuCache/NuCacheComposer.cs
#	src/Umbraco.Web/PublishedCache/NuCache/NuCacheSerializerComponent.cs
#	src/Umbraco.Web/PublishedCache/NuCache/PublishedSnapshotService.cs
#	src/Umbraco.Web/Umbraco.Web.csproj
#	src/Umbraco.Web/UrlHelperRenderExtensions.cs
2021-08-03 09:48:34 +02:00
deMD
c1dcdfa634 Changed ConfigConnectionString to accept more valid connectionstrings (#10766)
* Added test cases for valid connectionstring configuration and updated code to pass tests

* Removed unneeded reference added by reverted changes

Co-authored-by: Dave de Moel <d.demoel@wearetriple.com>
Co-authored-by: Elitsa Marinovska <elm@umbraco.dk>
2021-08-03 10:04:49 +03:00