diff --git a/build/NuSpecs/UmbracoCms.Core.nuspec b/build/NuSpecs/UmbracoCms.Core.nuspec
index e4188423c7..b58948427b 100644
--- a/build/NuSpecs/UmbracoCms.Core.nuspec
+++ b/build/NuSpecs/UmbracoCms.Core.nuspec
@@ -29,11 +29,11 @@
-
+
-
+
diff --git a/src/Umbraco.Core/ApplicationContext.cs b/src/Umbraco.Core/ApplicationContext.cs
index efd6d69699..4b17a6decc 100644
--- a/src/Umbraco.Core/ApplicationContext.cs
+++ b/src/Umbraco.Core/ApplicationContext.cs
@@ -228,7 +228,7 @@ namespace Umbraco.Core
/// - has the SystemDirectories.Umbraco path
/// - does not end with a slash
/// It is initialized on the first request made to the server, by UmbracoModule.EnsureApplicationUrl:
- /// - if umbracoSettings:settings/web.routing/@appUrl is set, use the value (new setting)
+ /// - if umbracoSettings:settings/web.routing/@umbracoApplicationUrl is set, use the value (new setting)
/// - if umbracoSettings:settings/scheduledTasks/@baseUrl is set, use the value (backward compatibility)
/// - otherwise, use the url of the (first) request.
/// Not locking, does not matter if several threads write to this.
diff --git a/src/Umbraco.Tests/Umbraco.Tests.csproj b/src/Umbraco.Tests/Umbraco.Tests.csproj
index a0c5a995cd..c1beab29b4 100644
--- a/src/Umbraco.Tests/Umbraco.Tests.csproj
+++ b/src/Umbraco.Tests/Umbraco.Tests.csproj
@@ -59,9 +59,9 @@
False
..\packages\AutoMapper.3.3.1\lib\net40\AutoMapper.Net4.dll
-
- False
- ..\packages\Examine.0.1.63.0\lib\Examine.dll
+
+ ..\packages\Examine.0.1.64.0\lib\Examine.dll
+ True
False
diff --git a/src/Umbraco.Tests/packages.config b/src/Umbraco.Tests/packages.config
index 15de2204f7..ac65b5d16f 100644
--- a/src/Umbraco.Tests/packages.config
+++ b/src/Umbraco.Tests/packages.config
@@ -2,25 +2,25 @@
-
-
+
+
-
-
+
+
-
+
-
-
+
+
-
+
\ No newline at end of file
diff --git a/src/Umbraco.Web.UI/Umbraco.Web.UI.csproj b/src/Umbraco.Web.UI/Umbraco.Web.UI.csproj
index ed269cddde..a449545cac 100644
--- a/src/Umbraco.Web.UI/Umbraco.Web.UI.csproj
+++ b/src/Umbraco.Web.UI/Umbraco.Web.UI.csproj
@@ -47,6 +47,7 @@
..\
true
true
+
bin\
@@ -115,8 +116,8 @@
..\packages\AutoMapper.3.3.1\lib\net40\AutoMapper.Net4.dll
- False
..\packages\ClientDependency.1.8.4\lib\net45\ClientDependency.Core.dll
+ True
False
@@ -126,8 +127,8 @@
False
..\packages\dotless.1.4.1.0\lib\dotless.Core.dll
-
- ..\packages\Examine.0.1.63.0\lib\Examine.dll
+
+ ..\packages\Examine.0.1.64.0\lib\Examine.dll
True
diff --git a/src/Umbraco.Web.UI/config/umbracoSettings.Release.config b/src/Umbraco.Web.UI/config/umbracoSettings.Release.config
index fcc04eaa45..7aabc1ac63 100644
--- a/src/Umbraco.Web.UI/config/umbracoSettings.Release.config
+++ b/src/Umbraco.Web.UI/config/umbracoSettings.Release.config
@@ -147,10 +147,15 @@
By default you can call any content Id in the url and show the content with that id, for example:
http://mysite.com/1092 or http://mysite.com/1092.aspx would render the content with id 1092. Setting
this setting to true stops that behavior
+ @umbracoApplicationUrl
+ The url of the Umbraco application. By default, Umbraco will figure it out from the first request.
+ Configure it here if you need anything specific. Needs to be a complete url with scheme and umbraco
+ path, eg http://mysite.com/umbraco. NOT just "mysite.com" or "mysite.com/umbraco" or "http://mysite.com".
-->
+ internalRedirectPreservesTemplate="false" disableAlternativeTemplates="false" disableFindContentByIdPath="false"
+ umbracoApplicationUrl="">
diff --git a/src/Umbraco.Web.UI/config/umbracoSettings.config b/src/Umbraco.Web.UI/config/umbracoSettings.config
index 6b93e35e3c..c52bb6d080 100644
--- a/src/Umbraco.Web.UI/config/umbracoSettings.config
+++ b/src/Umbraco.Web.UI/config/umbracoSettings.config
@@ -276,10 +276,15 @@
By default you can call any content Id in the url and show the content with that id, for example:
http://mysite.com/1092 or http://mysite.com/1092.aspx would render the content with id 1092. Setting
this setting to true stops that behavior
+ @umbracoApplicationUrl
+ The url of the Umbraco application. By default, Umbraco will figure it out from the first request.
+ Configure it here if you need anything specific. Needs to be a complete url with scheme and umbraco
+ path, eg http://mysite.com/umbraco. NOT just "mysite.com" or "mysite.com/umbraco" or "http://mysite.com".
-->
-
+
\ No newline at end of file
diff --git a/src/Umbraco.Web.UI/packages.config b/src/Umbraco.Web.UI/packages.config
index 8ba6906e86..98fa24e3ef 100644
--- a/src/Umbraco.Web.UI/packages.config
+++ b/src/Umbraco.Web.UI/packages.config
@@ -4,21 +4,21 @@
-
+
-
+
-
-
+
+
-
+
@@ -28,10 +28,10 @@
-
+
-
-
+
+
\ No newline at end of file
diff --git a/src/Umbraco.Web/Security/MembershipHelper.cs b/src/Umbraco.Web/Security/MembershipHelper.cs
index 3284674338..3bb916ed13 100644
--- a/src/Umbraco.Web/Security/MembershipHelper.cs
+++ b/src/Umbraco.Web/Security/MembershipHelper.cs
@@ -125,9 +125,7 @@ namespace Umbraco.Web.Security
.Where(p => member.ContentType.PropertyTypeExists(p.Alias))
.Where(property => member.Properties.Contains(property.Alias))
//needs to be editable
- .Where(p => member.ContentType.MemberCanEditProperty(p.Alias))
- //needs to have a value
- .Where(p => p.Value != null))
+ .Where(p => member.ContentType.MemberCanEditProperty(p.Alias)))
{
member.Properties[property.Alias].Value = property.Value;
}
diff --git a/src/Umbraco.Web/Umbraco.Web.csproj b/src/Umbraco.Web/Umbraco.Web.csproj
index c4adb2ab23..7c9b36d029 100644
--- a/src/Umbraco.Web/Umbraco.Web.csproj
+++ b/src/Umbraco.Web/Umbraco.Web.csproj
@@ -106,8 +106,8 @@
..\packages\AutoMapper.3.3.1\lib\net40\AutoMapper.Net4.dll
- False
..\packages\ClientDependency.1.8.4\lib\net45\ClientDependency.Core.dll
+ True
False
@@ -116,9 +116,9 @@
..\packages\dotless.1.4.1.0\lib\dotless.Core.dll
-
- False
- ..\packages\Examine.0.1.63.0\lib\Examine.dll
+
+ ..\packages\Examine.0.1.64.0\lib\Examine.dll
+ True
False
diff --git a/src/Umbraco.Web/UmbracoModule.cs b/src/Umbraco.Web/UmbracoModule.cs
index 838dea94b8..54d106574a 100644
--- a/src/Umbraco.Web/UmbracoModule.cs
+++ b/src/Umbraco.Web/UmbracoModule.cs
@@ -51,9 +51,8 @@ namespace Umbraco.Web
// use ports from request
// otherwise,
// if non-standard ports used,
- // user may need to set baseUrl manually per
+ // user may need to set umbracoApplicationUrl manually per
// http://our.umbraco.org/documentation/Using-Umbraco/Config-files/umbracoSettings/#ScheduledTasks
- // TODO update the doc, prefer web.routing/@appUrl to scheduledTasks/@baseUrl
var port = (request.IsSecureConnection == false && GlobalSettings.UseSSL == false)
|| (request.IsSecureConnection && GlobalSettings.UseSSL)
? ":" + request.ServerVariables["SERVER_PORT"]
diff --git a/src/Umbraco.Web/packages.config b/src/Umbraco.Web/packages.config
index 1ad7d7c403..0a152e7cc0 100644
--- a/src/Umbraco.Web/packages.config
+++ b/src/Umbraco.Web/packages.config
@@ -3,19 +3,19 @@
-
+
-
-
+
+
-
+
@@ -27,6 +27,6 @@
-
-
+
+
\ No newline at end of file
diff --git a/src/Umbraco.Web/umbraco.presentation/content.cs b/src/Umbraco.Web/umbraco.presentation/content.cs
index f32fa34fb5..23e44896f4 100644
--- a/src/Umbraco.Web/umbraco.presentation/content.cs
+++ b/src/Umbraco.Web/umbraco.presentation/content.cs
@@ -197,7 +197,7 @@ namespace umbraco
var node = GetPreviewOrPublishedNode(d, xmlContentCopy, false);
var attr = ((XmlElement)node).GetAttributeNode("sortOrder");
attr.Value = d.sortOrder.ToString();
- xmlContentCopy = AddOrUpdateXmlNode(xmlContentCopy, d.Id, d.Level, parentId, node);
+ xmlContentCopy = GetAddOrUpdateXmlNode(xmlContentCopy, d.Id, d.Level, parentId, node);
// update sitemapprovider
if (updateSitemapProvider && SiteMap.Provider is UmbracoSiteMapProvider)
@@ -1188,8 +1188,15 @@ order by umbracoNode.level, umbracoNode.sortOrder";
#region Manage change
+ //TODO remove as soon as we can break backward compatibility
+ [Obsolete("Use GetAddOrUpdateXmlNode which returns an updated Xml document.", false)]
+ public static void AddOrUpdateXmlNode(XmlDocument xml, int id, int level, int parentId, XmlNode docNode)
+ {
+ GetAddOrUpdateXmlNode(xml, id, level, parentId, docNode);
+ }
+
// adds or updates a node (docNode) into a cache (xml)
- public static XmlDocument AddOrUpdateXmlNode(XmlDocument xml, int id, int level, int parentId, XmlNode docNode)
+ public static XmlDocument GetAddOrUpdateXmlNode(XmlDocument xml, int id, int level, int parentId, XmlNode docNode)
{
// sanity checks
if (id != docNode.AttributeValue("id"))
diff --git a/src/Umbraco.Web/umbraco.presentation/umbraco/preview/PreviewContent.cs b/src/Umbraco.Web/umbraco.presentation/umbraco/preview/PreviewContent.cs
index c0f470e91f..5a92470a82 100644
--- a/src/Umbraco.Web/umbraco.presentation/umbraco/preview/PreviewContent.cs
+++ b/src/Umbraco.Web/umbraco.presentation/umbraco/preview/PreviewContent.cs
@@ -102,7 +102,7 @@ namespace umbraco.presentation.preview
if (document.ContentEntity.Published == false
&& ApplicationContext.Current.Services.ContentService.HasPublishedVersion(document.Id))
previewXml.Attributes.Append(XmlContent.CreateAttribute("isDraft"));
- XmlContent = content.AddOrUpdateXmlNode(XmlContent, document.Id, document.Level, parentId, previewXml);
+ XmlContent = content.GetAddOrUpdateXmlNode(XmlContent, document.Id, document.Level, parentId, previewXml);
}
if (includeSubs)
@@ -112,7 +112,7 @@ namespace umbraco.presentation.preview
var previewXml = XmlContent.ReadNode(XmlReader.Create(new StringReader(prevNode.Xml)));
if (prevNode.IsDraft)
previewXml.Attributes.Append(XmlContent.CreateAttribute("isDraft"));
- XmlContent = content.AddOrUpdateXmlNode(XmlContent, prevNode.NodeId, prevNode.Level, prevNode.ParentId, previewXml);
+ XmlContent = content.GetAddOrUpdateXmlNode(XmlContent, prevNode.NodeId, prevNode.Level, prevNode.ParentId, previewXml);
}
}
diff --git a/src/UmbracoExamine/UmbracoExamine.csproj b/src/UmbracoExamine/UmbracoExamine.csproj
index b913c2bdf2..b7a8532077 100644
--- a/src/UmbracoExamine/UmbracoExamine.csproj
+++ b/src/UmbracoExamine/UmbracoExamine.csproj
@@ -82,9 +82,9 @@
..\Solution Items\TheFARM-Public.snk
-
- False
- ..\packages\Examine.0.1.63.0\lib\Examine.dll
+
+ ..\packages\Examine.0.1.64.0\lib\Examine.dll
+ True
False
diff --git a/src/UmbracoExamine/packages.config b/src/UmbracoExamine/packages.config
index efa216d153..7964077e96 100644
--- a/src/UmbracoExamine/packages.config
+++ b/src/UmbracoExamine/packages.config
@@ -1,6 +1,6 @@
-
+
\ No newline at end of file
diff --git a/src/umbraco.MacroEngines/packages.config b/src/umbraco.MacroEngines/packages.config
index 2e2427feb4..b330911584 100644
--- a/src/umbraco.MacroEngines/packages.config
+++ b/src/umbraco.MacroEngines/packages.config
@@ -1,15 +1,15 @@
-
+
-
+
-
+
diff --git a/src/umbraco.MacroEngines/umbraco.MacroEngines.csproj b/src/umbraco.MacroEngines/umbraco.MacroEngines.csproj
index 4d84010535..a6f60a3098 100644
--- a/src/umbraco.MacroEngines/umbraco.MacroEngines.csproj
+++ b/src/umbraco.MacroEngines/umbraco.MacroEngines.csproj
@@ -45,9 +45,9 @@
false
-
- False
- ..\packages\Examine.0.1.63.0\lib\Examine.dll
+
+ ..\packages\Examine.0.1.64.0\lib\Examine.dll
+ True
False
diff --git a/src/umbraco.cms/packages.config b/src/umbraco.cms/packages.config
index e8d51df7f8..ae52b9ce82 100644
--- a/src/umbraco.cms/packages.config
+++ b/src/umbraco.cms/packages.config
@@ -3,6 +3,6 @@
-
-
+
+
\ No newline at end of file
diff --git a/src/umbraco.cms/umbraco.cms.csproj b/src/umbraco.cms/umbraco.cms.csproj
index 9561c3afb9..3d87a1a80a 100644
--- a/src/umbraco.cms/umbraco.cms.csproj
+++ b/src/umbraco.cms/umbraco.cms.csproj
@@ -107,8 +107,8 @@
- False
..\packages\ClientDependency.1.8.4\lib\net45\ClientDependency.Core.dll
+ True
False
diff --git a/src/umbraco.controls/umbraco.controls.csproj b/src/umbraco.controls/umbraco.controls.csproj
index 2fb5d7174c..3980e5ed27 100644
--- a/src/umbraco.controls/umbraco.controls.csproj
+++ b/src/umbraco.controls/umbraco.controls.csproj
@@ -69,8 +69,8 @@
- False
..\packages\ClientDependency.1.8.4\lib\net45\ClientDependency.Core.dll
+ True
diff --git a/src/umbraco.editorControls/umbraco.editorControls.csproj b/src/umbraco.editorControls/umbraco.editorControls.csproj
index 9b669e284e..828b541923 100644
--- a/src/umbraco.editorControls/umbraco.editorControls.csproj
+++ b/src/umbraco.editorControls/umbraco.editorControls.csproj
@@ -115,8 +115,8 @@
Umbraco.Web
- False
..\packages\ClientDependency.1.8.4\lib\net45\ClientDependency.Core.dll
+ True
System