Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
241 commits
Select commit Hold shift + click to select a range
418d7a8
Rip out the CDF Nuget package
donker Aug 22, 2025
35e9fb6
First code changes - waiting for feedback on questions posed in the c…
donker Aug 29, 2025
7ede1b0
First outlines of a new CDF
donker Sep 3, 2025
88f086f
Fleshing out the internals of the new CDF
donker Sep 4, 2025
fea032f
Make link specific. So it's now stylesheet or font. Complete various …
donker Sep 5, 2025
bb3acb4
Further work to flesh out new CDF and wire the old code to the new
donker Sep 11, 2025
50d3549
Get IClientResourcesController from request scope (#117)
bdukes Sep 12, 2025
a0816b0
DotNetNuke.Web.Client now builds
donker Sep 12, 2025
051b838
Repairing broken code
donker Sep 12, 2025
239e7ec
Revert changes in default.aspx
donker Sep 12, 2025
4e09bc5
More code fixes
donker Sep 12, 2025
03a86a9
Register resource paths in default.aspx code behind instead of contro…
donker Sep 13, 2025
748af35
Working personabar
donker Sep 14, 2025
f7a65aa
Add support for CDN and CRM version
donker Sep 15, 2025
c1263d6
Fixes
donker Sep 15, 2025
380f187
More fixes
donker Sep 16, 2025
efc3c3e
Fixing issues with certain scripts not being registered
donker Sep 17, 2025
c0798f7
Implement the inbuilt dependency system for js libraries
donker Sep 25, 2025
95c7211
Resolve issue with relative paths and virtual root directories
donker Sep 25, 2025
117347f
And now fix for sites without virtual path
donker Sep 25, 2025
36f6d76
Reintroduce file exists filter for stylesheets in the old ClientResou…
donker Sep 25, 2025
5239456
Further tuning of path resolution
donker Sep 25, 2025
f843110
Build to common bin path
donker Sep 25, 2025
65693ce
Doing the StyleCop thing
donker Sep 25, 2025
51b3251
Merge branch 'develop' into remove-cdf
donker Sep 26, 2025
018dbeb
Bring back old file processing providers for the old CDF because they…
donker Sep 26, 2025
1868872
Implement install and upgrade logic for the old clientdependency
donker Sep 28, 2025
2152d63
Trying to deprecate the ClientResourceManager
donker Sep 28, 2025
181d6ac
Fixes
donker Sep 28, 2025
23705b3
Fix defaults and add obsoletion
donker Sep 29, 2025
f776e49
Add a layer between base resource and stylesheet and font resources t…
donker Sep 29, 2025
802da6f
Add support for Mimetype
donker Sep 29, 2025
e87c6e2
Change string concatenation to stringbuilder
donker Sep 29, 2025
cbf47d1
Adjust naming of main controller to better comply with existing conve…
donker Sep 30, 2025
135e23a
Include automatic type detection for fonts
donker Sep 30, 2025
1be0608
PageService
sachatrauwaen Sep 30, 2025
6162a8d
include elements of PageService to Default.aspx
sachatrauwaen Sep 30, 2025
909987d
Update DNN Platform/DotNetNuke.Web.Client.ResourceManager/Models/Reso…
donker Oct 1, 2025
196be35
Update DNN Platform/DotNetNuke.Web.Client.ResourceManager/Models/Reso…
donker Oct 1, 2025
8c4a990
Update DNN Platform/DotNetNuke.Web.Client.ResourceManager/Models/Reso…
donker Oct 1, 2025
2a6ae16
Update DNN Platform/DotNetNuke.Web.Client.ResourceManager/Models/Reso…
donker Oct 1, 2025
2f9b7f2
Allow enums for priority setting
donker Oct 1, 2025
ec9f8d8
Merge branch 'develop' into remove-cdf
donker Oct 1, 2025
7f13272
Add new library to Web Client nuget package
donker Oct 1, 2025
11cc021
Try fix build issue
donker Oct 1, 2025
fe5b9a7
remove suplicate extension method and add extensions to readme
sachatrauwaen Oct 1, 2025
fda18a3
Fix Javascript class tests
donker Oct 1, 2025
e4b2bcf
Merge branch 'develop' into dev-pageservice
sachatrauwaen Oct 3, 2025
2b18975
Fix for empty providers
donker Oct 3, 2025
3641e65
fix code styling
sachatrauwaen Oct 3, 2025
f276aee
avoid breaking change when module set Page.Title (without the pagese…
sachatrauwaen Oct 6, 2025
b7d6a00
Update jQuery map file to 3.7.1
bdukes Oct 10, 2025
ef1dd8d
Compress Images
valadas Oct 12, 2025
3ce2474
Update caniuse database
github-actions[bot] Oct 15, 2025
865cb4e
Bump dotnet-sdk from 9.0.305 to 9.0.306
dependabot[bot] Oct 15, 2025
e61f88a
Merge branch 'develop' into remove-cdf
donker Oct 16, 2025
0fccbe0
Merge branch 'develop' into remove-cdf
donker Oct 16, 2025
ac774b0
Change DNN version from 10.1.0 to 10.1.2 in template
david-poindexter Oct 17, 2025
b2e60f1
Merge pull request #6775 from dnnsoftware/bug-report-template-update
valadas Oct 17, 2025
182d707
Add support for Typescript in servers.web project and hook in new tab
donker Oct 19, 2025
a9403cd
Hook in new service in main project
donker Oct 19, 2025
0e394a1
Continue to build out display of available upgrades
donker Oct 19, 2025
de49edd
Working upload
donker Oct 21, 2025
136545c
Implement package delete
donker Oct 21, 2025
2623500
Getting the update of the grid right
donker Oct 21, 2025
00d159d
Compress Images
valadas Oct 19, 2025
eac8798
Improving feedback on uploader
donker Oct 21, 2025
865ced6
Install button with backup confirmation
donker Oct 21, 2025
41861de
Install unzip filter
donker Oct 21, 2025
7269d6f
Bump jQuery UI from 1.13.3 to 1.14.1
bdukes Oct 21, 2025
0c6f8a1
Increase default request length to 100 Mb to allow for the upload of …
donker Oct 21, 2025
b75f0b8
Merge branch 'develop' into remove-cdf
donker Oct 21, 2025
8707483
Remove local upgrade from its old place in the UI
donker Oct 21, 2025
e63724c
Merge pull request #6781 from bdukes/jquery-ui-1.14.1
valadas Oct 21, 2025
94f1e74
Merge pull request #6780 from bdukes/jquery-map
valadas Oct 21, 2025
3f0077d
Merge branch 'develop' into remove-cdf
donker Oct 22, 2025
3f2e45c
replace LIst<> by IEnumerable<>
sachatrauwaen Oct 22, 2025
bc0ef4a
For SkinAdPageMessage : Mark old methods obsolete and leave one inter…
sachatrauwaen Oct 22, 2025
7cfb9d7
Update DNN Platform/Library/UI/Skins/Skin.cs
sachatrauwaen Oct 22, 2025
a0ce50c
Update DNN Platform/Library/UI/Skins/Skin.cs
sachatrauwaen Oct 22, 2025
43e6f64
Update DNN Platform/Library/UI/Skins/Skin.cs
sachatrauwaen Oct 22, 2025
57faa11
Update DNN Platform/Library/UI/Skins/Skin.cs
sachatrauwaen Oct 22, 2025
9e8da6a
Integrate comments from Github and finish up loose ends
donker Oct 22, 2025
3839596
More fixes
donker Oct 22, 2025
d93b458
Give feedback to user once the install button is clicked after copyin…
donker Oct 22, 2025
3c7d4f4
Delete file after install
donker Oct 22, 2025
6dc13eb
Merge branch 'develop' into upgrades-ui
donker Oct 22, 2025
c17d617
Compress Images
valadas Oct 26, 2025
3e5f73c
Merge pull request #6784 from dnnsoftware/create-pull-request/patch-1…
valadas Oct 27, 2025
af36936
Merge branch 'develop' into upgrades-ui
donker Oct 29, 2025
499e50f
Revert "Increase default request length to 100 Mb to allow for the up…
donker Oct 30, 2025
4ecdf10
Merge branch 'upgrades-ui' of https://github.com/donker/Dnn.Platform …
donker Oct 30, 2025
b295766
Support for a web.config setting to disable the upoad function
donker Oct 30, 2025
f39cb4b
Take care of upgrade of web.config
donker Oct 30, 2025
cf6b9a1
Chunked upload
donker Oct 31, 2025
3ed89f3
New feature: the package to upgrade includes a file that determines t…
donker Oct 31, 2025
b6753df
Update Dnn.AdminExperience/Dnn.PersonaBar.Extensions/Services/Upgrade…
donker Oct 31, 2025
606691c
Update caniuse database
github-actions[bot] Nov 1, 2025
8c42f8b
Merge pull request #6787 from dnnsoftware/browserslist-update
mitchelsellers Nov 1, 2025
41f160b
Remove settings from the PersonaBar for bundling and minification
donker Nov 1, 2025
fdabcb7
Compress Images
valadas Nov 2, 2025
4cdb2c7
Fixed an obsolete usage of dialogClasses in jQueryUI
valadas Nov 1, 2025
d89c486
Bump ESLint to 9.38.0
bdukes Oct 21, 2025
4ed9b85
Bump ESLint-related packages
bdukes Oct 21, 2025
8c26545
Bump @dnncommunity/dnn-elements to 0.27.7
bdukes Oct 21, 2025
c7064f6
Bump stencil and sass
bdukes Oct 21, 2025
8d33dea
Bump babel
bdukes Oct 21, 2025
4b9b933
Bump Yarn to 4.10.3
bdukes Oct 21, 2025
dba71e4
Require npm packages to be at least 24 hours old
bdukes Oct 21, 2025
fe10d2e
Bump storybook to 9.1.13
bdukes Oct 21, 2025
e969b12
Bump postcss to 8.5.6
bdukes Oct 21, 2025
aa83c41
Bump browser-sync to 3.0.4
bdukes Oct 21, 2025
b1f0175
Bump @types/knockout to 3.4.77
bdukes Oct 21, 2025
458e830
Bump @types/node to 24.9.0
bdukes Oct 21, 2025
2ff820d
Bump array.prototype.findindex to 2.2.4
bdukes Oct 21, 2025
be700d4
Bump chokidar to 4.0.3
bdukes Oct 21, 2025
f803f77
Remove unused cpy-cli package
bdukes Oct 21, 2025
c20cf72
Bump dayjs to 1.11.18
bdukes Oct 21, 2025
27e5bf5
Bump dompurify to 3.3.0
bdukes Oct 21, 2025
1d07003
Bump enzyme-adapter-react-16 to 1.15.8
bdukes Oct 21, 2025
edb9f4c
Bump esbuild to 0.25.11
bdukes Oct 21, 2025
517d2de
Remove unused fetch-mock package
bdukes Oct 21, 2025
4042145
Bump glob to 11.0.3
bdukes Oct 21, 2025
308dc12
Remove unused fbjs package
bdukes Oct 21, 2025
012027b
Bump file-loader to 6.2.0
bdukes Oct 21, 2025
90a519a
Bump html-react-parser to 5.2.7
bdukes Oct 21, 2025
f26604b
Bump jest to 30.2.0
bdukes Oct 21, 2025
9ff632c
Bump jiti to 2.6.1
bdukes Oct 21, 2025
468cec7
Bump lerna to 9.0.0
bdukes Oct 21, 2025
911cf90
Bump less to 4.4.2
bdukes Oct 21, 2025
3dbebb2
Bump nanoid to 5.1.6
bdukes Oct 21, 2025
a38c960
Remove unused object-assign package
bdukes Oct 21, 2025
8ccfb07
Bump throttle-debounce to 5.0.2
bdukes Oct 21, 2025
64e1adf
Bump typescript to 5.9.3
bdukes Oct 21, 2025
e8bbcc9
Bump webpack to 5.102.1
bdukes Oct 21, 2025
b7ceafb
Bump url-loader to 4.1.1
bdukes Oct 21, 2025
30bc8b7
Bump source-map-loader to 5.0.0
bdukes Oct 21, 2025
851bc13
Bump zip-lib to 1.1.2
bdukes Oct 21, 2025
f83dcfa
Bump react-modal to 3.16.3
bdukes Oct 22, 2025
daa09c2
yarn dedupe
bdukes Oct 22, 2025
3bc8f7c
Bump @babel/preset-react from 7.25.9 to 7.28.5
dependabot[bot] Nov 3, 2025
06fc803
Bump tmp in the npm_and_yarn group across 1 directory
dependabot[bot] Nov 3, 2025
7a14c2e
Merge pull request #6794 from dnnsoftware/create-pull-request/patch-1…
valadas Nov 3, 2025
ae5cd24
Merge pull request #6795 from dnnsoftware/dependabot/npm_and_yarn/npm…
valadas Nov 3, 2025
f4a5c81
Merge pull request #6791 from dnnsoftware/dependabot/npm_and_yarn/bab…
valadas Nov 3, 2025
c137a1a
Fix potential memory leak of fileSystemWatcher
donker Nov 3, 2025
48c1288
Merge branch 'develop' into fix20251103
donker Nov 3, 2025
3530827
Merge pull request #6738 from sachatrauwaen/dev-pageservice
mitchelsellers Nov 4, 2025
34cabdd
Remove assemblies that are taken care of in another part of the code …
donker Nov 4, 2025
37ff2dc
Merge branch 'develop' into upgrades-ui
donker Nov 4, 2025
66a6d8c
Fix npm packages
donker Nov 4, 2025
e51c7f9
Update DNN Platform/DotNetNuke.Abstractions/Application/IHostSettings.cs
donker Nov 4, 2025
5f0f874
Update DNN Platform/DotNetNuke.Web.Client.ResourceManager/ClientResou…
donker Nov 4, 2025
da333b7
Update DNN Platform/DotNetNuke.Web.Client.ResourceManager/ClientResou…
donker Nov 4, 2025
ea17f18
Update DNN Platform/DotNetNuke.Web.Client.ResourceManager/ClientResou…
donker Nov 4, 2025
d453b96
Update DNN Platform/DotNetNuke.Web.Client.ResourceManager/ClientResou…
donker Nov 4, 2025
bdc9f78
Update DNN Platform/DotNetNuke.Web.Client.ResourceManager/ClientResou…
donker Nov 4, 2025
80a57ef
Update DNN Platform/DotNetNuke.Web.Client.ResourceManager/ClientResou…
donker Nov 4, 2025
d41b0b6
Update DNN Platform/DotNetNuke.Web.Client.ResourceManager/ClientResou…
donker Nov 4, 2025
249d126
Update DNN Platform/DotNetNuke.Web.Client/Providers/DnnCompositeFileP…
donker Nov 4, 2025
05aa59e
Update DNN Platform/DotNetNuke.Web.Client/ClientResourceManager.cs
donker Nov 4, 2025
90df83a
Update DNN Platform/DotNetNuke.Web.Client.ResourceManager/Models/Reso…
donker Nov 4, 2025
2c75f99
Update DNN Platform/DotNetNuke.Web.Client.ResourceManager/Models/Scri…
donker Nov 4, 2025
cf2e329
Update DNN Platform/DotNetNuke.Web.Client.ResourceManager/Models/Font…
donker Nov 4, 2025
afd08e7
Update DNN Platform/DotNetNuke.Web.Client.ResourceManager/Models/Styl…
donker Nov 4, 2025
f54087e
Update DNN Platform/DotNetNuke.Web.Client.ResourceManager/Models/Reso…
donker Nov 4, 2025
05851c7
Update DNN Platform/Library/Framework/JavaScriptLibraries/JavaScript.cs
donker Nov 4, 2025
d1643d0
Various fixes and changes based on feedback on Github
donker Nov 4, 2025
d92d471
Merge branch 'develop' into remove-cdf
donker Nov 4, 2025
9a38bb2
Fix build error from obsolete constructor
bdukes Nov 5, 2025
c5e0bf0
Remove IResource.Key
bdukes Nov 5, 2025
048a2ee
More case insensitivity
bdukes Nov 5, 2025
b0bc023
Doc and code cleanup
bdukes Nov 5, 2025
ec6e899
Update docs
bdukes Nov 5, 2025
0313d6b
Compare versions correctly
bdukes Nov 5, 2025
fcd59f6
Merge pull request #6779 from donker/upgrades-ui
mitchelsellers Nov 5, 2025
aa9a701
Added parameterless constructor for Container
donker Nov 12, 2025
ec87f7e
Merge branch 'develop' into remove-cdf
donker Nov 12, 2025
699703c
Merge pull request #6729 from donker/remove-cdf
valadas Nov 12, 2025
753e832
Bump min-document in the npm_and_yarn group across 1 directory
dependabot[bot] Nov 12, 2025
cbe95ef
Merge pull request #6799 from dnnsoftware/dependabot/npm_and_yarn/npm…
valadas Nov 12, 2025
8847946
Merge pull request #6797 from donker/fix20251103
valadas Nov 15, 2025
6abc69a
Update caniuse database
github-actions[bot] Nov 15, 2025
84eb0f0
Bump js-yaml in the npm_and_yarn group across 1 directory
dependabot[bot] Nov 17, 2025
56d0b1d
Merge pull request #6803 from dnnsoftware/dependabot/npm_and_yarn/npm…
valadas Nov 17, 2025
935e9d7
Bump glob in the npm_and_yarn group across 1 directory
dependabot[bot] Nov 18, 2025
5e35886
Merge pull request #6804 from dnnsoftware/dependabot/npm_and_yarn/npm…
valadas Nov 18, 2025
03eb508
Fix typo i default.css #6805
Timo-Breumelhof Nov 20, 2025
34e857a
Merge pull request #6807 from Timo-Breumelhof/feature/default.css-typo
valadas Nov 20, 2025
cf2fdde
Bump actions/checkout from 5 to 6
dependabot[bot] Nov 20, 2025
558e967
Merge pull request #6809 from dnnsoftware/dependabot/github_actions/a…
valadas Nov 21, 2025
006a6bf
Remove FromSrc in the new CDF solution in favor of CreateX method.
donker Nov 21, 2025
c86ff07
Use SVGR for Dnn.React.Common icons
bdukes Nov 20, 2025
757eaac
Use SVGR for remaining icons
bdukes Nov 20, 2025
2b8d308
Merge branch 'develop' into cdf-remove-fromsrc
donker Nov 21, 2025
bb57930
Merge pull request #6812 from donker/cdf-remove-fromsrc
valadas Nov 22, 2025
c0b23cd
Merge pull request #6808 from bdukes/svgr-for-icons
valadas Nov 24, 2025
28ea515
Corrected requestLengthDiskThreshold to use MS default of 80
david-poindexter Nov 28, 2025
9892be0
Merge pull request #6819 from david-poindexter/requestLengthDiskThres…
valadas Nov 28, 2025
3d702b3
Bump node-forge in the npm_and_yarn group across 1 directory
dependabot[bot] Nov 26, 2025
731702b
Update caniuse database
github-actions[bot] Dec 1, 2025
3374a3e
Bump dotnet-sdk from 9.0.306 to 10.0.100 (#6800)
dependabot[bot] Dec 1, 2025
f5048da
Throw when null business controller type is attempted to be created
bdukes Dec 2, 2025
464f908
Fixed Cookie Timeout Lookup Values
mitchelsellers Nov 25, 2025
513df89
Move old code from dnnsoftware/Dnn.Platform.Samples.Mvc into this repo
donker Nov 29, 2025
836a698
Getting a release build and package working for the MVC module
donker Nov 29, 2025
6c29506
Revert accidental checkin
donker Nov 29, 2025
532c502
Spa module build
donker Nov 29, 2025
aebd5dc
Centralize sql scripts
donker Nov 29, 2025
bc6b512
Debug build with master switch to copy to debug location
donker Nov 29, 2025
64fea0c
Switch to include sample modules in build
donker Nov 29, 2025
52802c6
Add missing uninstall script
donker Nov 29, 2025
d0e5d59
Make the MVC module look decent
donker Nov 29, 2025
10d185c
Making SPA module look better
donker Nov 29, 2025
a3fdd84
Revise DAL to include audit fields. Change "Twitter" for "Social".
donker Nov 30, 2025
ba1613a
Make the edit screens look a bit more finished
donker Nov 30, 2025
0e61754
Small fixes
donker Nov 30, 2025
1f7c795
Create new project for SPA react demo
donker Nov 30, 2025
2be9186
Repairs to manifests
donker Nov 30, 2025
5dbf390
More repairs
donker Nov 30, 2025
8a7f411
Working React app
donker Nov 30, 2025
b71b9c6
Add support for searching in spa react module
donker Dec 1, 2025
8a925b8
Add documentation
donker Dec 2, 2025
4a4bcbc
Add module header and footer settings
adlzanchetta-trilogy Oct 6, 2025
28c21d6
Merge pull request #6825 from bdukes/throw-on-invalid-business-contro…
valadas Dec 3, 2025
4d73d7f
Fix webforms lifecycle issues
donker Dec 5, 2025
ed0da06
Fix the default for the web.config variable for upgrade uploading
donker Dec 7, 2025
2cd75f4
Revert test changes (#6826)
valadas Dec 7, 2025
51bc142
Merge branch 'release/10.2.0' into cdf-fix-1
donker Dec 7, 2025
953e8cc
Merge branch 'release/10.2.0' into fix-config-default
donker Dec 7, 2025
4667043
Update DNN Platform/Website/Install/Config/10.02.00.config
donker Dec 9, 2025
19a135b
Reintoduces "role" JWT claim to attempt to limit impact of breaking c…
valadas Dec 9, 2025
0326534
Merge branch 'release/10.2.0' into fix-config-default
david-poindexter Dec 9, 2025
f657868
Merge branch 'release/10.2.0' into cdf-fix-1
david-poindexter Dec 9, 2025
1c8b8f6
Merge pull request #6831 from donker/fix-config-default
mitchelsellers Dec 9, 2025
b5af3a8
Add new CDF properties to skin object
bdukes Dec 10, 2025
99bf50b
Add HtmlAttributesAsString property back
bdukes Dec 10, 2025
66f80e8
Add specific JS & CSS properties
bdukes Dec 10, 2025
50c5228
Throw for unexpected enum values
bdukes Dec 10, 2025
8b9550d
Add back name field
bdukes Dec 10, 2025
4b85bd1
Merge pull request #6830 from donker/cdf-fix-1
valadas Dec 10, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug-report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ body:
**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._
multiple: true
options:
- 10.1.0 (latest v10 release)
- 10.1.2 (latest v10 release)
- Current development branch (unreleased)
validations:
required: true
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/browserslist-update-db.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v5
uses: actions/checkout@v6
with:
fetch-depth: 0
- name: Configure git
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/image-actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v5
uses: actions/checkout@v6

- name: Compress Images
id: compress_images
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/open-merged-pr-to-future.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
if: ${{ github.event.pull_request.merged }}
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v6

- uses: peterjgrainger/action-create-branch@v3.0.0
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/updateVersions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
runs-on: ubuntu-latest
if: ${{ github.event.ref_type == 'branch' && startsWith(github.event.ref, 'release/') }}
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v6

- name: Get the release branch version
uses: valadas/get-release-branch-version@v1.1.0
Expand Down
2 changes: 2 additions & 0 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
compressionLevel: mixed

nodeLinker: node-modules

npmMinimalAgeGate: 1440
14 changes: 7 additions & 7 deletions Build/Build.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net9.0</TargetFramework>
<TargetFramework>net10.0</TargetFramework>
<PackAsTool>true</PackAsTool>
<!-- Make sure start same folder .NET Core CLI and Visual Studio -->
<RunWorkingDirectory>$(MSBuildProjectDirectory)</RunWorkingDirectory>
Expand All @@ -15,17 +15,17 @@
<AdditionalFiles Include="..\stylecop.json" Link="stylecop.json" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Cake.BuildSystems.Module" Version="7.1.0" />
<PackageReference Include="Cake.BuildSystems.Module" Version="8.0.0" />
<PackageReference Include="Cake.FileHelpers" Version="7.0.0" />
<PackageReference Include="Cake.Frosting" Version="5.0.0" />
<PackageReference Include="Cake.Frosting" Version="6.0.0" />
<PackageReference Include="Cake.Frosting.Git" Version="5.0.1" />
<PackageReference Include="Cake.Issues" Version="5.5.0" />
<PackageReference Include="Cake.Frosting.Issues.MsBuild" Version="5.5.0" />
<PackageReference Include="Cake.Issues" Version="5.9.1" />
<PackageReference Include="Cake.Frosting.Issues.MsBuild" Version="5.9.1" />
<PackageReference Include="Cake.Json" Version="7.0.1" />
<PackageReference Include="Cake.XdtTransform" Version="2.0.0" />
<PackageReference Include="Dnn.CakeUtils" Version="2.1.0" />
<PackageReference Include="Microsoft.Data.SqlClient" Version="6.0.1" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
<PackageReference Include="Microsoft.Data.SqlClient" Version="6.1.3" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.4" />
<PackageReference Include="StyleCop.Analyzers" Version="1.2.0-beta.556">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
Expand Down
2 changes: 1 addition & 1 deletion Build/BuildScripts/Module.build
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<Images Include="Images/*.*" />
<Keys Include="keys/*.*" />
<ClientScripts Include="ClientScripts/*.*" />
<JsFiles Include="js/*.*" />
<JsFiles Include="js/*.*;*.js" />
<Scripts Include="Scripts/*.*" />
<SharedScripts Include="Scripts/Shared/*.*" />
<Templates Include="Templates/*.htm" />
Expand Down
7 changes: 5 additions & 2 deletions Build/ContextExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@

namespace DotNetNuke.Build;

using System;
using System.Diagnostics;

using Cake.Common.IO;
using Cake.Core.IO;

Expand All @@ -18,6 +19,8 @@ public static class ContextExtensions
/// <returns>The file version.</returns>
public static string GetAssemblyFileVersion(this Context context, FilePath assemblyPath)
{
return FileVersionInfo.GetVersionInfo(context.MakeAbsolute(assemblyPath).FullPath).FileVersion;
var versionInfo = FileVersionInfo.GetVersionInfo(context.MakeAbsolute(assemblyPath).FullPath);
var fileVersion = versionInfo.FileVersion;
return Version.TryParse(fileVersion, out _) ? fileVersion : $"{versionInfo.FileMajorPart}.{versionInfo.FileMinorPart}.{versionInfo.FileBuildPart}";
}
}
3 changes: 3 additions & 0 deletions Build/LocalSettings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ public class LocalSettings
/// <summary>Gets or sets the path to the database files.</summary>
public string DatabasePath { get; set; } = string.Empty;

/// <summary>Gets or sets a value indicating whether to copy the sample projects to the build output.</summary>
public bool CopySampleProjects { get; set; } = false;

/// <summary>Gets or sets the version to use for the build.</summary>
public string Version { get; set; } = "auto";
}
Expand Down
21 changes: 18 additions & 3 deletions Build/Tasks/BuildToTempFolder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
// See the LICENSE file in the project root for more information
namespace DotNetNuke.Build.Tasks
{
using System;
using System.Linq;

using Cake.Common.Diagnostics;
using Cake.Common.IO;
using Cake.Frosting;
using Dnn.CakeUtils;

/// <summary>A cake task to build the platform.</summary>
[IsDependentOn(typeof(SetVersion))]
Expand All @@ -16,5 +16,20 @@ namespace DotNetNuke.Build.Tasks
[IsDependentOn(typeof(OtherPackages))]
public sealed class BuildToTempFolder : FrostingTask<Context>
{
/// <inheritdoc/>
public override void Run(Context context)
{
if (context.Settings.CopySampleProjects)
{
context.Information("Copying Sample Projects to Temp Folder");
var files = context.GetFilesByPatterns(context.ArtifactsFolder, new[] { "SampleModules/*.zip" });
foreach (var file in files)
{
var destination = context.File(System.IO.Path.Combine(context.WebsiteFolder, "Install", "Module", file.GetFilename().ToString()));
context.CopyFile(file, destination);
context.Information($" Copied {file.GetFilename()} to {destination}");
}
}
}
}
}
1 change: 1 addition & 0 deletions Build/Tasks/OtherPackages.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ namespace DotNetNuke.Build.Tasks
/// <summary>A cake task to include other 3rd party packages.</summary>
[IsDependentOn(typeof(PackageNewtonsoft))]
[IsDependentOn(typeof(PackageMailKit))]
[IsDependentOn(typeof(PackageHtmlSanitizer))]
[IsDependentOn(typeof(PackageAspNetWebApi))]
[IsDependentOn(typeof(PackageAspNetWebPages))]
[IsDependentOn(typeof(PackageAspNetMvc))]
Expand Down
14 changes: 14 additions & 0 deletions Build/Tasks/PackageHtmlSanitizer.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information
namespace DotNetNuke.Build.Tasks;

/// <summary>A cake task to generate the MailKit package.</summary>
public sealed class PackageHtmlSanitizer : PackageComponentTask
{
/// <summary>Initializes a new instance of the <see cref="PackageHtmlSanitizer"/> class.</summary>
public PackageHtmlSanitizer()
: base("HtmlSanitizer")
{
}
}
6 changes: 1 addition & 5 deletions Build/Tasks/unversionedManifests.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
DNN Platform/Components/MailKit/*.dnn
DNN Platform/Components/Microsoft.*/**/*.dnn
DNN Platform/Components/Newtonsoft/*.dnn
DNN Platform/Components/WebFormsMvp/*.dnn
DNN Platform/Components/SharpZipLib/*.dnn
DNN Platform/Components/**/*.dnn
DNN Platform/JavaScript Libraries/HoverIntent/*.dnn
DNN Platform/JavaScript Libraries/jQuery*/*.dnn
DNN Platform/JavaScript Libraries/Knockout*/*.dnn
Expand Down
2 changes: 2 additions & 0 deletions Build/Tools/NuGet/DotNetNuke.Web.Client.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@
<files>
<file src="..\..\..\Website\bin\DotNetNuke.Web.Client.dll" target="lib\net48\" />
<file src="..\..\..\Website\bin\DotNetNuke.Web.Client.pdb" target="lib\net48\" />
<file src="..\..\..\Website\bin\DotNetNuke.Web.Client.ResourceManager.dll" target="lib\netstandard2.0" />
<file src="..\..\..\Website\bin\DotNetNuke.Web.Client.ResourceManager.pdb" target="lib\netstandard2.0" />
<file src="logo-for-nuget.png" target="images\"/>
</files>
</package>
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ namespace Dnn.Modules.Console

using Dnn.Modules.Console.Components;
using DotNetNuke.Abstractions;
using DotNetNuke.Abstractions.ClientResources;
using DotNetNuke.Common.Utilities;
using DotNetNuke.Entities.Modules;
using DotNetNuke.Entities.Tabs;
Expand All @@ -22,10 +23,10 @@ namespace Dnn.Modules.Console
using DotNetNuke.Instrumentation;
using DotNetNuke.Security.Permissions;
using DotNetNuke.Security.Roles;
using DotNetNuke.Services.ClientDependency;
using DotNetNuke.Services.Exceptions;
using DotNetNuke.Services.Localization;
using DotNetNuke.Services.Personalization;
using DotNetNuke.Web.Client.ClientResourceManagement;
using Microsoft.Extensions.DependencyInjection;

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

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

/// <summary>Initializes a new instance of the <see cref="ViewConsole"/> class.</summary>
public ViewConsole()
: this(null, null)
: this(null, null, null)
{
}

/// <summary>Initializes a new instance of the <see cref="ViewConsole"/> class.</summary>
/// <param name="navigationManager">The navigation manager.</param>
/// <param name="javaScript">The JavaScript library helper.</param>
public ViewConsole(INavigationManager navigationManager, IJavaScriptLibraryHelper javaScript)
/// <param name="clientResourceController">The client resources controller.</param>
public ViewConsole(INavigationManager navigationManager, IJavaScriptLibraryHelper javaScript, IClientResourceController clientResourceController)
{
this.navigationManager = navigationManager ?? this.DependencyProvider.GetRequiredService<INavigationManager>();
this.javaScript = javaScript ?? this.DependencyProvider.GetRequiredService<IJavaScriptLibraryHelper>();
this.clientResourceController = clientResourceController ?? this.DependencyProvider.GetRequiredService<IClientResourceController>();
}

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

ClientResourceManager.RegisterScript(this.Page, "~/desktopmodules/admin/console/scripts/jquery.console.js");
this.clientResourceController.RegisterScript("~/desktopmodules/admin/console/scripts/jquery.console.js");

this.DetailView.ItemDataBound += this.RepeaterItemDataBound;

Expand Down
55 changes: 55 additions & 0 deletions DNN Platform/Components/HtmlSanitizer/HtmlSanitizer.dnn
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
<dotnetnuke type="Package" version="5.0">
<packages>
<package name="DotNetNuke.HtmlSanitizer" type="Library" version="1.0.0">
<friendlyName>HtmlSanitizer Components</friendlyName>
<description>Provides AngleSharp and HtmlSanitizer assemblies for the platform.</description>
<dependencies/>
<owner>
<name>.NET Foundation and Contributors</name>
<organization>DNN Community</organization>
<url>https://dnncommunity.org</url>
<email>info@dnncommunity.org</email>
</owner>
<license src="License.txt"/>
<releaseNotes>
This package includes AngleSharp, AngleSharp.Css and HtmlSanitizer assemblies.
</releaseNotes>
<components>
<component type="Assembly">
<assemblies>
<assembly>
<path>bin</path>
<name>AngleSharp.dll</name>
<version />
</assembly>
<assembly>
<path>bin</path>
<name>AngleSharp.Css.dll</name>
<version />
</assembly>
<assembly>
<path>bin</path>
<name>HtmlSanitizer.dll</name>
<version />
</assembly>
<assembly>
<path>bin</path>
<name>System.Collections.Immutable.dll</name>
<version />
</assembly>
<assembly>
<path>bin</path>
<name>System.Text.Encoding.CodePages.dll</name>
<version />
</assembly>
<assembly>
<path>bin</path>
<name>System.Runtime.CompilerServices.Unsafe.dll</name>
<version/>
</assembly>
</assemblies>
</component>
</components>
</package>
</packages>
</dotnetnuke>
21 changes: 21 additions & 0 deletions DNN Platform/Components/HtmlSanitizer/License.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (C) 2012-2020 .NET Foundation and Contributors

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,19 @@ private static string CreateJwtToken(byte[] symmetricKey, string issuer, Persist

var subject = new ClaimsIdentity();
subject.AddClaim(new Claim(SessionClaimType, persistedToken.TokenId));
subject.AddClaims(roles.Select(r => new Claim(ClaimTypes.Role, r)));

// Add roles using both the standard schema URI (ClaimTypes.Role) for standards compliance
// and the legacy "role" claim type for backward compatibility with existing consumers
foreach (var role in roles)
{
subject.AddClaim(new Claim(ClaimTypes.Role, role));
subject.AddClaim(new Claim("role", role));
}

// Add deprecation notice for the legacy "role" claim format
subject.AddClaim(new Claim(
"dnn:deprecation:role",
"The role claim is deprecated. Use http://schemas.microsoft.com/ws/2008/06/identity/claims/role instead. The role claim will be removed in DNN v12.0.0."));

var notBefore = DateTime.UtcNow.AddMinutes(-ClockSkew);
var expires = persistedToken.TokenExpiry;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,10 @@ public class LoginResultData
/// <summary>Gets or sets any error message.</summary>
[JsonIgnore]
public string Error { get; set; }

/// <summary>Gets deprecation warnings about the JWT token format (included in all responses).</summary>
[JsonProperty("deprecationNotice")]
public string DeprecationNotice =>
"The role claim format in JWT tokens is deprecated. Please use http://schemas.microsoft.com/ws/2008/06/identity/claims/role instead. The legacy role claim will be removed in DNN Platform v12.0.0.";
}
}
Loading
Loading