Skip to content

Commit 54d0614

Browse files
authored
Merge pull request #3899 from dnnsoftware/release/9.6.2
Release/9.6.2
2 parents ead3283 + 31d2e7b commit 54d0614

File tree

3,681 files changed

+235637
-240136
lines changed

Some content is hidden

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

3,681 files changed

+235637
-240136
lines changed

.editorconfig

Lines changed: 185 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,185 @@
1+
2+
# EditorConfig is awesome:http://EditorConfig.org
3+
4+
# top-most EditorConfig file
5+
root = true
6+
7+
# Don't use tabs for indentation.
8+
[*]
9+
indent_style = space
10+
# (Please don't specify an indent_size here; that has too many unintended consequences.)
11+
12+
[*.yml]
13+
indent_style = space
14+
indent_size = 2
15+
16+
# Code files
17+
[*.{cs,csx,vb,vbx}]
18+
indent_size = 4
19+
insert_final_newline = true
20+
charset = utf-8-bom
21+
22+
# Xml project files
23+
[*.{csproj,vbproj,vcxproj,vcxproj.filters,proj,projitems,shproj}]
24+
indent_size = 2
25+
26+
# Xml config files
27+
[*.{props,targets,ruleset,config,nuspec,resx,vsixmanifest,vsct}]
28+
indent_size = 2
29+
30+
# JSON files
31+
[*.json]
32+
indent_size = 2
33+
34+
[*.{sh}]
35+
end_of_line = lf
36+
indent_size = 2
37+
38+
# Dotnet code style settings:
39+
[*.{cs,vb}]
40+
# Sort using and Import directives with System.* appearing first
41+
dotnet_sort_system_directives_first = true
42+
# Avoid "this." and "Me." if not necessary
43+
dotnet_style_qualification_for_field = false:suggestion
44+
dotnet_style_qualification_for_property = false:suggestion
45+
dotnet_style_qualification_for_method = false:suggestion
46+
dotnet_style_qualification_for_event = false:suggestion
47+
48+
# Use language keywords instead of framework type names for type references
49+
dotnet_style_predefined_type_for_locals_parameters_members = true:suggestion
50+
dotnet_style_predefined_type_for_member_access = true:suggestion
51+
52+
# Suggest more modern language features when available
53+
dotnet_style_object_initializer = true:suggestion
54+
dotnet_style_collection_initializer = true:suggestion
55+
dotnet_style_coalesce_expression = true:suggestion
56+
dotnet_style_null_propagation = true:suggestion
57+
dotnet_style_explicit_tuple_names = true:suggestion
58+
59+
# Non-private static fields are PascalCase
60+
dotnet_naming_rule.non_private_static_fields_should_be_pascal_case.severity = suggestion
61+
dotnet_naming_rule.non_private_static_fields_should_be_pascal_case.symbols = non_private_static_fields
62+
dotnet_naming_rule.non_private_static_fields_should_be_pascal_case.style = non_private_static_field_style
63+
64+
dotnet_naming_symbols.non_private_static_fields.applicable_kinds = field
65+
dotnet_naming_symbols.non_private_static_fields.applicable_accessibilities = public, protected, internal, protected internal, private protected
66+
dotnet_naming_symbols.non_private_static_fields.required_modifiers = static
67+
68+
dotnet_naming_style.non_private_static_field_style.capitalization = pascal_case
69+
70+
# Constants are PascalCase
71+
dotnet_naming_rule.constants_should_be_pascal_case.severity = suggestion
72+
dotnet_naming_rule.constants_should_be_pascal_case.symbols = constants
73+
dotnet_naming_rule.constants_should_be_pascal_case.style = constant_style
74+
75+
dotnet_naming_symbols.constants.applicable_kinds = field, local
76+
dotnet_naming_symbols.constants.required_modifiers = const
77+
78+
dotnet_naming_style.constant_style.capitalization = pascal_case
79+
80+
# Static fields are camelCase and start with s_
81+
dotnet_naming_rule.static_fields_should_be_camel_case.severity = suggestion
82+
dotnet_naming_rule.static_fields_should_be_camel_case.symbols = static_fields
83+
dotnet_naming_rule.static_fields_should_be_camel_case.style = static_field_style
84+
85+
dotnet_naming_symbols.static_fields.applicable_kinds = field
86+
dotnet_naming_symbols.static_fields.required_modifiers = static
87+
88+
dotnet_naming_style.static_field_style.capitalization = camel_case
89+
dotnet_naming_style.static_field_style.required_prefix = s_
90+
91+
# Instance fields are camelCase and start with _
92+
dotnet_naming_rule.instance_fields_should_be_camel_case.severity = suggestion
93+
dotnet_naming_rule.instance_fields_should_be_camel_case.symbols = instance_fields
94+
dotnet_naming_rule.instance_fields_should_be_camel_case.style = instance_field_style
95+
96+
dotnet_naming_symbols.instance_fields.applicable_kinds = field
97+
98+
dotnet_naming_style.instance_field_style.capitalization = camel_case
99+
dotnet_naming_style.instance_field_style.required_prefix = _
100+
101+
# Locals and parameters are camelCase
102+
dotnet_naming_rule.locals_should_be_camel_case.severity = suggestion
103+
dotnet_naming_rule.locals_should_be_camel_case.symbols = locals_and_parameters
104+
dotnet_naming_rule.locals_should_be_camel_case.style = camel_case_style
105+
106+
dotnet_naming_symbols.locals_and_parameters.applicable_kinds = parameter, local
107+
108+
dotnet_naming_style.camel_case_style.capitalization = camel_case
109+
110+
# Local functions are PascalCase
111+
dotnet_naming_rule.local_functions_should_be_pascal_case.severity = suggestion
112+
dotnet_naming_rule.local_functions_should_be_pascal_case.symbols = local_functions
113+
dotnet_naming_rule.local_functions_should_be_pascal_case.style = local_function_style
114+
115+
dotnet_naming_symbols.local_functions.applicable_kinds = local_function
116+
117+
dotnet_naming_style.local_function_style.capitalization = pascal_case
118+
119+
# By default, name items with PascalCase
120+
dotnet_naming_rule.members_should_be_pascal_case.severity = suggestion
121+
dotnet_naming_rule.members_should_be_pascal_case.symbols = all_members
122+
dotnet_naming_rule.members_should_be_pascal_case.style = pascal_case_style
123+
124+
dotnet_naming_symbols.all_members.applicable_kinds = *
125+
126+
dotnet_naming_style.pascal_case_style.capitalization = pascal_case
127+
128+
# CSharp code style settings:
129+
[*.cs]
130+
# Indentation preferences
131+
csharp_indent_block_contents = true
132+
csharp_indent_braces = false
133+
csharp_indent_case_contents = true
134+
csharp_indent_case_contents_when_block = true
135+
csharp_indent_switch_labels = true
136+
csharp_indent_labels = flush_left
137+
138+
# Prefer "var" everywhere
139+
csharp_style_var_for_built_in_types = true:suggestion
140+
csharp_style_var_when_type_is_apparent = true:suggestion
141+
csharp_style_var_elsewhere = true:suggestion
142+
143+
# Prefer method-like constructs to have a block body
144+
csharp_style_expression_bodied_methods = false:none
145+
csharp_style_expression_bodied_constructors = false:none
146+
csharp_style_expression_bodied_operators = false:none
147+
148+
# Prefer property-like constructs to have an expression-body
149+
csharp_style_expression_bodied_properties = true:none
150+
csharp_style_expression_bodied_indexers = true:none
151+
csharp_style_expression_bodied_accessors = true:none
152+
153+
# Suggest more modern language features when available
154+
csharp_style_pattern_matching_over_is_with_cast_check = true:suggestion
155+
csharp_style_pattern_matching_over_as_with_null_check = true:suggestion
156+
csharp_style_inlined_variable_declaration = true:suggestion
157+
csharp_style_throw_expression = true:suggestion
158+
csharp_style_conditional_delegate_call = true:suggestion
159+
160+
# Newline settings
161+
csharp_new_line_before_open_brace = all
162+
csharp_new_line_before_else = true
163+
csharp_new_line_before_catch = true
164+
csharp_new_line_before_finally = true
165+
csharp_new_line_before_members_in_object_initializers = true
166+
csharp_new_line_before_members_in_anonymous_types = true
167+
csharp_new_line_between_query_expression_clauses = true
168+
169+
# Spacing
170+
csharp_space_after_cast = false
171+
csharp_space_after_colon_in_inheritance_clause = true
172+
csharp_space_after_keywords_in_control_flow_statements = true
173+
csharp_space_around_binary_operators = before_and_after
174+
csharp_space_before_colon_in_inheritance_clause = true
175+
csharp_space_between_method_call_empty_parameter_list_parentheses = false
176+
csharp_space_between_method_call_name_and_opening_parenthesis = false
177+
csharp_space_between_method_call_parameter_list_parentheses = false
178+
csharp_space_between_method_declaration_empty_parameter_list_parentheses = false
179+
csharp_space_between_method_declaration_parameter_list_parentheses = false
180+
csharp_space_between_parentheses = false
181+
182+
# Blocks are allowed
183+
csharp_prefer_braces = true:silent
184+
csharp_preserve_single_line_blocks = true
185+
csharp_preserve_single_line_statements = true

.github/ISSUE_TEMPLATE/bug-report.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ Provide any additional context that may be helpful in understanding and/or resol
4141
Please add X in at least one of the boxes as appropriate. In order for an issue to be accepted, a developer needs to be able to reproduce the issue on a currently supported version. If you are looking for a workaround for an issue with an older version, please visit the forums at https://dnncommunity.org/forums
4242
-->
4343
* [ ] 10.00.00 alpha build
44-
* [ ] 09.06.01 release candidate
45-
* [ ] 09.06.00 latest supported release
44+
* [ ] 09.06.02 release candidate
45+
* [ ] 09.06.01 latest supported release
4646

4747
## Affected browser
4848
<!--

.github/workflows/updateVersions.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ on: create
55
jobs:
66
updateVersions:
77
runs-on: ubuntu-latest
8+
if: ${{ github.event.ref_type == 'branch' && startsWith(github.event.ref, 'release/') }}
89
steps:
910
- uses: actions/checkout@v2
1011

1112
- name: Get the release branch version
12-
if: ${{ github.event.ref_type == 'branch' && startsWith(github.event.ref, 'release/') }}
1313
uses: valadas/get-release-branch-version@v1
1414
id: branchVersion
1515

@@ -27,10 +27,10 @@ jobs:
2727
with:
2828
commit-message: Updates versions as per release candidate creation
2929
title: Updates versions as per release candidate creation
30-
body: This is a release managemnt task and we are self-approving it for that reason.
30+
body: This is a release management task and we are self-approving it for that reason.
3131
# A comma separated list of labels.
3232
labels: 'Type: Build/Release'
3333
# The pull request branch name.
3434
branch: update-versions/patch
3535
# The branch suffix type.
36-
branch-suffix: short-commit-hash
36+
branch-suffix: short-commit-hash

Build/Symbols/DotNetNuke_Symbols.dnn

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<dotnetnuke type="Package" version="5.0">
22
<packages>
3-
<package name="DotNetNuke_Symbols" type="Library" version="09.06.01" >
3+
<package name="DotNetNuke_Symbols" type="Library" version="09.06.02" >
44
<friendlyName>DNN Platform Symbols</friendlyName>
55
<description>This package contains Debug Symbols and Intellisense files for DNN Platform.</description>
66
<owner>

DNN Platform/Admin Modules/Dnn.Modules.Console/Components/BusinessController.cs

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,22 @@
1-
//
2-
// Copyright (c) .NET Foundation. All rights reserved.
3-
// Licensed under the MIT License. See LICENSE file in the project root for full license information.
4-
//
5-
using System;
6-
using DotNetNuke.Entities.Modules;
7-
using DotNetNuke.Entities.Modules.Definitions;
8-
using DotNetNuke.Services.Upgrade;
9-
1+
// Licensed to the .NET Foundation under one or more agreements.
2+
// The .NET Foundation licenses this file to you under the MIT license.
3+
// See the LICENSE file in the project root for more information
4+
105
namespace Dnn.Modules.Console.Components
116
{
7+
using System;
8+
9+
using DotNetNuke.Entities.Modules;
10+
using DotNetNuke.Entities.Modules.Definitions;
11+
using DotNetNuke.Services.Upgrade;
12+
1213
/// <summary>
13-
///
14+
///
1415
/// </summary>
1516
public class BusinessController : IUpgradeable
1617
{
1718
/// <summary>
18-
///
19+
///
1920
/// </summary>
2021
/// <param name="version"></param>
2122
/// <returns></returns>
@@ -29,6 +30,7 @@ public string UpgradeModule(string version)
2930

3031
break;
3132
}
33+
3234
return "Success";
3335
}
3436
catch (Exception)

DNN Platform/Admin Modules/Dnn.Modules.Console/Components/ConsoleController.cs

Lines changed: 18 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,29 @@
1-
//
2-
// Copyright (c) .NET Foundation. All rights reserved.
3-
// Licensed under the MIT License. See LICENSE file in the project root for full license information.
4-
//
5-
#region Usings
6-
7-
using System;
8-
using System.Collections;
9-
using System.Collections.Generic;
10-
using System.Text;
11-
using System.Xml;
12-
13-
using DotNetNuke.Common;
14-
using DotNetNuke.Entities.Modules;
15-
using DotNetNuke.Entities.Portals;
16-
using DotNetNuke.Entities.Tabs;
17-
using DotNetNuke.Services.Exceptions;
18-
19-
#endregion
20-
1+
// Licensed to the .NET Foundation under one or more agreements.
2+
// The .NET Foundation licenses this file to you under the MIT license.
3+
// See the LICENSE file in the project root for more information
214
namespace Dnn.Modules.Console.Components
225
{
6+
using System;
7+
using System.Collections;
8+
using System.Collections.Generic;
9+
using System.Text;
10+
using System.Xml;
11+
12+
using DotNetNuke.Common;
13+
using DotNetNuke.Entities.Modules;
14+
using DotNetNuke.Entities.Portals;
15+
using DotNetNuke.Entities.Tabs;
16+
using DotNetNuke.Services.Exceptions;
17+
2318
/// <summary>
24-
/// Controls the Console
19+
/// Controls the Console.
2520
/// </summary>
2621
public class ConsoleController
2722
{
2823
/// <summary>
2924
/// Gets the size values.
3025
/// </summary>
31-
/// <returns>A list with different icon types</returns>
26+
/// <returns>A list with different icon types.</returns>
3227
public static IList<string> GetSizeValues()
3328
{
3429
IList<string> returnValue = new List<string>();
@@ -41,7 +36,7 @@ public static IList<string> GetSizeValues()
4136
/// <summary>
4237
/// Gets the view values.
4338
/// </summary>
44-
/// <returns>Show or Hide</returns>
39+
/// <returns>Show or Hide.</returns>
4540
public static IList<string> GetViewValues()
4641
{
4742
IList<string> returnValue = new List<string>();

0 commit comments

Comments
 (0)