Shannon
d206273753
Merge remote-tracking branch 'origin/netcore/netcore' into netcore/task/usermanager-object-cleanup
...
# Conflicts:
# src/Umbraco.Infrastructure/Composing/CompositionExtensions/CoreMappingProfiles.cs
# src/Umbraco.Web.BackOffice/Extensions/WebMappingProfiles.cs
2020-12-04 12:59:19 +11:00
Shannon
86d231f5de
removes remaining back office things from underlying UmbracoUserManager moves files
2020-12-04 02:21:21 +11:00
Shannon
90b7ee3f37
oops broke build
2020-12-03 23:55:10 +11:00
Shannon
de03dae46f
Moving namespaces, cleaning up some stuff on the underlying base identity classes
2020-12-03 23:49:32 +11:00
James Jackson-South
606d8bcf51
Merge remote-tracking branch 'upstream/netcore/netcore' into netcore/feature/9397
2020-12-03 12:39:08 +00:00
Shannon Deminick
0f872f5e4a
Merge pull request #9338 from JimBobSquarePants/netcore/linting
...
Add Stylecop and .EditorConfig Linting.
2020-12-03 19:20:00 +11:00
Shannon
0846fc5690
Cleans up IBackofficeSecurity, ensures authn for the AuthenticationController/BackOfficeController
2020-12-02 14:28:16 +11:00
Shannon
0f0c50b56e
Merge remote-tracking branch 'origin/netcore/netcore' into netcore/feature/2FAuth
...
# Conflicts:
# src/Umbraco.Tests.Integration/TestServerTest/TestAuthHandler.cs
# src/Umbraco.Web.BackOffice/Controllers/AuthenticationController.cs
# src/Umbraco.Web.BackOffice/Controllers/BackOfficeController.cs
# src/Umbraco.Web.BackOffice/Controllers/ContentController.cs
# src/Umbraco.Web.BackOffice/Controllers/ContentTypeController.cs
# src/Umbraco.Web.BackOffice/Controllers/MediaTypeController.cs
# src/Umbraco.Web.BackOffice/Controllers/UsersController.cs
# src/Umbraco.Web.BackOffice/Filters/DenyLocalLoginAuthorizationAttribute.cs
# src/Umbraco.Web.BackOffice/Filters/OverrideAuthorizationFilterProvider.cs
# src/Umbraco.Web.Common/Filters/UmbracoBackOfficeAuthorizeAttribute.cs
# src/Umbraco.Web.Common/Filters/UmbracoBackOfficeAuthorizeFilter.cs
2020-12-02 13:14:47 +11:00
James Jackson-South
c9b7655f1d
Fix missing namespace replacements.
2020-12-01 14:59:08 +00:00
James Jackson-South
62959811ac
Merge remote-tracking branch 'upstream/netcore/netcore' into netcore/linting
2020-12-01 12:47:08 +00:00
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
Shannon
4671d9d23b
moves the back office user auditing logic
2020-12-01 17:51:52 +11:00
Shannon
20b4f55664
Fixes up a bunch of TODOs moves user manager to the back office project so we have acess to necessary services, splits apart files, removes old code, starts implementing the 2fa stuff
2020-12-01 17:24:23 +11:00
James Jackson-South
601270640c
Merge remote-tracking branch 'upstream/netcore/netcore' into netcore/linting
2020-11-30 21:19:32 +00: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
James Jackson-South
3965e71138
Fix private instance field naming rules in Rider
2020-11-27 13:52:47 +00:00
James Jackson-South
2fae17f72b
Merge remote-tracking branch 'upstream/netcore/netcore' into netcore/linting
2020-11-27 00:00:12 +00:00
Bjarke Berg
f249553549
Merge remote-tracking branch 'origin/netcore/netcore' into netcore/feature/linux-paths
...
# Conflicts:
# src/Umbraco.Tests.UnitTests/Umbraco.Infrastructure/HostedServices/TempFileCleanupTests.cs
# src/Umbraco.Web.Common/Extensions/UmbracoCoreServiceCollectionExtensions.cs
2020-11-26 13:14:26 +01:00
Bjarke Berg
87b6c4852f
Merge pull request #9448 from AndyButland/feature/membership-helper-facade-2
...
NetCore: Migrated member related partial views
2020-11-26 06:38:11 +01:00
Paul Johnson
7f8ed7b2e3
Resolve naming issues from #9415
...
Note that I removed the comment around funky namespace without changing namespace, dead comment from 2016.
2020-11-25 05:11:31 +00:00
James Jackson-South
4a1040d1af
Naming rules now work
2020-11-24 12:20:43 +00:00
Paul Johnson
7e9a13a4ab
Register instances instead of factory method with discard.
2020-11-24 12:20:05 +00:00
Paul Johnson
633c391f85
Merge branch 'netcore/netcore' into netcore/feature/msdi-remove-composition
2020-11-24 12:05:32 +00:00
Bjarke Berg
84237d4a57
Remove Security from UmbracoContext ( #9392 )
...
* Remove Security from UmbracoContext
Signed-off-by: Bjarke Berg <mail@bergmania.dk >
* Removing files reference from csproj
Co-authored-by: Elitsa Marinovska <elm@umbraco.dk >
2020-11-24 12:52:48 +01:00
Andy Butland
b331d683ec
Migrated member related partial views along with necessary methods from MembershipHelper into IUmbracoWebsiteSecurity.
2020-11-24 11:33:46 +01:00
Paul Johnson
7abf9466c0
Merge branch 'netcore/netcore' into netcore/feature/msdi-remove-composition
2020-11-23 12:29:00 +00:00
Paul Johnson
a62079d794
Use OptionsMonitorAdapter over AspNetCoreHostingEnvironmentWithoutOptionsMonitor
...
Rollback Serilog setup as I broke BASEDIR env var
2020-11-23 10:27:13 +00:00
Kenn Jacobsen
b7d37f2279
Replace obsolete usages with injected services in UmbracoHelper
2020-11-23 10:47:15 +01:00
nzdev
32788a0a42
reduce array allocations
2020-11-23 10:36:46 +01:00
Sebastiaan Janssen
b5546d074a
Merge branch 'v8/contrib' into v8/dev
2020-11-23 10:19:14 +01:00
Paul Johnson
5e2de50382
Fix legacy tests
2020-11-20 12:32:56 +00:00
Paul Johnson
8b97ce69b1
Removed CoreRuntimeBootstrapper
...
Establish runtime level at run time not during service registration.
2020-11-19 20:21:45 +00:00
Paul Johnson
3672a9f2f2
Add composers via extension on UmbracoBuilder
...
reduce scope of CoreRuntimeBootstrapper
2020-11-19 16:20:39 +00:00
Benjamin Carleski
42f4fdf8c8
Don't prepend root to path when path starts with root
2020-11-19 03:07:05 -08:00
Paul Johnson
aec25d5007
Replace Composition with UmbracoBuilder
2020-11-18 17:41:57 +00:00
Benjamin Carleski
4d4cb0d221
Fix unit test failures
2020-11-18 08:51:58 -08:00
Benjamin Carleski
2309bb9d5b
Finish removing IOHelper.MapPath references
2020-11-18 08:10:16 -08:00
Andy Butland
0fbe01cd22
Created new abstraction IUmbracoWebsiteSecurity and migrated controller's using it (replacing MembershipHelper) to Umbraco.Web.Website.
2020-11-18 16:12:42 +01:00
Benjamin Carleski
d51677d5ed
Split IOHelper into platform specific versions
2020-11-18 04:49:03 -08:00
Shannon
c2d9f5aa4e
Ensure that TaskScheduler.Default is used anywhere that ContinueWith is used, adds more debug logging to MainDom operations
2020-11-18 12:33:13 +11:00
Laura Weatherhead
cc74be5a27
Fix mis-spelt "occurred"
2020-11-17 08:49:01 +10: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
Bjarke Berg
bb1b04be15
Netcore: Cleanup and migrate few classes from Umbraco.Web ( #9375 )
...
* Migrated a few classes, and cleaned up by removing some old classs too in the Umbraco.Web Project
Signed-off-by: Bjarke Berg <mail@bergmania.dk >
* Migrated a few classes, and cleaned up by removing some old classs too in the Umbraco.Web Project
Signed-off-by: Bjarke Berg <mail@bergmania.dk >
* Moved SurfaceControllerTypeCollection + Builder
Signed-off-by: Bjarke Berg <mail@bergmania.dk >
* Moved Extension methods
Signed-off-by: Bjarke Berg <mail@bergmania.dk >
* Removed Wrap methods.. People should use their own TagBuilder
Signed-off-by: Bjarke Berg <mail@bergmania.dk >
2020-11-12 11:01:19 +01:00
Bjarke Berg
eaf6543f99
post merge
2020-11-12 09:50:55 +01:00
Bjarke Berg
b2bcdb898e
Merge remote-tracking branch 'origin/v8/dev' into netcore/dev
...
# Conflicts:
# src/SolutionInfo.cs
# src/Umbraco.Web.UI/Umbraco/Views/Preview/Index.cshtml
# src/Umbraco.Web.UI/config/umbracoSettings.config
# src/Umbraco.Web/Services/IconService.cs
2020-11-12 09:13:53 +01:00
Paul Johnson
3f5f85880e
NetCore: MSDI refactor split CoreRuntime & Remove Current ( #9356 )
...
* Split Bootstrap code from CoreRuntime
* Make ContentService method signatures match interface
prevents need to hide the concrete class in tests
* Remove Current
Only bit that bugs me is TreeNode for IconFilePath
I get the feeling it's dead code, but can just use a setter in cs or work out path in js if required.
* Fix tests, remember to terminate IRuntime
2020-11-10 09:50:47 +01:00
Callum Whyte
1654bea562
Casting tree controllers to TreeControllerBase to support manually registered trees without attributes
2020-11-09 19:45:16 +00:00
Claus
7701a0f745
Merge pull request #9361 from umbraco/v8/bug/logviewer-access
...
Limit access to logviewer endpoints to people with access to the settings section
2020-11-09 11:26:20 +01:00
Sebastiaan Janssen
bd4c2cde61
D'oh.. don't push commented out code as used for testing..
2020-11-09 10:30:45 +01:00
Sebastiaan Janssen
efd9f71897
Limit access to logviewer endpoints to people with access to the settings section
2020-11-09 10:16:01 +01:00