Compare commits

...
9 changed files with 21186 additions and 57 deletions
+4 -4
View File
@@ -3,10 +3,10 @@
<Import Project="$([MSBuild]::GetPathOfFileAbove('Directory.Build.props', '$(MSBuildThisFileDirectory)../'))" />
<PropertyGroup>
<Version>9.5.1</Version>
<AssemblyVersion>9.5.1</AssemblyVersion>
<InformationalVersion>9.5.1</InformationalVersion>
<FileVersion>9.5.1</FileVersion>
<Version>9.5.2</Version>
<AssemblyVersion>9.5.2</AssemblyVersion>
<InformationalVersion>9.5.2</InformationalVersion>
<FileVersion>9.5.2</FileVersion>
<LangVersion Condition="'$(LangVersion)' == ''">9.0</LangVersion>
<NeutralLanguage>en-US</NeutralLanguage>
<Company>Umbraco CMS</Company>
@@ -42,18 +42,17 @@ namespace Umbraco.Cms.Core.Configuration.Models
/// </remarks>
public bool FlagOutOfDateModels
{
get => _flagOutOfDateModels;
set
get
{
if (!ModelsMode.IsAuto())
if (ModelsMode == ModelsMode.Nothing || ModelsMode.IsAuto())
{
_flagOutOfDateModels = false;
return;
return false;
}
_flagOutOfDateModels = value;
return _flagOutOfDateModels;
}
set => _flagOutOfDateModels = value;
}
/// <summary>
+1 -1
View File
@@ -20,7 +20,7 @@ namespace Umbraco.Cms.Core.Models
public string NodeType { get; set; }
[DataMember(Name = "udi")]
public Udi NodeUdi => Udi.Create(NodeType, NodeKey);
public Udi NodeUdi => NodeType == Constants.UdiEntityType.Unknown ? null : Udi.Create(NodeType, NodeKey);
[DataMember(Name = "icon")]
public string ContentTypeIcon { get; set; }
@@ -195,7 +195,7 @@ namespace Umbraco.Cms.Infrastructure.Persistence.Repositories.Implement
aliasRight: "ct")
.LeftJoin<NodeDto>("ctn").On<ContentTypeDto, NodeDto>((left, right) => left.NodeId == right.NodeId,
aliasLeft: "ct", aliasRight: "ctn")
.Where<UnionHelperDto>(x => x.OtherId != id, "x");
.Where<UnionHelperDto>(x => x.Id == id, "x");
if (filterMustBeIsDependency)
{
@@ -14,6 +14,7 @@ namespace Umbraco.Cms.Infrastructure.Runtime
internal class FileSystemMainDomLock : IMainDomLock
{
private readonly ILogger<FileSystemMainDomLock> _logger;
private readonly IHostingEnvironment _hostingEnvironment;
private readonly IOptionsMonitor<GlobalSettings> _globalSettings;
private readonly CancellationTokenSource _cancellationTokenSource = new();
private readonly string _lockFilePath;
@@ -29,6 +30,7 @@ namespace Umbraco.Cms.Infrastructure.Runtime
IOptionsMonitor<GlobalSettings> globalSettings)
{
_logger = logger;
_hostingEnvironment = hostingEnvironment;
_globalSettings = globalSettings;
var lockFileName = $"MainDom_{mainDomKeyGenerator.GenerateKey()}.lock";
@@ -45,6 +47,7 @@ namespace Umbraco.Cms.Infrastructure.Runtime
{
try
{
Directory.CreateDirectory(_hostingEnvironment.LocalTempPath);
_logger.LogDebug("Attempting to obtain MainDom lock file handle {lockFilePath}", _lockFilePath);
_lockFileStream = File.Open(_lockFilePath, FileMode.OpenOrCreate, FileAccess.ReadWrite, FileShare.None);
DeleteLockReleaseSignalFile();
+21167 -40
View File
File diff suppressed because it is too large Load Diff
+2 -2
View File
@@ -39,8 +39,8 @@
"diff": "3.5.0",
"flatpickr": "4.6.9",
"font-awesome": "4.7.0",
"jquery": "^3.5.1",
"jquery-ui-dist": "1.12.1",
"jquery": "3.6.0",
"jquery-ui-dist": "1.13.1",
"jquery-ui-touch-punch": "0.2.3",
"lazyload-js": "1.0.0",
"moment": "2.22.2",
@@ -46,7 +46,7 @@
"description": "The version of Umbraco.Cms to add as PackageReference.",
"type": "parameter",
"datatype": "string",
"defaultValue": "9.5.1",
"defaultValue": "9.5.2",
"replaces": "UMBRACO_VERSION_FROM_TEMPLATE"
},
"namespaceReplacer": {
@@ -44,7 +44,7 @@
"description": "The version of Umbraco.Cms to add as PackageReference.",
"type": "parameter",
"datatype": "string",
"defaultValue": "9.5.1",
"defaultValue": "9.5.2",
"replaces": "UMBRACO_VERSION_FROM_TEMPLATE"
},
"UseHttpsRedirect": {