WIP ... Fixes: #U4-1666, Updates documentService to not have to manually
refresh content cache (and fix the unpublishing too since that logic wasn't correct) Adds DebuggerDisplay support to ContentBase and Entity for better debugging info. Adds new internal publishing methods to support publishing all children or only children previously published. This also adds new support for getting a published result back even with bulk publishing. Updates the publish dialog with new code and to use the new API based on issue #U4-1669. Adds UmbracoUser property to AuthenticatedUmbracoController, Adds all common properties to the abstract UmbracoController. Changes the legacy Document to allow content cache to be automatically refreshed (based on events)
This commit is contained in:
@@ -532,6 +532,16 @@ namespace Umbraco.Core.Configuration
|
||||
return context.Request.Path.ToLower().IndexOf(SystemDirectories.Umbraco.ToLower() + "/liveediting.aspx") > -1;
|
||||
}
|
||||
|
||||
public static bool RequestIsInUmbracoApplication(HttpContextBase context)
|
||||
{
|
||||
return context.Request.Path.ToLower().IndexOf(IOHelper.ResolveUrl(SystemDirectories.Umbraco).ToLower()) > -1;
|
||||
}
|
||||
|
||||
public static bool RequestIsLiveEditRedirector(HttpContextBase context)
|
||||
{
|
||||
return context.Request.Path.ToLower().IndexOf(SystemDirectories.Umbraco.ToLower() + "/liveediting.aspx") > -1;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a value indicating whether umbraco should force a secure (https) connection to the backoffice.
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user