Shannon
91486bbede
Removes IServerRegistrar, new IServerRoleAccessor, removes more composers, moves more to ext,
2020-12-24 16:35:59 +11:00
Shannon
d0e17d16bc
ext method for authn back office scheme with null check, fixing tests
2020-12-02 15:49:28 +11:00
Shannon
0846fc5690
Cleans up IBackofficeSecurity, ensures authn for the AuthenticationController/BackOfficeController
2020-12-02 14:28:16 +11: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
e0665973e3
Merge remote-tracking branch 'origin/netcore/netcore' into netcore/task/6666-auth-policies
...
# Conflicts:
# src/Umbraco.Infrastructure/Runtime/CoreInitialComposer.cs
# src/Umbraco.Web.BackOffice/Extensions/BackOfficeServiceCollectionExtensions.cs
# src/Umbraco.Web.Common/Filters/UmbracoBackOfficeAuthorizeFilter.cs
# src/Umbraco.Web.Common/Runtime/AspNetCoreComposer.cs
2020-11-25 11:55:16 +11: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
Shannon
65a11a4e26
Adds notes
2020-11-20 15:40:20 +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
Mole
b5aedde616
Do some ILogger cleaning
2020-09-28 08:48:49 +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
ab3ac5ad91
Remove a bunch of references to the old logger
2020-09-21 11:19:46 +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
Bjarke Berg
9cfae2c935
Merge pull request #8891 from umbraco/netcore/feature/8651-config-options-pattern-refactor
...
Netcore: Replace configurations with IOptions pattern
2020-09-18 08:20:03 +02:00
Nikolaj
dda6fb12a3
Remove LogError<T> from LoggerExtensions
2020-09-16 09:40:49 +02:00
Nikolaj
e870823e81
Merge branch 'netcore/netcore' into netcore/feature/migrate-logging
2020-09-16 08:59:30 +02:00
Nikolaj
633d42039e
Fix a whole bunch of other errors
2020-09-15 15:14:44 +02:00
Bjarke Berg
af59a7a0b9
Do not login after install. This currently leads to issues due to the restart.
2020-09-15 13:47:54 +02:00
Nikolaj
161061dbbc
Remove exception logging and finish LogWarning
2020-09-14 14:10:19 +02:00
Nikolaj
a1ecc4a5c9
Change Warn to LogWarning
2020-09-14 10:17:32 +02:00
Nikolaj
d7e3bce741
Rename Error to align it with MS ILogger
2020-09-14 09:10:53 +02:00
Bjarke Berg
97e6d76ec9
Merge remote-tracking branch 'origin/netcore/netcore' into feature/8651-config-options-patten
2020-09-02 10:03:53 +02:00
Andy Butland
f1bda37a64
Updates following PR review.
2020-09-01 18:10:12 +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
Mole
16db36eecd
Start working on tests
2020-08-21 13:53:27 +02: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
Andy Butland
1cf4374a48
Updated various type filters to attributes with nested filters.
2020-06-13 11:08:59 +02:00
Bjarke Berg
9f17049582
Merge remote-tracking branch 'origin/netcore/netcore' into netcore/feature/websecurity
...
Signed-off-by: Bjarke Berg <mail@bergmania.dk >
# Conflicts:
# src/Umbraco.Web/Editors/AuthenticationController.cs
2020-06-10 11:13:32 +02:00
Bjarke Berg
af382e5e71
Migrated section controller + LanguageTreeController, ApplciationTreeController.
...
Updated AngularJsonOnlyConfigurationAttribute to be a TypeFilterAttribute, to allow injeciton into the filter.
Note: Left TODO about checking authorization of proxied trees..
2020-06-08 13:14:23 +02:00
Elitsa Marinovska
e32d5bb9b9
Injecting IWebSecurity directly instead of getting it through UmbracoContext.Security
2020-06-04 13:40:33 +02:00
Shannon
ea58dce644
implements logic to log the user in on install
2020-06-02 13:47:58 +10:00
Shannon
06ce62d922
Merge remote-tracking branch 'origin/netcore/netcore' into netcore/feature/boot-failed-exception
2020-05-18 16:20:25 +10:00
Shannon
a84bcdd6ae
fix ctor, fix usages of GetBackOfficeUrl
2020-05-18 15:35:20 +10:00
Shannon
3d9603e669
Migrates more logic from the umb module over to netcore
2020-05-14 22:50:27 +10:00
Shannon
3ebf8a969c
naming
2020-05-14 21:20:06 +10:00
Shannon
ac6f691208
Adds tests for all routes and fixes up some of the issues
2020-05-14 20:59:29 +10:00
Shannon
e3591923c3
Gets auto-routing back office api controllers working, lots of notes
2020-05-14 17:04:16 +10:00
Shannon
64b78676da
fix namespace
2020-05-14 14:47:59 +10:00
Shannon
3bacba3ecd
Streamlines, simplifies and makes all routing consistent, fixes catch all route by installer
2020-05-13 17:14:09 +10:00
Shannon
4d6df1405f
Moves routing into IAreaRoutes, ensures back office is redirected if installed
2020-05-13 14:49:00 +10:00
Shannon
f427059d41
Fixes routing for installer to use an area, fixes URL generation
2020-05-12 17:10:02 +10:00
Shannon
3add4746fe
Gets body model binders working per controller and figures out how the application model works
2020-05-12 12:29:03 +10:00
Shannon
39fed867c1
Cleans up some routing, mvc base classes, gets controller specific model binding working, applies our own application model to our controllers
2020-05-12 10:21:40 +10:00
Bjarke Berg
e121ce136f
AB#6233 - Clean up
2020-05-07 10:21:32 +02:00
Bjarke Berg
e3f9b94fd0
AB#6233 - Added HttpPost to ensure only posts are possible
2020-05-07 10:13:54 +02:00
Bjarke Berg
e4dfdbb504
AB#6233 - renamed extensions namespace to Umbraco.Extensions
2020-05-07 10:08:23 +02:00
Bjarke Berg
1499e4538f
AB#6233 - Clear other formatters in AngularJsonOnlyConfigurationAttribute and changed to inject dependencies and use TypeFilter
2020-05-07 09:46:42 +02:00