Skip to content

Commit

Permalink
Merges latest changes from 9.4.x into development (#3290)
Browse files Browse the repository at this point in the history
* Do not store these portal settings when setting their property on the portalsettings object

* Removed DnnHttpControllerActivator and added DependencyResolver implementation using the IServiceProvider

* Added xml comments for the new DnnDependencyResolver

* Added DnnDependencyResolver Unit Tests

* Replaced IServiceProvider mock with full IServiceProvider implementation to work with Web API tests

* Added more unit tests for the DnnDependencyResolver to cover GetServices (multiple) and BeginScope

* Do not show "No Search results" message when no search is performed. (#3203)

* Revision of build process part 1 (#3137)

* Move website folder

* repairs

* Update Cake

* Move external task to its own file

* Begin packaging scripts in cake

* Further work on packaging

* Ensure Telerik project also gets new version nr

* Move Telerik PDF to its proper place

* New logic for packages that are already in final form in the repo and just need to be zipped.

* Bring fips Lucene lib back under git control

* Newtonsoft package and repair to telerik package

* Splitting off other tasks

* Upgrade and deploy packages

* Symbols package

* Get rid of platform ver in manifest

* Final fixes - working packages

* Move compilation stuff

* House cleaning

* peg utils version

* Fix to ckep script

* suppress warnings

* Variable initialization issue

* Removing unused scripts

* Revert change to Telerik package version

* Move "other" to "thirdparty"

* Get rid of hard coded Newtonsoft version

* Max cpu to 4 for compiling

* Repairs to MSBuild scripts to get AE to build properly

* Correcting paths

* Cleaning up

* Trying to fix ignore file

* Update Build/Cake/thirdparty.json

Co-Authored-By: Brian Dukes <bdukes@engagesoftware.com>

* Remove absolute path from .gitignore

* Fix extension of DNC library package

* Merging AE and DNN build scripts

* Fixes to scripts

* Clean up symbols project for AE since they are included in DNN project now

* Add previously untracked Yahoo compressor dlls

* Remove version information from SolutionInfo.cs

* Fix errors introduced in rebase

* Fix incorrect paths

* Change build order of MSBuild to build extensions before personabar ui.

* Make white-space visible in log viewer (#3198)

* DNN-34236: check the url with case insensitive.

* DNN-29417 Username is changed to email address in the user profile if the "Use Email Address as Username" is enabled.

* Fix to installer and the dependencies of the HTML and DA modules

* DNN-24945 - Always redirect to the source portal page after creating (#3223)

group

* Fix Typo (#3234)

* Improve querystring parse (#3242)

* Improve props popup

* Improve input checking of sites (#3243)

* Fixes an upgrade issue that affects 9.4.1 => 9.4.2 upgrades (#3282)

* Fixes an issue with a duplication of assembly binding

* Removed hardcode version in manifest

* Further reorganization of build process (#3236)

* Introduce settings and add custom version nr

* Ability to create a local dev site

* Move node workspaces to root

* Reshuffling of variables in MSBuild

* Repairs

* Fix

* Allow local override of global build variables

* Only save manifests if the file is not there. This prevents overwriting in case of a failed build before.

* Ensure projects build in debug to the website path specified by the platform build settings

* Don't track vscode folder

* Fixes #3168 Test Sending Email Issues (#3237)

* Use Admin Email for Send if smtpHostMode false

* Fix Test Email Settings TO and FROM Addresses

If I did this right and it should make sense is I set the test email to be able to go to the user testing.  After all they are who are trying to make it work.  It can be any email used by anyone and usually to see this feature you are a host or portal administrator so security should not be as much of a concern here.

The FROM address will use the HOST email settings if set to HOST mode in DNN for the portal, otherwise it should use the Portal Administrators Email account to send from.

This however does not address the issue of using the email address supplied in settings and creating another setting which will be applied next to figure out the correct logic.

* Update ServerSettingsSmtpAdminController.cs

* Fix build issue to previous changes.

PortalSettings.UserInfo.Email 
is this the current user email?

I am still getting my things setup.  I ran VS 2019 to build successfully and I am trying to read through the namespaces correctly so I can understand the changes.  I noticed a number of files possibly needing updates due to being deprecated in 9.4.2 but after I changed the namespace issue those warnings went away.  

One last thought is how do you get intellisense working on DNN solution.  Is that a dream to have or am I missing something in my setup?

* Change to address to the current user's email testing the server.

I believe a UI to set the TO address would be nice to help troubleshoot and address issues trying to send to a specific user.

* Corrected To address for current user email

* TO Current User Email

* DNN-29110 Site Assets > Select All is not working (#3251)

* DNN-29110 Site Assets > Select All is not working

* Code review fix

* Moves Remember Login above Login Button:  referenced in issue #2471 #3255 (#3256)

* Move Remember Login Above Login Button

* Update Login.ascx

* file copy paste issue...

* DNN-34250 Search is not working even after re-Indexing Search for All DNN Portals (#3260)

* Fixes duplication in DotNetNuke.Website.csproj

* Removed reference to missing LeftMenu files
  • Loading branch information
valadas authored and donker committed Nov 15, 2019
1 parent da265d5 commit 84e934e
Show file tree
Hide file tree
Showing 2,845 changed files with 15,515 additions and 16,757 deletions.
175 changes: 23 additions & 152 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
## Ignore VS2015/Roslyn artifacts
*.sln.ide/
.vs/
.vscode/

## Ignore Webstorm artifacts
*.idea/
Expand Down Expand Up @@ -63,7 +64,6 @@ Artifacts/
_ReSharper*

# Others

[Oo]bj
TestResults
*.Cache
Expand All @@ -73,20 +73,31 @@ stylecop.*
*.dbmdl
Generated_Code #added for RIA/Silverlight projects

# OS artifacts
Thumbs.db
Desktop.ini

# Backup & report files from converting an old project file to a newer
# Visual Studio version. Backup files are not needed, because we have git ;-)
_UpgradeReport_Files/
Backup*/
UpgradeLog*.XML

# Node
node_modules/

############
## DNN
############

# Ignore artifacts from deployed/installed site
[Dd]eploy[Pp]ackage/
DNN_*.zip
# Ignore local settings
Build/**/*.local.*
*.local.*

# Ignore temporary artifacts
/[Tt]emp/
/[Ww]ebsite/
DNN_*.zip
!DNN [Pp]latform/[Cc]omponents
!DNN [Pp]latform/[Cc]ontrols
DNN [Pp]latform/[Cc]omponents/[Cc]lient[Dd]ependency/[Ss]ource/[Bb]in
Expand All @@ -104,123 +115,6 @@ DNN [Pp]latform/Syndication/[Bb]in/*
DNN [Pp]latform/[Cc]onnectors/*/[Bb]in/*
DNN [Pp]latform/[Pp]roviders/*/[Bb]in/*


[Ww]ebsite/*/[Dd]efault.aspx

[Ww]ebsite/[Aa]dmin/[Pp]ersonabar

[Ww]ebsite/[Aa]pp_[Cc]ode

[Ww]ebsite/[Aa]pp_[Dd]ata

[Ww]ebsite/[Bb]in

[Ww]ebsite/[Cc]onfig

[Ww]ebsite/[Dd]esktop[Mm]odules/[Aa]dmin/[Ff]ifty[Oo]ne[Cc]lient[Cc]apability[Pp]rovider
[Ww]ebsite/[Dd]esktop[Mm]odules/[Aa]dmin/[Rr]ad[Ee]ditor[Pp]rovider
[Ww]ebsite/[Dd]esktop[Mm]odules/[Aa]dmin/[Tt]axonomy
[Ww]ebsite/[Dd]esktop[Mm]odules/[Aa]dmin/[Uu]rl[Mm]anagement
[Ww]ebsite/[Dd]esktop[Mm]odules/[Aa]dmin/[Hh]tml[Ee]ditor[Mm]anager
[Ww]ebsite/[Dd]esktop[Mm]odules/[Aa]dmin/[Rr]ecycle[Bb]in
[Ww]ebsite/[Dd]esktop[Mm]odules/[Aa]dmin/[Nn]ewsletters
[Ww]ebsite/[Dd]esktop[Mm]odules/[Aa]dmin/[Ll]anguages
[Ww]ebsite/[Dd]esktop[Mm]odules/[Aa]dmin/[Ll]ists
[Ww]ebsite/[Dd]esktop[Mm]odules/[Aa]dmin/[Ll]ogViewer
[Ww]ebsite/[Dd]esktop[Mm]odules/[Aa]dmin/[Ss]itemap
[Ww]ebsite/[Dd]esktop[Mm]odules/[Aa]dmin/[Ss]ite[Ww]izard
[Ww]ebsite/[Dd]esktop[Mm]odules/[Aa]dmin/[Tt]abs
[Ww]ebsite/[Dd]esktop[Mm]odules/[Aa]dmin/[Cc]onsole
[Ww]ebsite/[Dd]esktop[Mm]odules/[Aa]dmin/[Vv]endors
[Ww]ebsite/[Dd]esktop[Mm]odules/[Aa]dmin/[Dd]ashboard
[Ww]ebsite/[Dd]esktop[Mm]odules/[Aa]dmin/[Mm]odule[Cc]reator
[Ww]ebsite/[Dd]esktop[Mm]odules/[Aa]dmin/[Ss]ql
[Ww]ebsite/[Dd]esktop[Mm]odules/[Aa]dmin/[Xx]ml[Mm]erge
[Ww]ebsite/[Dd]esktop[Mm]odules/[Aa]dmin/[Aa]nalytics
[Ww]ebsite/[Dd]esktop[Mm]odules/[Aa]dmin/[Ss]kin[Mm]anagement


[Ww]ebsite/[Dd]esktop[Mm]odules/[Aa]uthentication[Ss]ervices/[Ff]acebook
[Ww]ebsite/[Dd]esktop[Mm]odules/[Aa]uthentication[Ss]ervices/[Gg]oogle
[Ww]ebsite/[Dd]esktop[Mm]odules/[Aa]uthentication[Ss]ervices/[Ll]ive
[Ww]ebsite/[Dd]esktop[Mm]odules/[Aa]uthentication[Ss]ervices/[Tt]witter
[Ww]ebsite/[Dd]esktop[Mm]odules/[Aa]uthentication[Ss]ervices/DNN[Pp]ro_[Aa]ctive[Dd]irectory

[Ww]ebsite/[Dd]esktop[Mm]odules/[Cc]ore[Mm]essaging
[Ww]ebsite/[Dd]esktop[Mm]odules/DDRMenu
[Ww]ebsite/[Dd]esktop[Mm]odules/[Dd]evice[Pp]review[Mm]anagement
[Ww]ebsite/[Dd]esktop[Mm]odules/[Dd]igital[Aa]ssets
[Ww]ebsite/[Dd]esktop[Mm]odules/DNNCorp
[Ww]ebsite/[Dd]esktop[Mm]odules/[Dd][Nn][Nn]
[Ww]ebsite/[Dd]esktop[Mm]odules/HTML
[Ww]ebsite/[Dd]esktop[Mm]odules/MVC
[Ww]ebsite/[Dd]esktop[Mm]odules/[Jj]ournal
[Ww]ebsite/[Dd]esktop[Mm]odules/[Mm]ember[Dd]irectory
[Ww]ebsite/[Dd]esktop[Mm]odules/[Mm]obile[Mm]anagement
[Ww]ebsite/[Dd]esktop[Mm]odules/[Rr]azor[Mm]odules
[Ww]ebsite/[Dd]esktop[Mm]odules/[Ss]ocial[Gg]roups
[Ww]ebsite/[Dd]esktop[Mm]odules/[Ss]ubscriptions[Mm]gmt
[Ww]ebsite/[Dd]esktop[Mm]odules/[Ii]dentity[Ss]witcher
[Ww]ebsite/[Dd]esktop[Mm]odules/[Bb]log
[Ww]ebsite/[Dd]esktop[Mm]odules/[Ii][Ff]rame
[Ww]ebsite/[Dd]esktop[Mm]odules/[Aa]nnouncements
[Ww]ebsite/[Dd]esktop[Mm]odules/[Ee]vents
[Ww]ebsite/[Dd]esktop[Mm]odules/[Ff]eedback
[Ww]ebsite/[Dd]esktop[Mm]odules/[Ff][Aa][Qq]s
[Ww]ebsite/[Dd]esktop[Mm]odules/[Mm]edia
[Ww]ebsite/[Dd]esktop[Mm]odules/[Uu]ser[Dd]efined[Tt]able
[Ww]ebsite/[Dd]esktop[Mm]odules/dnnGlimpse
[Ww]ebsite/[Dd]esktop[Mm]odules/[Tt]est*
[Ww]ebsite/[Dd]esktop[Mm]odules/[Cc]onnectors*

[Ww]ebsite/[Ii]nstall/*/*.zip
[Ww]ebsite/[Ii]nstall/*/*.resources
[Ww]ebsite/[Ii]nstall/[Cc]leanup
[Ww]ebsite/[Ii]nstall/[Cc]onfig
[Ww]ebsite/[Ii]nstall/[Dd]ot[Nn]et[Nn]uke.install.config
[Ww]ebsite/[Ii]nstall/installstat.log.resources.txt
[Ww]ebsite/[Ii]nstall/upgradestat.log.resources.txt
[Ww]ebsite/[Ii]nstall/[Ii]nstall[Ww]izard*.*

[Ww]ebsite/[Ll]icenses/*.txt

[Ww]ebsite/[Mm]odules

[Ww]ebsite/[Pp]ortals/_default/[Ll]ogs
[Ww]ebsite/[Pp]ortals/_default/[Mm]erged[Tt]emplate
[Ww]ebsite/[Pp]ortals/_default/[Bb]lank [Ww]ebsite*.*
[Ww]ebsite/[Pp]ortals/_default/[Dd]efault [Ww]ebsite*.*
[Ww]ebsite/[Pp]ortals/_default/[Mm]obile [Ww]ebsite*.*
[Ww]ebsite/[Pp]ortals/_default/[Cc]ontent [Tt]emplates*
[Ww]ebsite/[Pp]ortals/_default/[Cc]ontainers/*/thumbnail*.jpg
[Ww]ebsite/[Pp]ortals/_default/[Cc]ontainers/[Cc]avalier/*.*
[Ww]ebsite/[Pp]ortals/_default/[Ss]kins/*/thumbnail*.jpg
[Ww]ebsite/[Pp]ortals/_default/[Ss]kins/[Cc]avalier
[Ww]ebsite/[Pp]ortals/_default/[Ss]kins/[Cc]avalier/*/*.*

[Ww]ebsite/[Pp]ortals/_default/[Uu]ser*
[Ww]ebsite/[Pp]ortals/[0-9]*/

[Ww]ebsite/[Pp]roviders/[Dd]ata[Pp]roviders/*/*.resources
[Ww]ebsite/[Pp]roviders/*/*/license.txt
[Ww]ebsite/[Pp]roviders/*/*/release[Nn]otes.txt
[Ww]ebsite/[Pp]roviders/[Ff]older[Pp]roviders
[Ww]ebsite/[Pp]roviders/[Cc]lient[Cc]apability[Pp]roviders

[Ww]ebsite/[Rr]esources/[Ll]ibraries

[Ww]ebsite/[Ss]ignatures

[Ww]ebsite/[Tt]emplates

[Ww]ebsite/51[Dd]egrees.mobi.config
[Ww]ebsite/[Dd]ot[Nn]et[Nn]uke.log4net.config
[Ww]ebsite/[Dd]ot[Nn]et[Nn]uke.config
[Ww]ebsite/[Ss]ite[Aa]nalytics.config
[Ww]ebsite/[Ss]ite[Uu]rls.config
[Ww]ebsite/web.config
[Ww]ebsite/app_offline.htm

# ignore all other language resx files
*.de-DE.resx
*.es-ES.resx
Expand All @@ -229,34 +123,11 @@ DNN [Pp]latform/[Pp]roviders/*/[Bb]in/*
*.nl-NL.resx

# but do track translations in the Install folder
![Ww]ebsite/[Ii]nstall/[Aa]pp_[Ll]ocal[Rr]esources/*.de-DE.resx
![Ww]ebsite/[Ii]nstall/[Aa]pp_[Ll]ocal[Rr]esources/*.es-ES.resx
![Ww]ebsite/[Ii]nstall/[Aa]pp_[Ll]ocal[Rr]esources/*.fr-FR.resx
![Ww]ebsite/[Ii]nstall/[Aa]pp_[Ll]ocal[Rr]esources/*.it-IT.resx
![Ww]ebsite/[Ii]nstall/[Aa]pp_[Ll]ocal[Rr]esources/*.nl-NL.resx

*.zip.manifest

############
## Windows
############

# Windows image file caches
Thumbs.db

# Folder config file
Desktop.ini
Website/Install/Temp/
Website/Providers/HtmlEditorProviders/
Website/Portals/_default/CK*.xml
Website/Portals/_default/Install/CK*.xml
Website/Portals/_default/Skins/Xcillion/
Website/Portals/_default/Containers/Xcillion/
DNN Platform/Dnn.AuthServices.Jwt/Package/
Website/Portals/_default/Install/Dnn.CKEditorDefaultSettings.xml
Website/Portals/_default/Install/Dnn.CKToolbarButtons.xml
Website/Portals/_default/Install/Dnn.CKToolbarSets.xml
Website/DesktopModules/Admin/SiteExportImport/App_LocalResources/ExportImport.resx
/TestResult.xml
/Website/DesktopModules/Admin/Dnn.EditBar
/Website/DesktopModules/Admin/Dnn.PersonaBar
!DNN Platform/[Ww]ebsite/[Ii]nstall/[Aa]pp_[Ll]ocal[Rr]esources/*.de-DE.resx
!DNN Platform/[Ww]ebsite/[Ii]nstall/[Aa]pp_[Ll]ocal[Rr]esources/*.es-ES.resx
!DNN Platform/[Ww]ebsite/[Ii]nstall/[Aa]pp_[Ll]ocal[Rr]esources/*.fr-FR.resx
!DNN Platform/[Ww]ebsite/[Ii]nstall/[Aa]pp_[Ll]ocal[Rr]esources/*.it-IT.resx
!DNN Platform/[Ww]ebsite/[Ii]nstall/[Aa]pp_[Ll]ocal[Rr]esources/*.nl-NL.resx

# Add fips back
!DNN Platform/[Ww]ebsite/App_Data/FipsCompilanceAssemblies/Lucene.Net.dll
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Project ToolsVersion="4.0" DefaultTargets="Build"
xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="..\..\packages\Yarn.MSBuild.1.13.0\build\Yarn.MSBuild.props" Condition="Exists('..\..\packages\Yarn.MSBuild.1.13.0\build\Yarn.MSBuild.props')" />
<Import Project="..\..\packages\Yarn.MSBuild.1.13.0\build\Yarn.MSBuild.targets" Condition="Exists('..\..\packages\Yarn.MSBuild.1.13.0\build\Yarn.MSBuild.targets')" />

<PropertyGroup>
<ResourceZipWorkingDirectory>$(MSBuildProjectDirectory)\Package\Resources\admin\personaBar</ResourceZipWorkingDirectory>
<WorkingDirectory>$(RootDirectory)</WorkingDirectory>
</PropertyGroup>

<Target Name="AfterBuild" DependsOnTargets="RunYarn;CopyBin;GetFiles;DebugProject;Package"></Target>
Expand All @@ -16,7 +18,7 @@
<PersonaBar-resources Include="admin/**/App_LocalResources/*.resx" />
<PersonaBar-controls Include="admin/**/UserControls/*.ascx" />
<PersonaBar-scripts Include="admin/**/scripts/*;admin/**/scripts/**/*" />
<Resources Include="@(PersonaBar-views);@(PersonaBar-images);@(PersonaBar-css);@(PersonaBar-scripts);@(PersonaBar-data);@(PersonaBar-resources);@(PersonaBar-controls)" Exclude="**/node_modules/**/*" />
<Resources Include="@(PersonaBar-views);@(PersonaBar-images);@(PersonaBar-css);@(PersonaBar-scripts);@(PersonaBar-data);@(PersonaBar-resources);@(PersonaBar-controls)" Exclude="**/node_modules/**/*" />
</ItemGroup>
</Target>
<Target Name="CopyBin">
Expand All @@ -41,9 +43,9 @@
</Target>

<Target Name="RunYarnWorkspace">
<Message Importance="high" Text="Running Yarn for $(WorkingDirectory)" />
<Message Importance="high" Text="Running Yarn for $(WorkingDirectory)" />

<Yarn Command="install" WorkingDirectory="$(WorkingDirectory)" IgnoreExitCode="false" Condition="$(WorkingDirectory.Length) > 0" />
<Yarn Command="lerna run build --parallel" WorkingDirectory="$(WorkingDirectory)" IgnoreExitCode="false" Condition="$(WorkingDirectory.Length) > 0" />
<Yarn Command="install" WorkingDirectory="$(WorkingDirectory)" IgnoreExitCode="false" Condition="$(WorkingDirectory.Length) > 0" />
<Yarn Command="lerna run build --parallel" WorkingDirectory="$(WorkingDirectory)" IgnoreExitCode="false" Condition="$(WorkingDirectory.Length) > 0" />
</Target>
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
<Output TaskParameter="Include" ItemName="OutputContent" />
</CreateItem>
<Zip Files="@(OutputContent)" WorkingDirectory="$(MSBuildProjectDirectory)\Package" ZipFileName="$(PackageName)_$(Version)_Install.$(Extension)" />
<Copy SourceFiles="$(MSBuildProjectDirectory)\$(PackageName)_$(Version)_Install.$(Extension)" DestinationFolder="$(WebsiteInstallPath)" />
<Copy SourceFiles="$(MSBuildProjectDirectory)\$(PackageName)_$(Version)_Install.$(Extension)" DestinationFolder="$(InstallPath)" />
<Delete Files="$(MSBuildProjectDirectory)\$(PackageName)_$(Version)_Install.$(Extension)" />
<RemoveDir Directories ="$(MSBuildProjectDirectory)\Package" ContinueOnError="WarnAndContinue" />
</Target>
Expand Down
14 changes: 0 additions & 14 deletions Build/BuildScripts/AT.MSBuild.Tasks.Targets

This file was deleted.

Binary file removed Build/BuildScripts/AT.MSBuild.Tasks.dll
Binary file not shown.
11 changes: 0 additions & 11 deletions Build/BuildScripts/CopyPackagingFiles.build

This file was deleted.

Loading

0 comments on commit 84e934e

Please sign in to comment.