Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged release/9.13.4 into master to release v9.13.4 #6114

Merged
merged 99 commits into from
Aug 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
99 commits
Select commit Hold shift + click to select a range
4328c06
Bump less-loader from 4.1.0 to 12.2.0
dependabot[bot] Feb 1, 2024
b71174b
Bump Moq from 4.18.4 to 4.20.70
dependabot[bot] Feb 1, 2024
ae9ca40
fix the user roles cache issue.
zyhfish Feb 21, 2024
107988a
Merge pull request #5980 from dnnsoftware/release/9.13.3
valadas Feb 23, 2024
4120c75
Bump peterjgrainger/action-create-branch from 2.4.0 to 3.0.0
dependabot[bot] Feb 27, 2024
1b7a71b
Merge pull request #5985 from dnnsoftware/dependabot/github_actions/p…
valadas Feb 27, 2024
060998f
Fixed a performance issue while navigating folders for providers
valadas Mar 1, 2024
809b989
Merge pull request #5988 from valadas/resprect-EnableFileAutoSync
bdukes Mar 4, 2024
41280c7
Replaced the boolean values by the corresponding permissions constant…
stetard Mar 6, 2024
029ab6f
Merge pull request #5992 from stetard/Fix_casPermissionsValues_DNN9_13
valadas Mar 6, 2024
463b867
Update versions in bug-report.yml
bdukes Mar 13, 2024
07e153e
Merge pull request #5976 from zyhfish/task/roles-cache-issue
mitchelsellers Mar 19, 2024
2d1fb96
Bump express from 4.18.2 to 4.19.2
dependabot[bot] Mar 28, 2024
31dc611
Merge pull request #6006 from dnnsoftware/dependabot/npm_and_yarn/exp…
valadas Mar 28, 2024
ef7a4b1
Bump the teststack-dossier group with 2 updates
dependabot[bot] Apr 1, 2024
9367336
Merge pull request #6007 from dnnsoftware/dependabot/nuget/teststack-…
valadas Apr 2, 2024
f86c54b
Use Cake Frosting optimized addins
pascalberger Apr 24, 2024
787c83d
Merge pull request #6012 from pascalberger/feature/cake-frosting-addins
valadas Apr 24, 2024
ed862f8
Update jQuery UI from 1.13.2 to 1.13.3
bdukes Apr 30, 2024
12b17e6
Fix #5994: Sorting (A-Z) members of roles in PersonaBar
Mostafa-Moafi May 1, 2024
123e7b4
Fix #5994: Sorting (A-Z) members of roles in PersonaBar
Mostafa-Moafi May 1, 2024
60d04b8
fix orderby users and avoid creating another copy of the list
Mostafa-Moafi May 1, 2024
8090821
Update Dnn.AdminExperience/Dnn.PersonaBar.Extensions/Services/RolesCo…
bdukes May 1, 2024
23f1fa3
Merge pull request #6018 from Mostafa-Moafi/Issue5994
valadas May 1, 2024
2ad847b
Bump Cake.Issues from 4.3.0 to 4.3.1 in the cake-issues group
dependabot[bot] May 1, 2024
35c4f46
Bump the codeanalysis group with 3 updates
dependabot[bot] May 1, 2024
8fbf4d1
Bump LiteDB from 5.0.13 to 5.0.19
dependabot[bot] May 1, 2024
c721c5b
Merge pull request #6020 from dnnsoftware/dependabot/nuget/cake-issue…
mitchelsellers May 2, 2024
edeb883
Merge pull request #6021 from dnnsoftware/dependabot/nuget/codeanalys…
valadas May 2, 2024
adf7f64
Fix #6011: Non conforming favicon meta tags (#6025)
Mostafa-Moafi May 3, 2024
8e0093b
Merge pull request #6015 from bdukes/jquery-ui-1.13.3
mitchelsellers May 7, 2024
d975eaa
Make MvcServicePath regex matching ignore case.
dimarobert May 9, 2024
56665a9
Merge pull request #6031 from dimarobert/issue/6030
mitchelsellers May 9, 2024
0402753
Add MaximumPageSize const property for limit page size
Mostafa-Moafi May 13, 2024
b14ab51
Add App_LocalResources for new field (MaxResultPerPage)
Mostafa-Moafi May 16, 2024
6c386aa
Merge branch 'dnnsoftware:develop' into Issue6033
Mostafa-Moafi May 16, 2024
907ff3f
Add new field in persona bar for set maximum result per page
Mostafa-Moafi May 16, 2024
1e04695
Merge pull request #6034 from Mostafa-Moafi/Issue6033
valadas May 21, 2024
176fe14
Fix resource manager permissions save issues
Aideforth May 22, 2024
e0d0558
Add module id information
May 24, 2024
b381f30
Fix bug #6059 - adds lock on calls to ComputeHash so concurrent calls…
May 31, 2024
29d8668
Merge pull request #6061 from miguelvaz78/BUG_6059
valadas May 31, 2024
9e050d8
Bump Cake.Issues from 4.3.1 to 4.5.1 in the cake-issues group
dependabot[bot] Jun 1, 2024
fc1076c
Update procedure GetFolderPermissionsByPortalAndPath to lookup null v…
Aideforth Jun 2, 2024
4c221c2
Update Cake-Issues Dependabot group
bdukes Jun 3, 2024
aeb1aab
Merge pull request #6064 from dnnsoftware/dependabot/nuget/cake-issue…
valadas Jun 3, 2024
91eb6fc
Bump Cake.Frosting.Issues.MsBuild from 4.3.0 to 4.5.1
dependabot[bot] Jun 3, 2024
48f40f5
Merge pull request #6065 from dnnsoftware/dependabot/nuget/Cake.Frost…
valadas Jun 4, 2024
6bb29fc
Merge pull request #6048 from ufoloko/develop
valadas Jun 14, 2024
77a8c7a
DNNImageHandler - Add Option to prevent URL text from appearing as co…
leedavi Jun 16, 2024
d4d4c10
Merge remote-tracking branch 'leedavi/develop' into develop
valadas Jun 16, 2024
fa3c0a0
Added web.config merge to disable text display in imageHandler
valadas Jun 17, 2024
44b89e2
Changed DnnImagePlaceholder to AllowDnnImagePlaceholderText
valadas Jun 17, 2024
3969165
Bump the npm_and_yarn group with 2 updates
dependabot[bot] Jun 18, 2024
c591528
Update build.ps1
tututu-patch Jun 20, 2024
1e9736a
Update build.sh
tututu-patch Jun 20, 2024
96738ce
Rename Sql Provider file
Aideforth Jun 20, 2024
5043003
Update csproj file with the sql data provider file also
Aideforth Jun 20, 2024
d6c6965
Add sorting functionality to recycle bin items
Jun 21, 2024
080bae1
Fixes issue #6074
Jun 21, 2024
03f04a4
Merge pull request #6078 from ufoloko/ShowCorrectDeletedDateRecycleBin
david-poindexter Jun 21, 2024
ef35d03
Merge pull request #6079 from ufoloko/SortRecycleBinElements
david-poindexter Jun 21, 2024
30d7166
Merge branch 'develop' into bugfix/resource-manager-permissions-save-fix
valadas Jun 22, 2024
50bd25f
Merge pull request #6046 from Adeoluwa-Simeon/bugfix/resource-manager…
valadas Jun 22, 2024
63dc285
Merge pull request #5948 from dnnsoftware/dependabot/nuget/Moq-4.20.70
valadas Jun 22, 2024
a53960e
Merge pull request #6076 from tututu-patch/develop
david-poindexter Jun 23, 2024
eff40d8
Merge pull request #6022 from dnnsoftware/dependabot/nuget/LiteDB-5.0.19
david-poindexter Jun 23, 2024
d9ac96e
Merge pull request #6073 from dnnsoftware/dependabot/npm_and_yarn/npm…
valadas Jun 24, 2024
05da30e
Merge pull request #5951 from dnnsoftware/dependabot/npm_and_yarn/les…
valadas Jun 24, 2024
00b3ffe
Merge pull request #6066 from bdukes/develop
david-poindexter Jun 26, 2024
2eb1c07
Bump Microsoft.NET.Test.Sdk from 17.1.0 to 17.10.0
dependabot[bot] Jun 26, 2024
38dd959
Update PULL_REQUEST_PROCESS.md
david-poindexter Jul 9, 2024
aa9006c
Update SECURITY.md
david-poindexter Jul 9, 2024
b71ce31
Merge pull request #6093 from dnnsoftware/security-policy
valadas Jul 9, 2024
2a58689
Merge pull request #6092 from dnnsoftware/pr-process-security
valadas Jul 9, 2024
9968ea9
Bumps all version to 9.13.4 on `develop` branch.
valadas Jul 12, 2024
b7bea26
Merge pull request #6096 from valadas/9.13.4-version
valadas Jul 12, 2024
0b718c0
Removed optimize-css-assets-webpack-plugin dependency
valadas Jul 13, 2024
26caf2d
Bump babel-jest from 24.9.0 to 29.7.0
dependabot[bot] Jul 13, 2024
1622ce2
Bump react-widgets from 4.4.6 to 5.8.4
valadas Jul 13, 2024
cdfa458
Updated css-loader to v2
valadas Jul 13, 2024
67fde6d
Merge pull request #6097 from valadas/react-widgets-5-8-4
david-poindexter Jul 13, 2024
618aa10
Merge pull request #6098 from valadas/remove-optimize-css-assets-webp…
david-poindexter Jul 13, 2024
2c04f8c
Upgraded css-loader to v3.6.0
valadas Jul 13, 2024
99e100c
Bump rc-progress from 2.6.1 to 4.0.0
dependabot[bot] Jul 13, 2024
cc0a8e0
Bumped css-loader to v4.3.0 and handled all the breaking changes
valadas Jul 14, 2024
70348d8
Bumped css-loader to v7.1.2
valadas Jul 14, 2024
a8a6c39
Resolved conflict
valadas Jul 14, 2024
0246b69
Regenerated yarn.lock
valadas Jul 14, 2024
2c28d40
Bump the cake-issues group with 2 updates
dependabot[bot] Jun 26, 2024
fd2e3c4
Bump the codeanalysis group with 3 updates
dependabot[bot] Jun 26, 2024
a998ea8
Merge branch 'develop' into dependabot/nuget/Microsoft.NET.Test.Sdk-1…
bdukes Jul 14, 2024
e6b5d37
Bump coverlet.collector from 3.1.2 to 6.0.2
dependabot[bot] Jun 26, 2024
7613fce
Bump NUnit.Analyzers from 3.6.1 to 4.2.0
dependabot[bot] Jun 26, 2024
eb213e9
Merge pull request #6084 from dnnsoftware/dependabot/nuget/Microsoft.…
valadas Jul 14, 2024
7e86029
Merge pull request #6099 from valadas/css-loader-update
mitchelsellers Jul 16, 2024
8513ca9
Update DnnImageHandler.cs
valadas Jul 16, 2024
de184b3
Merge branch 'develop' into develop
valadas Jul 16, 2024
5def7cc
Merge commit from fork
mitchelsellers Jul 16, 2024
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
  •  
  •  
  •  
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/bug-report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@ 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:
- 9.13.2 (latest release)
- 9.13.3 (alpha)
- 9.13.3 (latest release)
- 9.13.4 (alpha)
- 10.0.0 (alpha)
validations:
required: true
Expand Down
2 changes: 1 addition & 1 deletion .github/PULL_REQUEST_PROCESS.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ The following items must all be true prior to a pull request being submitted to
* Change should represent an entire solution for the issue at hand. Partial requests will NOT be processed.
* Change should have a supporting issue logged on the DNN_Platform GitHub account, documenting the issue resolved, following the procedures outlined on the [Contribute Page](/CONTRIBUTING.md)
* If your change was to an area that already was covered by tests those tests must be updated. New tests for areas currently un-tested are appreciated
* **Exception**: Security items can be addressed individually, and should be initially communicated to the [email protected] email address for coordination
* **Exception**: Security items can be addressed individually, and should be initially communicated via [the GitHub feature for reporting a security vulnerability](https://github.com/dnnsoftware/Dnn.Platform/security/advisories/new)
* Pull request comment should contain at a minimum the following details (When creating, a default template will also prompt you for the proper information)
* Issue #, referenced such as “Fixes #24”
* Release Note: Suggested release note for the change such as “Improvement of user profile to improve performance when searching.”
Expand Down
1 change: 1 addition & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ updates:
Cake-Issues:
patterns:
- "Cake.Issues*"
- "Cake.Frosting.Issues*"
DependencyInjection:
patterns:
- "Microsoft.Extensions.DependencyInjection*"
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 @@ -13,7 +13,7 @@ jobs:
steps:
- uses: actions/checkout@v4

- uses: peterjgrainger/action-create-branch@v2.4.0
- uses: peterjgrainger/action-create-branch@v3.0.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -148,3 +148,5 @@ yarn-error.log

/DotNetNuke.Internal.SourceGenerators/bin/
/DNN Platform/Tests/DotNetNuke.Tests.SourceGenerators/Snapshots/*.received.*
Dnn.AdminExperience/Dnn.PersonaBar.Extensions/admin/personaBar/Dnn.Pages/scripts/bundles/
Dnn.AdminExperience/Dnn.PersonaBar.Extensions/admin/personaBar/Dnn.Roles/scripts/bundles/
6 changes: 3 additions & 3 deletions Build/Build.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
<PackageReference Include="Cake.BuildSystems.Module" Version="7.0.0" />
<PackageReference Include="Cake.FileHelpers" Version="7.0.0" />
<PackageReference Include="Cake.Frosting" Version="4.0.0" />
<PackageReference Include="Cake.Git" Version="3.0.0" />
<PackageReference Include="Cake.Issues" Version="4.1.0" />
<PackageReference Include="Cake.Issues.MsBuild" Version="4.1.0" />
<PackageReference Include="Cake.Frosting.Git" Version="4.0.0" />
<PackageReference Include="Cake.Issues" Version="4.6.0" />
<PackageReference Include="Cake.Frosting.Issues.MsBuild" Version="4.6.0" />
<PackageReference Include="Cake.Json" Version="7.0.1" />
<PackageReference Include="Cake.XdtTransform" Version="2.0.0" />
<PackageReference Include="Dnn.CakeUtils" Version="2.0.2" />
Expand Down
2 changes: 1 addition & 1 deletion Build/Symbols/DotNetNuke_Symbols.dnn
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<dotnetnuke type="Package" version="5.0">
<packages>
<package name="DotNetNuke_Symbols" type="Library" version="09.13.03" >
<package name="DotNetNuke_Symbols" type="Library" version="09.13.04" >
<friendlyName>DNN Platform Symbols</friendlyName>
<description>This package contains Debug Symbols and Intellisense files for DNN Platform.</description>
<owner>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<dotnetnuke type="Package" version="5.0">
<packages>
<package name="DotNetNuke.Console" type="Module" version="09.13.03">
<package name="DotNetNuke.Console" type="Module" version="09.13.04">
<friendlyName>Console</friendlyName>
<description>Display children pages as icon links for navigation.</description>
<iconFile>~/DesktopModules/Admin/Console/console.png</iconFile>
Expand Down
2 changes: 1 addition & 1 deletion DNN Platform/Connectors/Azure/AzureConnector.dnn
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<dotnetnuke type="Package" version="5.0">
<packages>
<package name="Dnn.AzureConnector" type="Connector" isSystem="false" version="09.13.03">
<package name="Dnn.AzureConnector" type="Connector" isSystem="false" version="09.13.04">
<friendlyName>Dnn Azure Connector</friendlyName>
<description>The Azure Connector allows you to create folders mapped to Azure Storage accounts.</description>
<iconFile>~/DesktopModules/Connectors/Azure/Images/icon-azure-32px.png</iconFile>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<dotnetnuke type="Package" version="5.0">
<packages>
<package name="DNN.Connectors.GoogleAnalytics" type="Connector" isSystem="false" version="09.13.03">
<package name="DNN.Connectors.GoogleAnalytics" type="Connector" isSystem="false" version="09.13.04">
<friendlyName>Google Analytics (Legacy UA) Connector</friendlyName>
<description>Configure your site's Google Analytics settings using Universal Analytics.</description>
<iconFile>~/DesktopModules/Connectors/GoogleAnalytics/Images/GoogleAnalytics_32X32_Standard.png</iconFile>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<dotnetnuke type="Package" version="5.0">
<packages>
<package name="DNN.Connectors.GoogleAnalytics4" type="Connector" isSystem="false" version="09.13.03">
<package name="DNN.Connectors.GoogleAnalytics4" type="Connector" isSystem="false" version="09.13.04">
<friendlyName>Google Analytics 4 Connector</friendlyName>
<description>Configure your site's Google Analytics 4 settings.</description>
<iconFile>~/DesktopModules/Connectors/GoogleAnalytics4/Images/GoogleAnalytics4_32X32_Standard.png</iconFile>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<dotnetnuke type="Package" version="5.0">
<packages>
<package name="DNN.Connectors.GoogleTagManager" type="Connector" isSystem="false" version="09.13.03">
<package name="DNN.Connectors.GoogleTagManager" type="Connector" isSystem="false" version="09.13.04">
<friendlyName>Google Tag Manager Connector</friendlyName>
<description>Configure your site's Google Tag Manager settings.</description>
<iconFile>~/DesktopModules/Connectors/GoogleTagManager/Images/GoogleTagManager_32X32_Standard.png</iconFile>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ internal class JwtController : ServiceLocator<IJwtController, JwtController>, IJ
private static readonly HashAlgorithm Hasher = SHA384.Create();
private static readonly Encoding TextEncoder = Encoding.UTF8;

private static object hasherLock = new object();

/// <inheritdoc/>
public string SchemeType => "JWT";

Expand Down Expand Up @@ -151,7 +153,12 @@ public LoginResultData LoginUser(HttpRequestMessage request, LoginData loginData
// save hash values in DB so no one with access can create JWT header from existing data
var sessionId = NewSessionId;
var now = DateTime.UtcNow;
var renewalToken = EncodeBase64(Hasher.ComputeHash(Guid.NewGuid().ToByteArray()));
string renewalToken = string.Empty;
lock (hasherLock)
{
renewalToken = EncodeBase64(Hasher.ComputeHash(Guid.NewGuid().ToByteArray()));
}

var ptoken = new PersistedToken
{
TokenId = sessionId,
Expand Down Expand Up @@ -381,7 +388,13 @@ private static string EncodeBase64(byte[] data)

private static string GetHashedStr(string data)
{
return EncodeBase64(Hasher.ComputeHash(TextEncoder.GetBytes(data)));
string hash = string.Empty;
lock (hasherLock)
{
hash = EncodeBase64(Hasher.ComputeHash(TextEncoder.GetBytes(data)));
}

return hash;
}

private LoginResultData UpdateToken(string renewalToken, PersistedToken ptoken, UserInfo userInfo)
Expand Down
2 changes: 1 addition & 1 deletion DNN Platform/Dnn.AuthServices.Jwt/Dnn.Jwt.dnn
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<dotnetnuke type="Package" version="5.0">
<packages>
<package name="DNNJWT" type="Provider" version="09.13.03">
<package name="DNNJWT" type="Provider" version="09.13.04">
<friendlyName>DNN JWT Auth Handler</friendlyName>
<description>DNN Json Web Token Authentication (JWT) library for cookie-less Mobile authentication clients</description>
<dependencies/>
Expand Down
4 changes: 2 additions & 2 deletions DNN Platform/DotNetNuke.Web.Mvc/MvcHttpModule.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ namespace DotNetNuke.Web.Mvc

public class MvcHttpModule : IHttpModule
{
public static readonly Regex MvcServicePath = new Regex(@"DesktopModules/MVC/", RegexOptions.Compiled);
public static readonly Regex MvcServicePath = new Regex(@"DesktopModules/MVC/", RegexOptions.Compiled | RegexOptions.IgnoreCase);

static MvcHttpModule()
{
Expand All @@ -47,7 +47,7 @@ public void Dispose()
private static void InitDnn(object sender, EventArgs e)
{
var app = sender as HttpApplication;
if (app != null && MvcServicePath.IsMatch(app.Context.Request.RawUrl.ToLowerInvariant()))
if (app != null && MvcServicePath.IsMatch(app.Context.Request.RawUrl))
{
Initialize.Init(app);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ namespace DotNetNuke.Web.InternalServices
using DotNetNuke.Common;
using DotNetNuke.Common.Utilities;
using DotNetNuke.Data;
using DotNetNuke.Entities.Controllers;
using DotNetNuke.Entities.Modules;
using DotNetNuke.Entities.Modules.Definitions;
using DotNetNuke.Entities.Tabs;
Expand All @@ -37,7 +38,6 @@ public class SearchServiceController : DnnApiController
private const string ModuleTitleCacheKey = "SearchModuleTabTitle_{0}";
private const CacheItemPriority ModuleTitleCachePriority = CacheItemPriority.Normal;
private const int ModuleTitleCacheTimeOut = 20;

private static readonly Regex GroupedBasicViewRegex = new Regex("userid(/|\\|=)(\\d+)", RegexOptions.IgnoreCase | RegexOptions.Compiled);

private int htmlModuleDefitionId;
Expand Down Expand Up @@ -125,13 +125,19 @@ public HttpResponseMessage Search(string search, string culture, int pageIndex,
var moduleDefids = GetSearchModuleDefIds(settings, contentSources);
var portalIds = this.GetSearchPortalIds(settings, -1);
var userSearchTypeId = SearchHelper.Instance.GetSearchTypeByName("user").SearchTypeId;
var maximumPageSize = HostController.Instance.GetInteger("Search_MaxResultPerPage", 100);

var more = false;
var totalHits = 0;
var results = new List<GroupedDetailView>();
if (portalIds.Any() && searchTypeIds.Any() &&
(!string.IsNullOrEmpty(cleanedKeywords) || tags.Any()))
{
if (pageSize > maximumPageSize)
{
pageSize = maximumPageSize;
}

var query = new SearchQuery
{
KeyWords = cleanedKeywords,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<dotnetnuke type="Package" version="5.0">
<packages>
<package name="DotNetNuke.ClientAPI" type="Library" version="09.13.03" >
<package name="DotNetNuke.ClientAPI" type="Library" version="09.13.04" >
<friendlyName>DotNetNuke ClientAPI</friendlyName>
<description>The DotNetNuke Client API is composed of both server-side and client-side code that works together to enable a simple and reliable interface for the developer to provide a rich client-side experience.</description>
<dependencies/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ namespace DotNetNuke.HttpModules
public class MobileRedirectModule : IHttpModule
{
private readonly IList<string> specialPages = new List<string> { "/login.aspx", "/register.aspx", "/terms.aspx", "/privacy.aspx", "/login", "/register", "/terms", "/privacy" };
private readonly Regex mvcServicePath = new Regex(@"DesktopModules/MVC/", RegexOptions.Compiled);
private readonly Regex mvcServicePath = new Regex(@"DesktopModules/MVC/", RegexOptions.Compiled | RegexOptions.IgnoreCase);
private IRedirectionController redirectionController;

public string ModuleName => "MobileRedirectModule";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<dotnetnuke type="Package" version="5.0">
<packages>
<package name="DnnPlugins" type="JavaScript_Library" version="09.13.03" isSystem="true">
<package name="DnnPlugins" type="JavaScript_Library" version="09.13.04" isSystem="true">
<friendlyName>DNN jQuery Plugins</friendlyName>
<description>A collection of jQuery plugins for DNN UI components (tabs, panels, tooltips, checkboxes, etc.)</description>
<iconFile>Icons\Sigma\Extensions_32x32_Standard.png</iconFile>
Expand Down
4 changes: 2 additions & 2 deletions DNN Platform/JavaScript Libraries/jQueryUI/jQueryUI.dnn
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<dotnetnuke type="Package" version="5.0">
<packages>
<package name="jQuery-UI" type="JavaScript_Library" version="01.13.02" isSystem="true">
<package name="jQuery-UI" type="JavaScript_Library" version="01.13.03" isSystem="true">
<friendlyName>jQueryUI JavaScript Library</friendlyName>
<description>jQueryUI is a JavaScript library that is used to extend jQuery to provide UI widgets.</description>
<iconFile>Icons\Sigma\Extensions_32x32_Standard.png</iconFile>
Expand All @@ -21,7 +21,7 @@
<javaScriptLibrary>
<libraryName>jQuery-UI</libraryName>
<fileName>jquery-ui.min.js</fileName>
<CDNPath>https://ajax.googleapis.com/ajax/libs/jqueryui/1.13.2/jquery-ui.min.js</CDNPath>
<CDNPath>https://ajax.googleapis.com/ajax/libs/jqueryui/1.13.3/jquery-ui.min.js</CDNPath>
</javaScriptLibrary>
</component>
<component type="JavaScriptFile">
Expand Down
8 changes: 4 additions & 4 deletions DNN Platform/JavaScript Libraries/jQueryUI/jquery-ui.min.js

Large diffs are not rendered by default.

22 changes: 10 additions & 12 deletions DNN Platform/Library/Entities/Users/UserInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@ namespace DotNetNuke.Entities.Users
public class UserInfo : BaseEntityInfo, IPropertyAccess, IUserInfo
{
private readonly ConcurrentDictionary<int, UserSocial> social = new ConcurrentDictionary<int, UserSocial>();
private readonly ConcurrentDictionary<int, string[]> roles = new ConcurrentDictionary<int, string[]>();
private string administratorRoleName;
private UserMembership membership;
private UserProfile profile;
private string[] roles;

/// <summary>Initializes a new instance of the <see cref="UserInfo"/> class.</summary>
public UserInfo()
Expand Down Expand Up @@ -206,26 +206,24 @@ public string[] Roles
{
get
{
if (this.roles == null)
return this.roles.GetOrAdd(this.PortalID, i =>
{
var socialRoles = this.Social.Roles;
if (socialRoles.Count == 0)
{
this.roles = new string[0];
return new string[0];
}
else
{
this.roles = (from r in this.Social.Roles
where
r.Status == RoleStatus.Approved &&
(r.EffectiveDate < DateTime.Now || Null.IsNull(r.EffectiveDate)) &&
(r.ExpiryDate > DateTime.Now || Null.IsNull(r.ExpiryDate))
select r.RoleName)
return (from r in this.Social.Roles
where
r.Status == RoleStatus.Approved &&
(r.EffectiveDate < DateTime.Now || Null.IsNull(r.EffectiveDate)) &&
(r.ExpiryDate > DateTime.Now || Null.IsNull(r.ExpiryDate))
select r.RoleName)
.ToArray();
}
}

return this.roles;
});
}

set
Expand Down
6 changes: 3 additions & 3 deletions DNN Platform/Library/Framework/SecurityPolicy.cs
Original file line number Diff line number Diff line change
Expand Up @@ -30,17 +30,17 @@ public static string Permissions
string strPermissions = string.Empty;
if (HasReflectionPermission())
{
strPermissions += ", " + reflectionPermission;
strPermissions += ", " + ReflectionPermission;
}

if (HasWebPermission())
{
strPermissions += ", " + webPermission;
strPermissions += ", " + WebPermission;
}

if (HasAspNetHostingPermission())
{
strPermissions += ", " + aspNetHostingPermission;
strPermissions += ", " + AspNetHostingPermission;
}

if (!string.IsNullOrEmpty(strPermissions))
Expand Down
2 changes: 1 addition & 1 deletion DNN Platform/Library/Framework/jQuery.cs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public partial class jQuery
/// </remarks>
public const string DefaultHostedUrl = "https://ajax.googleapis.com/ajax/libs/jquery/3.7.1/jquery.min.js";

public const string DefaultUIHostedUrl = "https://ajax.googleapis.com/ajax/libs/jqueryui/1.13.2/jquery-ui.min.js";
public const string DefaultUIHostedUrl = "https://ajax.googleapis.com/ajax/libs/jqueryui/1.13.3/jquery-ui.min.js";
private const string JQueryDebugFile = "~/Resources/Shared/Scripts/jquery/jquery.js";
private const string JQueryMinFile = "~/Resources/Shared/Scripts/jquery/jquery.min.js";
private const string JQueryMigrateDebugFile = "~/Resources/Shared/Scripts/jquery/jquery-migrate.js";
Expand Down
6 changes: 5 additions & 1 deletion DNN Platform/Library/Services/FileSystem/FolderManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ namespace DotNetNuke.Services.FileSystem
using DotNetNuke.ComponentModel;
using DotNetNuke.Data;
using DotNetNuke.Entities;
using DotNetNuke.Entities.Host;
using DotNetNuke.Entities.Portals;
using DotNetNuke.Entities.Users;
using DotNetNuke.Instrumentation;
Expand Down Expand Up @@ -945,7 +946,10 @@ internal void ClearFolderProviderCachedLists(int portalId)
{
var folderProvider = FolderProvider.Instance(folderMapping.FolderProviderType);

if (folderMapping.MappingName != "Standard" && folderMapping.MappingName != "Secure" && folderMapping.MappingName != "Database")
if (folderMapping.MappingName != "Standard" &&
folderMapping.MappingName != "Secure" &&
folderMapping.MappingName != "Database" &&
Host.EnableFileAutoSync)
{
var type = folderProvider.GetType();
MethodInfo method = type.GetMethod("ClearCache");
Expand Down
Loading
Loading