Commit Graph

88 Commits

Author SHA1 Message Date
Bjarke Berg
3e360abf15 Removed static ApplicationUrlHelper and introduced IBackOfficeInfo and AspNetBackOfficeInfo 2019-11-21 14:19:56 +01:00
Bjarke Berg
fc22282a59 Injecting IHostingEnvironment 2019-11-20 15:21:09 +01:00
Bjarke Berg
bec4205ef5 Introduced a IHostingEnvironment and one implemtation for AspNetHostingEnvironment 2019-11-20 13:38:41 +01:00
Bjarke Berg
ec169d17d7 Refactored CoreRuntime to inject a IUmbracoBootPermissionChecker, instead of using system.web to test this it self. Also moved some logging from CoreWebsite into WebRuntime, that used hosting information 2019-11-20 10:20:20 +01:00
Bjarke Berg
ca77c519e9 Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/remove_current_iohelper
# Conflicts:
#	src/Umbraco.Abstractions/Configuration/ConfigsExtensions.cs
#	src/Umbraco.Configuration/GlobalSettings.cs
#	src/Umbraco.Tests/Persistence/Repositories/ScriptRepositoryTest.cs
#	src/Umbraco.Tests/Persistence/Repositories/StylesheetRepositoryTest.cs
#	src/Umbraco.Tests/PublishedContent/NuCacheChildrenTests.cs
#	src/Umbraco.Tests/PublishedContent/NuCacheTests.cs
#	src/Umbraco.Tests/TestHelpers/TestHelper.cs
2019-11-19 08:13:35 +01:00
Bjarke Berg
4c05af7b9d AB3594 - Post review fixes.. Also removed the Current class from abstractions, and injected the factory into config 2019-11-18 14:11:50 +01:00
Bjarke Berg
603ec0ccfb AB3594 - Moved the composition root out to UmbracoApplicationBase, and injecting the needed parts from there. Also remove usages of ConfigurationManager from Umbraco.Core 2019-11-15 11:41:13 +01:00
Bjarke Berg
126380dcee AB3594 - Removed references from core to configuration 2019-11-14 12:49:56 +01:00
Søren Gregersen
7b19ab005b first round of refactoring 2019-11-13 21:12:02 +01:00
Bjarke Berg
0be396c4fd Post merge fixes 2019-11-13 12:53:01 +01:00
Bjarke Berg
ad91b2d9fc More movement 2019-11-13 10:48:51 +01:00
Bjarke Berg
6d18b3f363 Merge branch 'netcore/feature/AB3649-move-manifest-stuff' into netcore/feature/AB3594_move_exsiting_configuration_to_own_project 2019-11-12 14:11:08 +01:00
Bjarke Berg
267a9af30f Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/AB3650-TypeFinder-abstraction
# Conflicts:
#	src/Umbraco.Core/CompositionExtensions_Essentials.cs
#	src/Umbraco.Core/Runtime/CoreRuntime.cs
#	src/Umbraco.Tests/Runtimes/StandaloneTests.cs
#	src/Umbraco.Tests/Testing/UmbracoTestBase.cs
2019-11-12 10:05:54 +01:00
Shannon
0b16d6dee1 fix build 2019-11-12 16:44:13 +11:00
Shannon
2b2db8b8ef Moves most service interfaces, ensure IOHelper is registered 2019-11-12 16:31:08 +11:00
Shannon
dd24d512fd fixes startup order 2019-11-11 19:01:10 +11:00
Shannon
f154d9c333 Moves TypeLoader to abstractions 2019-11-11 18:56:14 +11:00
Shannon
d0834ec340 Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/AB3650-TypeFinder-abstraction
# Conflicts:
#	src/Umbraco.Abstractions/Composing/TypeFinder.cs
#	src/Umbraco.Tests/Components/ComponentTests.cs
#	src/Umbraco.Tests/Composing/ComposingTestBase.cs
#	src/Umbraco.Tests/Composing/CompositionTests.cs
#	src/Umbraco.Tests/Composing/TypeFinderTests.cs
#	src/Umbraco.Tests/Composing/TypeLoaderTests.cs
#	src/Umbraco.Tests/CoreThings/UdiTests.cs
#	src/Umbraco.Tests/Runtimes/StandaloneTests.cs
#	src/Umbraco.Tests/TestHelpers/BaseUsingSqlCeSyntax.cs
#	src/Umbraco.Tests/Web/TemplateUtilitiesTests.cs
2019-11-11 17:39:56 +11:00
Shannon
a8face2023 Moving TypeHelper ... but now need IOHelper... 2019-11-11 17:30:50 +11:00
Shannon
d84963dac5 Uses ITypeFinder abstraction where required 2019-11-11 16:07:47 +11:00
Bjarke Berg
2ce67dcf9a Merge branch 'netcore/feature/non-static-iohelper' into netcore/feature/AB3594_move_exsiting_configuration_to_own_project
# Conflicts:
#	src/Umbraco.Core/Manifest/ManifestParser.cs
#	src/Umbraco.Tests/Composing/CompositionTests.cs
2019-11-08 07:55:23 +01:00
Bjarke Berg
13507c0e13 AB3653 - Static IOHelper -> IIOHelper (Moved into Current as a first step 😭) 2019-11-08 07:51:14 +01:00
Shannon
6398f1e216 Creates ITypeFinder interface and simplifies type finder with TypeFinderExtensions, moves GetTypeByName to TypeHelper using assembly name parsing instead of scanning every assembly. 2019-11-08 14:26:06 +11:00
Bjarke Berg
4529cd408a Init CurrentCore 2019-11-07 14:08:07 +01:00
Bjarke Berg
48437adb47 Move Configs to abstractions 2019-11-07 13:02:27 +01:00
Bjarke Berg
b004bf8920 Move Configs to abstractions, and injected factory all over to create one because we need to inject stuff from system.configuration 2019-11-07 13:02:27 +01:00
Shannon
3603090421 Fixes race condition in PublishedSnapshotService and more... 2019-07-17 22:51:14 +10:00
Stephan
b0ef69a4ec Log more details about boot environment 2019-04-07 16:24:35 +02:00
Stephan
f8f1fea407 Various corrections to mappers 2019-03-28 12:38:04 +01:00
Stephan
70c2090a56 Refactor more mappers - AutoMapper gone now 2019-03-27 09:15:32 +01:00
Stephan
7f31ddc250 Bugfix CoreRuntime 2019-03-06 18:11:10 +01:00
Stephan
2209b37a4a Bugfix CoreRuntime 2019-03-06 11:56:03 +01:00
Stephan
64154da4e4 Get LocalTempPath in GlobalSettings 2019-02-15 09:45:51 +01:00
Stephan
7660e9fb25 Reorganize composition code 2019-02-14 09:15:47 +01:00
Stephan
f752861e10 Bugfix null timer in CoreRuntime 2019-02-05 20:01:20 +01:00
Stephan
a6d3078638 Improve CoreRuntime handling of boot fails 2019-01-24 14:04:31 +01:00
Stephan
31a6f2d67c Add runtime hooks for Deploy 2019-01-24 14:04:31 +01:00
Chris Houston
78319bae9e Temp8 fix typos 2 (#4130) 2019-01-23 00:03:39 +01:00
Stephan
1506d8c3fa Kill AppCaches.StaticCache 2019-01-18 15:49:54 +01:00
Stephan
ec58532f7b More renaming of caches 2019-01-18 08:29:16 +01:00
Stephan
d4c714eccd Stop injecting the runtime cache, use AppCaches 2019-01-17 11:19:06 +01:00
Stephan
0bee01e0ee Great AppCaches renaming 2019-01-17 11:01:23 +01:00
Stephan
67e4703821 CacheHelper becomes AppCaches 2019-01-17 08:34:29 +01:00
Stephan
2a36d2625b Merge branch 'temp8' into temp8-auto-install 2019-01-15 13:38:09 +01:00
Aaron Powell
a5630a3448 Fixing 4033 by using the right Logger instance 2019-01-11 14:35:24 +11:00
Stephan
003907358d Better runtime state detection, to support auto-install 2019-01-10 16:01:13 +01:00
Stephan
19ae9f5dee Refactor configuration for DI 2019-01-07 19:40:07 +01:00
Stephan
84f6239c98 Components Initialize and Terminate 2019-01-07 09:46:11 +01:00
Stephan
816ed84a2f Refactor components 2019-01-03 21:00:28 +01:00
Stephan
9fe8b5f654 TEMP 2019-01-03 11:41:56 +01:00