Skip to content

Commit d8c9798

Browse files
authored
Merge pull request #6879 from dnnsoftware/release/10.2.1
Released v10.2.1
2 parents 1920793 + 00059e5 commit d8c9798

File tree

957 files changed

+26350
-41894
lines changed

Some content is hidden

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

957 files changed

+26350
-41894
lines changed

.editorconfig

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,8 @@ csharp_prefer_braces = true:silent
185185
csharp_preserve_single_line_blocks = true
186186
csharp_preserve_single_line_statements = true
187187

188+
csharp_preferred_modifier_order = public, private, protected, internal, static, required, abstract, virtual, sealed, override, new, readonly, extern, unsafe, volatile, async:suggestion
189+
188190
# ReSharper properties
189191
resharper_instance_members_qualify_members = field, property, event, method
190192
resharper_csharp_wrap_arguments_style = chop_if_long

.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.2 (latest v10 release)
75+
- 10.2.0 (latest v10 release)
7676
- Current development branch (unreleased)
7777
validations:
7878
required: true

.github/workflows/image-actions.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
- name: Create Pull Request
3636
if: | # If it's not a Pull Request then commit any changes as a new PR.
3737
github.event_name != 'pull_request' && steps.compress_images.outputs.markdown != ''
38-
uses: peter-evans/create-pull-request@v7
38+
uses: peter-evans/create-pull-request@v8
3939
with:
4040
title: Auto Compress Images
4141
branch-suffix: timestamp

.github/workflows/updateVersions.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
run: yarn install --mode=update-lockfile --no-immutable
2929

3030
- name: Create Pull Request
31-
uses: peter-evans/create-pull-request@v7
31+
uses: peter-evans/create-pull-request@v8
3232
with:
3333
commit-message: Updates versions as per release candidate creation
3434
title: Updates versions as per release candidate creation

Build/Build.csproj

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,18 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
33
<OutputType>Exe</OutputType>
4-
<TargetFramework>net10.0</TargetFramework>
54
<PackAsTool>true</PackAsTool>
65
<!-- Make sure start same folder .NET Core CLI and Visual Studio -->
76
<RunWorkingDirectory>$(MSBuildProjectDirectory)</RunWorkingDirectory>
87
<RootNamespace>DotNetNuke.Build</RootNamespace>
8+
<TargetFramework>net10.0</TargetFramework>
9+
<LangVersion>latest</LangVersion>
10+
<EnableNETAnalyzers>true</EnableNETAnalyzers>
11+
<AnalysisLevel>latest</AnalysisLevel>
12+
<AnalysisMode>Recommended</AnalysisMode>
913
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
10-
<WarningsNotAsErrors>CS0618</WarningsNotAsErrors>
14+
<WarningsNotAsErrors>CS0618,CA1305,CA1716,CA1725,CA5351</WarningsNotAsErrors>
1115
<GenerateDocumentationFile>true</GenerateDocumentationFile>
12-
<LangVersion>latest</LangVersion>
1316
</PropertyGroup>
1417
<ItemGroup>
1518
<AdditionalFiles Include="..\stylecop.json" Link="stylecop.json" />

Build/BuildScripts/AEModule.build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<WorkingDirectory>$(RootDirectory)</WorkingDirectory>
77
</PropertyGroup>
88

9-
<Target Name="AfterBuild" DependsOnTargets="CopyBin;GetFiles;DebugProject;Package"></Target>
9+
<Target Name="CopyAndPackage" BeforeTargets="Build" DependsOnTargets="CopyBin;GetFiles;DebugProject;Package" />
1010
<Target Name="GetFiles">
1111
<ItemGroup>
1212
<PersonaBar-views Include="admin/personaBar/**/*.html" />

Build/BuildScripts/Module.build

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
2-
<Target Name="AfterBuild" DependsOnTargets="CopyBin;GetFiles;UpdateFiles;DebugProject;Package">
3-
</Target>
2+
<Target Name="CopyAndPackage" BeforeTargets="Build" DependsOnTargets="CopyBin;GetFiles;UpdateFiles;DebugProject;Package" />
43
<Target Name="GetFiles">
54
<ItemGroup>
65
<TextFiles Include="*.txt" Exclude="license.txt;releasenotes.txt" />

Build/BuildScripts/Provider.build

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
2-
<Target Name="AfterBuild" DependsOnTargets="CopyBin;GetFiles;DebugProject;Package">
3-
</Target>
2+
<Target Name="CopyAndPackage" BeforeTargets="Build" DependsOnTargets="CopyBin;GetFiles;DebugProject;Package" />
43
<Target Name="GetFiles">
54
<ItemGroup>
65
<TextFiles Include="*.txt" Exclude="license.txt;releasenotes.txt" />

Build/Lifetime.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ namespace DotNetNuke.Build
1414
/// <inheritdoc/>
1515
public sealed class Lifetime : FrostingLifetime<Context>
1616
{
17+
private static readonly string[] CorepackToolNames = ["corepack", "corepack.cmd",];
18+
1719
/// <inheritdoc/>
1820
public override void Setup(Context context, ISetupContext setupContext)
1921
{
@@ -26,7 +28,7 @@ public override void Setup(Context context, ISetupContext setupContext)
2628
Git(context, "commit --allow-empty -m 'backup'");
2729
}
2830

29-
if (context.Tools.Resolve(new[] { "corepack", "corepack.cmd", }) is null)
31+
if (context.Tools.Resolve(CorepackToolNames) is null)
3032
{
3133
throw new CakeException("Could not find corepack, Node.js 18 or later must be installed.");
3234
}

Build/LocalSettings.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public class LocalSettings
3434
public string DatabasePath { get; set; } = string.Empty;
3535

3636
/// <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;
37+
public bool CopySampleProjects { get; set; }
3838

3939
/// <summary>Gets or sets the version to use for the build.</summary>
4040
public string Version { get; set; } = "auto";

0 commit comments

Comments
 (0)