Stephan
6cb3fcf9ad
U4-1411 - fix post-4.9 regression in NotFoundHandler url
2013-01-08 16:41:31 -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
Stephan
1bffb7395c
U4-1192 - uQuery.GetNodeIdByUrl should not follow redirects etc
2012-11-20 09:12:45 -01:00
Stephan
d6fc106588
fix DisposableTimer so args can be evaluated _after_ completion
2012-11-20 08:34:32 -01:00
Stephan
68fc833280
U4-1186 - bugfix previous commit
2012-11-19 16:09:43 -01:00
Stephan
7c524abb84
U4-1186 - support wildcard domains to change the culture
2012-11-19 14:11:34 -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
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
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
Stephan
be3f95610b
U4-1081 - treat missing template at 404
2012-10-29 12:35:39 -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
Stephan
62a48df421
bugfix NiceUrlProvider when running in a virtual directory
2012-10-25 12:14:21 -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
Shannon Deminick
9022894d23
Changed EnableMvcSupport config section and classes to be: DefaultRenderingEngine which uses an enum.
...
Added a real handy Enum<T> class for parsing/traversing enums.
2012-10-09 02:42:09 +05:00
Shannon Deminick
6bd005775d
After talks with morten and stephane, this renames
...
DocumentNotFoundHandler -> PublishedContentNotFoundHandler
2012-10-02 01:43:59 +05:00
Shannon Deminick
73c79e8528
After talks with morten and stephane, this renames
...
IDocumentLookup -> IPublishedContentLookup
2012-10-02 01:43:05 +05:00
Shannon Deminick
827d4dd6c0
After talks with morten and stephane, this renames
...
DocumentRequestBuilder -> PublishedContentRequestBuilder
2012-10-02 01:41:54 +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
Stephan
c19541cb11
handle routing cache corruption cases, more unit tests
2012-10-01 12:20:51 -02:00
Stephan
3cddc5e4dc
merge
2012-09-30 14:04:38 -02:00
Stephan
8cd49749ec
fix routing, more unit tests
2012-09-30 14:02:11 -02:00
Stephan
3e99dd0d55
fix NiceUrl and add more tests
2012-09-30 12:24:23 -02:00
Shannon Deminick
8fb159ddc2
Changes IThumbnailProvider to exist under Umbraco.Core.Media instead of just Umbraco.Core.
...
Moves many of the MVC extension methods into the Umbraco.Web.Mvc namespace and tidies up a few other
class's namespaces
2012-09-29 08:07:00 +07:00
Shannon Deminick
34e71027b3
Changed Is404 on DocumentRequest to internal as only the DocumentRequestBuilder should set this, removed the Is404 being set in the
...
DefaultLastChanceLookup as lookups shouldn't set the 404.
Cleaned up ObjectExtensions TryConvertValue method.
Ensures that the routes are created before the CoreBootManager complete is called.
2012-09-29 07:20:23 +07:00
Stephan
d82cbfccc5
remove a ref to requestHandler, fix DefaultRoutesCache management
2012-09-28 09:04:49 -02:00
Stephan
6c4869f931
merge
2012-09-28 07:08:37 -02:00
Stephan
b0e336e01f
routing, fix "no content" splash, fix "no template" handling, fix redirects
2012-09-28 07:04:33 -02:00
Shannon Deminick
0b7f04ab37
Added all code to support auto-routing surface controllers and started implementing the code for
...
BeginUmbracoForm.
2012-09-25 13:09:59 +07:00
Stephan
12c0ce258b
fixing routing + add Lookup tests
2012-09-24 12:10:25 -02:00
Stephan
343c14db48
fixing routing, 404, domains + add NiceUrl and UriUtility tests
2012-09-24 11:36:25 -02:00
Casey Neehouse
0225047a52
Removes .ChildNode calls for .SelectNodes() with correct element selection. Allows comments in configuration.
...
Also updates some Macro Properties to work with new schema.
2012-09-21 01:53:43 +04:00
Shannon Deminick
458f1d3b8f
Fixed setting the Is404 flag
2012-09-13 12:23:58 +07:00
Shannon Deminick
9e5f2f3c9a
Fixed template engine selection... oops :) Should all work now!
...
Fixed DefaultPublishedContentStore to correctly find a secondary root document that doesn't have a domain assigned.
2012-09-13 12:19:56 +07:00
Shannon Deminick
0ed15db408
Fixed the NiceUrlProvider as it some refactor on a previous commit broke some stuff.
...
Fixed up some unit tests with NiceUrlProvider to ensure that the second node under the root get's
the correct URL assigned.
Added unit test to ensure that route caches are persisted correctly.
2012-09-13 11:45:06 +07:00
Shannon Deminick
89cd2772dc
add note
2012-09-13 06:48:06 +07:00
Shannon Deminick
f2a7b3b255
Updated the published content stores so that content doesn't inherit from media, instead there is a base
...
interface IPublishedDataStore.
Simplified the interface structure and removed the GetDocumentProperty method as it is not needed and i think existed
before we updated the codebase to not rely on xml.
2012-09-11 05:58:16 +07:00
Shannon Deminick
5e9d791523
Moved the DocumentNotFoundHandler to diff namespace, created new NoTemplateHandler and updated the engine
...
to route to it when no template is selected and when there are no hijacked routes.
2012-09-07 08:28:18 +07:00
Shannon Deminick
9127061194
Added support for determining rendering engine based on template chosen.
2012-09-07 07:57:25 +07:00