-
Notifications
You must be signed in to change notification settings - Fork 751
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 #4069 from dnnsoftware/release/9.7.1
Release/9.7.1
- Loading branch information
Showing
139 changed files
with
18,668 additions
and
17,251 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
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
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
2 changes: 1 addition & 1 deletion
2
DNN Platform/Admin Modules/Dnn.Modules.ModuleCreator/dnn_ModuleCreator.dnn
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
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
2 changes: 1 addition & 1 deletion
2
DNN Platform/Connectors/GoogleAnalytics/GoogleAnalyticsConnector.dnn
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
113 changes: 113 additions & 0 deletions
113
DNN Platform/DotNetNuke.Abstractions/Application/IApplicationInfo.cs
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,113 @@ | ||
// 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.Abstractions.Application | ||
{ | ||
using System; | ||
|
||
/// <summary> | ||
/// The Application class contains properties that describe the DotNetNuke Application. | ||
/// </summary> | ||
public interface IApplicationInfo | ||
{ | ||
/// <summary> | ||
/// Gets the company to which the DotNetNuke application is related. | ||
/// </summary> | ||
/// <value>Fixed result: DotNetNuke Corporation.</value> | ||
string Company { get; } | ||
|
||
/// <summary> | ||
/// Gets the version of the currently installed DotNetNuke framework/application | ||
/// Can be prior to Version, if the application is pending to be upgraded. | ||
/// </summary> | ||
/// <value>The version as retreieved from the database version table.</value> | ||
Version CurrentVersion { get; } | ||
|
||
/// <summary> | ||
/// Gets the description of the application. | ||
/// </summary> | ||
/// <value>Fixed result: DNN Platform.</value> | ||
string Description { get; } | ||
|
||
/// <summary> | ||
/// Gets the help URL related to the DotNetNuke application. | ||
/// </summary> | ||
/// <value>Fixed result: https://dnndocs.com/. </value> | ||
string HelpUrl { get; } | ||
|
||
/// <summary> | ||
/// Gets the legal copyright. | ||
/// </summary> | ||
/// <value>Dynamic: DNN Platform is copyright 2002-todays year by .NET Foundation".</value> | ||
string LegalCopyright { get; } | ||
|
||
/// <summary> | ||
/// Gets the name of the application. | ||
/// </summary> | ||
/// <value>Fixed result: DNNCORP.CE.</value> | ||
string Name { get; } | ||
|
||
/// <summary> | ||
/// Gets the SKU (Stock Keeping Unit). | ||
/// </summary> | ||
/// <value>Fixed result: DNN.</value> | ||
string SKU { get; } | ||
|
||
/// <summary> | ||
/// Gets the status of the DotnetNuke application. | ||
/// </summary> | ||
/// <remarks> | ||
/// If the value is not be Stable, you will see the exactly status and version in page's title if allow display beta message in host setting. | ||
/// </remarks> | ||
/// <value> | ||
/// The value can be: None, Alpha, Beta, RC, Stable. | ||
/// </value> | ||
ReleaseMode Status { get; } | ||
|
||
/// <summary> | ||
/// Gets the title of the application. | ||
/// </summary> | ||
/// <value>Fixed value: DotNetNuke.</value> | ||
string Title { get; } | ||
|
||
/// <summary> | ||
/// Gets the trademark. | ||
/// </summary> | ||
/// <value>Fixed value: DotNetNuke,DNN.</value> | ||
string Trademark { get; } | ||
|
||
/// <summary> | ||
/// Gets the type of the application. | ||
/// </summary> | ||
/// <value>Fixed value: Framework.</value> | ||
string Type { get; } | ||
|
||
/// <summary> | ||
/// Gets the upgrade URL. | ||
/// </summary> | ||
/// <value>Fixed value: https://dnnplatform.io. </value> | ||
string UpgradeUrl { get; } | ||
|
||
/// <summary> | ||
/// Gets the URL of the application. | ||
/// </summary> | ||
/// <value>Fixed value: https://dnncommunity.org.</value> | ||
string Url { get; } | ||
|
||
/// <summary> | ||
/// Gets the version of the DotNetNuke framework/application. | ||
/// </summary> | ||
/// <value>The version as retreieved from the Executing assembly.</value> | ||
Version Version { get; } | ||
|
||
/// <summary> | ||
/// Determine whether a product specific change is to be applied. | ||
/// </summary> | ||
/// <param name = "productNames">list of product names.</param> | ||
/// <returns>true if product is within list of names.</returns> | ||
/// <remarks> | ||
/// </remarks> | ||
bool ApplyToProduct(string productNames); | ||
} | ||
} |
78 changes: 78 additions & 0 deletions
78
DNN Platform/DotNetNuke.Abstractions/Application/IApplicationStatusInfo.cs
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,78 @@ | ||
// 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.Abstractions.Application | ||
{ | ||
using System; | ||
|
||
/// <summary> | ||
/// The Application Status Info, includes information about installation | ||
/// and database version. | ||
/// </summary> | ||
public interface IApplicationStatusInfo | ||
{ | ||
/// <summary> | ||
/// Gets the status of application. | ||
/// </summary> | ||
UpgradeStatus Status { get; } | ||
|
||
/// <summary> | ||
/// Gets the application map path. | ||
/// </summary> | ||
/// <value> | ||
/// The application map path. | ||
/// </value> | ||
string ApplicationMapPath { get; } | ||
|
||
/// <summary> | ||
/// Gets the database version. | ||
/// </summary> | ||
Version DatabaseVersion { get; } | ||
|
||
/// <summary> | ||
/// IsInstalled looks at various file artifacts to determine if DotNetNuke has already been installed. | ||
/// </summary> | ||
/// <returns>true if installed else false.</returns> | ||
/// <remarks> | ||
/// If DotNetNuke has been installed, then we should treat database connection errors as real errors. | ||
/// If DotNetNuke has not been installed, then we should expect to have database connection problems | ||
/// since the connection string may not have been configured yet, which can occur during the installation | ||
/// wizard. | ||
/// </remarks> | ||
bool IsInstalled(); | ||
|
||
/// <summary> | ||
/// Sets the status. | ||
/// </summary> | ||
/// <param name="status">The status.</param> | ||
void SetStatus(UpgradeStatus status); | ||
|
||
/// <summary> | ||
/// Updates the database version. | ||
/// </summary> | ||
/// <param name="version">The version.</param> | ||
void UpdateDatabaseVersion(Version version); | ||
|
||
/// <summary> | ||
/// Updates the database version. | ||
/// </summary> | ||
/// <param name="version">The version.</param> | ||
/// <param name="increment">The increment.</param> | ||
void UpdateDatabaseVersionIncrement(Version version, int increment); | ||
|
||
/// <summary> | ||
/// Needs documentation. | ||
/// </summary> | ||
/// <param name="version">The version.</param> | ||
/// <returns>true is success else false.</returns> | ||
bool IncrementalVersionExists(Version version); | ||
|
||
/// <summary> | ||
/// Get the last application iteration. | ||
/// </summary> | ||
/// <param name="version">The version.</param> | ||
/// <returns>The result.</returns> | ||
int GetLastAppliedIteration(Version version); | ||
} | ||
} |
17 changes: 17 additions & 0 deletions
17
DNN Platform/DotNetNuke.Abstractions/Application/IDnnContext.cs
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,17 @@ | ||
// 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.Abstractions.Application | ||
{ | ||
/// <summary> | ||
/// Defines the context for the environment of the DotNetNuke application. | ||
/// </summary> | ||
public interface IDnnContext | ||
{ | ||
/// <summary> | ||
/// Gets get the application. | ||
/// </summary> | ||
IApplicationInfo Application { get; } | ||
} | ||
} |
Oops, something went wrong.