Skip to content

Commit 1312d0b

Browse files
committed
Merge branch 'feature/mvc-pipeline-old' into ModuleControl
# Conflicts: # DNN Platform/DotNetNuke.Web.MvcPipeline/Containers/SkinHelpers.Content.cs # DNN Platform/DotNetNuke.Web.MvcPipeline/Controllers/ModuleSettingsController.cs # DNN Platform/DotNetNuke.Web.MvcPipeline/Controllers/ModuleSettingsViewController.cs # DNN Platform/DotNetNuke.Web.MvcPipeline/Framework/JavascriptLibraries/MvcJavaScript.cs # DNN Platform/DotNetNuke.Web.MvcPipeline/Modules/ModuleHelpers.cs # DNN Platform/DotNetNuke.Web.MvcWebsite/Controls/ModuleActionsControl.cs # DNN Platform/Library/Entities/Modules/ControlInfo.cs # DNN Platform/Library/Services/Upgrade/Upgrade.cs # DNN Platform/Modules/HTML/Controllers/DNN_HTMLController.cs # DNN Platform/Modules/HTML/Controllers/MyWorkViewController.cs # DNN Platform/Modules/HTML/Controls/EditHTMLControl.cs
2 parents a472753 + 7ff3b1f commit 1312d0b

File tree

1,548 files changed

+19780
-17613
lines changed

Some content is hidden

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

1,548 files changed

+19780
-17613
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
-2.61 KB
Loading

.github/workflows/image-actions.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ on:
66
- "**.jpeg"
77
- "**.png"
88
- "**.webp"
9+
- "**.avif"
910
push:
1011
branches:
1112
- development # merging PRs from other forks (will open a new PR)
@@ -26,7 +27,7 @@ jobs:
2627

2728
- name: Compress Images
2829
id: compress_images
29-
uses: calibreapp/image-actions@1.3.0
30+
uses: calibreapp/image-actions@1.4.1
3031
with:
3132
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3233
compressOnly: ${{ github.event_name != 'pull_request' }} # For non-Pull Requests, run in compressOnly mode and we'll PR after.

.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/Tools/NuGet/DotNetNuke.Web.Client.nuspec

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@
2121
<files>
2222
<file src="..\..\..\Website\bin\DotNetNuke.Web.Client.dll" target="lib\net48\" />
2323
<file src="..\..\..\Website\bin\DotNetNuke.Web.Client.pdb" target="lib\net48\" />
24+
<file src="..\..\..\Website\bin\DotNetNuke.Web.Client.ResourceManager.dll" target="lib\netstandard2.0" />
25+
<file src="..\..\..\Website\bin\DotNetNuke.Web.Client.ResourceManager.pdb" target="lib\netstandard2.0" />
2426
<file src="logo-for-nuget.png" target="images\"/>
2527
</files>
2628
</package>
-243 Bytes
Loading

DNN Platform/Admin Modules/Dnn.Modules.Console/ViewConsole.ascx.cs

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ namespace Dnn.Modules.Console
1414

1515
using Dnn.Modules.Console.Components;
1616
using DotNetNuke.Abstractions;
17+
using DotNetNuke.Abstractions.ClientResources;
1718
using DotNetNuke.Common.Utilities;
1819
using DotNetNuke.Entities.Modules;
1920
using DotNetNuke.Entities.Tabs;
@@ -22,10 +23,10 @@ namespace Dnn.Modules.Console
2223
using DotNetNuke.Instrumentation;
2324
using DotNetNuke.Security.Permissions;
2425
using DotNetNuke.Security.Roles;
26+
using DotNetNuke.Services.ClientDependency;
2527
using DotNetNuke.Services.Exceptions;
2628
using DotNetNuke.Services.Localization;
2729
using DotNetNuke.Services.Personalization;
28-
using DotNetNuke.Web.Client.ClientResourceManagement;
2930
using Microsoft.Extensions.DependencyInjection;
3031

3132
/// <summary>Implements the module view logic.</summary>
@@ -34,6 +35,7 @@ public partial class ViewConsole : PortalModuleBase
3435
private static readonly ILog Logger = LoggerSource.Instance.GetLogger(typeof(ViewConsole));
3536
private readonly INavigationManager navigationManager;
3637
private readonly IJavaScriptLibraryHelper javaScript;
38+
private readonly IClientResourceController clientResourceController;
3739

3840
private string defaultSize = string.Empty;
3941
private string defaultView = string.Empty;
@@ -42,17 +44,19 @@ public partial class ViewConsole : PortalModuleBase
4244

4345
/// <summary>Initializes a new instance of the <see cref="ViewConsole"/> class.</summary>
4446
public ViewConsole()
45-
: this(null, null)
47+
: this(null, null, null)
4648
{
4749
}
4850

4951
/// <summary>Initializes a new instance of the <see cref="ViewConsole"/> class.</summary>
5052
/// <param name="navigationManager">The navigation manager.</param>
5153
/// <param name="javaScript">The JavaScript library helper.</param>
52-
public ViewConsole(INavigationManager navigationManager, IJavaScriptLibraryHelper javaScript)
54+
/// <param name="clientResourceController">The client resources controller.</param>
55+
public ViewConsole(INavigationManager navigationManager, IJavaScriptLibraryHelper javaScript, IClientResourceController clientResourceController)
5356
{
5457
this.navigationManager = navigationManager ?? this.DependencyProvider.GetRequiredService<INavigationManager>();
5558
this.javaScript = javaScript ?? this.DependencyProvider.GetRequiredService<IJavaScriptLibraryHelper>();
59+
this.clientResourceController = clientResourceController ?? this.DependencyProvider.GetRequiredService<IClientResourceController>();
5660
}
5761

5862
/// <summary>Gets a value indicating whether the module settings allow size change.</summary>
@@ -213,7 +217,7 @@ protected override void OnInit(EventArgs e)
213217
{
214218
this.javaScript.RequestRegistration(CommonJs.jQuery);
215219

216-
ClientResourceManager.RegisterScript(this.Page, "~/desktopmodules/admin/console/scripts/jquery.console.js");
220+
this.clientResourceController.RegisterScript("~/desktopmodules/admin/console/scripts/jquery.console.js");
217221

218222
this.DetailView.ItemDataBound += this.RepeaterItemDataBound;
219223

-59 Bytes
Loading
-1.82 KB
Loading
-898 Bytes
Loading

0 commit comments

Comments
 (0)