-
Notifications
You must be signed in to change notification settings - Fork 754
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from dnnsoftware/development
sync from base
- Loading branch information
Showing
2,807 changed files
with
112,654 additions
and
71,643 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
<!-- | ||
Please read contribution guideline first: https://github.com/dnnsoftware/Dnn.Platform/blob/development/CONTRIBUTING.md | ||
--> | ||
## Description | ||
|
||
## Steps to reproduce | ||
|
||
## Current result | ||
|
||
## Expected result | ||
|
||
## Affected version | ||
|
||
<!-- Check all that apply and add more if necessary --> | ||
|
||
* [x] 9.2 | ||
* [x] 9.1.1 | ||
* [ ] 9.1 | ||
* [ ] 9.0 | ||
|
||
## Affected browser | ||
|
||
<!-- | ||
Check all that apply and add more if necessary. | ||
If possible, please also specify exact versions and mention the operating system | ||
--> | ||
|
||
* [ ] Chrome | ||
* [ ] Firefox | ||
* [ ] Safari | ||
* [ ] Internet Explorer | ||
* [ ] Edge |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<!-- | ||
Please read contribution guideline first: https://github.com/dnnsoftware/Dnn.Platform/blob/development/CONTRIBUTING.md | ||
--> | ||
|
||
<!-- | ||
Please make sure that there is a correcponding issue created and reference it in the PR by writing | ||
`Fixes #123` or `Closes #123`. | ||
A PR without an accompanying issue will be accepted and merged on a very rare occasion | ||
--> | ||
|
||
## Summary | ||
<!-- | ||
Please describe the code changes as you see fit so that the reviewers have an easier task understanding what changed and why. | ||
Any new unit tests will be highly appreciated. | ||
--> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
|
||
<PropertyGroup> | ||
<ATMSBuildTasksPath Condition="'$(ATMSBuildTasksPath)' == ''">$(MSBuildExtensionsPath)\AT.MSBuild.Tasks</ATMSBuildTasksPath> | ||
<ATMSBuildTasksLib>$(ATMSBuildTasksPath)\AT.MSBuild.Tasks.dll</ATMSBuildTasksLib> | ||
</PropertyGroup> | ||
|
||
<UsingTask AssemblyFile="$(ATMSBuildTasksLib)" TaskName="AT.MSBuild.Tasks.IncrementBuildNumber" /> | ||
<UsingTask AssemblyFile="$(ATMSBuildTasksLib)" TaskName="AT.MSBuild.Tasks.ShellCommand" /> | ||
<UsingTask AssemblyFile="$(ATMSBuildTasksLib)" TaskName="AT.MSBuild.Tasks.CreateVSTemplate" /> | ||
<UsingTask AssemblyFile="$(ATMSBuildTasksLib)" TaskName="AT.MSBuild.Tasks.GetAbsolutePath" /> | ||
|
||
</Project> |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
Param( | ||
[parameter(Mandatory=$true)][string]$checkoutDir, | ||
[parameter(Mandatory=$false)][string]$symbolsDir = "Dnn.Symbols", | ||
[parameter(Mandatory=$false)][string]$symbolsName | ||
) | ||
|
||
$baseFolder = ([System.IO.FileInfo]"$checkoutDir\$symbolsDir").FullName | ||
$binFolder = ([System.IO.FileInfo]"$baseFolder\bin").FullName | ||
$resourcePath = ([System.IO.FileInfo]"$baseFolder\Resources.zip").FullName | ||
|
||
Write-Host "This script will Combine symbols under $baseFolder" | ||
|
||
Push-Location | ||
Set-Location $baseFolder | ||
|
||
try | ||
{ | ||
if (Test-Path "$binFolder") | ||
{ | ||
Write-Host "Deleting $binFolder" | ||
Remove-Item "$binFolder" -Recurse | ||
} | ||
|
||
if (Test-Path "$resourcePath") | ||
{ | ||
Write-Host "Deleting $resourcePath" | ||
Remove-Item "$resourcePath" | ||
} | ||
|
||
$artifactsPath = ([System.IO.FileInfo]"$checkoutDir\Artifacts\").FullName | ||
if (!(Test-Path $artifactsPath -PathType Container)) | ||
{ | ||
Write-Host "Creating $artifactsPath" | ||
md $artifactsPath | ||
} | ||
|
||
# extract all resources files to bin folder | ||
Get-ChildItem "Resources.zip" -Recurse | Foreach-Object { | ||
Write-Host "Extrachting $($_.FullName)" | ||
Expand-Archive -Force -LiteralPath "$($_.FullName)" -DestinationPath "$baseFolder" | ||
} | ||
|
||
if (Test-Path "$binFolder") | ||
{ | ||
# compress all files in bin folder | ||
Write-Host "Compressing content of $binFolder" | ||
Compress-Archive -Force -Path "$binFolder" -CompressionLevel Optimal -DestinationPath "$resourcePath" | ||
|
||
$symbolsZip = (Get-ChildItem "*Symbols.zip").FullName | ||
Write-Host "Adding $resourcePath to $symbolsZip" | ||
Compress-Archive -LiteralPath "$resourcePath" -Update -CompressionLevel Optimal -DestinationPath "$symbolsZip" | ||
|
||
if ($symbolsName) | ||
{ | ||
Write-Host "Renaming $symbolsZip to $symbolsName" | ||
Rename-Item "$symbolsZip" "$symbolsName" | ||
$symbolsZip = $symbolsName | ||
} | ||
|
||
Write-Host "Copying $symbolsZip to $artifactsPath" | ||
Copy-Item "$symbolsZip" "$artifactsPath" | ||
} | ||
else | ||
{ | ||
Write-Host "BIN folder doesn't exist: $binFolder" | ||
} | ||
} | ||
finally | ||
{ | ||
Pop-Location | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project DefaultTargets="CreateInstall" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
<Import Project="Variables.build" /> | ||
<Import Project="$(MSBuildExtensionsPath)\MSBuildCommunityTasks\MSBuild.Community.Tasks.Targets" /> | ||
<!--Import Project="$(MSBuildExtensionsPath)\ExtensionPack\MSBuild.ExtensionPack.tasks" /--> | ||
<UsingTask AssemblyFile="$(MSBuildCommunityTasksLib)" TaskName="MSBuild.Community.Tasks.IIS.WebDirectoryCreate" /> | ||
|
||
<Target Name="Copy"> | ||
<RemoveDir Directories ="$(checkoutDirectory)\Website\Providers\FolderProviders" /> | ||
</Target> | ||
</Project> |
Oops, something went wrong.