Mole
ade00997bc
Adjust namespace in Umbraco.ModelsBuilder.Embedded
2021-02-10 10:34:27 +01:00
Mole
216fb87c79
Rename Umbraco.Core namespace to Umbraco.Cms.Core
2021-02-09 10:22:42 +01:00
Bjarke Berg
e46a248832
Merge remote-tracking branch 'origin/netcore/netcore' into netcore/task/6973-migrating-authenticationcontroller-merge
...
# Conflicts:
# src/Umbraco.Infrastructure/HostedServices/ScheduledPublishing.cs
# src/Umbraco.Infrastructure/Runtime/CoreInitialComposer.cs
# src/Umbraco.Infrastructure/Scheduling/SchedulerComponent.cs
# src/Umbraco.Infrastructure/Scheduling/SchedulerComposer.cs
# src/Umbraco.Tests.Integration/Testing/UmbracoIntegrationTest.cs
# src/Umbraco.Tests/Testing/UmbracoTestBase.cs
# src/Umbraco.Web.BackOffice/Extensions/BackOfficeApplicationBuilderExtensions.cs
# src/Umbraco.Web.BackOffice/Runtime/BackOfficeComposer.cs
# src/Umbraco.Web.Common/Runtime/AspNetCoreComposer.cs
# src/Umbraco.Web.Common/UmbracoContext/UmbracoContext.cs
# src/Umbraco.Web.UI.NetCore/appsettings.json
# src/Umbraco.Web/Editors/BackOfficeController.cs
# src/Umbraco.Web/Runtime/WebInitialComponent.cs
2020-11-12 13:10:19 +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
Shannon
64d8b56eca
It builds!
2020-10-23 14:18:53 +11:00
Shannon
d1b35deb43
Migrates remaining backofficecontroller but still a bunch of work to do , streamlines Backoffice to BackOffice (but is that what we want?)
2020-10-21 16:51:00 +11:00
Bjarke Berg
25c7418d66
Merge remote-tracking branch 'origin/netcore/netcore' into feature/8651-config-options-validation
...
# Conflicts:
# src/Umbraco.Tests.UnitTests/Umbraco.Core/PropertyEditors/PropertyEditorValueEditorTests.cs
# src/Umbraco.Tests.UnitTests/Umbraco.Core/ShortStringHelper/CmsHelperCasingTests.cs
# src/Umbraco.Tests.UnitTests/Umbraco.Core/ShortStringHelper/DefaultShortStringHelperTestsWithoutSetup.cs
# src/Umbraco.Tests.UnitTests/Umbraco.Web.Website/Controllers/SurfaceControllerTests.cs
# src/Umbraco.Tests/Models/MediaXmlTest.cs
# src/Umbraco.Tests/PublishedContent/NuCacheChildrenTests.cs
# src/Umbraco.Tests/PublishedContent/NuCacheTests.cs
# src/Umbraco.Tests/TestHelpers/TestWithDatabaseBase.cs
# src/Umbraco.Web.Common/Extensions/UmbracoCoreServiceCollectionExtensions.cs
# src/Umbraco.Web.UI.NetCore/appsettings.json
2020-09-22 20:25:28 +02:00
Bjarke Berg
96facc4d35
Netcore: Introduce BackofficeSecurityAccessor ( #8871 )
...
* Introduced IWebSecurityAccessor
Signed-off-by: Bjarke Berg <mail@bergmania.dk >
* Fixed tests
Signed-off-by: Bjarke Berg <mail@bergmania.dk >
* Renamed WebSecurity to BackofficeSecurity and all related names
* Fixes typos
Co-authored-by: Elitsa Marinovska <elm@umbraco.dk >
2020-09-22 10:01:00 +02:00
Andy Butland
1bd22d72c2
Removed configuration model builders.
2020-09-21 21:06:24 +02:00
Bjarke Berg
e079bd5a50
Cleanup usages of Configs
2020-09-08 13:03:43 +02:00
Shannon
4afaade436
Gets WebSecurity implemented
2020-06-02 14:46:58 +10:00
Shannon
7e2d0902af
Huge IIOHelper cleanup, removes some overlap with IHostingEnvironment, much less usages of IIOHelper and instead just use what is already available on IHostingEnvironment
2020-04-03 11:03:06 +11:00
Shannon
4e4df96140
Creates new Umbraco.Tests.Common netstandard project to host the common testing functionality between netframework and netcore, this will be ongoing work (doesn't need to be done all at once)
2020-03-13 12:08:25 +11:00
Bjarke Berg
c486444eda
Cleaned up config for Content settings
2020-03-12 15:30:22 +01:00
Bjarke Berg
750b6f6a18
Move more files and fixed circular dependency
2020-02-19 09:29:10 +01:00
Bjarke Berg
aeca49dddb
Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/move-files-after-umbraco-context-abstractions
...
# Conflicts:
# src/Umbraco.Abstractions/PublishedContentExtensions.cs
# src/Umbraco.Abstractions/Routing/AliasUrlProvider.cs
# src/Umbraco.Abstractions/Routing/DefaultMediaUrlProvider.cs
# src/Umbraco.Abstractions/Routing/DefaultUrlProvider.cs
# src/Umbraco.Abstractions/Routing/UrlProvider.cs
# src/Umbraco.Abstractions/Routing/UrlProviderExtensions.cs
# src/Umbraco.Infrastructure/Runtime/CoreInitialComposer.cs
# src/Umbraco.Tests/Cache/DistributedCacheBinderTests.cs
# src/Umbraco.Tests/Routing/GetContentUrlsTests.cs
# src/Umbraco.Tests/Routing/MediaUrlProviderTests.cs
# src/Umbraco.Tests/Routing/UmbracoModuleTests.cs
# src/Umbraco.Tests/Routing/UrlProviderTests.cs
# src/Umbraco.Tests/Routing/UrlsProviderWithDomainsTests.cs
# src/Umbraco.Tests/Routing/UrlsWithNestedDomains.cs
# src/Umbraco.Tests/Security/BackOfficeCookieManagerTests.cs
# src/Umbraco.Tests/TestHelpers/TestHelper.cs
# src/Umbraco.Tests/TestHelpers/TestObjects-Mocks.cs
# src/Umbraco.Tests/Testing/Objects/TestUmbracoContextFactory.cs
# src/Umbraco.Tests/Testing/UmbracoTestBase.cs
# src/Umbraco.Tests/Web/Mvc/RenderIndexActionSelectorAttributeTests.cs
# src/Umbraco.Tests/Web/Mvc/SurfaceControllerTests.cs
# src/Umbraco.Web/Models/Mapping/ContentMapDefinition.cs
# src/Umbraco.Web/PublishedContentExtensions.cs
# src/Umbraco.Web/UmbracoContext.cs
# src/Umbraco.Web/UmbracoContextFactory.cs
# src/Umbraco.Web/UmbracoInjectedModule.cs
2020-02-17 13:07:59 +01:00
Bjarke Berg
2b8be2cf00
Netcore: Move files from Web/Routing to Abstractions/Routing ( #7642 )
...
* AB4951 - Move routing files to abstractions
* Changed UriUtility from static to instance
* Moved more files from Routing in web to Abstractions
* Moved UrlProvider to Abstractions
* Moved PublishedRequest to Abstractions
2020-02-17 12:07:51 +01:00
Bjarke Berg
738e374061
Cleanup
2020-02-14 14:03:05 +01:00
Bjarke Berg
c6e1e7b3e5
Untangled UrlProvider from UmbracoContext
2020-02-14 13:06:10 +01:00
Bjarke Berg
53a9e75a48
Refactor UmbracoContext to inject IHttpAccessor instead of HttpContext
2020-02-13 15:13:38 +01:00
Bjarke Berg
31130be85a
Move files
2020-02-13 12:58:05 +01:00
Bjarke Berg
ec1d829a3e
Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/AB4919-untable-umbraco-context
...
# Conflicts:
# src/Umbraco.Tests/TestHelpers/ControllerTesting/TestControllerActivatorBase.cs
# src/Umbraco.Web/Macros/MacroRenderer.cs
2020-02-11 10:30:41 +01:00
Bjarke Berg
ef7af69731
https://github.com/umbraco/Umbraco-CMS/issues/7138 - Injected IIOHelper ( #7581 )
...
Co-authored-by: Elitsa Marinovska <21998037+elit0451@users.noreply.github.com >
2020-02-10 11:23:23 +01:00
Bjarke Berg
c335a8dbb5
Introduced interface on UmbracoContext
2020-02-09 19:05:39 +01:00
Emma Garland
e303d9e4f4
Mock IMediaService and IUserService
2020-01-31 13:57:23 +00:00
Emma Garland
8cb11de18c
Replaced member service and user service with mocks
2020-01-31 13:51:22 +00:00
Bjarke Berg
d5527f0485
AB3677 - Removed lot of stuff from Current (Core) and uses Current (Web) instead
2019-12-19 10:43:34 +01:00
Bjarke Berg
b3c06be83a
AB4227 - Moved a mix of files
2019-12-18 13:42:34 +01:00
Bjarke Berg
28ecb355dd
Let IOHelper use IHostingEnvironment
2019-12-04 21:30:18 +01:00
Bjarke Berg
bec4205ef5
Introduced a IHostingEnvironment and one implemtation for AspNetHostingEnvironment
2019-11-20 13:38:41 +01:00
Stephan
bb0331e9cc
Move IPublishedContent.Url() to ext method
2019-04-24 14:25:41 +02:00
Stephan
be93773399
Merge branch v8/dev into v8/feature/5170-IPublishedContent
2019-04-24 08:51:25 +02:00
Stephan
55d4457c70
UmbracoContext: don't use obsolete properties
2019-04-23 08:29:43 +02:00
Rasmus John Pedersen
d0701ae34e
Add media url provider support
2019-04-16 15:36:21 +02:00
Stephan
7660e9fb25
Reorganize composition code
2019-02-14 09:15:47 +01:00
Shannon
134cc176ff
Moves the Xml published cache to the tests project since that is the only place it is used, removes the xml data integrity check since it's not needed, removes the xml published cache benchmark since it's not needed. Now we don't include the old xml published cache at all in the shipped product.
2019-01-30 17:50:13 +11:00
Bjarke Berg
f8b52a57c3
Injecting Umbraco Context Accessor and not saving the url on the class
2019-01-23 14:16:42 +01:00
Stephan
ec58532f7b
More renaming of caches
2019-01-18 08:29:16 +01:00
Stephan
f952fe7aeb
More renaming of caches
2019-01-18 08:14:08 +01:00
Stephan
0bee01e0ee
Great AppCaches renaming
2019-01-17 11:01:23 +01:00
Shannon
5f972384b1
WIP - new IEntityXmlSerializer, IPackageCreation, PackageActionRunner, large refactor of entity serialization, no more IPackagingService.Export methods, ports legacy package creation code to new IPackageCreation, more more ExportEventArgs (makes no sense)
2019-01-10 12:44:57 +11:00
Stephan
19ae9f5dee
Refactor configuration for DI
2019-01-07 19:40:07 +01:00
Stephan
7a615133ff
Renormalize
2018-06-29 19:52:40 +02:00
Stephan
ff7c74ec8a
Rename accessors
2018-04-30 21:29:49 +02:00
Stephan
038fc87a40
Cleanup, fix tests
2018-04-30 15:11:01 +02:00
Stephan
923fdf9199
ISystemDefaultCultureAccessor
2018-04-30 09:13:21 +02:00
Stephan
8f13fa3ae5
ISystemDefaultCultureProvider
2018-04-27 18:21:06 +02:00
Shannon
73567ffdce
Fixes IPublishedShapshot and friends
2018-04-27 11:38:50 +10:00
Shannon
9044c9328d
Gets inbound routing working, reduces the amount of non injected dependencies, reduces the amount of DomainHelper instances
2018-04-24 13:07:18 +10:00