Shannon
307ef4c1e0
Removes IBatchedDatabaseServerMessenger, renames methods of IServerMessenger
2020-12-24 14:44:42 +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
Paul Johnson
51f20119a2
Enable running integrations tests on Linux
2020-12-11 14:12:34 +00:00
James Jackson-South
748cbb1f7b
Normalize builder namespace
2020-12-01 12:42:14 +00:00
Paul Johnson
5268f9d7f0
Resolve review comments
2020-11-24 09:37:52 +00:00
Paul Johnson
aec25d5007
Replace Composition with UmbracoBuilder
2020-11-18 17:41:57 +00:00
Paul Johnson
d498c1a2cd
Netcore: Turn container validation back on ( #9401 )
...
* Remove RuntimeLevelAttribute & disable filtering
* Remove RuntimeLevelAttribute usage on Composers
* Fix broken tests
* Resolve UserManager registration issues.
* Turn container validation back on.
* Resolve lifetime issue post install backoffice.
* Remove final TODO: MSDI
2020-11-17 08:56:04 +01:00
Andy Butland
2f2da679a4
Migrated scheduled publishing task to a hosted service.
2020-11-02 18:08:25 +01:00
Paul Johnson
4ae329589a
NetCore: MSDI refactor remove IFactory & IRegister ( #9308 )
...
* Replace IFactory with IServiceProvider
* Replace IRegister with IServiceCollection
* Fix Rte.cshtml so the view can service locate.
* Replace Composing Lifetime with MSDI ServiceLifetime
* Remove ServiceProvider AddMultipleUnique extension
* Remove Umbraco.Web.Composing.Current.Reset and any calls
* Remove LightInject from net framework projects
* Brought back a helper for setting MediaFileSystem underlying IFileSystem
2020-10-30 12:16:17 +01:00
Paul Johnson
ec66990e72
NetCore: MSDI refactor phase 2 ( #9280 )
...
* Moved adapters from Infra -> Core
* Allow Composition to accept a service collection instead of an IRegister
* Composition no longer takes IRegister as constructor arg
all tests passing
* Composition no longer implements IRegister
* Lose _uniques in Composition
* lose Composition OnCreatingFactory actions
* Clean up UmbracoCoreServiceCollectionExtensions & Composition
Less IFactory
* LightInject gone where TFW == netstandard2.0 || TFW == netcoreapp3.1
* Resolve dead code issues
* Rename IFactory methods to match IServiceProvider so they can be trivially swapped later.
* Rename IFactory methods to match IServiceProvider so they can be trivially swapped later (continued)
Thought the counts were low, it's mostly extension method usage
2020-10-27 11:53:01 +01:00
Bjarke Berg
231771a10e
Migrated ContentServicePerformanceTest
...
Signed-off-by: Bjarke Berg <mail@bergmania.dk >
2020-10-14 08:02:43 +02:00
Bjarke Berg
baf2aaecab
Merge remote-tracking branch 'origin/netcore/netcore' into netcore/feature/migrate-logging
...
Signed-off-by: Bjarke Berg <mail@bergmania.dk >
# Conflicts:
# src/Umbraco.Infrastructure/Runtime/CoreInitialComposer.cs
# src/Umbraco.Tests.Integration/Packaging/CreatedPackagesRepositoryTests.cs
# src/Umbraco.Tests.Integration/Services/CachedDataTypeServiceTests.cs
# src/Umbraco.Tests.Integration/Services/DataTypeServiceTests.cs
# src/Umbraco.Tests.Integration/Services/MacroServiceTests.cs
# src/Umbraco.Tests.Integration/Testing/UmbracoIntegrationTest.cs
# src/Umbraco.Tests.UnitTests/Umbraco.Core/Services/LocalizedTextServiceTests.cs
2020-10-06 18:49:03 +02:00
Bjarke Berg
471903b793
Introduced NoopServerMessenger for integration tests
...
Signed-off-by: Bjarke Berg <mail@bergmania.dk >
2020-10-05 16:59:26 +02:00
Bjarke Berg
81e2ebda96
Cleanup
...
Signed-off-by: Bjarke Berg <mail@bergmania.dk >
2020-09-29 10:42:06 +02:00
Mole
d3ae921293
Remove most of the last references and rename LoggerFactory_ to LoggerFactory in UmbracoTestBase
2020-09-21 13:04:57 +02:00
Mole
894abdd183
Remove a bunch of references to the old logger
2020-09-21 09:41:18 +02:00
Mole
30d4233565
Use MS Ilogger in LocalizedTextService
2020-09-21 08:19:26 +02:00
Mole
d61b9f54fa
Merge options
2020-09-18 12:53:06 +02:00
Nikolaj
140cf69027
Use MS ILogger for XmlStore and BackgroundTask
2020-09-17 13:14:02 +02:00
Nikolaj
80ee2356d5
Fix a bunch of tests and try to add ILoggerFactory to Current
2020-09-16 08:57:06 +02:00
Nikolaj
633d42039e
Fix a whole bunch of other errors
2020-09-15 15:14:44 +02:00
Bjarke Berg
e079bd5a50
Cleanup usages of Configs
2020-09-08 13:03:43 +02:00
Shannon
1c83c68862
Fixes integration tests localization text
2020-09-04 01:30:47 +10:00
Shannon
7c78b5b34f
Updates CoreRuntime with better dependencies so we can disable caches, fixes integration test to run multiple callbacks registered for TearDown, ensure we TearDown the runtime.
2020-09-04 00:27:43 +10:00
Shannon
f84a93ae20
Adds IUmbracoBuilder to build the config so it's easier to split apart, ensures background tasks don't run in integration tests, uses a custom CoreRuntime to ensure we use SimpleMainDom, re-wires the UmbracoWebApplicationFactory so that duplicate Hosts are not running at the same time, fixes issues with overriding/shadowing, uses RAMDirectory in lucene for tests, fixes CoreRuntime's events that we're moved incorrectly and not backwards compat, adds new real non static events which we can use in integration tests to install the DB before the runtime state is calculated
2020-09-02 18:10:29 +10:00
Shannon
60abdd60b5
Starts fixing up integration tests
2020-04-03 13:16:01 +11:00