Commit Graph

131 Commits

Author SHA1 Message Date
Shannon Deminick
f2071379fc Merge with 4.11.5 2013-02-21 22:40:24 +06:00
Shannon Deminick
828dc64035 Backports fix for FullpathToRoot in GlobalSettings... not sure how some unit tests have been working this whole time.
Changes UseLegacySchema default value to false... was set to true!?
un-ignores LookupByNiceUrl tests and still ensures it doesn't require a database to test by passing in an optional parameter
to LookupByNiceUrl to specify if we want to include domain lookups or not (default is true)
2013-02-21 22:02:56 +06:00
Stephan
60bbede408 U4-1441 - fix, fix and fix! 2013-02-19 17:49:49 -01:00
Stephan
9c8b5cd97e U4-1441 - fix, fix and fix! 2013-02-19 17:49:49 -01:00
Shannon Deminick
a559ef9f90 Fixes: #U4-1732 2013-02-19 00:59:21 +06:00
Shannon Deminick
b45f6e0393 Fixes: #U4-1732 2013-02-19 00:53:20 +06:00
Stephan
5da3541584 U4-1441 - bugfix 2013-02-14 16:27:27 -01:00
Stephan
61d1f87611 U4-1441 - bugfix 2013-02-14 16:34:17 -01:00
Stephan
6d87174cc1 U4-1441 - improve logging 2013-02-08 07:54:16 -01:00
Stephan
2da18d4500 U4-1441 - improve logging 2013-02-08 07:54:16 -01:00
Stephan
9cedf5da4c U4-1441 - make trySkipIisCustomError value a setting 2013-02-08 08:08:36 -01:00
Stephan
f7d4080472 U4-1441 - make trySkipIisCustomError value a setting 2013-02-08 07:51:22 -01:00
Stephan
a65ca205de U4-1441 - fix issue with IIS taking over custom errors 2013-02-05 16:29:10 -01:00
Stephan
c8e08b8ef8 U4-1441 - fix issue with IIS taking over custom errors 2013-02-05 16:29:10 -01:00
Stephan
683d793460 U4-1441 - refactor (fix) legacy NotFoundHandler support 2013-02-06 12:46:54 -01:00
Stephan
da7fea47c6 U4-1441 - refactor (fix) legacy NotFoundHandler support 2013-02-03 14:34:04 -01:00
Stephan
6cb3fcf9ad U4-1411 - fix post-4.9 regression in NotFoundHandler url 2013-01-08 16:41:31 -01:00
Stephan
03b1b34be7 U4-1411 - fix post-4.9 regression in NotFoundHandler url 2013-01-08 16:41:31 -01:00
Sebastiaan Janssen
ea35ac570e Merge with 4.11.2 2012-12-20 09:43:09 -01:00
Sebastiaan Janssen
735bd574ff Didn't mean to commit test code, sorry! 2012-12-17 12:29:43 -01:00
Sebastiaan Janssen
5c0d9785e0 Don't check log comment length if it is null.. helped with a broken recycle bin
not deleting content because sometimes the title of the content would be null
2012-12-17 09:25:55 -01: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
Stephan
35e65ad18c add support for "/foo" hostnames ONLY for backward compat.
fix invalid hostname message
2012-11-28 12:43:19 -01:00
Stephan
c607e50433 U4-1245, U4-1186... fix the mess I created with hostnames 2012-11-27 12:43:57 -01:00
Stephan
cccfed6efe U4-1222 - improve alternate template consistency 2012-11-21 10:12:04 -01:00
Shannon Deminick
73414f4504 Merge with default 2012-12-07 19:56:40 +05:00
Sebastiaan Janssen
f6e8cbf6de Merge with default 2012-11-28 14:34:55 -01:00
Stephan
9f0ab6c297 U4-1245 - make it possible to create more than 1 wildcard domain 2012-11-23 15:23:39 -01:00
Morten Christensen
99820bf5e1 Merge with 4.11.0 2012-11-23 07:53:22 -01:00
Morten Christensen
f9328af55f Merge with 4.11.0 2012-11-17 14:41:54 -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
Shannon Deminick
8597876c92 Fixed up the library calls to RenderTemplate, no longer a ton of duplicated code and removed
the requirement to build up query strings as this is completley not required since we use 'preserveForm'
in the Server.Execute.
2012-11-14 09:31:20 +05:00
Shannon Deminick
3df7d81bde Fixed up the webforms url gen 2012-11-14 09:19:39 +05:00
Shannon Deminick
f82ae4fdda Fixes: #U4-1174, this now works for all webforms related templates, however RenderTemplate will currently not work for
MVC templates... this will come soon. If you try to it will just throw a NotImplementedException.
2012-11-14 09:13:53 +05:00
Morten Christensen
59630b99b4 Merge with 4.11.0 2012-11-13 14:33:28 -01:00
Bitmapped
33eb9d40f3 Catches exception thrown by native ActiveDirectoryMembershipProvider when there
is no current user.
Fixes U4-709
2012-11-11 09:40:48 -01:00
sitereactor
a4a4ab433d Merge with 4.10.0 2012-10-31 15:17:20 -01:00
Shannon Deminick
c3795d7e5a Added some code comments and did a check for redirects (returns null if this is the case) 2012-10-30 06:49:36 +06:00
sitereactor
81aedbd9dd Merge with 4.10.0 2012-10-29 14:40:02 -01:00
Stephan
be3f95610b U4-1081 - treat missing template at 404 2012-10-29 12:35:39 -01:00
sitereactor
c20072c01d Merge with 4.10.0 2012-10-29 09:55:33 -01:00
Stephan
80dca1e3f2 U4-1089 - non-ascii chars in urls cause 404 2012-10-28 11:58:48 -01:00
Shannon Deminick
6bf3a7a74a Merge 2012-10-26 03:01:21 +05:00
Shannon Deminick
07f8f79620 Fixes: #U4-1077, found an bug with both our code and Microsoft's code in that if you RemapPath with an incorrect URL which contains
2 '?' the internals of ASP.net actually force a secondary internal request which causes BeginRequest to fire but doesn't follow the normal
chain of the module. It was a bug with our code having two query strings, however its pretty strange behavior on their part!
Have removed UmbracoContext.ClientUrl since it is not necessary to have. Have renamed UmbracoContext.UmbracoUrl = CleanedUmbracoUrl and UmbracoContext.RequextUrl = OriginalRequestUrl
Have moved the route processing logic to a static method on PublishedContentRequest which auto assigns the request back to the UmbracoContext, plus this is a cleaner
way to do the processing, including allowing us to unit test this one aspect.
Lastly, we are now rewriting the path back to the original URL in the RenderRouteHandler so that in MVC controllers the HttpContext.Request actually
reflects the URL that the client requested, not the rewritten URL (we do this in webforms too)
2012-10-26 02:55:57 +05:00
sitereactor
3e6c56a394 Merge with 4.10.0 2012-10-25 18:39:33 -02:00
Stephan
62a48df421 bugfix NiceUrlProvider when running in a virtual directory 2012-10-25 12:14:21 -02:00
sitereactor
cf7e63ad04 Merge with 4.10.0 2012-10-24 12:39:56 -02:00
Shannon Deminick
a9d6c7872a Changed the PublishedContentRequestBuild to use the cached template lookup instead of going to the db each time,
added caching to the business logic template class's GetByAlias method. All of this will save db queries for each request meaning even
faster rendering. Fixed GetTemplateAlias extension method to use the correct Template class with caching.
2012-10-24 11:02:36 +05:00
Sebastiaan Janssen
7309c7c02f Templates that have a space in the alias will be created without spaces in the
file name, when determining if the template exists, remove spaces from the alias
2012-10-22 10:36:54 -02:00
Morten@Thinkpad-X220
2705053177 Merge with 4.10.0 2012-10-09 05:36:20 -02:00