Commit Graph

32400 Commits

Author SHA1 Message Date
Elitsa Marinovska
416a51f6b2 Merge remote-tracking branch 'origin/netcore/netcore' into netcore/feature/azure-yaml-pipeline 2020-11-26 14:42:47 +01: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
Bjarke Berg
81bbfe93ce Merge remote-tracking branch 'origin/netcore/netcore' into netcore/task/6666-auth-policies 2020-11-26 11:59:36 +01:00
Shannon
e01abf2802 Moves some files, adds notes, starts poc for back office login providers 2020-11-26 19:24:55 +11:00
Shannon
e53ab2e3c1 removes old controller 2020-11-26 17:28:12 +11:00
Shannon
aeab78f6a1 reduce code repeat, introduce MustSatisfyRequirementAuthorizationHandler 2020-11-26 17:25:43 +11:00
Shannon
75e6eb0bd9 Fixes async filters and cleans up some code 2020-11-26 17:02:07 +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
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
nzdev
8d96c6e842 Add check for converted so .startsWith does not throw 2020-11-25 19:33:55 +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
b0186e5a8e Added azure-pipelines.yml to the sln file
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-11-25 07:47:05 +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
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
41f3dae9c8 Fix paths in LogviewerTests 2020-11-24 19:49:46 +01:00
James Jackson-South
4a1040d1af Naming rules now work 2020-11-24 12:20:43 +00: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
Nathan Woulfe
3f776c32f4 Update icon.prevalues.controller.js 2020-11-24 09:05:42 +01:00
Bjarke Berg
4a7f6d3cc1 Migrated partial views (#9420)
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-11-24 09:05:16 +01:00
Jan Skovgaard
8262f25e20 Listview: Fix icon-picker a11y (#9050)
* Add proper button and fix icon

* split value to avoid binding icon color in icon attribute

Co-authored-by: Nathan Woulfe <nathan@nathanw.com.au>
2020-11-24 17:19:23 +10:00
Bjarne Fyrstenborg
a9a4b0894a Use umb-icon in umb-node-preview (#9072)
* Use umb-icon in umb-node-preview

* Inherit icon size from umb-icon

Co-authored-by: Nathan Woulfe <nathan@nathanw.com.au>
2020-11-24 16:53:08 +10:00
BatJan
fd09d4f319 Convert divs with ng-click to button and wrap texts in paragraphs 2020-11-24 16:02:08 +10:00
Kenn Jacobsen
1076e58cc7 Hide properyt actions for culture invariant properties 2020-11-24 15:55:46 +10:00
Rachel Breeze
388123ff66 Follows the same pattern as create a relationship page title and clears the page title when creating a dictionary item (#9279) 2020-11-24 02:15:58 +01:00
Shannon
1f048f0599 some cleanup of handlers that check multiple query strings 2020-11-24 12:02:31 +11:00
Shannon
f313a4f583 some cleanup of handlers that check multiple query strings 2020-11-24 11:56:53 +11:00
Warren Buckley
604e6f9abb Merge pull request #9322 from umbraco/v8/feature/AB9079-use-tree-for-ElementType-pickers
V8/feature/ab9079 use tree for element type pickers
2020-11-23 15:32:13 +00:00
Shannon
5619b63ee4 delete file 2020-11-24 00:54:03 +11:00
Shannon
40d75f88f3 Merge remote-tracking branch 'origin/netcore/netcore' into netcore/task/6666-auth-policies
# Conflicts:
#	src/Umbraco.Web.BackOffice/Controllers/AuthenticationController.cs
#	src/Umbraco.Web.Common/Filters/UmbracoMemberAuthorizeFilter.cs
2020-11-24 00:46:38 +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
Warren Buckley
9367c24738 Merge pull request #9275 from umbraco/v8/feature/8689-make-settings-and-layout-props-available-for-labels
Make index, settings and layout props available for labels
2020-11-23 12:42:55 +00: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
Niels Lyngsø
e13b12a788 make index start at 1... 2020-11-23 13:13:04 +01:00
Shannon
c34540cb06 Migrates EnsureUserPermissionForContentAttribute to authz policies 2020-11-23 22:43:41 +11:00