Sebastiaan Janssen
1b6bf2f331
U4-8938 [OutputCache] headers changed from Cache-Control: public to private
2016-09-03 10:16:34 +02:00
Sebastiaan Janssen
b9fcda8f39
U4-8361 301 Url Tracking
...
Adds the ability to add certain headers to a PublishedContentRequest - these are internal for now until we're sure we want to expose them
Adds response headers to tell browsers not to cache the 301 redirects so people can easily change their mind later
2016-08-02 17:01:32 +02:00
Stephan
9293008b94
U4-7914 - add PublishedContentRequest.Preparing event
2016-02-18 11:36:48 +01:00
Shannon
81a99d6f7d
adds null check and ensures that SetInternalRedirectPublishedContent cannot be called with a null result
2016-01-28 10:19:51 +01:00
Shannon
5a76e380de
Adds some extension methods, updates the PCR to not use the legacy access class... this actually also reduces a db lookup, made it not depenent on singletons.
2015-01-28 19:27:08 +11:00
Shannon
e13e86b25f
Gets the legacy domain stuff wrapping the new apis, updates the DomainHelper to use the new apis without any statics and thus updates everything else referencing that, updates the pcr engine to have the propery ctor params with all required services instead of using statics.
2015-01-21 19:49:22 +11:00
Shannon
f43fa499bf
Fixes: U4-5628 Publicize PublishContentRequest.Prepare, U4-5574 UmbracoVirtualNodeRouteHandler doesn't handle culture properly
2014-10-10 14:45:38 +11:00
Shannon
34152867fa
Fixes: U4-5627 Publicize PublishedContentRequest constructor
2014-10-10 10:58:06 +11:00
Shannon
9a9237e78e
Merge remote-tracking branch 'origin/6.2.0' into 7.1.0
...
Conflicts:
src/Umbraco.Core/Persistence/Repositories/MemberRepository.cs
src/Umbraco.Core/Services/IMembershipUserService.cs
src/Umbraco.Tests/PublishedContent/PublishedContentTestElements.cs
src/Umbraco.Web.UI/config/trees.config
src/Umbraco.Web.UI/config/umbracoSettings.config
src/Umbraco.Web.UI/umbraco/controls/ContentTypeControlNew.ascx
src/Umbraco.Web.UI/umbraco/developer/DataTypes/editDatatype.aspx
src/Umbraco.Web.UI/umbraco/plugins/uGoLive/Dashboard.ascx
src/Umbraco.Web/Mvc/UmbracoViewPageOfTModel.cs
src/Umbraco.Web/Search/ExamineEvents.cs
src/Umbraco.Web/Umbraco.Web.csproj
src/Umbraco.Web/umbraco.presentation/content.cs
src/Umbraco.Web/umbraco.presentation/umbraco/cache/LegacyClasses.cs
2014-03-06 20:22:32 +11:00
Stephan
5dbc72897a
Add method to reset PublishedContentRequest template
2014-03-05 15:46:30 +01:00
Shannon
2a05687c8b
Merge remote-tracking branch 'origin/6.2.0' into 7.0.1
...
Conflicts:
src/Umbraco.Core/Persistence/Relators/PropertyTypePropertyGroupRelator.cs
src/Umbraco.Core/Persistence/Repositories/MemberRepository.cs
src/Umbraco.Core/PluginManager.cs
src/Umbraco.Tests/Services/ContentServiceTests.cs
src/Umbraco.Web.UI/install/Default.aspx.cs
src/Umbraco.Web.UI/umbraco/LiveEditing/Modules/SkinModule/ModuleInjector.aspx
src/Umbraco.Web.UI/umbraco/Umbraco.aspx.cs
src/Umbraco.Web.UI/umbraco/dashboard.aspx
src/Umbraco.Web.UI/umbraco/dialogs/sort.aspx
src/Umbraco.Web.UI/umbraco/dialogs/umbracoField.aspx
src/Umbraco.Web.UI/umbraco/logout.aspx
src/Umbraco.Web.UI/umbraco/umbraco.aspx
src/Umbraco.Web/UI/Pages/UmbracoEnsuredPage.cs
src/Umbraco.Web/Umbraco.Web.csproj
src/Umbraco.Web/umbraco.presentation/install/LegacyClasses.cs
src/Umbraco.Web/umbraco.presentation/umbraco/dashboard.aspx.cs
src/Umbraco.Web/umbraco.presentation/umbraco/logout.aspx.cs
src/Umbraco.Web/umbraco.presentation/umbraco/umbraco.aspx.cs
src/umbraco.cms/businesslogic/Packager/Installer.cs
src/umbraco.providers/members/MembersMembershipProvider.cs
2013-12-03 18:10:00 +11:00
Shannon
e981776e6d
Created new EnsurePublishedContentRequestAttribute for custom routing to still be able to render macros.
2013-11-29 17:41:38 +11:00
Stephan
928f7a1ed0
Merge branch '6.2.0-pubcontent' into 7.0.0-pubcontent
...
Conflicts:
src/Umbraco.Web/Umbraco.Web.csproj
src/Umbraco.Web/umbraco.presentation/macro.cs
2013-09-29 16:05:52 +02:00
Stephan
ea82e9c67e
Web.Routing - fix PublishedContentRequest exception message
2013-09-29 15:22:31 +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
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
Stephan
da719377df
U4-2691 - fix issue with alt template and internal redirects
2013-08-27 18:06:53 +02:00
Stephan
262aa3b8fe
Web.Routing, Web.Mvc - fix issues with content with no template
2013-05-03 20:09:14 -02:00
Stephan
5154bcd2e9
Web.Routing - template setter on PublishedContentRequest
2013-04-11 11:55:32 -02:00
Stephan
e3af8b4e5f
Web.Routing - public, though readonly, UmbracoContext.PublishedContentRequest
2013-04-11 11:44:15 -02:00
Stephan
5110e0ec0e
Web.Routing - go public
2013-01-24 08:51:27 -01:00
Stephan
32e6604cf7
Web.Routing - add InternalRedirectPreservesTemplate setting (U4-1222...)
2013-03-01 13:56:12 -01:00
Stephan
85e73df3c8
Web.Routing - refactor & resharp
2013-02-28 20:20:40 -01:00
Stephan
c637c517b8
Web.Routing - better PublishedContentRequest support for redirect & status
2013-02-26 16:52:42 -01:00
Stephan
b8bcb3820a
Web.Routing - if setting template fails, keep the previous one
2013-02-02 13:29:02 -01:00
Stephan
cc0ad0b089
Web.Routing - PublishedContentRequest template naming
2013-02-05 06:37:36 -01:00
Stephan
1340cc0b2e
Web.Routing - published content request Is404 visibility
2013-01-30 14:45:11 -01:00
Stephan
09f50da821
Web.Routing - migrate to Models.ITemplate, cleanup template logic
2013-01-28 18:36:58 -01:00
Stephan
197ab6357f
Web.Routing - expose PublishedContentRequest.Template as a string
2013-01-24 08:51:27 -01:00
Stephan
f466bc7cfb
Web.Routing - cleanup PublishedContentRequest
2013-01-23 14:08:17 -01:00
Stephan
b77521cbc5
Web.Routing - cleanup template / rendering engine lookup
2013-01-23 14:08:15 -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
Morten Christensen
99820bf5e1
Merge with 4.11.0
2012-11-23 07:53:22 -01:00
Stephan
cccfed6efe
U4-1222 - improve alternate template consistency
2012-11-21 10:12:04 -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
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
Morten@Thinkpad-X220
59c5a8920e
Adds abstract File, Script, Stylesheet and Template model implementations for U4-933 U4-934 U4-935
...
Added a CssParser which is used internally by the Stylesheet class, but still needs a bit of work - primarily testing.
Resolves a couple of naming conflicts for Template.
2012-10-04 11:44:31 -02: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
Stephan
7c524abb84
U4-1186 - support wildcard domains to change the culture
2012-11-19 14:11:34 -01:00