Ronald Barendse
|
83db6f5c5d
|
Ensure crop coordinates are always added before focal point
|
2021-10-12 11:00:44 +02:00 |
|
Ronald Barendse
|
7c250fcac7
|
Use ImageSharp configuration from DI (and its related ReadOrigin)
|
2021-09-08 15:18:29 +02:00 |
|
Ronald Barendse
|
806ebc6106
|
Merge branch 'v9/dev' into v9/bugfix/imagesize-cleanup
# Conflicts:
# src/Umbraco.Infrastructure/DependencyInjection/UmbracoBuilder.CoreServices.cs
# src/Umbraco.Infrastructure/Media/ImageDimensionExtractor.cs
|
2021-08-27 08:46:02 +02:00 |
|
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
|
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 |
|
Ronald Barendse
|
0b713d4562
|
Use ImageSharp for dimension extraction, remove ImageSize and ExifImageDimensionExtractor
|
2021-08-12 10:19:06 +02:00 |
|
Andy Butland
|
902984f977
|
Added unit tests for CropWebProcessor and ImageCropperTemplateCoreExtensions.
|
2021-08-11 17:18:23 +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
|
50d8e74b5b
|
Obsolete unsupported image URL generation options and update ImageSharp implementation
|
2021-08-10 10:26:02 +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 |
|
Mole
|
753f6f6b1d
|
Clean url generator a bit
|
2021-07-08 14:11:30 +02:00 |
|
Bjarke Berg
|
a854959b85
|
Replaces System.Drawing with ImageSharp, and thereby fix TODO.
|
2021-04-29 20:32:26 +02:00 |
|
Mole
|
548bf27a0c
|
Align namespaces in Media to Umbraco.Cms.Infrastructure
|
2021-02-12 12:33:52 +01:00 |
|
Mole
|
dd488a15f4
|
Move extension methods in core project to Umbraco.Extensions
|
2021-02-09 13:21:17 +01:00 |
|
Mole
|
216fb87c79
|
Rename Umbraco.Core namespace to Umbraco.Cms.Core
|
2021-02-09 10:22:42 +01:00 |
|
Shannon
|
e785ac28a3
|
Moves more services and registrations "up", removes AspNetCoreComposer logic and moves to AddWebComponents
|
2020-12-24 14:29:26 +11:00 |
|
Shannon
|
1f6297ad6b
|
Moves some services 'up' to Core, moves core DI registrations 'up' to UmbracoBuilder, moves Composing ext to DependencyInjection namespaces as UmbracoBuilder ext
|
2020-12-24 11:46:17 +11:00 |
|
Bjarke Berg
|
eb03145fa6
|
Moved media files and introduced IImageDimensionExtractor and to avoid System.drawing in core
|
2020-12-04 15:04:29 +01:00 |
|
Bjarke Berg
|
85c01d9905
|
Merge remote-tracking branch 'origin/netcore/dev' into netcore/netcore
# Conflicts:
# src/Umbraco.Configuration/Legacy/GlobalSettings.cs
# src/Umbraco.Core/Configuration/IGlobalSettings.cs
# src/Umbraco.Core/Models/ContentBaseExtensions.cs
# src/Umbraco.Core/Routing/ContentFinderByRedirectUrl.cs
# src/Umbraco.Core/Routing/DefaultUrlProvider.cs
# src/Umbraco.Core/Runtime/MainDom.cs
# src/Umbraco.Core/Services/IRuntimeState.cs
# src/Umbraco.Infrastructure/Compose/NotificationsComponent.cs
# src/Umbraco.Infrastructure/PropertyEditors/ValueConverters/ImageCropperValueConverter.cs
# src/Umbraco.Infrastructure/RuntimeState.cs
# src/Umbraco.Tests/Routing/UrlsWithNestedDomains.cs
# src/Umbraco.Tests/Runtimes/StandaloneTests.cs
# src/Umbraco.Tests/TestHelpers/TestObjects.cs
# src/Umbraco.Web.BackOffice/Controllers/LogViewerController.cs
# src/Umbraco.Web.BackOffice/Controllers/UsersController.cs
# src/Umbraco.Web.BackOffice/Mapping/ContentMapDefinition.cs
# src/Umbraco.Web.BackOffice/PropertyEditors/RteEmbedController.cs
# src/Umbraco.Web.BackOffice/Trees/DictionaryTreeController.cs
# src/Umbraco.Web.UI.NetCore/umbraco/UmbracoBackOffice/Default.cshtml
# src/Umbraco.Web.UI.NetCore/umbraco/config/lang/da.xml
# src/Umbraco.Web.UI.NetCore/umbraco/config/lang/en.xml
# src/Umbraco.Web.UI.NetCore/umbraco/config/lang/en_us.xml
# src/Umbraco.Web.UI/Umbraco/config/lang/cs.xml
# src/Umbraco.Web.UI/Views/Partials/Grid/Editors/Rte.cshtml
# src/Umbraco.Web/Controllers/UmbLoginController.cs
# src/Umbraco.Web/Install/Controllers/InstallController.cs
# src/Umbraco.Web/PublishedElementExtensions.cs
# src/Umbraco.Web/Runtime/WebInitialComposer.cs
# src/Umbraco.Web/UmbracoHelper.cs
# src/Umbraco.Web/UmbracoInjectedModule.cs
# src/Umbraco.Web/UrlHelperExtensions.cs
# src/Umbraco.Web/UrlHelperRenderExtensions.cs
# src/Umbraco.Web/WebApi/UmbracoApiControllerBase.cs
|
2020-12-01 11:34:13 +01:00 |
|
Bjarke Berg
|
c88c842d47
|
Merge remote-tracking branch 'origin/v8/dev' into netcore/dev
# Conflicts:
# .github/workflows/codeql-analysis.yml
# src/Umbraco.Core/CompositionExtensions.cs
# src/Umbraco.Core/Constants-AppSettings.cs
# src/Umbraco.Core/GuidUdi.cs
# src/Umbraco.Core/Models/PublishedContent/IPublishedContent.cs
# src/Umbraco.Core/PublishedContentExtensions.cs
# src/Umbraco.Core/Routing/DefaultUrlProvider.cs
# src/Umbraco.Core/Routing/UrlProvider.cs
# src/Umbraco.Core/Routing/UrlProviderExtensions.cs
# src/Umbraco.Core/Runtime/MainDom.cs
# src/Umbraco.Core/Services/IRuntimeState.cs
# src/Umbraco.Core/StringExtensions.cs
# src/Umbraco.Core/Sync/ApplicationUrlHelper.cs
# src/Umbraco.Core/Sync/DatabaseServerRegistrar.cs
# src/Umbraco.Core/Sync/IServerRegistrar.cs
# src/Umbraco.Infrastructure/Media/EmbedProviders/Instagram.cs
# src/Umbraco.Infrastructure/Models/ContentBaseExtensions.cs
# src/Umbraco.Infrastructure/PropertyEditors/NestedContentPropertyEditor.cs
# src/Umbraco.Infrastructure/PropertyEditors/ValueConverters/ImageCropperValue.cs
# src/Umbraco.Tests/Misc/ApplicationUrlHelperTests.cs
# src/Umbraco.Tests/Routing/UrlProviderTests.cs
# src/Umbraco.Tests/Routing/UrlsWithNestedDomains.cs
# src/Umbraco.Tests/TestHelpers/TestObjects.cs
# src/Umbraco.Web.UI/Umbraco/Views/Default.cshtml
# src/Umbraco.Web.UI/Views/Partials/Grid/Editors/Rte.cshtml
# src/Umbraco.Web/CompositionExtensions.cs
# src/Umbraco.Web/HtmlHelperBackOfficeExtensions.cs
# src/Umbraco.Web/ImageCropperTemplateExtensions.cs
# src/Umbraco.Web/Models/Mapping/ContentMapDefinition.cs
# src/Umbraco.Web/PropertyEditors/MultiUrlPickerPropertyEditor.cs
# src/Umbraco.Web/PublishedContentExtensions.cs
# src/Umbraco.Web/Runtime/WebInitialComponent.cs
# src/Umbraco.Web/Runtime/WebInitialComposer.cs
# src/Umbraco.Web/Templates/TemplateUtilities.cs
# src/Umbraco.Web/UmbracoContext.cs
# src/Umbraco.Web/UmbracoHelper.cs
# src/Umbraco.Web/UmbracoInjectedModule.cs
|
2020-11-30 11:24:24 +01:00 |
|
Mole
|
8258178c5a
|
Merge remote-tracking branch 'origin/netcore/netcore' into netcore/feature/migrate-logging
# Conflicts:
# src/Umbraco.Infrastructure/Media/UploadAutoFillProperties.cs
# src/Umbraco.Infrastructure/PropertyEditors/FileUploadPropertyEditor.cs
# src/Umbraco.Infrastructure/PropertyEditors/ImageCropperPropertyEditor.cs
# src/Umbraco.Tests/Models/MediaXmlTest.cs
# src/Umbraco.Tests/Routing/MediaUrlProviderTests.cs
# src/Umbraco.Web.BackOffice/Controllers/BackOfficeController.cs
# src/Umbraco.Web.BackOffice/Controllers/MediaController.cs
|
2020-09-23 13:32:49 +02:00 |
|
Bjarke Berg
|
f413f279eb
|
Merge remote-tracking branch 'origin/netcore/netcore' into netcore/feature/migrate-logging
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
# Conflicts:
# src/Umbraco.ModelsBuilder.Embedded/LiveModelsProvider.cs
# src/Umbraco.ModelsBuilder.Embedded/PureLiveModelFactory.cs
# src/Umbraco.Tests.Integration/Implementations/TestHelper.cs
# src/Umbraco.Tests.Integration/Persistence/Repositories/TemplateRepositoryTest.cs
# src/Umbraco.Tests.Integration/RuntimeTests.cs
# src/Umbraco.Tests.UnitTests/Umbraco.Core/PropertyEditors/ColorListValidatorTest.cs
# src/Umbraco.Tests.UnitTests/Umbraco.Core/PropertyEditors/EnsureUniqueValuesValidatorTest.cs
# src/Umbraco.Tests.UnitTests/Umbraco.Core/PropertyEditors/MultiValuePropertyEditorTests.cs
# src/Umbraco.Tests.UnitTests/Umbraco.Core/Published/NestedContentTests.cs
# src/Umbraco.Tests.UnitTests/Umbraco.Core/Published/PropertyCacheLevelTests.cs
# src/Umbraco.Tests/Components/ComponentTests.cs
# src/Umbraco.Tests/IO/ShadowFileSystemTests.cs
# src/Umbraco.Tests/Models/VariationTests.cs
# src/Umbraco.Tests/Packaging/PackageDataInstallationTests.cs
# src/Umbraco.Tests/Persistence/DatabaseContextTests.cs
# src/Umbraco.Tests/Persistence/Repositories/MediaRepositoryTest.cs
# src/Umbraco.Tests/Persistence/Repositories/MediaTypeRepositoryTest.cs
# src/Umbraco.Tests/Persistence/Repositories/MemberRepositoryTest.cs
# src/Umbraco.Tests/Persistence/Repositories/MemberTypeRepositoryTest.cs
# src/Umbraco.Tests/Persistence/Repositories/PublicAccessRepositoryTest.cs
# src/Umbraco.Tests/Persistence/Repositories/TagRepositoryTest.cs
# src/Umbraco.Tests/Persistence/Repositories/UserRepositoryTest.cs
# src/Umbraco.Tests/Persistence/SqlCeTableByTableTest.cs
# src/Umbraco.Tests/Published/ConvertersTests.cs
# src/Umbraco.Tests/PublishedContent/SolidPublishedSnapshot.cs
# src/Umbraco.Tests/Routing/ContentFinderByIdTests.cs
# src/Umbraco.Tests/Routing/ContentFinderByUrlAndTemplateTests.cs
# src/Umbraco.Tests/Routing/DomainsAndCulturesTests.cs
# src/Umbraco.Tests/Routing/UmbracoModuleTests.cs
# src/Umbraco.Tests/Scoping/ScopeEventDispatcherTests.cs
# src/Umbraco.Tests/Scoping/ScopedNuCacheTests.cs
# src/Umbraco.Tests/Services/ContentServicePerformanceTest.cs
# src/Umbraco.Tests/Services/ContentTypeServiceVariantsTests.cs
|
2020-09-23 07:59:10 +02:00 |
|
Andy Butland
|
87a4128705
|
https://github.com/umbraco/Umbraco-CMS/pull/8948 - Renamed extension from IsImageFile to IsSupportedImageFormat, to align more with what is actually tested
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
|
2020-09-22 21:12:04 +02:00 |
|
Bjarke Berg
|
2b8d5b7edd
|
Merge remote-tracking branch 'origin/netcore/netcore' into feature/8651-move-image-file-types-from-config
# Conflicts:
# src/Umbraco.Core/Configuration/Models/ContentImagingSettings.cs
# src/Umbraco.Infrastructure/Media/UploadAutoFillProperties.cs
|
2020-09-22 21:10:19 +02:00 |
|
Andy Butland
|
f42e8856db
|
Removed supported image file types from configuration and set up as a property on IImageUrlGenerator, so different providers can indicate support for different sets of images.
|
2020-09-22 15:06:22 +02:00 |
|
Mole
|
578e8c4f9e
|
Use MS ILogger for DataEditor
|
2020-09-18 14:37:19 +02:00 |
|
Mole
|
d61b9f54fa
|
Merge options
|
2020-09-18 12:53:06 +02:00 |
|
Andy Butland
|
eb62789b68
|
Added configuration validation for content imaging settings.
|
2020-09-18 12:02:12 +02:00 |
|
Nikolaj
|
161061dbbc
|
Remove exception logging and finish LogWarning
|
2020-09-14 14:10:19 +02:00 |
|
Nikolaj
|
d7e3bce741
|
Rename Error to align it with MS ILogger
|
2020-09-14 09:10:53 +02:00 |
|
Andy Butland
|
64f8752587
|
Removed introduced second constructors for IOptions based depenedencies and used Options.Create instead.
|
2020-08-26 11:58:44 +02:00 |
|
Andy Butland
|
2cd91a5a54
|
Converted to IOptions over IOptionsSnapshot due to the latter only working in scoped services.
Further amends to return to booting application.
|
2020-08-23 23:36:48 +02:00 |
|
Andy Butland
|
e3a44c6717
|
Moved configuration setting POCOs into Umbraco.Core and adjusted references.
Amended injection of some settings to use IOptionsSnapshot.
|
2020-08-20 22:18:50 +01:00 |
|
Bjarke Berg
|
3ea7945f24
|
Get rid of system web in netcore and netstandard libraries
|
2020-08-05 08:44:22 +02:00 |
|
Bjarke Berg
|
8400b53f70
|
Cleanup based on review
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
|
2020-07-06 12:55:23 +02:00 |
|
Bjarke Berg
|
98e81614d0
|
Changed check from null only to IsNullOrEmpty to make it safer
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
|
2020-06-26 08:21:17 +02:00 |
|
Bjarke Berg
|
834a8173d0
|
Migrated Media controller + ContentTypeControllerBase + ContentTypeController, MediaTypeController
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
|
2020-06-12 22:13:43 +02:00 |
|
Bjarke Berg
|
28c4f87236
|
https://dev.azure.com/umbraco/D-Team%20Tracker/_workitems/edit/6586 - Migrated ImageUrlGeneratorController + Made usage some strings into the enums in the ImageUrlGenerationOptions
|
2020-05-20 17:39:07 +02:00 |
|
Bjarke Berg
|
c75c86ab27
|
AB#5822 Clean up
|
2020-03-31 16:28:13 +02:00 |
|
Bjarke Berg
|
55426515c0
|
Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/AB5822-smidge-implementation
# Conflicts:
# src/Umbraco.Infrastructure/Media/ImageProcessorImageUrlGenerator.cs
# src/Umbraco.Infrastructure/Models/ImageProcessorImageUrlGenerator.cs
# src/Umbraco.Infrastructure/Models/ImageSharpImageUrlGenerator.cs
# src/Umbraco.Web.BackOffice/AspNetCore/AspNetCoreComposer.cs
# src/Umbraco.Web.Common/Extensions/UmbracoCoreServiceCollectionExtensions.cs
# src/Umbraco.Web.UI.NetCore/Startup.cs
# src/Umbraco.Web.UI.NetCore/appsettings.json
|
2020-03-31 15:36:25 +02:00 |
|
Andy Butland
|
c16965319a
|
Amended processed image URL building to use checks for empty as well as null, and refactored null checks to use HasValue.
|
2020-03-24 12:17:41 +01:00 |
|
Andy Butland
|
b67c3dfa04
|
Moved IImageUrlGenerator and implementation into more appropriate enamespace
|
2020-03-24 09:37:46 +01:00 |
|
Bjarke Berg
|
c486444eda
|
Cleaned up config for Content settings
|
2020-03-12 15:30:22 +01:00 |
|
Bjarke Berg
|
1ea39f2762
|
Merge remote-tracking branch 'origin/v8/dev' into netcore/dev
# Conflicts:
# src/Umbraco.Core/Models/PublishedContent/IPublishedContent.cs
# src/Umbraco.Core/Models/PublishedContent/PublishedContentBase.cs
# src/Umbraco.Core/Models/PublishedContent/PublishedContentWrapped.cs
# src/Umbraco.Core/Packaging/ConflictingPackageData.cs
# src/Umbraco.Core/Packaging/PackagesRepository.cs
# src/Umbraco.Core/PublishedCache/PublishedMember.cs
# src/Umbraco.Infrastructure/Persistence/Repositories/Implement/MacroRepository.cs
# src/Umbraco.Infrastructure/PropertyEditors/RichTextEditorPastedImages.cs
# src/Umbraco.PublishedCache.NuCache/PublishedContent.cs
# src/Umbraco.Tests/Persistence/Repositories/MacroRepositoryTest.cs
# src/Umbraco.Tests/PublishedContent/SolidPublishedSnapshot.cs
# src/Umbraco.Web/Macros/PublishedContentHashtableConverter.cs
# src/Umbraco.Web/PublishedContentExtensions.cs
# src/Umbraco.Web/Trees/MediaTypeTreeController.cs
|
2020-03-02 08:34:52 +01:00 |
|