Shannon
7d143ec240
Moves auto linking logic to the BackOfficeSignInManager
2020-11-27 12:51:37 +11:00
Shannon
c08db7763e
Gets oauth working (with google) now need to test others and debug why the styles aren't working
2020-11-27 00:44:36 +11:00
Shannon
e01abf2802
Moves some files, adds notes, starts poc for back office login providers
2020-11-26 19:24:55 +11: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
715071a33f
Merge remote-tracking branch 'origin/netcore/task/6973-migrating-authenticationcontroller' into netcore/task/6973-migrating-authenticationcontroller-merge
...
# Conflicts:
# src/Umbraco.Web.BackOffice/Controllers/BackOfficeServerVariables.cs
# src/Umbraco.Web.BackOffice/Extensions/BackOfficeApplicationBuilderExtensions.cs
# src/Umbraco.Web/Logging/WebProfilerComponent.cs
# src/Umbraco.Web/Logging/WebProfilerComposer.cs
2020-10-26 14:37:56 +01:00
Bjarke Berg
b47f946ffe
Merge remote-tracking branch 'origin/netcore/netcore' into netcore/task/6973-migrating-authenticationcontroller
...
Signed-off-by: Bjarke Berg <mail@bergmania.dk >
# Conflicts:
# src/Umbraco.Infrastructure/HealthCheck/NotificationMethods/EmailNotificationMethod.cs
# src/Umbraco.Web/Editors/AuthenticationController.cs
2020-10-26 14:34:06 +01:00
Mole
9cd752c2f8
Netcore: Align Namespaces in Tests and Web.BackOffice ( #9274 )
...
* Align namespaces in integration tests
* Align namespaces in unit tests
* Align namespaces in Backoffice.Filters
* Align namespaces in Backoffice.ActionResults
* Align namespaces in Backoffice.Mapping
* Align namespaces in Backoffice.PorpertyEditors and SignalR
* Align namespaces in Backoffice.Trees
* Align unit tests after migration
2020-10-26 13:34:08 +01:00
Bjarke Berg
f791bd4426
Fixed unit test, by injecting IHttpContextAccessor instead of using HttpContext directly. Not the test class is mockable again
...
Signed-off-by: Bjarke Berg <mail@bergmania.dk >
2020-10-23 10:36:47 +02:00
Shannon
64d8b56eca
It builds!
2020-10-23 14:18:53 +11:00
Bjarke Berg
ca8e54ffc6
https://github.com/umbraco/Umbraco-CMS/pull/9248 >
...
- Removed BackOfficeArea
- Injected IEmailSender
- Uses nameof instead of magic strings
- Uses GetControllerName instead of magic strings
Signed-off-by: Bjarke Berg <mail@bergmania.dk >
2020-10-22 13:37:47 +02:00
Bjarke Berg
6905e5e734
Cleanup of different stuff that can be deleted from Umbraco.Web
...
Signed-off-by: Bjarke Berg <mail@bergmania.dk >
2020-10-22 12:25:52 +02:00
Shannon
2b1dfc5888
Merge remote-tracking branch 'origin/netcore/netcore' into netcore/task/6973-migrating-authenticationcontroller
...
# Conflicts:
# src/Umbraco.Tests.Integration/Testing/UmbracoIntegrationTest.cs
# src/Umbraco.Tests/Web/Mvc/UmbracoViewPageTests.cs
# src/Umbraco.Web.BackOffice/Controllers/BackOfficeController.cs
# src/Umbraco.Web/Editors/BackOfficeController.cs
# src/Umbraco.Web/Mvc/UmbracoController.cs
2020-10-22 21:16:44 +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
b27732adc8
Migrated RenderMvcController and RenderIndexActionSelectorAttribute
...
Signed-off-by: Bjarke Berg <mail@bergmania.dk >
2020-10-15 11:42:16 +02:00
Mole
8258178c5a
Merge remote-tracking branch 'origin/netcore/netcore' into netcore/feature/migrate-logging
...
# Conflicts:
# src/Umbraco.Infrastructure/Media/UploadAutoFillProperties.cs
# src/Umbraco.Infrastructure/PropertyEditors/FileUploadPropertyEditor.cs
# src/Umbraco.Infrastructure/PropertyEditors/ImageCropperPropertyEditor.cs
# src/Umbraco.Tests/Models/MediaXmlTest.cs
# src/Umbraco.Tests/Routing/MediaUrlProviderTests.cs
# src/Umbraco.Web.BackOffice/Controllers/BackOfficeController.cs
# src/Umbraco.Web.BackOffice/Controllers/MediaController.cs
2020-09-23 13:32:49 +02:00
Mole
2bd4f683f2
Remove empty line in BackOfficeController
2020-09-23 13:06:18 +02:00
Bjarke Berg
60424dd54f
Merge remote-tracking branch 'origin/netcore/netcore' into netcore/bugfix/reset_password
...
# Conflicts:
# src/Umbraco.Web.BackOffice/Controllers/AuthenticationController.cs
# src/Umbraco.Web.BackOffice/Controllers/BackOfficeController.cs
2020-09-22 19:35:49 +02:00
Mole
4b5fbf83e1
Merge remote-tracking branch 'origin/netcore/netcore' into netcore/feature/migrate-logging
...
# Conflicts:
# src/Umbraco.Web.BackOffice/Controllers/CurrentUserController.cs
# src/Umbraco.Web.BackOffice/Controllers/UsersController.cs
2020-09-22 15:24:01 +02:00
Bjarke Berg
0c908a7bbb
Introduced interface on BackOfficeUserManager ( #8913 )
...
* Introduced IBackOfficeUserManager
* Fixed test
* Moved class into own file
Co-authored-by: Elitsa Marinovska <elm@umbraco.dk >
2020-09-22 14:44:41 +02:00
Mole
c0616d516a
Merge remote-tracking branch 'origin/netcore/netcore' into netcore/feature/migrate-logging
...
# Conflicts:
# src/Umbraco.Infrastructure/Scheduling/ScheduledPublishing.cs
# src/Umbraco.Infrastructure/Scheduling/SchedulerComponent.cs
# src/Umbraco.Tests.Integration/Umbraco.Web.BackOffice/Filters/ContentModelValidatorTests.cs
# src/Umbraco.Web.BackOffice/Controllers/BackOfficeController.cs
# src/Umbraco.Web.BackOffice/Controllers/CurrentUserController.cs
# src/Umbraco.Web.BackOffice/Controllers/MacrosController.cs
# src/Umbraco.Web.BackOffice/Controllers/PackageInstallController.cs
# src/Umbraco.Web.BackOffice/Controllers/RedirectUrlManagementController.cs
# src/Umbraco.Web.BackOffice/Controllers/UsersController.cs
# src/Umbraco.Web.BackOffice/Filters/ContentModelValidator.cs
# src/Umbraco.Web.BackOffice/Filters/ContentSaveModelValidator.cs
# src/Umbraco.Web.BackOffice/Filters/ContentSaveValidationAttribute.cs
# src/Umbraco.Web.BackOffice/Filters/MediaItemSaveValidationAttribute.cs
# src/Umbraco.Web.BackOffice/Filters/MediaSaveModelValidator.cs
# src/Umbraco.Web.BackOffice/Filters/MemberSaveModelValidator.cs
# src/Umbraco.Web.BackOffice/Filters/MemberSaveValidationAttribute.cs
# src/Umbraco.Web.BackOffice/Trees/ContentTreeController.cs
# src/Umbraco.Web.BackOffice/Trees/ContentTreeControllerBase.cs
# src/Umbraco.Web.BackOffice/Trees/MediaTreeController.cs
# src/Umbraco.Web.Common/Install/InstallController.cs
2020-09-22 13:44:22 +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
Mole
894abdd183
Remove a bunch of references to the old logger
2020-09-21 09:41:18 +02:00
Mole
d61b9f54fa
Merge options
2020-09-18 12:53:06 +02:00
Nikolaj
488093add3
Remove LogWarning<T> from LoggerExtensions
2020-09-16 10:08:18 +02:00
Nikolaj
a1ecc4a5c9
Change Warn to LogWarning
2020-09-14 10:17:32 +02:00
Bjarke Berg
a4e5029912
Refactored to remove Configs
2020-09-10 13:51:59 +02:00
Andy Butland
f1bda37a64
Updates following PR review.
2020-09-01 18:10:12 +02:00
Bjarke Berg
4a150859cd
Fixed reset password for functionality
2020-08-31 13:39:29 +02:00
Andy Butland
967f0be705
Aligned property names in code with those in configuration.
2020-08-25 10:45:54 +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
510bd92e78
Amended injection of further settings to use IOptionsSnapshot.
2020-08-21 14:52:47 +01:00
Bjarke Berg
7b95494e30
Merge pull request #8572 from umbraco/netcore/bugfix/6970-backoffice-controller
...
Migrates remaining non-oauth actions on back office controller to netcore
2020-08-17 08:29:59 +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
Elitsa Marinovska
3a780db3fc
Updating old comments
2020-08-04 20:29:48 +02:00
Shannon
d9c2e5f55c
Migrates remaining non-oauth actions on back office controller to netcore
2020-08-04 14:30:42 +10:00
Bjarke Berg
1dcacda036
Moved umbraco cshtml files into the umbraco folder
...
Signed-off-by: Bjarke Berg <mail@bergmania.dk >
2020-07-08 11:18:23 +02:00
Shannon
670d62a2dc
Gets cookie authentication actually working along with session validation
2020-06-02 17:48:08 +10:00
Shannon
b75fba71f5
Cleaning up websecurity and implementing it, migrates security stamp and session id validation for cookie auth
2020-06-02 13:28:30 +10:00
Shannon
1cfc490751
More signinmanager, signin now works and we set the user principal in the correct place on login
2020-05-27 18:27:49 +10:00
Shannon
9dcad544a9
Implements more BackOfficeController and AuthenticationController, some web security and more, gets the back office UI almost rendering
2020-05-25 23:15:32 +10:00
Shannon
0730867d74
Gets default.cshtml rendering what should work, had to update quite a few things to get to this point, now need to figure out why it doesn't start booting angular.
2020-05-25 19:37:16 +10:00
Shannon
cf58782093
Merge remote-tracking branch 'origin/netcore/netcore' into netcore/feature/identity
...
# Conflicts:
# src/Umbraco.Web.BackOffice/Controllers/BackOfficeController.cs
# src/Umbraco.Web/Editors/BackOfficeController.cs
2020-05-21 15:46:43 +10:00
Shannon
f47ceb8bbe
Implements more of identity and makes it more specific to the back office (less intrusive), starts adding cookie auth
2020-05-21 15:43:33 +10:00
Shannon
558bde8596
Migrates back office variables and a couple methods for the BackOfficeController
2020-05-20 16:43:06 +10:00
Shannon
9818b4a14b
Moves what is possible for identity back office to Core, configures backoffice identity with IOptions and our password settings
2020-05-20 15:25:42 +10:00
Bjarke Berg
35680bba46
https://dev.azure.com/umbraco/D-Team%20Tracker/_workitems/edit/6586 - Migrated DashboardController and BackOfficeAssetsController
2020-05-19 09:52:58 +02:00
Bjarke Berg
4ca6868553
https://dev.azure.com/umbraco/D-Team%20Tracker/_workitems/edit/6586 - Migrated TourController
2020-05-18 15:19:52 +02:00
Bjarke Berg
515d43e11b
Merge branch 'netcore/netcore' into netcore/feature/auto-routing
...
# Conflicts:
# src/Umbraco.Web.BackOffice/Controllers/BackOfficeController.cs
2020-05-15 14:10:03 +02:00
Shannon
ac6f691208
Adds tests for all routes and fixes up some of the issues
2020-05-14 20:59:29 +10:00