Bjarke Berg
ef4e2eb511
Renamed service implementations namespace to Core
2021-02-23 12:24:51 +01:00
Mole
405d0e704d
Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/align-infrastructure-namespaces
...
# Conflicts:
# src/Umbraco.Infrastructure/ModelsBuilder/PublishedElementExtensions.cs
# src/Umbraco.Web.Common/ModelsBuilder/DependencyInjection/UmbracoBuilderDependencyInjectionExtensions.cs
# src/Umbraco.Web.Common/ModelsBuilder/ModelsBuilderNotificationHandler.cs
2021-02-22 15:18:04 +01:00
Bjarke Berg
890cd45677
Fix namespace
2021-02-22 10:09:20 +01:00
Mole
bf41c2eeaa
Netcore: Align namespaces ( #9801 )
...
* Rename Umbraco.Core namespace to Umbraco.Cms.Core
* Move extension methods in core project to Umbraco.Extensions
* Move extension methods in core project to Umbraco.Extensions
* Rename Umbraco.Examine namespace to Umbraco.Cms.Examine
* Move examine extensions to Umbraco.Extensions namespace
* Reflect changed namespaces in Builder and fix unit tests
* Adjust namespace in Umbraco.ModelsBuilder.Embedded
* Adjust namespace in Umbraco.Persistence.SqlCe
* Adjust namespace in Umbraco.PublishedCache.NuCache
* Align namespaces in Umbraco.Web.BackOffice
* Align namespaces in Umbraco.Web.Common
* Ensure that SqlCeSupport is still enabled after changing the namespace
* Align namespaces in Umbraco.Web.Website
* Align namespaces in Umbraco.Web.UI.NetCore
* Align namespaces in Umbraco.Tests.Common
* Align namespaces in Umbraco.Tests.UnitTests
* Align namespaces in Umbraco.Tests.Integration
* Fix errors caused by changed namespaces
* Fix integration tests
* Undo the Umbraco.Examine.Lucene namespace change
This breaks integration tests on linux, since the namespace wont exists there because it's only used on windows.
* Fix merge
* Fix Merge
2021-02-18 11:06:02 +01:00
Shannon
7e40a66fed
Fixing tests
2021-02-16 18:04:32 +11:00
Mole
33c8396ad2
Align namespaces in Services to Umbraco.Cms.Infrastructure
2021-02-15 12:51:42 +01:00
Mole
0cc3645146
Align namespaces in Serialization to Umbraco.Cms.Infrastructure
...
This seems like some very Newtonsoft specific things, so I put it infrastructure
2021-02-15 12:42:26 +01:00
Mole
48e1ba2127
Align namespaces in Scoping to Umbraco.Cms.Core
2021-02-15 11:41:12 +01:00
Mole
b17c3158c0
Align namespaces in PropertyEditors to Umbraco.Cms.Core.*
2021-02-15 10:42:35 +01:00
Mole
5bd8e32279
Align namespaces in Persistence
...
Made everything except for repository interface be in the Umbraco.Cms.Infrastructure.Persistence namespace
2021-02-12 13:36:50 +01:00
Mole
7ab0c61284
Align namespaces in Migrations to Umbraco.Cms.Infrastructure
2021-02-12 12:40:08 +01:00
Shannon
996c2b4277
Changes namespace of UmbracoViewPage
2021-02-12 17:23:14 +11:00
Mole
5129326005
Fix integration tests
2021-02-11 15:24:23 +01:00
Mole
d621174f31
Align namespaces in Umbraco.Tests.Integration
2021-02-11 08:30:27 +01:00
Mole
476d60cc50
Align namespaces in Umbraco.Tests.Common
2021-02-10 14:45:44 +01:00
Mole
9dcc901395
Ensure that SqlCeSupport is still enabled after changing the namespace
2021-02-10 13:55:16 +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
Mole
1f6b942af7
Merge pull request #9694 from umbraco/netcore/feature/net5
...
Netcore: Updated to .NET 5
2021-01-28 09:46:07 +01:00
Bjarke Berg
9f2a230e4c
Merge pull request #9717 from umbraco/netcore/feature/migrate-more-tests
...
Netcore: Migrate more tests
2021-01-26 08:24:52 +01:00
Bjarke Berg
5a4a3c760d
Merge remote-tracking branch 'origin/netcore/netcore' into netcore/feature/net5
2021-01-26 08:09:33 +01:00
Bjarke Berg
6f357a771d
Netcore: Replace IUmbracoRequestLifetime with EventAggregator nofitications ( #9711 )
...
* AB#9928 - Replace IUmbracoRequestLifetime with event aggregator
* AB#9928 - Fix issue with profiling, by calling it explicitly in the request middleware
* Longer timeout to avoid flaky test
* Longer timeout to avoid flaky test
Co-authored-by: Elitsa Marinovska <elm@umbraco.dk >
2021-01-26 07:58:11 +01:00
Bjarke Berg
1080d36b8e
Migrated SqlCeSyntaxProviderTests and removed tests that tested the test framework...
2021-01-25 19:22:58 +01:00
Bjarke Berg
ea10d45393
more retrys for extremely flaky test
2021-01-22 08:34:52 +01:00
Bjarke Berg
132c4f7910
Merge remote-tracking branch 'origin/netcore/netcore' into netcore/feature/net5
2021-01-21 09:37:44 +01:00
Bjarke Berg
e38972abf0
Updated to net5.0 and updated most nuget packages. Also fixed the nuspec files. + Fix typo Persistance => Persistence.
2021-01-20 21:01:45 +01:00
berg
d033257aab
Retry flaky tests
2021-01-20 12:50:17 +01:00
Bjarke Berg
a54e10bc13
Merge remote-tracking branch 'origin/v8/dev' into netcore/feature/merge-v8-18-01-2021
...
# Conflicts:
# .gitignore
# build/NuSpecs/UmbracoCms.Core.nuspec
# src/SolutionInfo.cs
# src/Umbraco.Core/Configuration/UmbracoSettings/BackOfficeElement.cs
# src/Umbraco.Core/Configuration/UmbracoSettings/ContentElement.cs
# src/Umbraco.Core/Configuration/UmbracoSettings/IBackOfficeSection.cs
# src/Umbraco.Core/Configuration/UmbracoSettings/IContentSection.cs
# src/Umbraco.Core/IO/SystemFiles.cs
# src/Umbraco.Core/Models/ContentBase.cs
# src/Umbraco.Core/Models/Identity/BackOfficeIdentityUser.cs
# src/Umbraco.Core/Persistence/UmbracoDatabaseExtensions.cs
# src/Umbraco.Core/Runtime/CoreRuntime.cs
# src/Umbraco.Core/RuntimeOptions.cs
# src/Umbraco.Core/RuntimeState.cs
# src/Umbraco.Core/Telemetry/TelemetryMarkerComponent.cs
# src/Umbraco.Core/Telemetry/TelemetryMarkerComposer.cs
# src/Umbraco.Examine/Umbraco.Examine.csproj
# src/Umbraco.Infrastructure/HostedServices/ReportSiteTask.cs
# src/Umbraco.Infrastructure/Install/InstallStepCollection.cs
# src/Umbraco.Infrastructure/Install/InstallSteps/NewInstallStep.cs
# src/Umbraco.Infrastructure/Migrations/Install/DatabaseBuilder.cs
# src/Umbraco.Infrastructure/Migrations/Install/DatabaseSchemaCreator.cs
# src/Umbraco.Infrastructure/Runtime/SqlMainDomLock.cs
# src/Umbraco.Tests.Integration/Umbraco.Infrastructure/Persistence/Repositories/ContentTypeRepositoryTest.cs
# src/Umbraco.Tests/Runtimes/CoreRuntimeTests.cs
# src/Umbraco.Tests/Runtimes/StandaloneTests.cs
# src/Umbraco.Tests/Testing/TestDatabase.cs
# src/Umbraco.Web.BackOffice/Controllers/BackOfficeServerVariables.cs
# src/Umbraco.Web.UI.Client/src/installer/steps/database.controller.js
# src/Umbraco.Web.UI.NetCore/Views/Partials/Grid/Editors/TextString.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/config/umbracoSettings.Release.config
# src/Umbraco.Web/Composing/CompositionExtensions/Installer.cs
# src/Umbraco.Web/Editors/PreviewController.cs
# src/Umbraco.Web/Editors/UsersController.cs
# src/Umbraco.Web/JavaScript/PreviewInitialize.js
# src/Umbraco.Web/Telemetry/TelemetryComponent.cs
# src/Umbraco.Web/UmbracoApplication.cs
2021-01-18 16:06:23 +01:00
Bjarke Berg
6310ca31e3
Merge remote-tracking branch 'origin/netcore/netcore' into feature/clean-up-umbraco-integration-tests
...
# Conflicts:
# src/Umbraco.Tests.Integration/DependencyInjection/UmbracoBuilderExtensions.cs
# src/Umbraco.Tests.Integration/RuntimeTests.cs
# src/Umbraco.Tests.Integration/TestServerTest/UmbracoBuilderExtensions.cs
# src/Umbraco.Tests.Integration/Umbraco.Core/IO/FileSystemsTests.cs
# src/Umbraco.Tests.Integration/Umbraco.Core/Mapping/UmbracoMapperTests.cs
# src/Umbraco.Tests.Integration/Umbraco.Infrastructure/Scoping/ScopedRepositoryTests.cs
# src/Umbraco.Tests.Integration/Umbraco.Infrastructure/Services/ContentServiceTests.cs
2021-01-18 07:34:59 +01:00
Bjarke Berg
e66ccc536d
Netcore: Migrate more tests ( #9621 )
...
* AB8828 - Migrated ShadowFileSystemTests.cs
Note that the underlying behavior of Directory.EnumerateFiles is changed when search pattern is "". "" is not handled like "*" in netcore.
* AB8828 - Migrated ScopeEventDispatcherTests.cs
* AB8828 - Migrated DistributedCacheBinderTests.cs
* AB8828 - Migrated SchemaValidationTest.cs
* AB8828 - Migrated LocksTests.cs
* AB8828 - Migrated SqlCeTableByTableTest.cs (and renamed to SqlServerTableByTableTest.cs)
* AB8828 - Created DatabaseBuilderTests
* AB8828 - Fix issues with file systems for linux
2021-01-11 09:04:05 +01:00
Andy Butland
cd5f5778ee
Applied linting rules to tests within the Umbraco.Tests.Integration project.
2020-12-24 08:39:18 +01:00
Shannon
ce508d08ec
Merge remote-tracking branch 'origin/netcore/netcore' into netcore/task/front-end-routing
...
# Conflicts:
# src/Umbraco.Tests/PublishedContent/NuCacheChildrenTests.cs
# src/Umbraco.Tests/Testing/UmbracoTestBase.cs
# src/Umbraco.Web.BackOffice/Extensions/BackOfficeApplicationBuilderExtensions.cs
2020-12-16 16:18:10 +11:00
Paul Johnson
ae98983172
Fix PathTests
2020-12-11 16:53:31 +00:00
Shannon
4b85f8eb20
Big refactor or PublishedSnapshotService to split up so that there's a service and repository responsible for the data querying and persistence
2020-12-09 22:43:49 +11:00
Nikolaj
7ef6501bb1
Merge remote-tracking branch 'origin/netcore/netcore' into netcore/feature/more-files-from-infrastructure-to-core
...
# Conflicts:
# src/Umbraco.Tests.UnitTests/Umbraco.Core/PropertyEditors/ConvertersTests.cs
2020-12-09 08:45:28 +01:00
Shannon
7e4a6421d6
Merge remote-tracking branch 'origin/netcore/netcore' into netcore/netcore
2020-12-08 10:21:07 +11:00
Shannon
f16b8e705a
reduce dependencies in PublishedSnapshotService, more linting
2020-12-08 10:20:03 +11:00
Bjarke Berg
e7d9d38c52
Merge remote-tracking branch 'origin/netcore/netcore' into netcore/feature/more-files-from-infrastructure-to-core
...
# Conflicts:
# src/Umbraco.Infrastructure/Install/InstallSteps/NewInstallStep.cs
# src/Umbraco.Tests.Common/Builders/DataEditorBuilder.cs
# src/Umbraco.Tests.Common/Builders/DataValueEditorBuilder.cs
2020-12-07 12:55:47 +01:00
Bjarke Berg
5dbddfffc5
Merge remote-tracking branch 'origin/v8/dev' into netcore/netcore
...
# Conflicts:
# .gitignore
# src/SolutionInfo.cs
# src/Umbraco.Core/Models/PropertyType.cs
# src/Umbraco.Infrastructure/Migrations/Upgrade/UmbracoPlan.cs
# src/Umbraco.Infrastructure/PropertyEditors/BlockEditorPropertyEditor.cs
# src/Umbraco.Tests.Integration/Umbraco.Core/Mapping/ContentTypeModelMappingTests.cs
# src/Umbraco.Tests/TestHelpers/Entities/MockedContentTypes.cs
# 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
2020-12-07 12:31:26 +01:00
Bjarke Berg
fb18317c0f
Moved lots of property editors into core
2020-12-04 19:01:52 +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
6ce8e55210
Removed check for ValidateStylesheet while file systems don't support both web and content root
...
Signed-off-by: Bjarke Berg <mail@bergmania.dk >
2020-11-27 22:11:51 +01:00
Bjarke Berg
41bdfd940c
Add temp logging, to debug azure pipeline
...
Signed-off-by: Bjarke Berg <mail@bergmania.dk >
2020-11-27 20:34:48 +01:00
Bjarke Berg
f9c51930f7
Add temp logging, to debug azure pipeline
...
Signed-off-by: Bjarke Berg <mail@bergmania.dk >
2020-11-27 19:39:43 +01:00
Bjarke Berg
b9173ef6bb
Removed wrong ctor from PhysicalFileSystem
...
Signed-off-by: Bjarke Berg <mail@bergmania.dk >
2020-11-27 09:00:50 +01:00
Bjarke Berg
064dbd2f67
Fixed tests
...
Signed-off-by: Bjarke Berg <mail@bergmania.dk >
2020-11-26 15:15:53 +01:00
Paul Johnson
61a4f3f6c6
Always boot for RelationRepository tests
...
If we don't boot tests can fail based on the point at which IPublishedSnapshotService is first resolved.
At runtime it is resolved by the NuCacheComponent as soon as CoreRuntime is resolved during UseUmbracoCore.
By doing this the integration tests match the real application lifecycle.
2020-11-24 12:03:10 +00:00
Paul Johnson
5268f9d7f0
Resolve review comments
2020-11-24 09:37:52 +00:00
Paul Johnson
4520b2ab21
Fix for failing test RelationRepositoryTests.Get_Paged_Child_Entities_By_Parent_Id
2020-11-20 09:44:49 +00:00
Paul Johnson
aec25d5007
Replace Composition with UmbracoBuilder
2020-11-18 17:41:57 +00:00