Stephan
9332335dff
U4-8709 - refactor UmbracoViewPage, RenderModel
2016-07-21 10:03:11 +02:00
Shannon
640b2c0ee0
Moves strings to constants, adds ControllerContextExtensions to get the UmbracoContext from the hierarchy of ControllerContext's, changes RenderModelBinder to use this method to get the UmbracoContext, changes UmbracoViewPageOfTModel to use this method to get the UmbracoContext, adds RouteDataExtensions to get the UmbracoContext from routedata, adds extension methods on the HttpContext to get the UmbracoContext from it.
2016-02-16 11:17:47 +01:00
Sebastiaan Janssen
d87b268a40
Update to MVC5
2015-07-30 17:08:39 +02:00
Shannon
4a72e8c3df
Creates ReflectedFixedRazorViewEngine and version checkers to dynamically update code depending on the major versions of MVC and WebApi
2015-01-06 17:40:28 +11:00
Shannon
b978582675
Merge remote-tracking branch 'origin/6.2.0' into 7.1.2
...
Conflicts:
src/Umbraco.Web/Mvc/RenderViewEngine.cs
2014-04-22 13:05:30 +10:00
Shannon
7823609500
Fixes: U4-4682 Get EditorTemplates and DisplayTemplates working with RenderViewEngine
2014-04-22 13:03:47 +10:00
Sebastiaan Janssen
fcb080658d
Reverting 221bfa5f3d so that views are found in partials again
...
Tested creating/editing members with custom properties in combination with our snippets and
that seems to work fine now, so not sure what this was supposed to fix.
Fixes U4-4604 Surface Controller functionality changed in 7.1 breaking site
2014-04-07 12:16:45 +02:00
Shannon
8574c6b7d0
Merge remote-tracking branch 'origin/6.2.0' into 7.1.0
...
Conflicts:
src/Umbraco.Web.UI/Umbraco/PartialViewMacros/Templates/EditProfile.cshtml
src/Umbraco.Web.UI/Umbraco/PartialViewMacros/Templates/RegisterMember.cshtml
src/Umbraco.Web/Models/ProfileModel.cs
src/Umbraco.Web/Models/RegisterModel.cs
src/Umbraco.Web/Models/UmbracoProperty.cs
2014-03-13 14:12:45 +11:00
Shannon
221bfa5f3d
Fixes up issues with editing the member profile and registering a member with our snippets including specifying a custom member type.
2014-03-13 14:10:05 +11:00
Shannon
2391ee1368
Changes the web.config template to use a linked resources (one file)
2013-11-26 20:03:13 +11:00
Shannon Deminick
3a622e6241
Fixes: #U4-1215, #U4-1287
2012-12-22 01:40:33 +03:00
Shannon Deminick
aeab577627
Ensures that our view engines inherit from FixedRazorViewEngine as per #U4-1305
2012-12-10 20:48:04 +05:00
Shannon Deminick
d4d4272b1b
Moved RenderModel to Models namespace. Created new base UmbracoViewPage to use for umbraco partial views, etc... and renamed
...
RenderViewPage to UmbracoTemplatePage which now inherits from UmbracoViewPage. Added NiceUrl and NiceUrlWithDomain as extension
methods to IPublishedContent.
2012-10-24 09:59:23 +05:00
Shannon Deminick
f04db8c52c
Converted umbracoPage.master to have the correct codebehind structure. Added base2 as a default lib in umbracoPage.
...
Converted EditView to use propery JS class so that we can now better support the editor for the new buttons (i.e. insert macro, etc...)
2012-10-09 20:17:27 +05:00
Shannon Deminick
083b18139a
Adds code to RenderViewEngine to ensure the /Views folder exists and also that the razor web.config file exists there too.
...
I've also added this web.config file to the sln so it should output in the build by default though it will still be created automatically if
its not there.
2012-09-25 11:20:05 +07:00
shannon@ShandemVaio
d92d309c61
Added initial MVC supporting files and updated some unit tests.
2012-08-07 21:40:34 +06:00