Shannon
82a8404b2e
Updates TemplateRenderer to not use singletons and to ensure that the http context values are copied back if anything fails
2015-07-09 18:30:52 +02:00
Sebastiaan Janssen
d24ef3650e
U4-274 - Adds config option to disable alternative templates
2015-03-17 13:50:33 +01:00
Shannon
34152867fa
Fixes: U4-5627 Publicize PublishedContentRequest constructor
2014-10-10 10:58:06 +11:00
Stephan
05f7ede26a
Merge branch '6.2.0-pubcontent' into 7.0.0-pubcontent
...
Conflicts:
src/Umbraco.Web/umbraco.presentation/macro.cs
2013-09-30 14:12:36 +02:00
Stephan
5a15c93195
PublishedContent - ensure exceptions don't corrupt InPreviewMode
2013-09-30 13:58:02 +02:00
Stephan
2e06c61a4f
Fix issues after merge
2013-09-26 09:04:23 +02:00
Stephan
36d6e4b4da
Merge branch '7.0.0' into 7.0.0-pubcontent
...
Conflicts:
src/Umbraco.Core/Cache/HttpRuntimeCacheProvider.cs
src/Umbraco.Core/PublishedContentHelper.cs
src/Umbraco.Tests/Umbraco.Tests.csproj
src/Umbraco.Web/Models/XmlPublishedContent.cs
src/Umbraco.Web/Models/XmlPublishedContentProperty.cs
src/Umbraco.Web/Templates/TemplateUtilities.cs
2013-09-26 08:57:01 +02:00
Shannon
1e9a17babe
Fixes merge issues, fixes up some unit tests, removes the For<T> config section stuff and simplifies the singleton, refactors it with methods as per discussion with stephen.
2013-09-25 19:23:41 +10:00
Stephan
3ca8b356ee
Merge branch '6.2.0-pubcontent' into 7.0.0-pubcontent
...
Conflicts:
src/Umbraco.Core/Cache/CacheProviderBase.cs
src/Umbraco.Core/Cache/HttpRuntimeCacheProvider.cs
src/Umbraco.Core/Cache/NullCacheProvider.cs
src/Umbraco.Core/Cache/StaticCacheProvider.cs
src/Umbraco.Core/Configuration/UmbracoSettings.cs
src/Umbraco.Core/CoreBootManager.cs
src/Umbraco.Core/Dynamics/PropertyResult.cs
src/Umbraco.Core/Models/IPublishedContentProperty.cs
src/Umbraco.Core/Models/PublishedItemType.cs
src/Umbraco.Core/PropertyEditors/IPropertyEditorValueConverter.cs
src/Umbraco.Core/PropertyEditors/PropertyEditorValueConvertersResolver.cs
src/Umbraco.Core/PropertyEditors/PropertyValueConvertersResolver.cs
src/Umbraco.Core/PublishedContentExtensions.cs
src/Umbraco.Core/PublishedContentHelper.cs
src/Umbraco.Core/Umbraco.Core.csproj
src/Umbraco.Tests/CodeFirst/StronglyTypedMapperTest.cs
src/Umbraco.Tests/LibraryTests.cs
src/Umbraco.Tests/PropertyEditors/PropertyEditorValueConverterTests.cs
src/Umbraco.Tests/PublishedCache/PublishedContentCacheTests.cs
src/Umbraco.Tests/PublishedContent/PublishedContentTestBase.cs
src/Umbraco.Tests/PublishedContent/PublishedMediaTests.cs
src/Umbraco.Web/ExamineExtensions.cs
src/Umbraco.Web/Models/DynamicPublishedContent.cs
src/Umbraco.Web/Models/XmlPublishedContent.cs
src/Umbraco.Web/Models/XmlPublishedContentProperty.cs
src/Umbraco.Web/PublishedCache/XmlPublishedCache/PublishedMediaCache.cs
src/Umbraco.Web/PublishedContentExtensions.cs
src/Umbraco.Web/Templates/TemplateUtilities.cs
src/Umbraco.Web/Umbraco.Web.csproj
src/Umbraco.Web/WebBootManager.cs
src/Umbraco.Web/umbraco.presentation/macro.cs
src/umbraco.MacroEngines/RazorDynamicNode/PropertyResult.cs
src/umbraco.MacroEngines/RazorDynamicNode/PublishedContentExtensions.cs
2013-09-23 21:57:22 +02:00
Stephan
08566f32de
Take care of more FIXMEs
2013-09-18 10:09:05 +02:00
Shannon
f38a6e1561
Makes some massive headway with the real config section, have got all code re-delegated to using it and have migrated the baserest config to the core project, all configs will be shared out of the UmbracoConfiguration singleton, now to get the unit tests all wired up and using mocks for the most part.
2013-09-13 18:11:20 +10:00
Shannon
7806762b80
Implemented a real .Net configuration section for umbracoSettings.config + unit tests for every property. NOTE: This isn't referenced in the codebase yet, going to start setting default values for most of the properties so that we can remove them from the config file for shipping (ship minimal config) then reference these settings in the codebase.
2013-08-31 11:28:19 +10:00
Shannon
048480d5be
Fixes: #U4-2460 - UmbracoHelper.RenderTemplate will now execute the complete MVC cycle when rendering MVC templates whereas before it would only execute the view which means any actionfilters, etc... applied would never have fired (as well as other things)
2013-07-05 14:12:31 +10:00
Stephan
ce0c72d9f8
Web.PublishedCache - introduce contextual caches
2013-03-19 17:51:55 -01:00
Stephan
cce32f406f
Web.PublishedCache - move caches to UmbracoContext
2013-03-19 17:50:36 -01:00
Stephan
ef9ce720b2
Web.PublishedCache - create, migrate
2013-02-05 06:31:13 -01:00
leekelleher
3af7958940
Updated references for alias conventions constants across the solution.
2013-03-18 17:55:02 +00:00
Stephan
8b00e72bf6
Web.Routing - refactor url providing (U4-1321...) + new IUrlProvider
2013-01-31 10:06:25 -01:00
Stephan
09f50da821
Web.Routing - migrate to Models.ITemplate, cleanup template logic
2013-01-28 18:36:58 -01:00
Stephan
f466bc7cfb
Web.Routing - cleanup PublishedContentRequest
2013-01-23 14:08:17 -01:00
Stephan
9d701cabf6
Web.Routing - sanitize PublishedContentRequest & pipeline
2013-01-18 13:13:06 -01:00
Stephan
c6c522da04
Web.Routing - begin sanitizing PublishedContentRequest
2013-01-16 15:01:43 -01:00
Shannon Deminick
66bf667100
Merge with 4.11.4
2013-01-29 09:58:47 +06:00
Shannon Deminick
c5d1439422
Fixes: #U4-1458 - due to a null check on PublishedContentRequest on UmbracoContext
2013-01-29 08:35:09 +06:00
Shannon Deminick
44ccfc0262
Adds 'Url', 'ItemType' and the Indexed property alias to IPublishedContent.
...
Changes Properties to ICollection instead of Collection for IPublishedContent.
Creates PublishedContentBase object which handles the Url and Indexed property on IPublishedContent automatically so implementors should use this base
class instead. Moves GetPropertyValue extensions to the Umbraco.Web project instead of the
Umbraco.Core project because this method needs to parse internal links if the value is a string. We require the UmbracoContext
to do this so they must exist in the Web project.
2012-12-09 03:22:11 +05: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
Shannon Deminick
842d7120e6
Obsoletes DynamicQueryable in MacroEngines lib, proxies all calls to new DynamicQueryable in Umbraco.Web.
...
Adds more support for NodeTypeAlias and DocumentTypeAlias param names for compatibility.
Adds IsDocumentType is-helper method.
Adds unit tests for complex Linq using a Typed IPublishedContent object.
Adds unit tests for complex Linq using dynamics.
Adds support for Single, SingleOrDefault, First, FirstOrDefault, Last, LastOrDefault to dynamics for both DynamicNode and DynamicPublishedContent + unit tests.
Adds support for 'Children' on DynamicNode to keep things consistent, no longer required to have to do 'ChildrenAsList'.
DynamicNode now implements INode... not sure why this wasn't like that before.
2012-10-06 23:41:42 +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
Shannon Deminick
840109dc58
updates missing code block
2012-09-29 11:19:19 +07:00
Shannon Deminick
1aebce7ad6
makes SystemDirectories and SystemFiles public.
...
moves ResolveUrlsFromTextString to TemplateUtilities class and obsoletes other ones.
Fixes an issue if content cache is stored in codegen folder and not in med trust.
Updates the XmlDocument (IDocumentProperty) to always return a value with parsed {localLink} and resolved Urls and cache them so the parsing only happens once.
2012-09-29 11:11:48 +07:00
Shannon Deminick
690c4a165c
Creates TemplateUtilities class for parsing local links and obsoletes the old method.
2012-09-29 08:13:49 +07:00