Bjarke Berg
85c01d9905
Merge remote-tracking branch 'origin/netcore/dev' into netcore/netcore
...
# Conflicts:
# src/Umbraco.Configuration/Legacy/GlobalSettings.cs
# src/Umbraco.Core/Configuration/IGlobalSettings.cs
# src/Umbraco.Core/Models/ContentBaseExtensions.cs
# src/Umbraco.Core/Routing/ContentFinderByRedirectUrl.cs
# src/Umbraco.Core/Routing/DefaultUrlProvider.cs
# src/Umbraco.Core/Runtime/MainDom.cs
# src/Umbraco.Core/Services/IRuntimeState.cs
# src/Umbraco.Infrastructure/Compose/NotificationsComponent.cs
# src/Umbraco.Infrastructure/PropertyEditors/ValueConverters/ImageCropperValueConverter.cs
# src/Umbraco.Infrastructure/RuntimeState.cs
# src/Umbraco.Tests/Routing/UrlsWithNestedDomains.cs
# src/Umbraco.Tests/Runtimes/StandaloneTests.cs
# src/Umbraco.Tests/TestHelpers/TestObjects.cs
# src/Umbraco.Web.BackOffice/Controllers/LogViewerController.cs
# src/Umbraco.Web.BackOffice/Controllers/UsersController.cs
# src/Umbraco.Web.BackOffice/Mapping/ContentMapDefinition.cs
# src/Umbraco.Web.BackOffice/PropertyEditors/RteEmbedController.cs
# src/Umbraco.Web.BackOffice/Trees/DictionaryTreeController.cs
# src/Umbraco.Web.UI.NetCore/umbraco/UmbracoBackOffice/Default.cshtml
# src/Umbraco.Web.UI.NetCore/umbraco/config/lang/da.xml
# src/Umbraco.Web.UI.NetCore/umbraco/config/lang/en.xml
# src/Umbraco.Web.UI.NetCore/umbraco/config/lang/en_us.xml
# src/Umbraco.Web.UI/Umbraco/config/lang/cs.xml
# src/Umbraco.Web.UI/Views/Partials/Grid/Editors/Rte.cshtml
# src/Umbraco.Web/Controllers/UmbLoginController.cs
# src/Umbraco.Web/Install/Controllers/InstallController.cs
# src/Umbraco.Web/PublishedElementExtensions.cs
# src/Umbraco.Web/Runtime/WebInitialComposer.cs
# src/Umbraco.Web/UmbracoHelper.cs
# src/Umbraco.Web/UmbracoInjectedModule.cs
# src/Umbraco.Web/UrlHelperExtensions.cs
# src/Umbraco.Web/UrlHelperRenderExtensions.cs
# src/Umbraco.Web/WebApi/UmbracoApiControllerBase.cs
2020-12-01 11:34:13 +01:00
Bjarke Berg
c88c842d47
Merge remote-tracking branch 'origin/v8/dev' into netcore/dev
...
# Conflicts:
# .github/workflows/codeql-analysis.yml
# src/Umbraco.Core/CompositionExtensions.cs
# src/Umbraco.Core/Constants-AppSettings.cs
# src/Umbraco.Core/GuidUdi.cs
# src/Umbraco.Core/Models/PublishedContent/IPublishedContent.cs
# src/Umbraco.Core/PublishedContentExtensions.cs
# src/Umbraco.Core/Routing/DefaultUrlProvider.cs
# src/Umbraco.Core/Routing/UrlProvider.cs
# src/Umbraco.Core/Routing/UrlProviderExtensions.cs
# src/Umbraco.Core/Runtime/MainDom.cs
# src/Umbraco.Core/Services/IRuntimeState.cs
# src/Umbraco.Core/StringExtensions.cs
# src/Umbraco.Core/Sync/ApplicationUrlHelper.cs
# src/Umbraco.Core/Sync/DatabaseServerRegistrar.cs
# src/Umbraco.Core/Sync/IServerRegistrar.cs
# src/Umbraco.Infrastructure/Media/EmbedProviders/Instagram.cs
# src/Umbraco.Infrastructure/Models/ContentBaseExtensions.cs
# src/Umbraco.Infrastructure/PropertyEditors/NestedContentPropertyEditor.cs
# src/Umbraco.Infrastructure/PropertyEditors/ValueConverters/ImageCropperValue.cs
# src/Umbraco.Tests/Misc/ApplicationUrlHelperTests.cs
# src/Umbraco.Tests/Routing/UrlProviderTests.cs
# src/Umbraco.Tests/Routing/UrlsWithNestedDomains.cs
# src/Umbraco.Tests/TestHelpers/TestObjects.cs
# src/Umbraco.Web.UI/Umbraco/Views/Default.cshtml
# src/Umbraco.Web.UI/Views/Partials/Grid/Editors/Rte.cshtml
# src/Umbraco.Web/CompositionExtensions.cs
# src/Umbraco.Web/HtmlHelperBackOfficeExtensions.cs
# src/Umbraco.Web/ImageCropperTemplateExtensions.cs
# src/Umbraco.Web/Models/Mapping/ContentMapDefinition.cs
# src/Umbraco.Web/PropertyEditors/MultiUrlPickerPropertyEditor.cs
# src/Umbraco.Web/PublishedContentExtensions.cs
# src/Umbraco.Web/Runtime/WebInitialComponent.cs
# src/Umbraco.Web/Runtime/WebInitialComposer.cs
# src/Umbraco.Web/Templates/TemplateUtilities.cs
# src/Umbraco.Web/UmbracoContext.cs
# src/Umbraco.Web/UmbracoHelper.cs
# src/Umbraco.Web/UmbracoInjectedModule.cs
2020-11-30 11:24:24 +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
Ronald Barendse
2bfef74191
Fix casing of 'URL' ( #9080 )
2020-10-05 20:48:38 +02:00
Bjarke Berg
ce2da18304
Fixed based on review comments
...
Signed-off-by: Bjarke Berg <mail@bergmania.dk >
2020-09-14 21:27:31 +02:00
Bjarke Berg
a4e5029912
Refactored to remove Configs
2020-09-10 13:51:59 +02:00
Bjarke Berg
2ffb01530a
Merge remote-tracking branch 'origin/v8/dev' into netcore/dev
...
Signed-off-by: Bjarke Berg <mail@bergmania.dk >
# Conflicts:
# src/Umbraco.Core/Models/PublishedContent/IndexedArrayItem.cs
# src/Umbraco.Infrastructure/Models/Mapping/CommonMapper.cs
# src/Umbraco.Web.UI/web.Template.Debug.config
# src/Umbraco.Web/Compose/AuditEventsComponent.cs
# src/Umbraco.Web/HtmlHelperRenderExtensions.cs
# src/Umbraco.Web/HtmlStringUtilities.cs
# src/Umbraco.Web/PublishedContentExtensions.cs
# src/Umbraco.Web/Runtime/WebInitialComposer.cs
2020-06-28 12:48:19 +02:00
Ronald Barendse
0886ada39c
Properly HTML encode text in helper methods ( #6545 )
2020-06-19 11:41:16 +02:00
Bjarke Berg
e3ac778fc9
Merge remote-tracking branch 'origin/v8/dev' into netcore/dev
...
# Conflicts:
# src/Umbraco.Core/Cache/WebCachingAppCache.cs
# src/Umbraco.Core/StringExtensions.cs
# src/Umbraco.Infrastructure/PropertyEditors/UploadFileTypeValidator.cs
# src/Umbraco.Tests/Configurations/UmbracoSettings/ContentElementTests.cs
# src/Umbraco.Tests/PublishedContent/NuCacheChildrenTests.cs
# src/Umbraco.Web.UI.Client/package-lock.json
# src/Umbraco.Web.UI/Umbraco/js/navigation.controller.js
# src/Umbraco.Web/Macros/MacroRenderer.cs
# src/Umbraco.Web/Security/Providers/UsersMembershipProvider.cs
2020-04-01 12:44:53 +02:00
Bjarne Fyrstenborg
54f75b9393
No more TypedContentAtRoot ( #7763 )
2020-03-24 17:41:26 +01:00
Bjarke Berg
e2dfc68718
Cleaned up config for WebRouting settings
2020-03-12 09:52:34 +01:00
Bjarke Berg
4d3e9601f9
post merge fix
2020-03-02 09:07:05 +01:00
Bjarke Berg
1ea39f2762
Merge remote-tracking branch 'origin/v8/dev' into netcore/dev
...
# Conflicts:
# src/Umbraco.Core/Models/PublishedContent/IPublishedContent.cs
# src/Umbraco.Core/Models/PublishedContent/PublishedContentBase.cs
# src/Umbraco.Core/Models/PublishedContent/PublishedContentWrapped.cs
# src/Umbraco.Core/Packaging/ConflictingPackageData.cs
# src/Umbraco.Core/Packaging/PackagesRepository.cs
# src/Umbraco.Core/PublishedCache/PublishedMember.cs
# src/Umbraco.Infrastructure/Persistence/Repositories/Implement/MacroRepository.cs
# src/Umbraco.Infrastructure/PropertyEditors/RichTextEditorPastedImages.cs
# src/Umbraco.PublishedCache.NuCache/PublishedContent.cs
# src/Umbraco.Tests/Persistence/Repositories/MacroRepositoryTest.cs
# src/Umbraco.Tests/PublishedContent/SolidPublishedSnapshot.cs
# src/Umbraco.Web/Macros/PublishedContentHashtableConverter.cs
# src/Umbraco.Web/PublishedContentExtensions.cs
# src/Umbraco.Web/Trees/MediaTypeTreeController.cs
2020-03-02 08:34:52 +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
c6e1e7b3e5
Untangled UrlProvider from UmbracoContext
2020-02-14 13:06:10 +01:00
Bjarke Berg
b57a7690f5
Moved More files to infrastructure/abstractions
2020-02-13 11:21:20 +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
c335a8dbb5
Introduced interface on UmbracoContext
2020-02-09 19:05:39 +01:00
Andy Butland
0c0b94b10f
Migrate various extension methods on IPublishedContent, IPublishedElement and IPublishedProperty to Umbraco.Abstractions
2020-02-08 10:02:33 +01:00
Andy Butland
28267087ef
Merge branch 'feature/netcore-publish-cache' of https://github.com/AndyButland/Umbraco-CMS into feature/netcore-publish-cache
...
# Conflicts:
# src/Umbraco.Web/PublishedContentExtensions.cs
2020-02-04 18:55:52 +01:00
Bjarke Berg
420d8d2ba8
Merge remote-tracking branch 'origin/netcore/dev' into feature/netcore-publish-cache
2020-02-04 07:14:41 +01:00
Andy Butland
b8bfdf1441
Restored type check for NuCache status controller.
...
Added service located extension method for retrieving creator and writer name.
2020-02-01 18:19:50 +01:00
Steve Temple
6b46167180
In GetDataTable use Obsolete CreatorName and WriterName for now
2020-01-31 14:40:37 +00:00
Andy Butland
9e89e18492
Migrated various IPublishedContent extension methods from web to core, removin use of service location.
...
Kept the original methods passing through to the core ones, providing the service located dependencies.
Used one of these migrated methods in the Umbraco.Infrastructure.PublishedCache project.
2020-01-31 15:33:31 +01:00
Andy Butland
f13abca1ac
Removed WriterName and CreatorName from IPublished content and replaced functionality with an extension methods requiring an instance of IUserService.
2020-01-31 11:28:52 +01:00
Steve Temple
377f1925ea
Obsolete CreatorName and WriterName on IPublishedContent
2020-01-31 09:34:08 +00:00
Shannon
0343b302f3
Moving stuff to Examine2 (temp name) as a netstandard project, updates to latest Examine netstandard, moves constants to separate class.
2020-01-28 16:37:55 +11:00
Shannon
58537ce11a
Updates to newer 2.0 version of Examine which has Examine.Core as netstandard
2020-01-28 15:21:58 +11:00
Bjarke Berg
1bfb64bdd8
Merge remote-tracking branch 'origin/v8/dev' into netcore/dev
...
# Conflicts:
# src/Umbraco.Abstractions/Constants-AppSettings.cs
# src/Umbraco.Abstractions/ContentVariationExtensions.cs
# src/Umbraco.Abstractions/IMainDom.cs
# src/Umbraco.Abstractions/PropertyEditors/MultiUrlPickerConfiguration.cs
# src/Umbraco.Abstractions/Runtime/IMainDom.cs
# src/Umbraco.Abstractions/Runtime/MainDom.cs
# src/Umbraco.Core/IMainDom.cs
# src/Umbraco.Core/MainDom.cs
# src/Umbraco.Core/Umbraco.Core.csproj
# src/Umbraco.Infrastructure/MainDom.cs
# src/Umbraco.Infrastructure/Migrations/Upgrade/UmbracoPlan.cs
# src/Umbraco.Infrastructure/Runtime/CoreRuntime.cs
# src/Umbraco.Web.UI/Umbraco/config/lang/en.xml
# src/Umbraco.Web/Models/Mapping/ContentTypeMapDefinition.cs
# src/Umbraco.Web/PublishedCache/NuCache/ContentStore.cs
# src/Umbraco.Web/UmbracoApplication.cs
# src/Umbraco.Web/UmbracoComponentRenderer.cs
2020-01-23 13:16:49 +01:00
Dave Woestenborghs
f92d0b59bd
Make sure the configured url provider mode is used when getting a url ( #7189 )
2020-01-10 10:41:37 +01: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
rbottema
c8c5dfe594
Fix ContentType.Alias matching in PublishedContentExtensions an… ( #6577 )
2019-10-15 13:25:50 +02:00
christophnz
1d94c4b9bb
Fixed returntype of IPublishedContent.Siblings<T> to be IEnumerable<T> rather than IEnumerable<IPublishedContent>
2019-08-30 14:27:13 +02:00
Stephan
14a056f4f4
Fix and cleanup
2019-06-07 11:15:58 +02:00
Stephan
7fd6bfa163
Make IPublishedContent changes less breaking and more friendly
2019-06-06 16:54:00 +02:00
Stephan
bb0331e9cc
Move IPublishedContent.Url() to ext method
2019-04-24 14:25:41 +02:00
Stephan
4feb766cc6
Fix IPublishedContent.Children() and NuCache
2019-04-23 08:29:43 +02:00
Stephan
55d4457c70
UmbracoContext: don't use obsolete properties
2019-04-23 08:29:43 +02:00
Stephan
05c85bbce5
NuCache: children as linked lists
2019-04-23 08:28:26 +02:00
Stephan
2270188668
Refactor IPublishedContent.Children()
2019-04-23 08:28:23 +02:00
Stephan
41e14a62c0
Refactor IPublishedContent.Parent()
2019-04-23 08:27:50 +02:00
Stephan
a996d46b6f
Refactor IPublishedContent.GetCultureFromDomains()
2019-04-23 08:27:50 +02:00
Stephan
e062ea8d31
Refactor IPublishedContent.CultureDate(), .Cultures
2019-04-23 08:27:50 +02:00
Stephan
11ef00c63d
Refactor IPublishedContent.Url()
2019-04-23 08:27:49 +02:00
Stephan
2b54cc50ab
Refactor IPublishedContent.UrlSegment()
2019-04-23 08:27:49 +02:00
Stephan
890d7d8ce3
Refactor IPublishedContent.Name()
2019-04-23 08:27:48 +02:00
Stephan
e540a4ac23
IsVisible moves from publishde content to element
2019-04-09 21:24:55 +02:00
Bjarke Berg
e4c6ef05a9
Introduced both Siblings and SiblingsAndSelf
2019-03-19 14:59:52 +01:00