Skip to content

Commit

Permalink
Merge pull request #5826 from dnnsoftware/develop-to-ten
Browse files Browse the repository at this point in the history
Merge `develop` into `release/10.0.0`
  • Loading branch information
valadas authored Sep 27, 2023
2 parents e4e1576 + 23e9d3d commit 3af88c5
Show file tree
Hide file tree
Showing 49 changed files with 342 additions and 293 deletions.
1 change: 1 addition & 0 deletions .github/ISSUE_TEMPLATE/bug-report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ body:
multiple: true
options:
- 9.12.0 (latest release)
- 9.13.0 (release candidate)
- 10.0.0 (alpha)
validations:
required: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
// See the LICENSE file in the project root for more information
namespace DotNetNuke.Internal.SourceGenerators;

using System;
using System.Diagnostics;

/// <summary>Marks a type or member as deprecated.</summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,10 @@
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\..\DotNetNuke.Internal.SourceGenerators\DotNetNuke.Internal.SourceGenerators.csproj" OutputItemType="Analyzer" />
<ProjectReference Include="..\..\DotNetNuke.Internal.SourceGenerators\DotNetNuke.Internal.SourceGenerators.csproj" ReferenceOutputAssembly="false" OutputItemType="Analyzer">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</ProjectReference>
<ProjectReference Include="..\DotNetNuke.Instrumentation\DotNetNuke.Instrumentation.csproj" />
</ItemGroup>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,10 +82,14 @@
<Analyzer Include="..\..\packages\StyleCop.Analyzers.1.1.118\analyzers\dotnet\cs\StyleCop.Analyzers.dll" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\DotNetNuke.Internal.SourceGenerators\DotNetNuke.Internal.SourceGenerators.csproj" OutputItemType="Analyzer">
<ProjectReference Include="..\..\DotNetNuke.Internal.SourceGenerators\DotNetNuke.Internal.SourceGenerators.csproj" ReferenceOutputAssembly="false" OutputItemType="Analyzer">
<Project>{5FE5D021-9C8D-47A6-BD34-F328BA3E709C}</Project>
<Name>DotNetNuke.Internal.SourceGenerators</Name>
</ProjectReference>
<ProjectReference Include="..\DotNetNuke.Abstractions\DotNetNuke.Abstractions.csproj">
<Project>{6928a9b1-f88a-4581-a132-d3eb38669bb0}</Project>
<Name>DotNetNuke.Abstractions</Name>
</ProjectReference>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<PropertyGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,10 +104,14 @@
<Analyzer Include="..\..\packages\StyleCop.Analyzers.1.1.118\analyzers\dotnet\cs\StyleCop.Analyzers.dll" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\DotNetNuke.Internal.SourceGenerators\DotNetNuke.Internal.SourceGenerators.csproj" OutputItemType="Analyzer">
<ProjectReference Include="..\..\DotNetNuke.Internal.SourceGenerators\DotNetNuke.Internal.SourceGenerators.csproj" ReferenceOutputAssembly="false" OutputItemType="Analyzer">
<Project>{5FE5D021-9C8D-47A6-BD34-F328BA3E709C}</Project>
<Name>DotNetNuke.Internal.SourceGenerators</Name>
</ProjectReference>
<ProjectReference Include="..\DotNetNuke.Abstractions\DotNetNuke.Abstractions.csproj">
<Project>{6928a9b1-f88a-4581-a132-d3eb38669bb0}</Project>
<Name>DotNetNuke.Abstractions</Name>
</ProjectReference>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<PropertyGroup>
Expand Down
2 changes: 1 addition & 1 deletion DNN Platform/DotNetNuke.Web.Mvc/DotNetNuke.Web.Mvc.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@
</None>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\DotNetNuke.Internal.SourceGenerators\DotNetNuke.Internal.SourceGenerators.csproj" OutputItemType="Analyzer">
<ProjectReference Include="..\..\DotNetNuke.Internal.SourceGenerators\DotNetNuke.Internal.SourceGenerators.csproj" ReferenceOutputAssembly="false" OutputItemType="Analyzer">
<Project>{5fe5d021-9c8d-47a6-bd34-f328ba3e709c}</Project>
<Name>DotNetNuke.Internal.SourceGenerators</Name>
</ProjectReference>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@
<None Include="packages.config" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\DotNetNuke.Internal.SourceGenerators\DotNetNuke.Internal.SourceGenerators.csproj" OutputItemType="Analyzer">
<ProjectReference Include="..\..\DotNetNuke.Internal.SourceGenerators\DotNetNuke.Internal.SourceGenerators.csproj" ReferenceOutputAssembly="false" OutputItemType="Analyzer">
<Project>{5fe5d021-9c8d-47a6-bd34-f328ba3e709c}</Project>
<Name>DotNetNuke.Internal.SourceGenerators</Name>
</ProjectReference>
Expand Down
2 changes: 1 addition & 1 deletion DNN Platform/DotNetNuke.Web/DotNetNuke.Web.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -463,7 +463,7 @@
</None>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\DotNetNuke.Internal.SourceGenerators\DotNetNuke.Internal.SourceGenerators.csproj" OutputItemType="Analyzer">
<ProjectReference Include="..\..\DotNetNuke.Internal.SourceGenerators\DotNetNuke.Internal.SourceGenerators.csproj" ReferenceOutputAssembly="false" OutputItemType="Analyzer">
<Project>{5fe5d021-9c8d-47a6-bd34-f328ba3e709c}</Project>
<Name>DotNetNuke.Internal.SourceGenerators</Name>
</ProjectReference>
Expand Down
2 changes: 1 addition & 1 deletion DNN Platform/HttpModules/DotNetNuke.HttpModules.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@
<Compile Include="Users Online\UsersOnlineModule.cs" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\DotNetNuke.Internal.SourceGenerators\DotNetNuke.Internal.SourceGenerators.csproj" OutputItemType="Analyzer">
<ProjectReference Include="..\..\DotNetNuke.Internal.SourceGenerators\DotNetNuke.Internal.SourceGenerators.csproj" ReferenceOutputAssembly="false" OutputItemType="Analyzer">
<Project>{5FE5D021-9C8D-47A6-BD34-F328BA3E709C}</Project>
<Name>DotNetNuke.Internal.SourceGenerators</Name>
</ProjectReference>
Expand Down
2 changes: 1 addition & 1 deletion DNN Platform/Library/DotNetNuke.Library.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -1888,7 +1888,7 @@
<Folder Include="UI\Internal\" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\DotNetNuke.Internal.SourceGenerators\DotNetNuke.Internal.SourceGenerators.csproj" OutputItemType="Analyzer">
<ProjectReference Include="..\..\DotNetNuke.Internal.SourceGenerators\DotNetNuke.Internal.SourceGenerators.csproj" ReferenceOutputAssembly="false" OutputItemType="Analyzer">
<Project>{5fe5d021-9c8d-47a6-bd34-f328ba3e709c}</Project>
<Name>DotNetNuke.Internal.SourceGenerators</Name>
</ProjectReference>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@
<Folder Include="Packages\" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\..\DotNetNuke.Internal.SourceGenerators\DotNetNuke.Internal.SourceGenerators.csproj" OutputItemType="Analyzer">
<ProjectReference Include="..\..\..\DotNetNuke.Internal.SourceGenerators\DotNetNuke.Internal.SourceGenerators.csproj" ReferenceOutputAssembly="false" OutputItemType="Analyzer">
<Project>{5FE5D021-9C8D-47A6-BD34-F328BA3E709C}</Project>
<Name>DotNetNuke.Internal.SourceGenerators</Name>
</ProjectReference>
Expand Down
6 changes: 5 additions & 1 deletion DNN Platform/Modules/DnnExportImport/DnnExportImport.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -169,10 +169,14 @@
<Project>{0fca217a-5f9a-4f5b-a31b-86d64ae65198}</Project>
<Name>DotNetNuke.DependencyInjection</Name>
</ProjectReference>
<ProjectReference Include="..\..\..\DotNetNuke.Internal.SourceGenerators\DotNetNuke.Internal.SourceGenerators.csproj" OutputItemType="Analyzer">
<ProjectReference Include="..\..\..\DotNetNuke.Internal.SourceGenerators\DotNetNuke.Internal.SourceGenerators.csproj" ReferenceOutputAssembly="false" OutputItemType="Analyzer">
<Project>{5FE5D021-9C8D-47A6-BD34-F328BA3E709C}</Project>
<Name>DotNetNuke.Internal.SourceGenerators</Name>
</ProjectReference>
<ProjectReference Include="..\..\DotNetNuke.Abstractions\DotNetNuke.Abstractions.csproj">
<Project>{6928a9b1-f88a-4581-a132-d3eb38669bb0}</Project>
<Name>DotNetNuke.Abstractions</Name>
</ProjectReference>
<ProjectReference Include="..\..\DotNetNuke.Instrumentation\DotNetNuke.Instrumentation.csproj">
<Project>{3cd5f6b8-8360-4862-80b6-f402892db7dd}</Project>
<Name>DotNetNuke.Instrumentation</Name>
Expand Down
2 changes: 1 addition & 1 deletion DNN Platform/Modules/HTML/DotNetNuke.Modules.Html.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@
<Content Include="web.config" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\..\DotNetNuke.Internal.SourceGenerators\DotNetNuke.Internal.SourceGenerators.csproj" OutputItemType="Analyzer">
<ProjectReference Include="..\..\..\DotNetNuke.Internal.SourceGenerators\DotNetNuke.Internal.SourceGenerators.csproj" ReferenceOutputAssembly="false" OutputItemType="Analyzer">
<Project>{5FE5D021-9C8D-47A6-BD34-F328BA3E709C}</Project>
<Name>DotNetNuke.Internal.SourceGenerators</Name>
</ProjectReference>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@
<Content Include="App_LocalResources\ProviderConfiguration.ascx.resx" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\..\DotNetNuke.Internal.SourceGenerators\DotNetNuke.Internal.SourceGenerators.csproj" OutputItemType="Analyzer">
<ProjectReference Include="..\..\..\DotNetNuke.Internal.SourceGenerators\DotNetNuke.Internal.SourceGenerators.csproj" ReferenceOutputAssembly="false" OutputItemType="Analyzer">
<Project>{5FE5D021-9C8D-47A6-BD34-F328BA3E709C}</Project>
<Name>DotNetNuke.Internal.SourceGenerators</Name>
</ProjectReference>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@
</Content>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\..\DotNetNuke.Internal.SourceGenerators\DotNetNuke.Internal.SourceGenerators.csproj" OutputItemType="Analyzer">
<ProjectReference Include="..\..\..\DotNetNuke.Internal.SourceGenerators\DotNetNuke.Internal.SourceGenerators.csproj" ReferenceOutputAssembly="false" OutputItemType="Analyzer">
<Project>{5FE5D021-9C8D-47A6-BD34-F328BA3E709C}</Project>
<Name>DotNetNuke.Internal.SourceGenerators</Name>
</ProjectReference>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@
<Content Include="web.config" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\..\DotNetNuke.Internal.SourceGenerators\DotNetNuke.Internal.SourceGenerators.csproj" OutputItemType="Analyzer">
<ProjectReference Include="..\..\..\DotNetNuke.Internal.SourceGenerators\DotNetNuke.Internal.SourceGenerators.csproj" ReferenceOutputAssembly="false" OutputItemType="Analyzer">
<Project>{5FE5D021-9C8D-47A6-BD34-F328BA3E709C}</Project>
<Name>DotNetNuke.Internal.SourceGenerators</Name>
</ProjectReference>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,13 @@ export class DnnActionCopyUrl {
@Prop() items!: Item[];

private handleClick(): void {
const url = `${window.location.protocol}//${window.location.host}${this.items[0].path}`;
navigator.clipboard.writeText(url);
let t;
if (this.items[0].path.includes(":")) {
t = this.items[0].path;
} else {
t = `${window.location.protocol}//${window.location.host}${this.items[0].path}`;
}
navigator.clipboard.writeText(t);
}

render() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,7 @@
</None>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\..\..\DotNetNuke.Internal.SourceGenerators\DotNetNuke.Internal.SourceGenerators.csproj" OutputItemType="Analyzer">
<ProjectReference Include="..\..\..\..\DotNetNuke.Internal.SourceGenerators\DotNetNuke.Internal.SourceGenerators.csproj" ReferenceOutputAssembly="false" OutputItemType="Analyzer">
<Project>{5FE5D021-9C8D-47A6-BD34-F328BA3E709C}</Project>
<Name>DotNetNuke.Internal.SourceGenerators</Name>
</ProjectReference>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -116,10 +116,14 @@
<Compile Include="WebApiException.cs" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\..\DotNetNuke.Internal.SourceGenerators\DotNetNuke.Internal.SourceGenerators.csproj" OutputItemType="Analyzer">
<ProjectReference Include="..\..\..\DotNetNuke.Internal.SourceGenerators\DotNetNuke.Internal.SourceGenerators.csproj" ReferenceOutputAssembly="false" OutputItemType="Analyzer">
<Project>{5FE5D021-9C8D-47A6-BD34-F328BA3E709C}</Project>
<Name>DotNetNuke.Internal.SourceGenerators</Name>
</ProjectReference>
<ProjectReference Include="..\..\DotNetNuke.Abstractions\DotNetNuke.Abstractions.csproj">
<Project>{6928a9b1-f88a-4581-a132-d3eb38669bb0}</Project>
<Name>DotNetNuke.Abstractions</Name>
</ProjectReference>
<ProjectReference Include="..\..\Library\DotNetNuke.Library.csproj">
<Project>{6b29aded-7b56-4484-bea5-c0e09079535b}</Project>
<Name>DotNetNuke.Library</Name>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
Expand Down Expand Up @@ -39,6 +39,7 @@

<ItemGroup>
<ProjectReference Include="..\..\..\DotNetNuke.Internal.SourceGenerators\DotNetNuke.Internal.SourceGenerators.csproj" />
<ProjectReference Include="..\..\DotNetNuke.Abstractions\DotNetNuke.Abstractions.csproj" />
</ItemGroup>

<ItemGroup>
Expand Down
Loading

0 comments on commit 3af88c5

Please sign in to comment.