Shannon
8d724ff2f7
Completes: U4-3040 Create UmbracoHelper methods for querying real tags on the front-end and creates new TagQueryContext
2013-10-24 13:31:10 +11:00
Shannon
f13fd59059
Creates a new PublishedQueryContext which is responsible for all content querying on the front-end templates (now wrapped by the UmbracoHelper). This allows for better separation of logic.
2013-10-24 12:50:43 +11:00
Stephan
31535e3bd8
Merge remote-tracking branch 'origin/6.2.0-pubcontent' into 7.0.0-pubcontent
...
Conflicts:
src/Umbraco.Web.UI/Umbraco.Web.UI.csproj
src/Umbraco.Web.UI/Umbraco/create/PartialView.ascx
src/Umbraco.Web.UI/Umbraco/create/PartialView.ascx.designer.cs
src/Umbraco.Web.UI/packages.config
src/Umbraco.Web.UI/umbraco/config/create/UI.xml
src/Umbraco.Web.UI/umbraco/create/DLRScripting.ascx
src/Umbraco.Web.UI/umbraco/create/xslt.ascx
src/Umbraco.Web/Umbraco.Web.csproj
src/Umbraco.Web/UmbracoHelper.cs
src/Umbraco.Web/umbraco.presentation/umbraco/create/DLRScripting.ascx
src/Umbraco.Web/umbraco.presentation/umbraco/create/PartialViewTasks.cs
src/Umbraco.Web/umbraco.presentation/umbraco/create/xslt.ascx
2013-10-08 11:21:38 +02:00
Stephan
17c055472d
Merge remote-tracking branch 'origin/6.2.0' into 6.2.0-pubcontent
2013-10-08 09:44:37 +02:00
Sebastiaan Janssen
a90f32035d
U4-2733 call to umbraco.library:Request broken?
2013-10-07 08:18:44 +02:00
Stephan
928f7a1ed0
Merge branch '6.2.0-pubcontent' into 7.0.0-pubcontent
...
Conflicts:
src/Umbraco.Web/Umbraco.Web.csproj
src/Umbraco.Web/umbraco.presentation/macro.cs
2013-09-29 16:05:52 +02:00
Stephan
182cc1ace7
Web.UmbracoHelper - add Url overload w/mode
2013-09-29 15:22:27 +02:00
Stephan
c7ac4eea2f
Merge branch '7.0.0' into 7.0.0-pubcontent
2013-09-24 10:53:26 +02:00
Shannon
972d33ccec
Got macro content loading in editor async updated more of the macro plugin to ensure the macro contents cannot be edited.
2013-09-24 13:34:29 +10:00
Stephan
0415a31d0e
PublishedContent - the big refactoring
2013-09-16 17:17:45 +02:00
Shannon
fee02af4eb
Completes: U4-1639 Add support to generate GET urls to SurfaceController actions
2013-09-06 11:40:37 +10:00
Morten Christensen
757283a3ff
Making explicit references to the legacy member class to avoid ambiguous references to the new member classes
2013-08-31 19:09:29 +02:00
Shannon
6a9532f10a
Fixes: U4-1599 [MVC] ChangeContentType doesn't work in macros rendered from a View -> We need to manually reset the ContentType after we execute a webforms based macro because Server.Execute resets the ContentType back to the default.
2013-07-19 12:27:37 +10:00
Shannon
25780663a6
Fixes: U4-1304 Umbraco.Field not replacing localLink when recursive:true .
2013-07-15 15:26:18 +10:00
Shannon
cb592d687c
Merge branch '6.0.7' into 6.1.2
2013-06-20 11:26:01 +10:00
Shannon
2161ec98b0
Fixes: #U4-2324 - Umbraco.Field will now work with custom routed pages.
2013-06-20 11:25:33 +10:00
Stephan
106d733d08
Web.PublishedCache - support XPathExpression
2013-04-10 12:49:45 -02:00
Stephan
3a0d617b14
Web - cleanup UmbracoHelper XPath methods
2013-03-19 17:54:37 -01:00
Stephan
ce0c72d9f8
Web.PublishedCache - introduce contextual caches
2013-03-19 17:51:55 -01:00
Stephan
ef9ce720b2
Web.PublishedCache - create, migrate
2013-02-05 06:31:13 -01:00
Stephan
8b00e72bf6
Web.Routing - refactor url providing (U4-1321...) + new IUrlProvider
2013-01-31 10:06:25 -01:00
Shannon Deminick
d1ac2f11d1
Fixed naming conventions: TypedContentAtRoot and TypedMediaAtRoot instead of TypedContentsAtRoot and TypedMediasAtRoot.
2013-02-02 03:22:30 +06:00
Stephan
1989a44d4f
Web.UmbracoHelper - add ContentAtRoot, MediaAtRoot methods
2013-02-01 06:28:54 -01:00
Shannon Deminick
427fff0c53
Fixes: #U4-1527 - imports patch rom 4.11.4
2013-01-25 06:13:47 +03:00
Shannon Deminick
547dab0761
Fixes: #U4-1274, U4-1304
2012-12-14 10:40:11 +05:00
Shannon Deminick
5fba1a775e
Fixes: #U4-1300
2012-12-14 09:22:28 +05:00
Shannon Deminick
19bd8ae193
Fixes overloads for TypedMedia, TypedContent, Content, Media calls on UmbracoHelper now that
...
GetPropertyValue returns 'object'
2012-11-21 09:09:37 +05:00
Stephan
278aa3f820
U4-1203 - UmbracoHelper.RenderMacro displays trace output at the wrong place
2012-11-15 13:41:44 -01:00
Shannon Deminick
9554c6a1c6
Fixes #U4-1174 - allows MVC views to render when using RenderTemplate. Added new UmbracoHelper method RenderTemplate. Cleaned up some code and
...
ensuring that the string writers are disposed. Moved TemplateRenderer to a better namespace.
2012-11-14 10:47:40 +05:00
Matt@MBP13-PC
c590c6a265
Fixes issue #U4-1169 wherby Umbraco.Field always runs in the context of the current page regardless of whether a custom IPublishedContent is passed in
2012-11-10 16:40:00 +00:00
pgregorynz
4d5f142a30
fix for ItemRenderer.cs to work with Partials
2012-11-07 21:19:35 -10:00
pgregorynz
1a969d76e1
Revert change to Umbraco Helper as caused issues with the itemRender not being
...
able to process fallback or formating options.
2012-11-07 15:20:19 -10:00
pgregorynz
ff5c5c8a03
Relates to bud U4-1142 Umbraco helper in wrong context with used in a Partial.
...
Fix to context of Umbraco helper when used in partials.
2012-11-04 21:24:04 -10:00
Shannon Deminick
7df9921441
Fixes: #U4-1142, Changed ctor for RenderModel so people can actually create one to pass in to their views if they want.
...
Changed the way that UmbracoTemplatePage works in that if you pass in an IPublishedContent model instead of a RenderModel,
it will be generated for you without a YSOD. Changed the UmbracoHelper ctor so that it can be passed a custom IPublishedContent model
so that it's context is of that model and not the one routed to. Added Umbraco.Web.Mvc to the imported namespaces for Views.
2012-11-05 11:27:28 +06:00
pgregorynz
9738227189
Making the CTOR for UmbracoHelper public so it can be newed up for other uses
2012-10-25 14:18:53 -10:00
Shannon Deminick
5aee883bd2
Added TypedSearch methods to UmbracoHelper and Search extension methods to the IPublishedContent.
...
Added GetTemplateAlias() extension method to IPublishedContent and to DynamicPublishedContent.
2012-10-18 08:00:07 +05:00
pgregorynz
e555520ddf
Insert field Views.
2012-10-08 05:40:55 -10:00
Shannon Deminick
54e5140d6a
Added more extension methods to our strongly typed IPublishedContent object and IEnumerable<IPublishedContent> to match all of the available methods
...
that are on the DynamicPublishedContent object. Added more unit tests for all of these classes.
Moved some of the Dynamic objects into the web project which simplifies things quite a bit as some of these classes require access to the biz logic layer.
Now we have intellisense for all of the nice magical methods that were on DynamicPublishedContent on our strongly typed object!
2012-10-04 03:26:56 +05:00
Shannon Deminick
c0102f1c71
Refactored the traversal, ishelper, etc... methods to be extension methods on IPublishedContent so now all of these methods are available on the Typed object not just the dynamic object which makes a whole lot more sense... and you can have intellisense.
...
Updated DynamicPublishedContent's methods to just proxy calls to the new extension methods so that all of the logic is contained in one place.
Added new GetRootDocuments to the IPublishedContentStore since we need this in order to get the root list of documents for many of these methods.
Fixed an issue with the DynamicNode to IPublishedContent converter.
Fixed many of the failing unit tests.
2012-10-04 01:31:08 +05:00
Shannon Deminick
831d1966dc
Added IEnumerable extensions to TypedContent, TypedMedia, Content, and Media methods
2012-10-02 22:55:36 +05:00
Shannon Deminick
ef5525e67f
renamed DynamicDocumentList to DynamicPublishedContentList
...
simplified some of the DynamicPublishedContent methods to accept Func<IPublishedContent> instead of Func<DynamicPublishedContent>, made the IsHelper method private as this shouldn't be exposed.
renamed other objects starting with DynamicDocument to DynamicPublishedContent
2012-10-02 22:51:53 +05:00
Shannon Deminick
f3e04ac871
Changed method name ContentTyped to TypedContent and MediaTyped to TypedMedia.
2012-10-02 22:10:18 +05:00
Shannon Deminick
ba98f587b2
Changed query methods on UmbracoHelper to just Content, ContentTyped, Media, MediaTyped
2012-10-02 21:58:07 +05:00
Shannon Deminick
ffd14c839b
After talks with morten and stephane, this renames
...
DocumentRequest -> PublishedContentRequest
2012-10-02 01:40:19 +05:00
Shannon Deminick
053df24640
After talks with morten and stephane, this renames
...
IDocument -> IPublishedContent
DynamicDocument -> DynamicPublishedContent
2012-10-02 01:35:39 +05:00
Shannon Deminick
85e88e5640
Merge
2012-10-01 02:48:39 +05:00
Shannon Deminick
ea3d2f893f
Added AsDynamic extension to IDocument.
...
Makes DynamicDocument explicitly implement IDocument as well.
Changes all ContentById methods, etc... back to returning just 'dynamic'
Removes valueAlias from the .Field method of UmbracoHelper which didn't actually do anything
removes altValueAlias from the .Field method of the UmbracoHelper which didn't actually do anything.
2012-10-01 02:48:08 +05:00
Stephan
3cddc5e4dc
merge
2012-09-30 14:04:38 -02:00
Stephan
3e99dd0d55
fix NiceUrl and add more tests
2012-09-30 12:24:23 -02:00
Shannon Deminick
d76f6c1cdb
{localLink} parsing in MVC is now all working.
2012-09-29 11:35:31 +07:00