Shannon
39ee22cbd6
fixes a single vs first check with render route handler when there might be duplicate routes assigned to a controller
2014-07-16 13:41:02 +10:00
Shannon
9827b40bea
Fixes: U4-4223 MVC based forms with SurfaceControllers don't work when rendered in Webforms mode.
...
This slightly changes how the routing works in the module, now we always send the request to the RenderRouteHandler, this will first process the logic for route hijacking, then it will determine if the request was found to be a WebForms template, if so then we'll return the webforms handler. This also now allows us to have POSTed values to SurfaceController's from forms that have been rendered in Webforms whilst maintaining all viewdata, tempdata and model state on postback even when rendering in webforms!
2014-02-13 13:19:51 +11:00
Shannon
8aceae9880
re-formats some code, simplifies calls using InvariantEquals extension method
2013-12-19 13:22:33 +11:00
Shandem
384d4d60f1
Merge pull request #168 from stevetemple/6.1.6-multiple-action-route-issue
...
Fix error when multiple routes have the same controller
2013-12-18 18:18:44 -08:00
Steve Temple
e738738e54
Only check actions if more than 1 route matches & ignore case when comparing controller names
2013-10-16 12:02:20 +01:00
Steve Temple
f502912225
Updated to use invariant culture
2013-10-15 23:51:39 +01:00
Steve Temple
e06e50c4fc
Tidied up tabs to match Umbraco standard and nicer string comparison
2013-10-15 17:18:12 +01:00
Steve Temple
3285e161c0
Fix issue with error http://our.umbraco.org/forum/developers/api-questions/41483-Umbraco-6-MVC-RenderRouteHandlerHandlePostedValues-Sequence-contains-more-than-one-matching-element when multiple routes share the same controller
2013-10-15 17:09:51 +01:00
Shannon
5b943ca866
fixed couple tests
2013-09-17 11:53:57 +10:00
Shannon
90abe8c25f
Fixes: U4-2823 RenderRouteHandler.GetUmbracoRouteDefinition() fails to store the route definition when an incidental alias-controller match is made
2013-09-11 12:15:29 +10:00
Shannon
fee02af4eb
Completes: U4-1639 Add support to generate GET urls to SurfaceController actions
2013-09-06 11:40:37 +10:00
Shannon
177486418d
Implements: U4-1639 Add support to generate GET urls to SurfaceController actions
2013-09-05 14:01:28 +10:00
Shannon
a57aa07721
Updated default controller resolver to use new IRenderMvcController interface, fixed some merge issues.
2013-06-25 09:55:45 +10:00
Shannon
f2b8e3407b
Merge remote-tracking branch 'origin/6.0.7' into 6.1.2
...
Conflicts:
src/Umbraco.Web/Mvc/RenderControllerFactory.cs
src/Umbraco.Web/Mvc/RenderMvcController.cs
src/Umbraco.Web/Mvc/RenderRouteHandler.cs
src/Umbraco.Web/Umbraco.Web.csproj
2013-06-25 09:41:27 +10:00
Shannon
1ec7cd3b89
Implements: #U4-2342 - IRenderMvcController
2013-06-25 09:33:48 +10:00
Shannon Deminick
813d60521c
Merge with 6.0.7
2013-06-03 16:27:20 -10:00
Shannon Deminick
5212d17f49
Fixes: #U4-2313 - manually adding a reserved route value in BeginUmbracoForm
2013-06-03 14:56:15 -10:00
Stephan
262aa3b8fe
Web.Routing, Web.Mvc - fix issues with content with no template
2013-05-03 20:09:14 -02:00
Shannon Deminick
577d77cfab
Fixes: #U4-1760 - allows a developer to set the default RenderMvcController on startup.
2013-04-28 16:09:24 -10:00
Stephan
c637c517b8
Web.Routing - better PublishedContentRequest support for redirect & status
2013-02-26 16:52:42 -01:00
Shannon Deminick
89b85bcf4b
Fixed Render route handler tests.
2013-02-20 06:30:06 +06:00
Shannon Deminick
e096890400
Fixes: #U4-1537
2013-02-19 20:12:13 +06:00
Shannon Deminick
6a9277a712
Fixes: #U4-1537
2013-02-19 20:04:50 +06:00
Shannon Deminick
ec87b951d5
Fixes up merge issue.
2013-02-19 07:45:01 +06:00
Shannon Deminick
2e033b3bb6
Merge
2013-02-19 07:32:57 +06:00
Shannon Deminick
d8721197b7
Fixes up pull request so that there is no breaking changes. We now type check for a new base class called
...
UmbracoControllerFactory to get the controller type. Adds SurfaceRouteHandler to ensure that UmbracoMvcHandler is used for all SurfaceControllers, and updates
all routes accordingly. Streamlines the RenderRouteHandler to then just look up surface routes in the route table
for posted values. This now ensures that UmbracoMvcHandler is used even with plugin surface controllers.
2013-02-19 07:30:46 +06:00
Shannon Deminick
137b0754d6
Removes area routing for local surface controllers and BeginUmbracoForm, adds strongly typed Html.Action<T>
...
method for rendering SurfaceController child actions regardless of area (so you don't have to specify).
All relates to #U4-1727
2013-02-19 06:11:58 +06:00
Shannon Deminick
7d1e9cfd72
Fixes: #U4-1727
2013-02-19 06:11:17 +06:00
Shannon Deminick
663fc4f954
Removes area routing for local surface controllers and BeginUmbracoForm, adds strongly typed Html.Action<T>
...
method for rendering SurfaceController child actions regardless of area (so you don't have to specify).
All relates to #U4-1727
2013-02-19 06:00:40 +06:00
Shannon Deminick
845595b01b
Fixes: #U4-1727
2013-02-19 05:39:38 +06:00
Floris Robbemont
55f06a7ca6
Fixed issue: #U4-1726
2013-02-16 16:00:28 -01:00
Shannon Deminick
9ad813d990
Fixes a couple issues with some routing tests.
2013-02-15 19:38:33 +06:00
Stephan
32c187f023
U4-1441 - make trySkipIisCustomError value a setting
2013-02-07 13:30:06 -01:00
Shannon Deminick
13e5590efa
Obsoleted methods in old Casing class and redirects to use StringExtensions. Removes eroneous webforms files not needed in the Umbraco.Web prject
...
(didn't convert the related UI project ones to have code behinds though... one thing at a time and there's a lot of them to do... over time)
2013-02-06 05:56:49 +06:00
Stephan
bfb36cac7c
U4-1441 - fix issue with IIS taking over custom errors
2013-02-04 16:10:43 -01:00
Sebastiaan Janssen
51ff861e44
Merge with 6.0.0
2013-01-31 14:09:24 -01:00
Stephan
cc0ad0b089
Web.Routing - PublishedContentRequest template naming
2013-02-05 06:37:36 -01:00
Stephan
fa2ea78bda
Fix build after merge
2013-02-01 10:47:53 -01:00
Shannon Deminick
6b3de00e08
Merge with 6.0.1
2013-02-01 06:52:27 +06:00
Shannon Deminick
30fe0ecaf4
Fixes unit tests and logic for Umbraco_Route_User_Defined_Controller_Action
2013-01-30 05:55:40 +06:00
Stephan
f1039a18e4
Merge with 6.0.1
2013-01-29 18:51:58 -01:00
Stephan
ea805a7af8
Merge with 6.0.0
2013-01-29 18:49:05 -01:00
Shannon Deminick
f9977a9fd8
Fixes: #U4-1170 - template with hyphen or dash
2013-01-29 21:19:16 +06:00
Stephan
09f50da821
Web.Routing - migrate to Models.ITemplate, cleanup template logic
2013-01-28 18:36:58 -01:00
Stephan
9d701cabf6
Web.Routing - sanitize PublishedContentRequest & pipeline
2013-01-18 13:13:06 -01:00
pcw@pcw-PC.shout.local
dec5e8ad6c
Fixed EncryptWithMachineKey to handle values longer than FormsAuthentication.Encrypt max length limit
...
http://issues.umbraco.org/issue/U4-1455
2013-01-15 20:07:07 +00:00
Shannon Deminick
716d3e95f1
Imported patches from 6.0 for #U4-1453, #U4-1454
2013-01-15 00:58:11 +03:00
pcw@pcw-PC.shout.local
864d840d41
Removed fix for http://issues.umbraco.org/issue/U4-1455 due to encryption max length issue with FormsAuthentication.Encrypt hack. See comments on issue.
2013-01-14 20:59:04 +00:00
pcw@pcw-PC.shout.local
9ddf5dbbb8
Implemented U4-1455 SurfaceController additionalRouteVal parameters should be encrypted
...
Fixed U4-1454SurfaceController additionalRouteVal parameters do not handle equals sign correctly
Fixed U4-1453SurfaceController additionalRouteVal parameters not passed to controller action
2013-01-13 21:48:06 +00:00
Shannon Deminick
8024610364
Fixes up some logging API issues. Fixed up tracing in the macro class. Added support for Partial View macro rendering in the macro class.
2012-12-04 11:08:02 +05:00