Bjarke Berg
91e877cebe
Merge pull request #9849 from kjac/netcore/bug/preview
...
Preview does display draft versions
2021-03-11 08:41:21 +01:00
Kenn Jacobsen
6c7316afcd
Move preview authorization middleware to fix preview
2021-02-19 11:45:58 +01:00
Mole
bf41c2eeaa
Netcore: Align namespaces ( #9801 )
...
* Rename Umbraco.Core namespace to Umbraco.Cms.Core
* Move extension methods in core project to Umbraco.Extensions
* Move extension methods in core project to Umbraco.Extensions
* Rename Umbraco.Examine namespace to Umbraco.Cms.Examine
* Move examine extensions to Umbraco.Extensions namespace
* Reflect changed namespaces in Builder and fix unit tests
* Adjust namespace in Umbraco.ModelsBuilder.Embedded
* Adjust namespace in Umbraco.Persistence.SqlCe
* Adjust namespace in Umbraco.PublishedCache.NuCache
* Align namespaces in Umbraco.Web.BackOffice
* Align namespaces in Umbraco.Web.Common
* Ensure that SqlCeSupport is still enabled after changing the namespace
* Align namespaces in Umbraco.Web.Website
* Align namespaces in Umbraco.Web.UI.NetCore
* Align namespaces in Umbraco.Tests.Common
* Align namespaces in Umbraco.Tests.UnitTests
* Align namespaces in Umbraco.Tests.Integration
* Fix errors caused by changed namespaces
* Fix integration tests
* Undo the Umbraco.Examine.Lucene namespace change
This breaks integration tests on linux, since the namespace wont exists there because it's only used on windows.
* Fix merge
* Fix Merge
2021-02-18 11:06:02 +01:00
Mole
7f58b3479b
Align namespaces in WebAssets to Umbraco.Cms.Infrastructure
2021-02-15 13:07:12 +01:00
Mole
30b086d5d0
Align namespaces in Security to Umbraco.Cms.Core
2021-02-15 12:01:12 +01:00
Mole
55aa2edb72
Align namespaces in Umbraco.Web.Common
2021-02-10 11:42:04 +01:00
Mole
428e80f515
Align namespaces in Umbraco.Web.BackOffice
2021-02-10 11:11:18 +01:00
Mole
216fb87c79
Rename Umbraco.Core namespace to Umbraco.Cms.Core
2021-02-09 10:22:42 +01:00
Shannon
999c20a755
Fixes UmbracoIntegrationTest Mapping flag and missing using in Startup
2021-01-04 12:22:03 +11:00
Shannon
7115e0a11e
shuffles code with DependencyInjection namespace, forgot to commit changes to Startup
2020-12-23 12:02:01 +11:00
Shannon
f5e9441e9f
renames umb builder ext class to be more explicit, no more AddAllBackOfficeComponents, just AddBackOffice, removes NuCacheComposer
2020-12-22 12:16:37 +11:00
Shannon
86adf01f88
Merge remote-tracking branch 'origin/netcore/netcore' into netcore/task/front-end-routing
...
# Conflicts:
# src/Umbraco.PublishedCache.NuCache/PublishedSnapshotService.cs
# src/Umbraco.Tests.Integration/TestServerTest/UmbracoTestServerTestBase.cs
# src/Umbraco.Web.Common/Extensions/ApplicationBuilderExtensions.cs
2020-12-21 16:04:42 +11:00
Bjarke Berg
5119e8da9c
Merge pull request #9515 from umbraco/netcore/feature/remove-overrideauthorization-attribute
...
NetCore: Get rid of OverrideAuthorizationAttribute
2020-12-16 14:49:13 +01:00
Shannon
47e98bfdc6
Fixes up issue with UsePlugins and where it's executed
2020-12-16 16:31:23 +11:00
Shannon
ce508d08ec
Merge remote-tracking branch 'origin/netcore/netcore' into netcore/task/front-end-routing
...
# Conflicts:
# src/Umbraco.Tests/PublishedContent/NuCacheChildrenTests.cs
# src/Umbraco.Tests/Testing/UmbracoTestBase.cs
# src/Umbraco.Web.BackOffice/Extensions/BackOfficeApplicationBuilderExtensions.cs
2020-12-16 16:18:10 +11:00
Bjarke Berg
0f36db188e
Ensure folder app_plugins exists
2020-12-09 09:03:49 +01:00
Elitsa Marinovska
940084e342
Removing OverrideAuthorization attribute and related
2020-12-08 15:37:53 +01:00
Bjarke Berg
1727a5d6f1
Added specific PhysicalFileProvider for the app_plugins folder, that also checks whether extensions are allowed.
2020-12-08 12:33:07 +01:00
Shannon
e3be4009c0
Getting front end routing poc going
2020-12-08 16:33:50 +11:00
Shannon
10fc351470
merge cleanup
2020-12-04 13:09:08 +11:00
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
James Jackson-South
826e5a9bad
Update to match new rules. And fix dup usings
2020-12-03 13:32:04 +00: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
2f9e92eee7
Make BackOfficeClaimsPrincipalFactory not be generic, doesn't need to be, cleans up code as per rules
2020-12-03 20:30:35 +11:00
Shannon
372674abde
re-adds test scheme for test authn/authz
2020-12-02 13:32:14 +11:00
Shannon
4f7c87d1d2
Fix build issues after merge
2020-12-02 13:19:08 +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
Shannon
37cf0d3d16
clean up TODOs
2020-12-02 13:04:02 +11:00
James Jackson-South
0369375d8e
Merge branch 'netcore/netcore' into netcore/feature/9397
2020-12-01 12:44:10 +00:00
James Jackson-South
748cbb1f7b
Normalize builder namespace
2020-12-01 12:42:14 +00: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
Shannon
efff96f711
Creates IBackOfficeSignInManager interface
2020-11-30 22:46:05 +11:00
Shannon
36b3a2b62a
fixes media authz resource policies
2020-11-30 19:38:55 +11:00
Shannon
76cbd76f32
Fixes content resource authz
2020-11-30 19:09:14 +11:00
Bjarke Berg
a098b956a6
Revert "Revert "Ensures that all back office controllers are authenticated under the back office scheme""
...
Signed-off-by: Bjarke Berg <mail@bergmania.dk >
2020-11-27 13:35:22 +01:00
Bjarke Berg
88c1259d84
Revert "Revert "Moves some files, adds notes, starts poc for back office login providers""
...
Signed-off-by: Bjarke Berg <mail@bergmania.dk >
2020-11-27 13:33:01 +01:00
Bjarke Berg
3b0d33a84c
Revert "Moves some files, adds notes, starts poc for back office login providers"
...
Signed-off-by: Bjarke Berg <mail@bergmania.dk >
2020-11-27 13:17:58 +01:00
Bjarke Berg
7d61020214
Revert "Ensures that all back office controllers are authenticated under the back office scheme"
...
Signed-off-by: Bjarke Berg <mail@bergmania.dk >
2020-11-27 13:16:50 +01:00
Shannon
313a2e6f7c
Ensures that all back office controllers are authenticated under the back office scheme
2020-11-27 13:32:41 +11:00
Shannon
e01abf2802
Moves some files, adds notes, starts poc for back office login providers
2020-11-26 19:24:55 +11:00
Shannon
8e15e265fd
Adds TODOs, puts back UmbracoRequireHttpsAttribute but in a nicer way, ensures test classes initialize the authz policies with the test scheme
2020-11-26 16:52:03 +11: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
Paul Johnson
5268f9d7f0
Resolve review comments
2020-11-24 09:37:52 +00:00
Shannon
f313a4f583
some cleanup of handlers that check multiple query strings
2020-11-24 11:56:53 +11:00
Shannon
bde025f661
streamlines the naming of the content/media permissions handlers
2020-11-24 00:42:52 +11:00
Shannon
4dbfe5867b
migrates the custom content persmission helper and media permissions helper checks to authz policies and cleans up that code/class/namespaces
2020-11-24 00:37:26 +11:00
Shannon
c34540cb06
Migrates EnsureUserPermissionForContentAttribute to authz policies
2020-11-23 22:43:41 +11:00