Commit Graph

36354 Commits

Author SHA1 Message Date
Bjarke Berg
2fb7f3ef84 Merge remote-tracking branch 'origin/netcore/netcore' into netcore/feature/linux-paths
# Conflicts:
#	src/Umbraco.Web.BackOffice/Security/AutoLinkSignInResult.cs
2020-11-27 13:49:42 +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
1833bfa1a9 Revert "Gets oauth working (with google) now need to test others and debug why the styles aren't working"
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-11-27 13:17:34 +01:00
Bjarke Berg
efce67fe8a Revert "Moves auto linking logic to the BackOfficeSignInManager"
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-11-27 13:17:13 +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
Bjarke Berg
96ef2fd9b7 Revert "Cleans up BackofficeSecurity, fixes up AuthenticationController for endpoints that aren't authorized (and simplifies)"
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-11-27 13:16:22 +01:00
Bjarke Berg
348f69734b Revert "FIxes more of the auth procedure"
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-11-27 13:15:54 +01:00
Bjarke Berg
efa6d82865 Don't use C# preview features yet
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-11-27 09:45:24 +01:00
Bjarke Berg
ab924e0c7d Merge remote-tracking branch 'origin/netcore/netcore' into netcore/feature/linux-paths 2020-11-27 09:42:57 +01:00
Bjarke Berg
e13ea4e9fb rollback appsettings.json
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-11-27 09:42:19 +01:00
Bjarke Berg
fc9e0fa244 Removed old XmlConfigManipulator
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-11-27 09:05:12 +01:00
Bjarke Berg
b9173ef6bb Removed wrong ctor from PhysicalFileSystem
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-11-27 09:00:50 +01:00
Bjarke Berg
87591b5007 Set timeout on upgradecheck. Don't what to hang if that server is unresponsive
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-11-27 08:47:32 +01:00
Shannon
ec6ac41e56 FIxes more of the auth procedure 2020-11-27 15:58:00 +11:00
Shannon
47ab15f457 Cleans up BackofficeSecurity, fixes up AuthenticationController for endpoints that aren't authorized (and simplifies) 2020-11-27 15:42:41 +11: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
7d143ec240 Moves auto linking logic to the BackOfficeSignInManager 2020-11-27 12:51:37 +11:00
Bjarke Berg
fe2aa02392 Fixed tests + Migrated FileSystemsTests.cs
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-11-26 15:29:18 +01:00
Bjarke Berg
064dbd2f67 Fixed tests
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-11-26 15:15:53 +01: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
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
Shannon
e01abf2802 Moves some files, adds notes, starts poc for back office login providers 2020-11-26 19:24:55 +11: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
Bjarke Berg
2534a32b9f Handle all PartialViewMacros Templates as content + Aligned directory seperators
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-11-25 13:47:51 +01:00
Bjarke Berg
642c455024 Reuse UmbracoWebsiteSecurityAccessor.WebsiteSecurity and align with other templates, by saving in variable even if it is just used once.
+

Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-11-25 13:45:31 +01:00
Bjarke Berg
9b567cb6af Merge pull request #9455 from rustybox/netcore/netcore
Netcore: Hotfix for PublishedSnapshotService initialization
2020-11-25 13:21:01 +01:00
Paul Johnson
667c00ccd4 Hotfix for PublishedSnapshotService initialization 2020-11-25 10:53:38 +00:00
Bjarke Berg
e17cc8ad70 Merge pull request #9452 from umbraco/netcore/bugfix/linux-fix-test
Netcore: Fix unit tests, so they pass on linux too
2020-11-25 11:45:35 +01:00
Bjarke Berg
052b8fc9b4 Merge pull request #9451 from rustybox/netcore/netcore
Netcore: Misc resolve naming issues
2020-11-25 10:34:42 +01:00
Bjarke Berg
a117d6be92 Fix test for linux: use temp folder inside content root
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-11-25 07:40:56 +01:00
Bjarke Berg
1e2ad85718 Fix test for linux: config folder is lowercase
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-11-25 07:31:39 +01:00
Bjarke Berg
0b7f7e4f37 Use temp path for test
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-11-25 07:22:32 +01:00
Bjarke Berg
8aba727248 Use temp path for test
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-11-25 07:14:43 +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
Shannon Deminick
425c89744c Merge pull request #9415 from rustybox/netcore/feature/msdi-remove-composition
Netcore: Replace Composition with UmbracoBuilder
2020-11-25 11:34:33 +11:00
Bjarke Berg
41f3dae9c8 Fix paths in LogviewerTests 2020-11-24 19:49:46 +01: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
Paul Johnson
61a4f3f6c6 Always boot for RelationRepository tests
If we don't boot tests can fail based on the point at which IPublishedSnapshotService is first resolved.

At runtime it is resolved by the NuCacheComponent as soon as CoreRuntime is resolved during UseUmbracoCore.

By doing this the integration tests match the real application lifecycle.
2020-11-24 12:03:10 +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
5268f9d7f0 Resolve review comments 2020-11-24 09:37:52 +00:00
Bjarke Berg
4a7f6d3cc1 Migrated partial views (#9420)
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-11-24 09:05:16 +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
8ca3f602e2 Further cleanup of AddUmbracoCore
IUmbracoBootPermissionChecker is irrelevant in .net core as there's no concept of full trust
Allow container to create DbProviderFactoryCreator with a factory method.
2020-11-23 12:22:34 +00:00
Bjarke Berg
ebe643e30b Merge pull request #9412 from AndyButland/feature/membership-helper-facade
NetCore: Creates abstraction for membership helper and migrates controllers now dependent on it.
2020-11-23 13:15:26 +01: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
Bjarke Berg
94f73ef5d9 Merge pull request #9421 from umbraco/netcore/feature/property-editors-migration-from-infrastructure
Netcore: Migration of Property Editor classes from Umbraco.Infrastructure to Core
2020-11-23 10:06:43 +01:00
Bjarke Berg
a9eb5c3428 Fix issue found in test. Return IActionResult instead of HttpResponseMessage 2020-11-23 08:11:01 +01:00
Bjarke Berg
d2a57496e5 Fix issue found in test. Return IActionResult instead of HttpResponseMessage 2020-11-23 08:08:52 +01:00