Skip to content

Commit 1920793

Browse files
authored
Merge pull request #6857 from dnnsoftware/release/10.2.0
Released v10.2.0
2 parents 80c1310 + 4b85bd1 commit 1920793

File tree

526 files changed

+21447
-7858
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

526 files changed

+21447
-7858
lines changed

.github/ISSUE_TEMPLATE/bug-report.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ body:
7272
**NOTE:** _If your version is not listed, please upgrade to the latest version. If you cannot upgrade at this time, please open a [Discussion](https://github.com/dnnsoftware/Dnn.Platform/discussions) instead._
7373
multiple: true
7474
options:
75-
- 10.1.0 (latest v10 release)
75+
- 10.1.2 (latest v10 release)
7676
- Current development branch (unreleased)
7777
validations:
7878
required: true

.github/workflows/browserslist-update-db.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
runs-on: ubuntu-latest
1414
steps:
1515
- name: Checkout repository
16-
uses: actions/checkout@v5
16+
uses: actions/checkout@v6
1717
with:
1818
fetch-depth: 0
1919
- name: Configure git

.github/workflows/image-actions.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
runs-on: ubuntu-latest
2424
steps:
2525
- name: Checkout Repo
26-
uses: actions/checkout@v5
26+
uses: actions/checkout@v6
2727

2828
- name: Compress Images
2929
id: compress_images

.github/workflows/open-merged-pr-to-future.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
runs-on: ubuntu-latest
1212
if: ${{ github.event.pull_request.merged }}
1313
steps:
14-
- uses: actions/checkout@v5
14+
- uses: actions/checkout@v6
1515

1616
- uses: peterjgrainger/action-create-branch@v3.0.0
1717
env:

.github/workflows/updateVersions.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
runs-on: ubuntu-latest
88
if: ${{ github.event.ref_type == 'branch' && startsWith(github.event.ref, 'release/') }}
99
steps:
10-
- uses: actions/checkout@v5
10+
- uses: actions/checkout@v6
1111

1212
- name: Get the release branch version
1313
uses: valadas/get-release-branch-version@v1.1.0

.yarnrc.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
compressionLevel: mixed
22

33
nodeLinker: node-modules
4+
5+
npmMinimalAgeGate: 1440

Build/Build.csproj

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
33
<OutputType>Exe</OutputType>
4-
<TargetFramework>net9.0</TargetFramework>
4+
<TargetFramework>net10.0</TargetFramework>
55
<PackAsTool>true</PackAsTool>
66
<!-- Make sure start same folder .NET Core CLI and Visual Studio -->
77
<RunWorkingDirectory>$(MSBuildProjectDirectory)</RunWorkingDirectory>
@@ -15,17 +15,17 @@
1515
<AdditionalFiles Include="..\stylecop.json" Link="stylecop.json" />
1616
</ItemGroup>
1717
<ItemGroup>
18-
<PackageReference Include="Cake.BuildSystems.Module" Version="7.1.0" />
18+
<PackageReference Include="Cake.BuildSystems.Module" Version="8.0.0" />
1919
<PackageReference Include="Cake.FileHelpers" Version="7.0.0" />
20-
<PackageReference Include="Cake.Frosting" Version="5.0.0" />
20+
<PackageReference Include="Cake.Frosting" Version="6.0.0" />
2121
<PackageReference Include="Cake.Frosting.Git" Version="5.0.1" />
22-
<PackageReference Include="Cake.Issues" Version="5.5.0" />
23-
<PackageReference Include="Cake.Frosting.Issues.MsBuild" Version="5.5.0" />
22+
<PackageReference Include="Cake.Issues" Version="5.9.1" />
23+
<PackageReference Include="Cake.Frosting.Issues.MsBuild" Version="5.9.1" />
2424
<PackageReference Include="Cake.Json" Version="7.0.1" />
2525
<PackageReference Include="Cake.XdtTransform" Version="2.0.0" />
2626
<PackageReference Include="Dnn.CakeUtils" Version="2.1.0" />
27-
<PackageReference Include="Microsoft.Data.SqlClient" Version="6.0.1" />
28-
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
27+
<PackageReference Include="Microsoft.Data.SqlClient" Version="6.1.3" />
28+
<PackageReference Include="Newtonsoft.Json" Version="13.0.4" />
2929
<PackageReference Include="StyleCop.Analyzers" Version="1.2.0-beta.556">
3030
<PrivateAssets>all</PrivateAssets>
3131
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>

Build/BuildScripts/Module.build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
<Images Include="Images/*.*" />
1919
<Keys Include="keys/*.*" />
2020
<ClientScripts Include="ClientScripts/*.*" />
21-
<JsFiles Include="js/*.*" />
21+
<JsFiles Include="js/*.*;*.js" />
2222
<Scripts Include="Scripts/*.*" />
2323
<SharedScripts Include="Scripts/Shared/*.*" />
2424
<Templates Include="Templates/*.htm" />

Build/ContextExtensions.cs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,9 @@
44

55
namespace DotNetNuke.Build;
66

7+
using System;
78
using System.Diagnostics;
8-
9+
910
using Cake.Common.IO;
1011
using Cake.Core.IO;
1112

@@ -18,6 +19,8 @@ public static class ContextExtensions
1819
/// <returns>The file version.</returns>
1920
public static string GetAssemblyFileVersion(this Context context, FilePath assemblyPath)
2021
{
21-
return FileVersionInfo.GetVersionInfo(context.MakeAbsolute(assemblyPath).FullPath).FileVersion;
22+
var versionInfo = FileVersionInfo.GetVersionInfo(context.MakeAbsolute(assemblyPath).FullPath);
23+
var fileVersion = versionInfo.FileVersion;
24+
return Version.TryParse(fileVersion, out _) ? fileVersion : $"{versionInfo.FileMajorPart}.{versionInfo.FileMinorPart}.{versionInfo.FileBuildPart}";
2225
}
2326
}

Build/LocalSettings.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,9 @@ public class LocalSettings
3333
/// <summary>Gets or sets the path to the database files.</summary>
3434
public string DatabasePath { get; set; } = string.Empty;
3535

36+
/// <summary>Gets or sets a value indicating whether to copy the sample projects to the build output.</summary>
37+
public bool CopySampleProjects { get; set; } = false;
38+
3639
/// <summary>Gets or sets the version to use for the build.</summary>
3740
public string Version { get; set; } = "auto";
3841
}

0 commit comments

Comments
 (0)