Shannon
ecbd6d1c81
Adds better support for app_plugins loading assets in a safer way and without having to pass refs
2021-03-16 19:19:03 +11:00
Shannon
e993410d2c
Merge branch 'netcore/bug/minify-plugins' of https://github.com/kjac/Umbraco-CMS into kjac-netcore/bug/minify-plugins
...
# Conflicts:
# src/Umbraco.Web.BackOffice/DependencyInjection/UmbracoBuilderExtensions.cs
2021-03-16 17:22:25 +11:00
Shannon
d72c11821f
Merge remote-tracking branch 'origin/netcore/dev' into netcore/bugfix/10196-ambient-scope
...
# Conflicts:
# src/Umbraco.Core/HybridAccessorBase.cs
# src/Umbraco.Core/Security/IBackOfficeSecurityFactory.cs
# src/Umbraco.Web.Common/DependencyInjection/UmbracoBuilderExtensions.cs
# src/Umbraco.Web.Common/Security/BackofficeSecurityFactory.cs
2021-03-04 16:57:32 +11:00
Shannon
ed5116664f
kill IBackOfficeSecurityFactory and fix the broken dependency chain
2021-03-04 15:07:54 +11:00
Shannon
089d147917
Fix namespaces
2021-03-04 14:49:19 +11:00
Bjarke Berg
1c50ece986
Use c#9 + namespace fix
2021-03-02 16:20:44 +01:00
Shannon
6148336d04
Adds new event so we know when umbraco routes a value, ensure the IUmbracoWebsiteSecurity is initialized for front-end requests, cleans up some of the routing middleware, adds lots of notes
2021-03-01 12:51:07 +11:00
Mole
159747ab61
Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/align-infrastructure-namespaces
...
# Conflicts:
# src/Umbraco.Infrastructure/Cache/DistributedCacheBinder_Handlers.cs
# src/Umbraco.Infrastructure/DependencyInjection/UmbracoBuilder.MappingProfiles.cs
# src/Umbraco.Infrastructure/PropertyEditors/PropertyEditorsComponent.cs
# src/Umbraco.Infrastructure/Security/BackOfficeClaimsPrincipalFactory.cs
# src/Umbraco.Infrastructure/Security/IBackOfficeUserManager.cs
# src/Umbraco.Infrastructure/Security/IUmbracoUserManager.cs
# src/Umbraco.Infrastructure/Security/SignOutAuditEventArgs.cs
# src/Umbraco.Infrastructure/Security/UmbracoUserManager.cs
# src/Umbraco.Infrastructure/Security/UserInviteEventArgs.cs
# src/Umbraco.Tests.UnitTests/AutoFixture/AutoMoqDataAttribute.cs
# src/Umbraco.Tests.UnitTests/Umbraco.Infrastructure/BackOffice/BackOfficeLookupNormalizerTests.cs
# src/Umbraco.Web.BackOffice/Controllers/MemberController.cs
# src/Umbraco.Web/Security/IBackOfficeUserPasswordChecker.cs
# src/Umbraco.Web/Security/Providers/MembersRoleProvider.cs
2021-02-23 08:51:09 +01:00
Emma Garland
2109bee83b
Merge branch 'netcore/dev' into netcore/members-userstore
...
# Conflicts:
# src/Umbraco.Core/Models/Membership/IMembershipUser.cs
# src/Umbraco.Core/Models/Membership/IUser.cs
# src/Umbraco.Core/Services/IMembershipRoleService.cs
# src/Umbraco.Infrastructure/Compose/AuditEventsComponent.cs
# src/Umbraco.Infrastructure/DependencyInjection/UmbracoBuilder.MappingProfiles.cs
# src/Umbraco.Infrastructure/DependencyInjection/UmbracoBuilder.Services.cs
# src/Umbraco.Infrastructure/Install/InstallSteps/NewInstallStep.cs
# src/Umbraco.Infrastructure/Security/BackOfficeIdentityUser.cs
# src/Umbraco.Infrastructure/Security/BackOfficeUserStore.cs
# src/Umbraco.Infrastructure/Security/IBackOfficeUserPasswordChecker.cs
# src/Umbraco.Infrastructure/Security/IUmbracoUserManager.cs
# src/Umbraco.Infrastructure/Security/IdentityMapDefinition.cs
# src/Umbraco.Infrastructure/Security/SignOutAuditEventArgs.cs
# src/Umbraco.Infrastructure/Security/UmbracoUserManager.cs
# src/Umbraco.Infrastructure/Services/Implement/MemberService.cs
# src/Umbraco.Tests.Integration/TestServerTest/TestAuthHandler.cs
# src/Umbraco.Tests.Integration/Umbraco.Web.BackOffice/UmbracoBackOfficeServiceCollectionExtensionsTests.cs
# src/Umbraco.Tests.UnitTests/AutoFixture/AutoMoqDataAttribute.cs
# src/Umbraco.Tests.UnitTests/Umbraco.Infrastructure/BackOffice/BackOfficeClaimsPrincipalFactoryTests.cs
# src/Umbraco.Tests.UnitTests/Umbraco.Infrastructure/BackOffice/BackOfficeLookupNormalizerTests.cs
# src/Umbraco.Tests.UnitTests/Umbraco.Infrastructure/Security/NoOpLookupNormalizerTests.cs
# src/Umbraco.Tests.UnitTests/Umbraco.Web.BackOffice/Controllers/UsersControllerTests.cs
# src/Umbraco.Web.BackOffice/Controllers/AuthenticationController.cs
# src/Umbraco.Web.BackOffice/Controllers/BackOfficeController.cs
# src/Umbraco.Web.BackOffice/Controllers/CurrentUserController.cs
# src/Umbraco.Web.BackOffice/Controllers/MemberController.cs
# src/Umbraco.Web.BackOffice/Controllers/UsersController.cs
# src/Umbraco.Web.BackOffice/DependencyInjection/ServiceCollectionExtensions.cs
# src/Umbraco.Web.BackOffice/Filters/CheckIfUserTicketDataIsStaleAttribute.cs
# src/Umbraco.Web.BackOffice/Mapping/MemberMapDefinition.cs
# src/Umbraco.Web.BackOffice/Security/BackOfficePasswordHasher.cs
# src/Umbraco.Web.BackOffice/Security/BackOfficeSecurityStampValidator.cs
# src/Umbraco.Web.BackOffice/Security/BackOfficeSessionIdValidator.cs
# src/Umbraco.Web.BackOffice/Security/BackOfficeSignInManager.cs
# src/Umbraco.Web.BackOffice/Security/BackOfficeUserManagerAuditer.cs
# src/Umbraco.Web.BackOffice/Security/ConfigureBackOfficeIdentityOptions.cs
# src/Umbraco.Web.BackOffice/Security/ExternalSignInAutoLinkOptions.cs
# src/Umbraco.Web.BackOffice/Security/IBackOfficeSignInManager.cs
# src/Umbraco.Web.BackOffice/Security/PasswordChanger.cs
# src/Umbraco.Web.Common/DependencyInjection/ServiceCollectionExtensions.cs
# src/Umbraco.Web.Common/Middleware/BootFailedMiddleware.cs
# src/Umbraco.Web.Common/Security/BackOfficeUserManager.cs
# src/Umbraco.Web/Security/MembershipHelper.cs
# src/Umbraco.Web/Security/MembershipProviderBase.cs
# src/Umbraco.Web/Security/Providers/MembersMembershipProvider.cs
# src/Umbraco.Web/Security/Providers/MembersRoleProvider.cs
# src/Umbraco.Web/Security/Providers/UmbracoMembershipProvider.cs
2021-02-22 20:55:12 +00:00
Kenn Jacobsen
da0b869229
Merged with netcore/dev
2021-02-18 14:21:57 +01:00
Kenn Jacobsen
f5f6824629
Allow serving App_Plugins files to Smidge for minification
2021-02-18 14:07:24 +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
30b086d5d0
Align namespaces in Security to Umbraco.Cms.Core
2021-02-15 12:01:12 +01:00
Mole
d621174f31
Align namespaces in Umbraco.Tests.Integration
2021-02-11 08:30:27 +01:00
Mole
476d60cc50
Align namespaces in Umbraco.Tests.Common
2021-02-10 14:45:44 +01:00
Mole
eb03671b52
Align namespaces in Umbraco.Web.Website
2021-02-10 14:30:14 +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
Emma Garland
19fcbf80f4
Merge branch 'netcore/dev' into netcore/members-userstore
2021-02-09 13:22:40 +00:00
Mole
216fb87c79
Rename Umbraco.Core namespace to Umbraco.Cms.Core
2021-02-09 10:22:42 +01:00
Shannon
891ba8c9e9
fixing build
2021-02-05 13:26:28 +11:00
Shannon
967c150180
Merge branch 'netcore/netcore' into netcore/task/Surface-Routing-9717
2021-02-05 13:22:21 +11:00
Shannon
2f97265bc0
Moves controller integration tests into correct namespace
2021-02-02 14:46:46 +11:00
Emma Garland
0c787973ca
Merge branch 'netcore/netcore' into netcore/members-userstore
2021-02-01 17:48:47 +00:00
Bjarke Berg
4fdfec9d71
Added tests that ensure the potential ambigous endpoints are handled correct
2021-02-01 13:04:56 +01:00
Emma Garland
9ba78497a0
Merge branch 'netcore/netcore' into netcore/members-userstore
...
# Conflicts:
# src/Umbraco.Tests.Integration/TestServerTest/TestAuthHandler.cs
# src/Umbraco.Tests.Integration/Umbraco.Infrastructure/Services/MemberServiceTests.cs
2021-01-19 15:29:40 +00:00
Bjarke Berg
6310ca31e3
Merge remote-tracking branch 'origin/netcore/netcore' into feature/clean-up-umbraco-integration-tests
...
# Conflicts:
# src/Umbraco.Tests.Integration/DependencyInjection/UmbracoBuilderExtensions.cs
# src/Umbraco.Tests.Integration/RuntimeTests.cs
# src/Umbraco.Tests.Integration/TestServerTest/UmbracoBuilderExtensions.cs
# src/Umbraco.Tests.Integration/Umbraco.Core/IO/FileSystemsTests.cs
# src/Umbraco.Tests.Integration/Umbraco.Core/Mapping/UmbracoMapperTests.cs
# src/Umbraco.Tests.Integration/Umbraco.Infrastructure/Scoping/ScopedRepositoryTests.cs
# src/Umbraco.Tests.Integration/Umbraco.Infrastructure/Services/ContentServiceTests.cs
2021-01-18 07:34:59 +01:00
Emma Garland
d285f626a0
Pull request peer review changes - renamed password method, removed unneeded non-strongly typed Member GetAllRoles() method, removed duplicate Normalizer test and rename normalizer, removed currently unneeded events on MembersUserManager. Fixed namespaces and ensured tests in correct location.
2021-01-11 14:24:49 +00:00
Emma Garland
ba317b24dc
Merge branch 'netcore/netcore' into netcore/members-userstore
...
# Conflicts:
# src/Umbraco.Tests.Integration/TestServerTest/UmbracoTestServerTestBase.cs
# src/Umbraco.Tests.Integration/Testing/UmbracoIntegrationTest.cs
# src/Umbraco.Tests.UnitTests/AutoFixture/AutoMoqDataAttribute.cs
# src/Umbraco.Web.BackOffice/Controllers/ContentControllerBase.cs
# src/Umbraco.Web.BackOffice/Extensions/UmbracoBuilderExtensions.cs
2021-01-04 17:04:05 +00:00
Shannon
4ce5dc8eff
fixing tests
2021-01-04 11:32:36 +11:00
Andy Butland
cd5f5778ee
Applied linting rules to tests within the Umbraco.Tests.Integration project.
2020-12-24 08:39:18 +01:00
Shannon
1a0d961e42
removes WebsiteComposer, BackOfficeComposer
2020-12-24 18:11:16 +11:00
Shannon
91486bbede
Removes IServerRegistrar, new IServerRoleAccessor, removes more composers, moves more to ext,
2020-12-24 16:35:59 +11:00
Shannon
e785ac28a3
Moves more services and registrations "up", removes AspNetCoreComposer logic and moves to AddWebComponents
2020-12-24 14:29:26 +11:00
Shannon
d5a19530f3
Fixing tests, more DependencyInjection namespace
2020-12-23 13:06:22 +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
Shannon
75796e3eae
Fixing tests, removing old files, adds notes
2020-12-21 15:58:47 +11:00
Paul Johnson
a883df9d88
Use HostBuilder.UseUmbraco in same order for tests and running web app
2020-12-17 12:44:09 +00:00
Paul Johnson
6dd5e04a2b
Fix broken integration test, must set ServiceProvider before using
2020-12-17 11:19:47 +00:00
Paul Johnson
431403e372
Fixup CoreRuntime so it starts after Startup.Configure
...
Makes integration tests play nice with Components as RuntimeLevel will be correct
2020-12-17 11:19:47 +00:00
Paul Johnson
a69739a7a2
Remove CoreInitialComponent
2020-12-17 11:17:46 +00:00
Shannon
cc1404747b
Changes PublishedSnapshotService to lazily load it's caches on demand when they are required instead of relying on an external initializer to load them.
2020-12-17 16:27:28 +11:00
Paul Johnson
312ab96277
Resolve issues with AdvancedMigrationTests
2020-12-11 19:04:39 +00:00
Emma Garland
2f7766a972
Updated correct class, commented
2020-12-08 11:25:01 +00:00
emmagarland
b59935c799
Merge branch 'netcore/netcore' into netcore/members-userstore
2020-12-07 17:26:15 +00:00
emmagarland
0560bef48c
Merge branch 'netcore/netcore' into netcore/members-userstore
2020-12-05 18:14:09 +00: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
James Jackson-South
826e5a9bad
Update to match new rules. And fix dup usings
2020-12-03 13:32:04 +00:00