Commit Graph

36901 Commits

Author SHA1 Message Date
Shannon
307ef4c1e0 Removes IBatchedDatabaseServerMessenger, renames methods of IServerMessenger 2020-12-24 14:44:42 +11: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
1328ca3cee Merge remote-tracking branch 'origin/netcore/netcore' into netcore/task/dist-cache-cleanup 2020-12-24 11:46:51 +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
Shannon Deminick
2dc72ea323 Merge pull request #9589 from umbraco/netcore/task/9779-publishedsnapshot-slight-cleanup
Some IPublishedSnapshotService (etc) cleanup based on TODOs
2020-12-24 10:52:54 +11:00
Shannon
f55ace434b Merge branch 'netcore/task/9779-publishedsnapshot-slight-cleanup' into netcore/task/dist-cache-cleanup 2020-12-24 09:57:47 +11:00
Shannon
2798f31c67 fixes test 2020-12-24 09:56:31 +11:00
Shannon
b20ce5a92e A bunch of cleanup for DI namespaces, ext methods and dist cache classes 2020-12-24 09:50:05 +11:00
Shannon
a70951b382 Fixes (hopefully last) tests 2020-12-23 14:28:03 +11:00
Shannon
544753112e fixing more tests by enabling nucache explicitly where required 2020-12-23 14:02:05 +11:00
Shannon
534b74dda5 Changes CustomTestSetup to just be a normal method, not sure why it was an action, fixes ContentEventsTests which requires NuCache 2020-12-23 13:57:41 +11:00
Shannon
d5a19530f3 Fixing tests, more DependencyInjection namespace 2020-12-23 13:06:22 +11:00
Shannon
e8379d6c77 oops, trying to fix build 2020-12-23 12:27:47 +11:00
Shannon
696dd0b8dc removes partial keyword 2020-12-23 12:11:38 +11:00
Shannon
e62edc7bef missing file 2020-12-23 12:02:23 +11:00
Shannon
7115e0a11e shuffles code with DependencyInjection namespace, forgot to commit changes to Startup 2020-12-23 12:02:01 +11:00
Shannon
ac7fac8f56 Merge remote-tracking branch 'origin/netcore/netcore' into netcore/task/9779-publishedsnapshot-slight-cleanup 2020-12-23 11:12:55 +11:00
Shannon Deminick
f47154bbc7 Merge pull request #9586 from rustybox/netcore/feature/remove-notifcation-handler-lifetime-hack
Netcore: Remove NotificationHandler lifetime hack
2020-12-23 11:12:20 +11:00
Shannon
ce5cdad376 separates classes to files 2020-12-23 11:02:50 +11:00
Shannon
674b61a7f9 small cleanup of DisposableObjectSlim 2020-12-23 11:00:37 +11:00
Shannon
0c645a99bd Makes PublishedSnapshotStatus status code more human readable, fixes ModelBinding ns 2020-12-23 10:45:52 +11:00
Shannon Deminick
aa3c69d759 Merge pull request #9591 from AndyButland/feature/clean-up-umbraco-tests-unittests
NetCore: Code clean-up (Umbraco.Tests.UnitTests)
2020-12-23 10:08:38 +11:00
Andy Butland
6bf38e624c Merge branch 'netcore/netcore' into feature/clean-up-umbraco-tests-unittests
# Conflicts:
#	src/Umbraco.Tests.UnitTests/Umbraco.Core/Components/ComponentTests.cs
#	src/Umbraco.Tests.UnitTests/Umbraco.Core/PropertyEditors/BlockListPropertyValueConverterTests.cs
#	src/Umbraco.Tests.UnitTests/Umbraco.Web.Common/ModelBinders/ContentModelBinderTests.cs
#	src/Umbraco.Tests.UnitTests/Umbraco.Web.Common/ModelBinders/RenderModelBinderTests.cs
#	src/Umbraco.Tests.UnitTests/Umbraco.Web.Common/Views/UmbracoViewPageTests.cs
#	src/Umbraco.Tests.UnitTests/Umbraco.Web.Website/Controllers/RenderIndexActionSelectorAttributeTests.cs
#	src/Umbraco.Tests.UnitTests/Umbraco.Web.Website/Controllers/SurfaceControllerTests.cs
2020-12-22 11:50:48 +01:00
Paul Johnson
50c15a42ed Misc, async TearDown 2020-12-22 10:43:07 +00:00
Paul Johnson
f7de595e07 Merge branch 'netcore/netcore' into netcore/feature/remove-notifcation-handler-lifetime-hack 2020-12-22 10:40:14 +00:00
Paul Johnson
852aa9177e Add Dispose(bool) based on discussions on PR. 2020-12-22 10:33:57 +00:00
Andy Butland
3be9610c72 Cleaned-up code in Umbraco.Web.UnitTests to match linting rules. 2020-12-22 09:50:48 +01:00
Shannon
c88ba7afa5 notes, removes todo 2020-12-22 13:49:26 +11:00
Shannon
c074a4d7d4 IsFrontEndUmbracoRequest as ext method instead, makes IUmbracoContext IDisposable since it has a Dispose method 2020-12-22 13:32:12 +11:00
Shannon
57020b4778 adds notes, removes IPublishedCacheComposer 2020-12-22 12:33:00 +11:00
Shannon
f5e9441e9f renames umb builder ext class to be more explicit, no more AddAllBackOfficeComponents, just AddBackOffice, removes NuCacheComposer 2020-12-22 12:16:37 +11:00
Shannon
322f0deff3 Merge remote-tracking branch 'origin/netcore/netcore' into netcore/task/9779-publishedsnapshot-slight-cleanup 2020-12-22 11:25:05 +11:00
Shannon
74d253a88f Removes IPublishedSnapshotService.EnsureEnvironment 2020-12-22 11:22:29 +11:00
Shannon
b1045e081b Makes ModelBindingExceptionAttribute 2020-12-22 10:52:25 +11:00
Shannon
3e948475a6 Remove unneeded NPocoRepositoryBase 2020-12-22 10:30:16 +11:00
Shannon Deminick
bb8434eed6 Merge pull request #9530 from umbraco/netcore/task/front-end-routing
Starts getting front-end routing/rendering working
2020-12-22 10:27:13 +11:00
Shannon Deminick
2cc66cf20b Merge pull request #9585 from rustybox/netcore/task/front-end-routing
Netcore: Dispose host on test teardown.
2020-12-22 09:41:51 +11:00
Paul Johnson
822aa2897b Remove NotificationHandler lifetime hack 2020-12-21 15:36:31 +00:00
Paul Johnson
198586a82b Dispose host on test teardown. 2020-12-21 09:02:05 +00:00
Shannon
c761fa0506 New IPublishedSnapshotStatus, reduces IPublishedSnapshotService 2020-12-21 17:41:12 +11:00
Shannon
e8f5aa8ebc removes PublishedSnapshotServiceBase, shrinks interface 2020-12-21 17:04:29 +11:00
Shannon
03f22e9362 Fixing tests after merge 2020-12-21 16:44:50 +11:00
Shannon
86adf01f88 Merge remote-tracking branch 'origin/netcore/netcore' into netcore/task/front-end-routing
# Conflicts:
#	src/Umbraco.PublishedCache.NuCache/PublishedSnapshotService.cs
#	src/Umbraco.Tests.Integration/TestServerTest/UmbracoTestServerTestBase.cs
#	src/Umbraco.Web.Common/Extensions/ApplicationBuilderExtensions.cs
2020-12-21 16:04:42 +11:00
Shannon
75796e3eae Fixing tests, removing old files, adds notes 2020-12-21 15:58:47 +11:00
Bjarke Berg
7600ae9e05 Merge pull request #9556 from rustybox/netcore/feature/core-component-cleanup-low-hanging-fruit
Netcore: composer / component cleanup low hanging fruit
2020-12-18 15:40:50 +01:00
Paul Johnson
e4e26159ae Prevent multiple first time schema create 2020-12-18 14:10:11 +00:00
Paul Johnson
6114fffb4a Remove HostBuilder UseUmbraco extension, it's not required. 2020-12-18 09:53:01 +00:00
Paul Johnson
fa061d36ba What's up with ThreadSafetyServiceTest?
Really interesting that it has this at top

if (Environment.GetEnvironmentVariable("UMBRACO_TMP") != null)
                Assert.Ignore("Do not run on VSTS.");

But this test passes on other peoples builds :(
2020-12-17 17:06:51 +00:00
Paul Johnson
3395f4cc35 Fixes for ContentTypeServiceVariantsTests PublishedSnapshotService hack
These pass if running the full suite, but fail when ran alone otherwise
2020-12-17 15:13:50 +00:00
Bjarke Berg
2c54b5c28c Merge pull request #9571 from umbraco/netcore/feature/update-umbraco-version-in-template-from-azure-pipeline
Netcore: Update umbraco version in template from azure pipeline
2020-12-17 15:12:03 +01:00