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
Bjarke Berg
cd169fbcce
Update version number in umbraco template from azure pipeline in continuous builds
2020-12-17 14:26:17 +01:00
Paul Johnson
a883df9d88
Use HostBuilder.UseUmbraco in same order for tests and running web app
2020-12-17 12:44:09 +00:00
Bjarke Berg
e4857abc57
Added missing package to nuspec
2020-12-17 12:58:15 +01:00
Paul Johnson
79aa2e1cc2
LocalDb TestDatabase cleanup
...
LocalDbTestDatabase now renames the final database like it used to (guid vs sensible name)
Made serilog log to integration tests TEMP as far as I can tell it wasn't writing at all before
2020-12-17 11:19:47 +00:00
Paul Johnson
6dd5e04a2b
Fix broken integration test, must set ServiceProvider before using
2020-12-17 11:19:47 +00:00