Sebastiaan Janssen
49df6e7c9d
Merge branch 'U4-8550' of https://github.com/drpeck/Umbraco-CMS into drpeck-U4-8550
...
# Conflicts:
# src/Umbraco.Web.UI/config/umbracoSettings.config
# src/Umbraco.Web/PublishedContentExtensions.cs
2018-08-26 17:45:34 +02:00
leekelleher
7a9a4a2fab
Fixes bug with comparing partial content paths
...
Raised here in a comment by @coolmikkel
https://github.com/umbraco/Umbraco-CMS/pull/2253#issuecomment-405751083
2018-07-18 10:54:19 +01:00
Lee Kelleher
abf61417ad
U4-10561 - Performance improvement for IsAncestor/IsDescendant extension methods ( #2768 )
2018-07-16 10:44:54 +02:00
Dan Booth
f083a33d92
U4 10778 - FirstChild<T> extension returns IPublishedContent rather than model of type T ( #2623 )
2018-06-28 20:09:54 +02:00
Maarten Kieft
8e7630cd9c
Make Base AnchestorOrSelf function public
...
By making this function public, developers can use it to iterate over the tree on different property / function than the ones which are created. It makes umbraco easier to extend. Now we have to copy existing code in order to do this.
2018-05-17 12:09:15 +02:00
Shannon
59db5b0081
Obsoletes more dynamic published content extension methods and models
2017-08-01 17:04:16 +10:00
Stephan
c0eaeb3168
Fix tests with issues
2017-07-21 13:06:23 +02:00
Stephan
d57de05453
U4-10128 - super improve
2017-07-19 12:24:00 +02:00
Stephan
11e4bf5de8
U4-10128 - improve
2017-07-19 12:08:31 +02:00
Stephan
82661d9af4
U4-10128 - GetKey unwraps
2017-07-19 11:51:46 +02:00
Harvey Williams
993513b138
Fix for IsDocumentTypeRecursive - U4-9997
...
Potential fix to issue logged on: http://issues.umbraco.org/issue/U4-9997
2017-06-08 15:17:34 +01:00
David Peck
1ece576825
Merge branch 'dev-v7' of https://github.com/umbraco/Umbraco-CMS into U4-8550
...
Conflicts:
src/Umbraco.Web.UI/config/umbracoSettings.config
2017-05-30 23:13:33 +01:00
David Peck
a2611ce35f
Changed the name of IsTemplateAllowed to IsAllowedTemplate to reflect the usage elsewhere and changed the overload of IsAllowedTemplate with the alias parameter to use the template id version to be more DRY
2017-05-30 22:39:26 +01:00
Stephan
5880df3859
U4-9764 - add FirstChild with predicate extension
2017-04-19 18:56:12 +02:00
Per Ploug
d563eb07a2
Adds .FirstChild(string alias) extension to Model.Content
2017-01-10 16:55:03 +01:00
David Peck
a031551fb2
Rationalised changes in whitespace, to reduce the differences in the PR
2016-11-08 17:59:30 +00:00
David Peck
69728fb5c4
Changed Allowed Templates setting to be validate templates which checks url only
2016-11-08 08:27:18 +00:00
Stephan
6c6c56645d
U4-8720 - add documentation
2016-07-21 15:20:45 +02:00
Stephan
0603cb3ab1
U4-8720 - add IPublishedContent Site, Children ext. methods
2016-07-19 15:38:42 +02:00
Shannon
75be22a778
Fixes tests, adds null checks
2016-04-06 12:05:52 +02:00
AndyButland
b52c480da3
Added IPublishedContent extension method for filtering nodes based on composition alias
...
Created unit test for IsComposedOf
2015-12-22 16:27:12 +01:00
Stephan
7848ea5ec0
U4-7038 - IPublishedContentWithKey for contents, members
2015-09-01 15:00:27 +02:00
leekelleher
15b4d33e00
U4-6986 PublishedContentExtensions.FirstChild() throws exception
...
Changes the return value to use `.FirstOrDefault()` instead of `.First()`.
Includes unit-test.
2015-08-19 13:57:58 +01:00
Stephan
22ac571c7d
U4-6479 - fix GetCulture for unpublished content + add tests
2015-04-01 15:40:34 +02:00
Stephan
b52f234c02
U4-3753 - refactor
2015-03-12 15:01:25 +01:00
Stephan
99598ec060
U4-3753 - add a way to get the rendering culture of a content
2015-03-05 10:47:02 +01:00
Shannon
6afd9b37a6
Merge branch '7.1.9' into 7.2.0
2014-11-26 15:29:18 +11:00
Shannon
1930022f19
Fixes: U4-5714 Calling Index() on IPublishedContent level 1 media fails
2014-11-26 10:52:30 +11:00
Stephan
e36dc368d9
U4-5802 - fix Ancestor<T>, AncestorOrSelf<T> + document
2014-11-14 10:27:57 +01:00
Stephan
8a1db41fc4
Implement content.FirstChild
2014-06-09 13:04:40 +02:00
Stephan
a39a659858
Bugfix published content extension .Next()
2014-04-16 19:10:50 +02:00
Stephan
a4b1b31a24
U4-4241 - UrlAbsolute() returns relative urls
2014-02-17 10:49:26 +01:00
Shannon
78336181ea
Merge remote-tracking branch 'origin/6.2.0' into 7.0.2
...
Conflicts:
src/Umbraco.Core/Models/Membership/MembershipExtensions.cs
src/Umbraco.Core/Persistence/Repositories/Interfaces/IMemberRepository.cs
src/Umbraco.Core/Persistence/Repositories/MemberRepository.cs
src/Umbraco.Core/Security/MembershipProviderBase.cs
src/Umbraco.Core/Services/IMemberService.cs
src/Umbraco.Tests/App.config
src/Umbraco.Tests/Membership/MembershipProviderBaseTests.cs
src/Umbraco.Tests/TestHelpers/Entities/MockedMember.cs
src/Umbraco.Tests/Umbraco.Tests.csproj
src/Umbraco.Web.UI/Umbraco.Web.UI.csproj
src/Umbraco.Web.UI/config/tinyMceConfig.Release.config
src/Umbraco.Web.UI/config/tinyMceConfig.config
src/Umbraco.Web.UI/umbraco_client/Application/UmbracoApplicationActions.js
src/Umbraco.Web/Security/Providers/MembersMembershipProvider.cs
src/Umbraco.Web/umbraco.presentation/umbraco/controls/ContentControl.cs
src/Umbraco.Web/umbraco.presentation/umbraco/create/member.ascx.cs
src/Umbraco.Web/umbraco.presentation/umbraco/create/userTasks.cs
src/umbraco.controls/TabView.cs
src/umbraco.providers/members/UmbracoMembershipProvider.cs
2014-01-02 15:28:42 +11:00
Shannon
c8fa2b3880
Merge branch 'abjerner-patch-1' into 6.2.0
...
Conflicts:
src/Umbraco.Web/PublishedContentExtensions.cs
2013-12-24 11:08:48 +11:00
Anders Bjerner
e17b5e6a7b
Update PublishedContentExtensions.cs
...
Added overloaded extension methods for Next() and Previous() to take a delegate (eg. lambda expression) as a second parameter. The methods are based on this thread by Jeavon Leopold: http://our.umbraco.org/forum/developers/razor/46832-Filtered-Next()-and-Previous()-v7-UmbracoHelperMVC
The code is tested in 7.0.0, but since it only relies on the existing Next() and Previous() methods, it should work in 6.1.x and 7.1.1 as well.
2013-12-12 15:32:52 +01:00
Shannon
6cf510a9be
More tests fixed
2013-11-04 19:47:09 +11:00
Shannon
e707506303
Merge remote-tracking branch 'origin/6.2.0' into 7.0.0
2013-10-28 12:36:27 +11:00
Shannon
49d5791825
Adds DescendantsOrSelf extensions on ienumerable to published content extensions
2013-10-28 12:35:50 +11:00
Shannon
92c7b4446b
Merge remote-tracking branch 'origin/6.2.0' into 7.0.0
...
Conflicts:
src/Umbraco.Core/Persistence/Migrations/Upgrades/TargetVersionSixTwoZero/AddChangeDocumentTypePermission.cs
src/Umbraco.Core/Persistence/Migrations/Upgrades/TargetVersionSixTwoZero/AdditionalIndexesAndKeys.cs
src/Umbraco.Core/Services/ContentService.cs
src/Umbraco.Tests/Umbraco.Tests.csproj
src/Umbraco.Web.UI/umbraco/dialogs/ChangeDocType.aspx.cs
2013-10-18 11:27:32 +11:00
Sebastiaan Janssen
14e3976e88
Merge pull request #142 from lars-erik/6.2.0-recursive_isofdocumenttype
...
Recursive PublishedContentExtensions IsDocumentType
2013-10-16 02:55:09 -07:00
Lars-Erik Aabech
a1ef40e4be
Split the recursive IsDocumentType into an overload for "real" backwards compatibility.
...
Changed string comparison to use InvariantEquals. (guessing it doesn't _really_ break backw. compat?)
Added XML docs.
2013-10-16 11:38:58 +02:00
Stephan
34875855db
U4-3095 - Fix IPublishedContent navigation axes
2013-10-11 10:27:49 +02:00
Stephan
4a58fbfa1d
PublishedContent - add OfType<> extension to IPublishedContent
2013-09-29 15:22:19 +02:00
Lars-Erik Aabech
b6777e4635
Recursive PublishedContentExtensions IsDocumentType
...
Optional recursive parameter defaulted to false for backwards compatibility and no performance hit.
Settings recursive = true fetches content type for content and checks ancestor content types for the same alias.
2013-09-27 13:12:16 +02:00
Stephan
725b938de1
PublishedContent - revert to using property.Value vs .ObjectValue
2013-09-25 13:17:21 +02:00
Stephan
eb4317a9c1
Take care of FIXMEs
2013-09-23 13:08:45 +02:00
Stephan
c3caf7ff04
PublishedContent - align with v7, refactor IPublishedProperty & names
2013-09-19 13:12:18 +02:00
Stephan
08566f32de
Take care of more FIXMEs
2013-09-18 10:09:05 +02:00
Stephan
e8fd6a6ece
Take care of FIXMEs
2013-09-17 10:18:26 +02:00
Stephan
ee4f4440d5
PublishedContent - implement strongly typed methods for other axes
2013-09-16 17:17:51 +02:00