Zeegaan
c94ee7c1ec
Fix up wierd formatting
2022-07-05 12:40:33 +02:00
Zeegaan
ac6666e627
Fix breaking changes
2022-07-05 11:27:49 +02:00
Zeegaan
fa1be5c55d
Fix wrong resolve of merge-conflict
2022-07-05 08:48:07 +02:00
Zeegaan
1993424264
Merge branch 'v10/dev' into v10/feature/variant-permissions
2022-07-04 14:43:09 +02:00
Mole
3cfeac94a4
V10: Fix error when opening recycle bin ( #12619 )
...
* Make object type parameter nullable in configuration editor
* Add delete from recycle bin test
* Clean up after test
2022-06-27 14:41:59 +02:00
Zeegaan
fbfe93b2e0
Fix bug related to invariant content
2022-06-22 15:21:12 +02:00
Zeegaan
d4f1d3f680
Add SupportReadOnlyMode to editor
2022-06-22 15:08:44 +02:00
Zeegaan
c552008870
Add supportsReadOnlyMode to ContentPropertyDisplay.cs
2022-06-22 11:31:58 +02:00
Nikolaj Geisle
7789f86b72
Add SupportsReadOnlyMode to package manifest
2022-06-21 12:30:41 +02:00
Mole
045a487190
V10: Fix sending content notification ( #12597 )
...
* Add mappers to map between ContentItemDisplay and ContentItemDisplayWithSchedule
* Ensure SendingContentNotification is always sent
* Add custom setup hook for UmbracoTestServerTestBase
* Add test showing bug/fix
* Test schedule being mapped correctly
* Obsolete the old constructor
* Removed TODO
2022-06-21 11:44:28 +02:00
Nikolaj Geisle
9d912ea98a
Add integration tests
2022-06-21 11:04:57 +02:00
Nikolaj Geisle
c283cc498f
Start work on integration tests
2022-06-21 08:45:33 +02:00
Nikolaj Geisle
8ab5aa1a41
Fix formatting
2022-06-21 08:45:24 +02:00
Zeegaan
6c893a1bd1
Implement extension method for IReadOnlyUserGroup that checks access to a language
2022-06-20 14:52:04 +02:00
Zeegaan
bc2eb5a784
Fix up after merge
2022-06-20 14:12:33 +02:00
Zeegaan
0288e3d6a9
Merge remote-tracking branch 'origin/v10/dev' into v10/feature/variant-permissions
...
# Conflicts:
# src/Umbraco.Core/Configuration/Models/SecuritySettings.cs
# src/Umbraco.Core/DependencyInjection/UmbracoBuilder.cs
# src/Umbraco.Core/Models/ContentEditing/ContentVariationDisplay.cs
# src/Umbraco.Core/Models/ContentEditing/UserGroupBasic.cs
# src/Umbraco.Core/Models/ContentEditing/UserGroupSave.cs
# src/Umbraco.Core/Models/ContentRepositoryExtensions.cs
# src/Umbraco.Core/Models/CultureImpact.cs
# src/Umbraco.Core/Models/Mapping/ContentVariantMapper.cs
# src/Umbraco.Core/Models/Mapping/UserMapDefinition.cs
# src/Umbraco.Core/Models/Membership/IReadOnlyUserGroup.cs
# src/Umbraco.Core/Models/Membership/IUserGroup.cs
# src/Umbraco.Core/Models/Membership/ReadOnlyUserGroup.cs
# src/Umbraco.Core/Models/Membership/UserGroup.cs
# src/Umbraco.Core/Models/Membership/UserGroupExtensions.cs
# src/Umbraco.Core/Persistence/Constants-DatabaseSchema.cs
# src/Umbraco.Core/Services/ContentService.cs
# src/Umbraco.Infrastructure/Migrations/Install/DatabaseSchemaCreator.cs
# src/Umbraco.Infrastructure/Migrations/Upgrade/UmbracoPlan.cs
# src/Umbraco.Infrastructure/Persistence/Dtos/UserGroupDto.cs
# src/Umbraco.Infrastructure/Persistence/Factories/UserFactory.cs
# src/Umbraco.Infrastructure/Persistence/Factories/UserGroupFactory.cs
# src/Umbraco.Infrastructure/Persistence/Repositories/Implement/UserGroupRepository.cs
# src/Umbraco.Infrastructure/Persistence/Repositories/Implement/UserRepository.cs
# src/Umbraco.Web.BackOffice/Controllers/BackOfficeServerVariables.cs
# src/Umbraco.Web.BackOffice/Controllers/ContentController.cs
# src/Umbraco.Web.BackOffice/Filters/ContentSaveValidationAttribute.cs
# src/Umbraco.Web.BackOffice/Mapping/ContentMapDefinition.cs
# src/Umbraco.Web.UI.Client/src/common/services/editor.service.js
2022-06-20 13:59:18 +02:00
Mole
8ffede0441
V10: merge release branch 20220620 ( #12590 )
...
* Add Umbraco specific global usings
* Enable implicit usings
* v10: Wait for updated ConnectionStrings during install (#12536 )
* Do not change/reload configuration
* Wait for updated connection string options
* recase assigndomain (#12448 )
* Add depth property to ICoreScope (#12540 )
* Remove ambient scope stack from httpcontext.items. (#12539 )
This change makes it easier to use service calls in parallel whilst
a httpcontext is available.
* v10: Prefer SQLite primitive types to flexible types (#12541 )
* Prefer SQLite primitive types to flexible types.
* SQLite - column mappings use TEXT for decimals
Thanks @mattbrailsford for sense check.
* Fix issue where languages files are not found in subdir of package dir (#12543 )
* Make FindContent return type nullable (#12545 )
* Updated nuget dependencies (07-06-2022) (#12525 )
* Updated nuget dependencies
* Move Nerdbank.GitVersioning update to Directory.Build.props
* Updated more dependencies
* Improve FlagOutOfDateModels property behaviour.
(cherry picked from commit 54077725c373495fce0d3fbc5cdb6469aad3b676)
* Fix logic error WRT models builder flag out of date models. (#12548 )
(cherry picked from commit 6b0149803a879d1c6902a5f61d1f2e9dc8545aac)
* Fixed issue with expected null value. (#12550 )
Fixes https://github.com/umbraco/Umbraco-CMS/issues/12526
* Updated Examine to 3.0.0
* Fixes relation issue, when moving a root item to recycle bin, the "Relate Parent Media Folder On Delete"/"Relate Parent Document On Delete" cannot get the parent node type, because it is a fake root.
* Fix possible null error
* Bump version to 10.0.0 final
* Fix attempting to write lock files to LocalTempPath before it exists (#12563 )
* Re fix usage statements
Co-authored-by: Ronald Barendse <ronald@barend.se >
Co-authored-by: Nikolaj Geisle <70372949+Zeegaan@users.noreply.github.com >
Co-authored-by: Paul Johnson <pmj@umbraco.com >
Co-authored-by: Bjarke Berg <mail@bergmania.dk >
2022-06-20 09:20:47 +02:00
Johannes Lantz
d42a695e8a
Added dictionary import/export ( #12378 )
...
* Added dictionary import/export
* Added umb tree to dictionary import & level for displaying preview dictionary import
* Indented dictionaries for import, added new text for choosing where to import dictionary items
* Removed console.log for dictionary/import.controller.js
Co-authored-by: Michael <michael@crossingpaths.be >
2022-06-17 09:21:01 +01:00
Nikolaj Geisle
60a5b19dc9
V10: Fix build warnings in core ( #12438 )
...
* Run code cleanup
* Start manual cleanup after dotnet format
* Finish up manual pass
* Fix up missed warnings
* Fix after merge
* Update src/Umbraco.Core/Cache/ContentTypeCacheRefresher.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Core/Cache/DataTypeCacheRefresher.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Core/Cache/DeepCloneAppCache.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Core/Cache/DomainCacheRefresher.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Core/Cache/FastDictionaryAppCacheBase.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Core/Cache/FastDictionaryAppCacheBase.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Core/Cache/FastDictionaryAppCacheBase.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Core/Cache/FastDictionaryAppCacheBase.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Core/Cache/FastDictionaryAppCacheBase.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Core/Cache/MacroCacheRefresher.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Core/Cache/MediaCacheRefresher.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Core/Cache/MemberCacheRefresher.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Core/Cache/MemberGroupCacheRefresher.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Core/Composing/OrderedCollectionBuilderBase.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Core/Configuration/Models/RequestHandlerSettings.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Core/Composing/SetCollectionBuilderBase.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Core/Composing/WeightedCollectionBuilderBase.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Core/ContentApps/ContentAppFactoryCollectionBuilder.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Core/Dashboards/DashboardCollectionBuilder.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Core/Extensions/StringExtensions.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Core/Extensions/StringExtensions.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Core/Extensions/StringExtensions.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Core/Extensions/StringExtensions.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Core/Extensions/StringExtensions.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Core/Extensions/StringExtensions.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Core/Extensions/StringExtensions.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Core/Notifications/ContentTypeRefreshedNotification.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Core/Notifications/ContentTypeSavedNotification.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Core/Notifications/ContentTypeSavingNotification.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Core/Notifications/DictionaryCacheRefresherNotification.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Core/Notifications/DataTypeCacheRefresherNotification.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Core/Notifications/ContentUnpublishingNotification.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Core/Notifications/DictionaryItemDeletingNotification.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Core/Notifications/DictionaryItemSavedNotification.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Core/Notifications/DictionaryItemSavingNotification.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Core/Notifications/DomainCacheRefresherNotification.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Core/Notifications/LanguageCacheRefresherNotification.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Core/Notifications/MacroCacheRefresherNotification.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Core/Notifications/MediaCacheRefresherNotification.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Core/Notifications/MediaEmptiedRecycleBinNotification.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Core/Notifications/MediaEmptyingRecycleBinNotification.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Core/Notifications/MediaMovedNotification.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Core/Notifications/MediaMovedToRecycleBinNotification.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Core/Extensions/StringExtensions.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Core/Extensions/StringExtensions.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Core/Extensions/StringExtensions.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Core/Extensions/StringExtensions.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Core/Extensions/StringExtensions.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Core/Extensions/StringExtensions.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Core/Notifications/MediaMovedToRecycleBinNotification.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Core/Notifications/MediaMovingNotification.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Core/Notifications/MediaMovingToRecycleBinNotification.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Core/Notifications/MediaTreeChangeNotification.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Core/Notifications/MediaTreeChangeNotification.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Core/Notifications/MediaTypeChangedNotification.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Core/Notifications/MediaTypeDeletingNotification.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Core/Notifications/MediaTypeMovedNotification.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Core/Notifications/MediaTypeMovingNotification.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Core/Notifications/MediaTypeMovingNotification.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Core/Notifications/MediaTypeRefreshedNotification.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Core/Notifications/MemberCacheRefresherNotification.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Core/Notifications/MemberGroupCacheRefresherNotification.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Core/Notifications/MemberGroupDeletingNotification.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Core/Notifications/MemberGroupSavedNotification.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Core/Notifications/MemberGroupSavingNotification.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Core/Notifications/MemberTypeChangedNotification.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Core/Notifications/MemberTypeDeletedNotification.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Core/Notifications/MemberTypeDeletingNotification.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Core/Notifications/MemberTypeMovedNotification.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Core/Notifications/MemberTypeMovedNotification.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Core/Notifications/MemberTypeMovingNotification.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Core/Notifications/MemberTypeMovingNotification.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Core/Notifications/MemberTypeRefreshedNotification.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Core/Notifications/MemberTypeSavingNotification.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Core/Extensions/StringExtensions.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Core/Extensions/UriExtensions.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Core/Notifications/MovedToRecycleBinNotification.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Core/Notifications/MovedToRecycleBinNotification.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Core/Notifications/MovingToRecycleBinNotification.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Core/Notifications/MovingToRecycleBinNotification.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Core/Notifications/PartialViewDeletingNotification.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Core/Extensions/UriExtensions.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Core/IO/PhysicalFileSystem.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Core/IO/PhysicalFileSystem.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Core/IO/ShadowWrapper.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Core/Logging/DisposableTimer.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Core/Install/InstallSteps/UpgradeStep.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Core/Mapping/MapDefinitionCollectionBuilder.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Core/Media/EmbedProviders/EmbedProvidersCollectionBuilder.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Core/Notifications/PartialViewSavedNotification.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Core/Models/ContentEditing/ContentVariationDisplay.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Core/Notifications/PartialViewSavingNotification.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Core/Notifications/PublicAccessCacheRefresherNotification.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Core/Notifications/PublicAccessEntryDeletedNotification.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Core/Notifications/PublicAccessEntryDeletingNotification.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Core/Notifications/PublicAccessEntryDeletingNotification.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Core/Notifications/PublicAccessEntrySavedNotification.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Core/Notifications/PublicAccessEntrySavingNotification.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Core/Notifications/PublicAccessEntrySavingNotification.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Core/Notifications/RelationTypeCacheRefresherNotification.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Core/Notifications/RelationTypeDeletingNotification.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Core/Notifications/RelationTypeSavedNotification.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Core/Notifications/RelationTypeSavingNotification.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Core/Notifications/StatefulNotification.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Core/Notifications/StylesheetDeletingNotification.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Core/Notifications/StylesheetSavingNotification.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Core/Models/DeepCloneHelper.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Core/Models/File.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Core/Models/PropertyGroupExtensions.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Core/Models/PropertyGroupExtensions.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Fix based on review
* Fix after merge
Signed-off-by: Zeegaan <nge@umbraco.dk >
Co-authored-by: Nikolaj Geisle <niko737@edu.ucl.dk >
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
Co-authored-by: Zeegaan <nge@umbraco.dk >
2022-06-07 15:28:38 +02:00
Nikolaj Geisle
b4fbad14c7
V11: cleanup obsoletes ( #12481 )
...
* Remove IExternalLoginService.cs
* Remove UmbracoApplicationComponentsInstallingNotification.cs
* Remove UmbracoApplicationMainDomAcquiredNotification.cs
* Merge IContentTypeWithHistoryCleanup with IContentType.cs
* Remove obsolete ctors from notifications
* Remove obsolete methods
* Remove obsolete method from RequestHandlerSettings.cs
* Fix UmbracoBuilder.Repositories.cs
* RemoveRemove obsolete constants
* Remove obsolete method from IRuntimeMinifier
* Remove SetLastLogin from IMemberRepository
* Revert "RemoveRemove obsolete constants"
This reverts commit cddb8ad1cf3d02bd9949d52bed91b45c8d2d66a9.
* Remove obsoleted Constants-Conventions.cs
* Remove obsolete ctors
* Make ContentData properties immutable
* remove obsolete static property from TestOptionAttributeBase
* Merge IMacroWithAliasService into IMacroService
* Remove IUserComposer
* remove obsolete AddOEmbedProvider method
* remove obsolete static EmbedProvidersCollectionBuilder
* remove obsolete HasFlagAll<T> method
* Remove obsolete LocalizedTextService property from BaseHttpHeaderCheck
* Remove obsolete GetDefaultFIleContent method from ViewHelper
* Remove more obsolete ctors and methods
* Remove obsolete ctor from RelationType
* Remove more obsolete methods
* Remove IExternalLoginRepository
* merge IMacroWithAliasRepository with IMacroRepository
* Remove obsolete methods from ExternalLoginRepository
* Remove obsolete method from IUserRepository
* Remove obsolete SetLastLogin, as it was NoOp
* Remove wierd SetLastLogin method from UserService
* Remove GetLogLevel from ILogViewer
* Remove more obsolete methods and ctors
* Remove more obsoletes
* Use other method in BackOfficeServerVariables.cs since GetAllTypes is now removed
* Remove obsolete ctor
* Remove ConfigureIISServerOptions
* Remove more obsolete methods
* Merge ITwoFactorLoginService2 with ITwoFactorLoginService
* Re-introduce GetCustomGenericProperties in MemberTabsAndPropertiesMapper.cs
Co-authored-by: Nikolaj Geisle <niko737@edu.ucl.dk >
2022-06-07 11:16:30 +02:00
Mads Rasmussen
971f0d7984
Feature: Configure Data Type conversion ( #12374 )
...
Co-authored-by: Elitsa Marinovska <21998037+elit0451@users.noreply.github.com >
Co-authored-by: nikolajlauridsen <nikolajlauridsen@protonmail.ch >
Co-authored-by: Elitsa Marinovska <elm@umbraco.dk >
Co-authored-by: Niels Lyngsø <niels.lyngso@gmail.com >
2022-05-24 09:01:32 +02:00
Nikolaj Geisle
9719f8ac56
Revert "Merge IContentTypeWithHistoryCleanup with IContentType.cs"
...
This reverts commit 94eb49cdb6 .
2022-05-23 10:33:02 +02:00
Nikolaj Geisle
94eb49cdb6
Merge IContentTypeWithHistoryCleanup with IContentType.cs
2022-05-23 10:30:03 +02:00
Bjarne Fyrstenborg
9fce9e05c7
Menu action icons ( #12418 )
...
* Fix icon for export member
* Add missing start summary tag
* Formatting
2022-05-18 08:50:30 +10:00
Bjarne Fyrstenborg
d051f850eb
Support SVG icon in action menu ( #12403 )
...
* Support custom SVG icon in menu item with legacy support
* Update menu icons
* Update action icons
* Adjust icons in menu actions with legacy fallback
* Don't use legacy icon
* Update comments
2022-05-17 07:50:19 +10:00
Nikolaj Geisle
4d68820879
Handle if securitySettings is set
2022-05-16 14:08:21 +02:00
Nikolaj Geisle
27421cef2a
Handle invariant permissions
2022-05-16 14:00:13 +02:00
Nikolaj Geisle
2ad73d4c47
Fix proper mapping instead of duplicated code
2022-05-16 13:23:54 +02:00
Nikolaj Geisle
cc450bef8a
Fix invariant-variant returning all actions
2022-05-16 13:10:03 +02:00
Nikolaj Geisle
6de8a81aa0
Fix invariant content
2022-05-16 09:56:18 +02:00
Mole
3f0ff6a752
Publish invariant properties ( #12386 )
...
* Publish invariants from non default
* Add culture impact service
* Use the new culture impact service instead of newing up culture impacts
* Only publish invariant properties on non-defaults with invariant culture
Essentially we want to be able to fall back to the default culture for the variant properties if a document type is made invariant, not whatever culture was published last.
* Move creation logic into the service
* Make creation method names consistent
* Fix tests
We compare the cultures directly, so they have to be the same object instance unfortunately
* Add test for the new setting
* Add new config to server variables
* Fix test setup
* Apply suggestions from code review
Co-authored-by: Nikolaj Geisle <70372949+Zeegaan@users.noreply.github.com >
Co-authored-by: Nikolaj Geisle <70372949+Zeegaan@users.noreply.github.com >
2022-05-12 12:41:51 +02:00
Nikolaj Geisle
1810b7a744
Change allowedactions
2022-05-11 13:34:35 +02:00
Nikolaj Geisle
e839e09680
Finish default granular permissions for languages
2022-05-11 12:55:42 +02:00
Nikolaj Geisle
e270f90296
Add granular permission to variants
2022-05-11 12:31:51 +02:00
Nikolaj Geisle
3bbfc427fc
Fix breaking change in mapping
2022-05-10 12:37:52 +02:00
Nikolaj Geisle
52f17cd25f
Remove defaulting to return all languages
2022-05-10 12:33:09 +02:00
Nikolaj Geisle
5c2b0121ba
Create new table in database for usergroup languages
2022-05-10 11:03:31 +02:00
Nikolaj Geisle
a5df4f169b
Fix test error
2022-05-09 13:35:23 +02:00
Mads Rasmussen
4ba094ff75
Merge branch 'v10/dev' into v10/feature/variant-permissions
2022-05-09 11:08:04 +02:00
Andy Butland
63b77b7743
Further NRT amends ( #12363 )
...
* Amended nullability of base Deploy classes.
* Ensured ContentItemDisplay.Variants is non-nullable.
* Set IArtifactSignature.Dependencies to be non-nullable.
* Update template collection retrieval to be non-nullable.
* IMediaService.GetRootMedia to be non-nullable.
* Non-nullable collection for IMemberService.GetMembersByMemberType.
* Non-nullable collection for member role retrieval.
* Non-nullable collection for root dictionary items.
* Non-nullable collection for child dictionary items.
* Applied suggestions from code review
Co-authored-by: Nikolaj Geisle <70372949+Zeegaan@users.noreply.github.com >
* Remove extra dot
Co-authored-by: Nikolaj Geisle <70372949+Zeegaan@users.noreply.github.com >
Co-authored-by: Nikolaj Geisle <niko737@edu.ucl.dk >
2022-05-06 10:13:58 +02:00
Bjarke Berg
daac1a4bac
Merge remote-tracking branch 'origin/v10/contrib' into v10/dev
...
# Conflicts:
# src/Umbraco.Web.UI.Client/package-lock.json
2022-05-03 21:17:10 +02:00
Chad
9f4ff0a398
async tree search ( #12344 )
2022-05-03 21:13:27 +02:00
Ronald Barendse
23072a500c
v10: Fix Block List settings exception and optimize PVCs ( #12342 )
...
* Don't use MapModelType to get model type
* Optimize block list item activation (cache constructors)
* Fix exceptions in NestedContentSingleValueConverter (zero content types or multiple stored items)
* Add IPublishedModelFactory.GetModelType method to remove work-around
2022-05-03 19:23:15 +02:00
Ronald Barendse
f00bfc408e
v10: Make language name editable ( #12243 )
...
* Update language models to get and set manual name
* Save custom language name in controller
* Rewrite AngularJS language edit view and controller
* Cleanup language overview
* Remove icon from language overview
* Make styling of control group the same as properties
* Ensure both ISO code and culture name are set in language model
* Use new language model constructor
* Update tests to use new language constructor
* Update culture name in dictionary package export
* Use language name in dictionary
* Fix language nullability issues
* Cleanup GetAllCultures and added null checks
* Re-add obsolete constructors
* Make language name required and update Cypress test
* Fix routing/saveNewLanguages Cypress test
* Make language name optional (improved backwards compatibility)
Co-authored-by: Ronald Barendse <ronald@panoramastudios.nl >
2022-05-02 15:42:19 +02:00
Andy Butland
96d33201aa
Few more NRT tweaks ( #12323 )
...
* Amended GetAll() on IDataTypeService to return an empty collection rather than null.
* Added a ClearSessionValue method to ISessionManager (given you can no longer set a value to null).
* Allow for null values in a StatefulNotification.
* Removed obsoletion of synchronous messages on TreeControllerBase.
* Fixed further CS8620 warnings in core project.
* Further fix to nullable warning.
* Aligned nullablility of retreiving tree nodes and menus, synchronously or asynchronously (such that we no longer can get null values, always empty collection objects).
2022-05-01 08:18:09 +02:00
Ronald Barendse
1a82e0854a
v10: Update to ImageSharp v2 ( #12185 )
...
* Update to ImageSharp 2.1.0 and ImageSharp.Web 2.0.0-alpha.0.23
* Rename CachedNameLength to CacheHashLength and add CacheFolderDepth setting
* Replace PhysicalFileSystemProvider with WebRootImageProvider
* Support EXIF-orientation in image dimention extractor
* Remove virtual methods on FileProviderImageProvider
* Simplify FileInfoImageResolver
* Update to SixLabors.ImageSharp.Web 2.0.0-alpha.0.25 and remove custom providers
* Make CropWebProcessor EXIF orientation-aware
* Improve width/height sanitization
* Also use 'v' as cache buster value
* Add WebP to supported image file types
* Update to SixLabors.ImageSharp.Web 2.0.0-alpha.0.27 and fix test
* Fix rounding error and add test cases
* Update to newest and stable releases
* Move ImageSharpImageUrlGenerator to Umbraco.Web.Common
* Use IConfigureOptions to configure ImageSharp options
* Implement IEquatable on ImageUrlGenerationOptions classes
* Fix empty/null values in image URL generation and corresponding tests
* Use IsSupportedImageFormat extension method
* Remove unneeded reflection
2022-04-29 13:16:24 +02:00
Jacob Overgaard
32a3fb9f60
Merge remote-tracking branch 'origin/v10/dev' into v10/feature/variant-permissions
2022-04-29 09:27:08 +02:00
Jacob Overgaard
f831af207b
add basic structure for languages and allowedLanguages
2022-04-29 09:09:40 +02:00
Andy Butland
b187c89113
Updates to null reference types ( #12317 )
...
* Amended IFileSystem OpenFile to return Stream.Null rather than a nullable stream.
* Updated IUmbracoMapper to map enumerables without null elements given non-null inputs.
* Amended EntityRepositoryBase to not return null collections.
* Made IPublishedElement.Properties a non-nullable collection.
2022-04-29 08:19:34 +02:00
Nikolaj Geisle
83419a30ea
Fix build errors after merging
2022-04-22 12:37:20 +02:00