Commit Graph

1380 Commits

Author SHA1 Message Date
Mole
1902f00d0c Merge pull request #10826 from umbraco/v9/bugfix/AB12681-unique-constraints-to-dictionary-tables
V9: Add unique constraints to cmsDictionary and cmsLanguageText tables
2021-08-17 11:17:18 +02:00
Bjarke Berg
c6cdc6d226 Merge pull request #10860 from nzdev/v9/bugfix/logging-patterns
Avoid mixing using of string interpolation and string formatting in log messages
2021-08-17 10:30:46 +02:00
Bjarke Berg
615c78dab5 Merge pull request #10859 from nzdev/v9/bugfix/dispose-processes
Process requires disposal
2021-08-17 07:59:46 +02:00
Bjarke Berg
831efead10 Merge pull request #10623 from umbraco/v9/bugfix/image-cropping
V9: Fix ImageSharp integration and add support for custom crops
2021-08-17 07:49:32 +02:00
Elitsa Marinovska
fba02ea2d6 Fix merge conflict 2021-08-16 14:21:37 +02:00
Elitsa Marinovska
5518867590 Merge remote-tracking branch 'v9/dev' into v9/bugfix/AB12681-unique-constraints-to-dictionary-tables 2021-08-16 14:21:13 +02:00
Elitsa Marinovska
b82320c9f3 Modifying the cmsLanguageText unique index to be just across the languageId and unqiueId fields 2021-08-16 13:26:42 +02:00
Zeegaan
4e2d9159f4 Merged v9/dev into this branch 2021-08-16 12:43:28 +02:00
Zeegaan
61f952bd70 Changed the UmbracoContextAccessor checks with extension methods to lessen duplicate code 2021-08-16 12:36:50 +02:00
Ronald Barendse
992eb58023 Move ImageSharpImageUrlGenerator back to Infrastructure and remove NoopImageUrlGenerator 2021-08-16 11:08:09 +02:00
Zeegaan
c5be9129bb Merge required 2 updates to use the new TryGetUmbracoContext 2021-08-16 10:42:26 +02:00
Zeegaan
33ab3a32ec Merged v9/dev into this branch 2021-08-16 10:41:36 +02:00
Ronald Barendse
42c6aa8d56 Register default ImageSharp configuration for application-wide use 2021-08-16 10:35:37 +02:00
Zeegaan
cca7c379ae Implemented an extension method to lessen duplication of code 2021-08-16 10:31:11 +02:00
Zeegaan
3c4cefb17d Removed VariationContextAccessor from IUmbracoContext 2021-08-16 08:43:13 +02:00
Chad Currie
9457d73499 Avoid mixing using of string interpolation and string formatting. MessageFormat parameter is cached and should be a constant string. 2021-08-15 18:51:26 +12:00
Chad Currie
f934780300 Process requires disposal 2021-08-15 18:38:17 +12:00
Bjarne Fyrstenborg
6eec481672 Allow Eye Dropper to be used as macro parameter editor 2021-08-13 16:35:10 +02:00
Bjarne Fyrstenborg
88761b34d4 Add Eye Dropper property value converter 2021-08-13 16:34:38 +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
Bjarke Berg
40b9109f65 Merge pull request #10834 from umbraco/v9/remove-system.configuration
V9 Remove System.Configuration
2021-08-12 09:02:48 +02:00
Bjarke Berg
d775de5ddd Fixed issue after merge 2021-08-11 19:38:23 +02:00
Bjarke Berg
2baa1abfc4 Merge remote-tracking branch 'origin/v8/8.16' into v9/feature/merge_v8_11082021
# Conflicts:
#	.github/CONTRIBUTING.md
#	build/NuSpecs/UmbracoCms.Core.nuspec
#	build/NuSpecs/UmbracoCms.Web.nuspec
#	build/NuSpecs/UmbracoCms.nuspec
#	src/SolutionInfo.cs
#	src/Umbraco.Core/Cache/AppCaches.cs
#	src/Umbraco.Core/Cache/AppPolicedCacheDictionary.cs
#	src/Umbraco.Core/Cache/DeepCloneAppCache.cs
#	src/Umbraco.Core/Cache/WebCachingAppCache.cs
#	src/Umbraco.Core/CompositionExtensions.cs
#	src/Umbraco.Core/Models/Identity/BackOfficeIdentityUser.cs
#	src/Umbraco.Core/Models/PropertyGroupCollection.cs
#	src/Umbraco.Core/Models/PropertyTypeCollection.cs
#	src/Umbraco.Core/Persistence/Repositories/Implement/ExternalLoginRepository.cs
#	src/Umbraco.Core/ReadLock.cs
#	src/Umbraco.Core/Routing/SiteDomainMapper.cs
#	src/Umbraco.Core/UpgradeableReadLock.cs
#	src/Umbraco.Core/WriteLock.cs
#	src/Umbraco.Examine/ExamineExtensions.cs
#	src/Umbraco.Infrastructure/Examine/UmbracoFieldDefinitionCollection.cs
#	src/Umbraco.Infrastructure/Persistence/Dtos/ContentTypeDto.cs
#	src/Umbraco.Infrastructure/Persistence/Dtos/DictionaryDto.cs
#	src/Umbraco.Infrastructure/Persistence/Repositories/Implement/MemberGroupRepository.cs
#	src/Umbraco.Infrastructure/Persistence/Repositories/Implement/TemplateRepository.cs
#	src/Umbraco.Infrastructure/Persistence/Repositories/Implement/UserRepository.cs
#	src/Umbraco.Infrastructure/Services/IdKeyMap.cs
#	src/Umbraco.Infrastructure/Services/Implement/ContentService.cs
#	src/Umbraco.ModelsBuilder.Embedded/PureLiveModelFactory.cs
#	src/Umbraco.Tests/App.config
#	src/Umbraco.Web.BackOffice/Controllers/EntityController.cs
#	src/Umbraco.Web.UI.Client/package.json
#	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.Web.UI.csproj
#	src/Umbraco.Web.UI/Umbraco/config/lang/cy.xml
#	src/Umbraco.Web.UI/web.Template.config
#	src/Umbraco.Web/CacheHelperExtensions.cs
#	src/Umbraco.Web/Editors/RelationTypeController.cs
#	src/Umbraco.Web/Logging/WebProfilerProvider.cs
#	src/Umbraco.Web/Models/Mapping/MemberMapDefinition.cs
#	src/Umbraco.Web/PublishedCache/NuCache/MemberCache.cs
#	src/Umbraco.Web/Routing/ContentFinderByConfigured404.cs
#	src/Umbraco.Web/Routing/NotFoundHandlerHelper.cs
#	src/Umbraco.Web/Security/BackOfficeUserManager.cs
#	src/Umbraco.Web/Umbraco.Web.csproj
2021-08-11 19:11:35 +02:00
Andy Butland
902984f977 Added unit tests for CropWebProcessor and ImageCropperTemplateCoreExtensions. 2021-08-11 17:18:23 +02:00
Warren Buckley
9112963224 Remove System.Configuration.ConfigurationManager 2021-08-11 13:25:13 +01:00
Zeegaan
c07fe97edd Merge remote-tracking branch 'origin/v9/dev' into v9/bugfix/Refractor_UmbracoContextAccessor 2021-08-11 14:01:00 +02:00
Zeegaan
c3bac00f6e Fixed 11 more classes with new TryGetUmbracoContext 2021-08-11 12:17:35 +02:00
Warren Buckley
558352e3ac Merge pull request #10823 from umbraco/v9/feature/package_export_and_import_both_xml_and_zip
V9: Package export and import both xml and zip
2021-08-11 11:10:28 +01:00
Ronald Barendse
01559ede97 Only support crop coordinates in CropWebProcessor 2021-08-10 23:55:37 +02:00
Bjarke Berg
d520be52bc Merge pull request #10721 from umbraco/v9/bugfix/external-login-changes
external login changes/enhancements
2021-08-10 20:04:20 +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
Elitsa Marinovska
20a40ce001 New migration for dropping existing indexes in the dictionary tables and re-creating the new ones. Silently log in case the migration fails - due to duplicate records 2021-08-10 17:47:48 +03:00
Elitsa Marinovska
2362b9479b Update DictionaryDto and LanguageTextDto to have unique indexes. 2021-08-10 15:44:19 +03:00
Ronald Barendse
0753353cf7 Remove obsolete/unused properties and parameters 2021-08-10 13:36:50 +02:00
Warren Buckley
73daca339e Adds in System.Configuration.ConfigurationManager that the Serilog package had a dependacy on 2021-08-10 11:45:53 +01:00
Zeegaan
e9908e341f fixed RedirectTrackingHandler to implement new version of IPublishedSnapshot 2021-08-10 12:25:56 +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
Warren Buckley
66194fe553 Remove unused usings 2021-08-10 10:19:29 +01:00
Warren Buckley
b82047ce00 Fix build & remove this constructor where you could pass in a custom filepath to read the XML settings from 2021-08-10 10:19:13 +01:00
Warren Buckley
2b36538b71 Uninstall OLD Serilog package that read config from XML values we use Serilog.Settings.Configuration instead now 2021-08-10 10:18:33 +01:00
Zeegaan
f3db706808 merged v9/dev into this branch 2021-08-10 11:15:23 +02:00
Zeegaan
5d264fefdb Added a null check to IUmbracoHelperAccessor & IPublishedSnapshotAccessor 2021-08-10 10:55:29 +02:00
Bjarke Berg
3ac5004d09 Fixed issue:
Did not load media items if the folder was still there but the nested media was deleted/missing

## Testcase:
Add folder to media..

add multiple images into the folder

Create package with the folder and include decendents

Remove one of the items inside the folder + empty recycle bin

Install the package  - Now the missing item is still added (it was not before)
2021-08-10 10:52:26 +02:00
Ronald Barendse
50d8e74b5b Obsolete unsupported image URL generation options and update ImageSharp implementation 2021-08-10 10:26:02 +02:00
Shannon
ab84490535 Fixes email sending notifications so they are checked if they are handled. 2021-08-09 13:42:08 -06:00
Bjarke Berg
2a3ac1961d Temp commit 2021-08-09 06:28:26 +02:00
Shannon
afb952fa38 Needs a null check so it doesn't explode when saving content during a migration. 2021-08-06 15:54:50 -06:00