Commit Graph

142 Commits

Author SHA1 Message Date
berg
a2a5e25713 Merge remote-tracking branch 'origin/netcore/netcore' into netcore/feature/use-serilog-to-log-all-messages
Signed-off-by: berg <mail@bergmania.dk>
2020-09-18 08:34:20 +02:00
berg
f11391961f Merge remote-tracking branch 'origin/netcore/netcore' into netcore/feature/use-serilog-to-log-all-messages
# Conflicts:
#	src/Umbraco.Tests.Integration/TestServerTest/UmbracoBuilderExtensions.cs
#	src/Umbraco.Web.Common/Extensions/UmbracoCoreServiceCollectionExtensions.cs
#	src/Umbraco.Web/UmbracoApplicationBase.cs
2020-09-18 08:31:09 +02:00
Bjarke Berg
d7ab7d3d2e Removed test code
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-09-18 08:30:48 +02:00
Bjarke Berg
a7c3b2dab8 Clear default log providers 2020-09-17 09:59:13 +02:00
Bjarke Berg
7d3bc9be1c Moved serilog config to appsettings and configured it to also catch MS logging messages.
Added Console log for Development
2020-09-17 09:01:10 +02:00
Bjarke Berg
b7a48686f0 Updates based on review feedback 2020-09-15 13:18:01 +02:00
Bjarke Berg
dc8933b6b9 Removed test code 2020-09-14 15:05:32 +02:00
Bjarke Berg
5b90a469e9 More clean up of old configs 2020-09-14 09:01:57 +02:00
Bjarke Berg
e079bd5a50 Cleanup usages of Configs 2020-09-08 13:03:43 +02:00
Bjarke Berg
3efee8284a Post merge fixes 2020-09-07 15:28:58 +02:00
Bjarke Berg
c8669b18c2 Merge remote-tracking branch 'origin/netcore/netcore' into feature/8651-config-options-patten
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-09-04 14:30:48 +02:00
Bjarke Berg
1218f3564c Merge pull request #8798 from umbraco/netcore/bugfix/integration-tests-examine-indexes
Fixes integration tests bootstrapping
2020-09-04 10:54:43 +02:00
Bjarke Berg
ed2fa27b18 Fix issue with login url
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-09-04 09:26:24 +02:00
Shannon
1c83c68862 Fixes integration tests localization text 2020-09-04 01:30:47 +10:00
Shannon
e6b6dd6d92 Merge remote-tracking branch 'origin/netcore/netcore' into netcore/bugfix/integration-tests-examine-indexes 2020-09-04 00:30:46 +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
Bjarke Berg
02648eb5a6 Merge remote-tracking branch 'origin/netcore/netcore' into feature/8651-config-options-patten 2020-09-03 14:37:56 +02:00
Bjarke Berg
6f6d9cb938 Fixed issue with wrong link to GetSetup method on InstallApiController 2020-09-03 14:37:29 +02:00
Andy Butland
885c8d2371 Merge branch 'feature/8651-config-options-patten' of https://github.com/AndyButland/Umbraco-CMS into feature/8651-config-options-patten 2020-09-03 12:57:35 +02:00
Andy Butland
14404f2720 Changed singleton created dependencies in composition root to use IOptionsMonitor. 2020-09-03 12:52:47 +02:00
Andy Butland
b87630250b Removed unused private field and constructor variable for configuration global settings from UmbracoVersion.
Updated singleton created instances in CreateCompositionRoot to accept IOptions based parameters for configuration.
2020-09-03 11:36:57 +02: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
Bjarke Berg
97e6d76ec9 Merge remote-tracking branch 'origin/netcore/netcore' into feature/8651-config-options-patten 2020-09-02 10:03:53 +02:00
Bjarke Berg
90d14158ee Clean up - Removed duplicate ctor in UmbracoVersion 2020-09-02 09:05:55 +02:00
Dirk Seefeld
7791fdcafa ensure the the install api url ends with / to respect umbraco.installer.js method 2020-08-28 16:07:21 +02:00
Andy Butland
4e222f103e Reintroduced legacy config into CoreRuntime to support remaining use of Current.Configs (e.g. in UserInvite) 2020-08-26 18:21:09 +02:00
Andy Butland
8666547cf1 Updated configuration models used within Umbraco.ModelsBuilder.Embedded project. 2020-08-25 14:19:33 +02:00
Andy Butland
8241643183 Resolved various failing tests. 2020-08-25 12:30:43 +02:00
Andy Butland
b4e01392d9 Removed registration of old-style configuration in Netcore executable. 2020-08-25 11:00:11 +02:00
Andy Butland
967f0be705 Aligned property names in code with those in configuration. 2020-08-25 10:45:54 +02:00
Andy Butland
7884e4ca17 Resolved issues such that application boots and back-office is navigable. 2020-08-24 09:29:40 +02:00
Andy Butland
2cd91a5a54 Converted to IOptions over IOptionsSnapshot due to the latter only working in scoped services.
Further amends to return to booting application.
2020-08-23 23:36:48 +02:00
Andy Butland
2f22313ceb Restored Umbraco.Web and added temporary methods for converstion between legacy and new configuration models to maintain build. 2020-08-23 15:58:37 +02:00
Andy Butland
52a65caf88 Temporarily removed test and non netcore executable projects. 2020-08-21 15:27:06 +01:00
Andy Butland
510bd92e78 Amended injection of further settings to use IOptionsSnapshot. 2020-08-21 14:52:47 +01:00
Mole
16db36eecd Start working on tests 2020-08-21 13:53:27 +02:00
Andy Butland
e3a44c6717 Moved configuration setting POCOs into Umbraco.Core and adjusted references.
Amended injection of some settings to use IOptionsSnapshot.
2020-08-20 22:18:50 +01:00
Andy Butland
0f6e18023f Amended most configuration settings classes to public POCOs without interfaces, and loaded into services collection via loading the configuration section. 2020-08-20 08:24:23 +01:00
Andy Butland
a3e84ea3a8 (WIP) migrated TourSettings to use IOptions pattern for configuration. 2020-08-19 14:14:01 +01:00
Bjarke Berg
0a2ebcd1f1 Use SqlMainDomLock if not windows 2020-08-19 09:39:11 +02:00
Bjarke Berg
1123b8bea5 Merge remote-tracking branch 'origin/netcore/netcore' into netcore/feature/better-linux-support
# Conflicts:
#	src/Umbraco.Web.UI.NetCore/umbraco/config/lang/en.xml
2020-08-11 08:33:11 +02:00
Bjarke Berg
6d51dc4afa Merge remote-tracking branch 'origin/netcore/netcore' into netcore/feature/6976-migrate-preview-middleware 2020-08-10 14:30:25 +02:00
Bjarke Berg
499ffdfe97 Merge pull request #8584 from umbraco/netcore/feature/request-localization-from-user
Netcore: Added request localization from the current user.
2020-08-10 07:04:20 +02:00
Shannon
cca7303abd Migrates preview auth Middleware
Migrates UriExtensionsTests to netcore, fixes preview controller bits, adds tests for preview path for back office route check, fixes virtual paths for views,
2020-08-07 00:48:32 +10:00
Shannon
1239975b07 Ensures all back office controllers have the thread culture set, we do this with a new application model targeting all back office controllers. 2020-08-06 22:08:27 +10:00
Bjarke Berg
38ee3c322d Moved needed extension methods for the Gallery snippet.. 2020-08-04 14:12:22 +02:00
Bjarke Berg
1dac8779c2 https://dev.azure.com/umbraco/D-Team%20Tracker/_workitems/edit/7619 - Added request localization from the current user 2020-08-04 12:54:54 +02:00
Bjarke Berg
351fa02df2 Merge remote-tracking branch 'origin/netcore/feature/fix-integration-tests' into netcore/feature/better-linux-support 2020-07-07 14:10:21 +02:00
Bjarke Berg
2372e5307c Merge remote-tracking branch 'origin/netcore/feature/remaining-backoffice-controllers' into netcore/feature/fix-integration-tests 2020-07-07 14:02:48 +02:00
Bjarke Berg
34979566ea Merge remote-tracking branch 'origin/netcore/feature/contentcontroller_and_related' into netcore/feature/remaining-backoffice-controllers 2020-07-07 14:02:25 +02:00