Skip to content

Commit

Permalink
Merge pull request DNNCommunity#306 from WillStrohl/tasks/7.0.8-relea…
Browse files Browse the repository at this point in the history
…se-prep

Tasks/7.0.8 release prep
  • Loading branch information
WillStrohl authored Jun 7, 2023
2 parents fe1c772 + ed2bfb7 commit 6142703
Show file tree
Hide file tree
Showing 6 changed files with 64 additions and 45 deletions.
80 changes: 40 additions & 40 deletions ActiveForums.dnn
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<dotnetnuke type="Package" version="5.0">
<dotnetnuke type="Package" version="5.0">
<packages>
<package name="Active Forums" type="Module" version="07.00.09">
<friendlyName>Active Forums</friendlyName>
Expand Down Expand Up @@ -73,7 +73,7 @@
<attributes>
<businessControllerClass>DotNetNuke.Modules.ActiveForums.TopicsController, DotNetNuke.Modules.ActiveForums</businessControllerClass>
<desktopModuleID>[DESKTOPMODULEID]</desktopModuleID>
<upgradeVersionsList>06.04.00,06.04.01,06.05.00,06.05.01,06.06.00,07.00.00,07.00.01,07.00.02,07.00.03,07.00.04,07.00.05,07.00.06,07.00.07,07.00.08,07.00.09</upgradeVersionsList>
<upgradeVersionsList>07.00.07</upgradeVersionsList>
</attributes>
</eventMessage>
</component>
Expand Down Expand Up @@ -334,47 +334,47 @@
<name>07.00.00.SqlDataProvider</name>
<version>07.00.00</version>
</script>
<script type="Install">
<path>sql</path>
<name>07.00.02.SqlDataProvider</name>
<version>07.00.02</version>
</script>
<script type="Install">
<path>sql</path>
<name>07.00.04.SqlDataProvider</name>
<version>07.00.04</version>
</script>
<script type="Install">
<path>sql</path>
<name>07.00.05.SqlDataProvider</name>
<version>07.00.05</version>
</script>
<script type="Install">
<path>sql</path>
<name>07.00.06.SqlDataProvider</name>
<version>07.00.06</version>
</script>
<script type="Install">
<path>sql</path>
<name>07.00.07.SqlDataProvider</name>
<version>07.00.07</version>
</script>
<script type="Install">
<path>sql</path>
<name>07.00.08.SqlDataProvider</name>
<version>07.00.08</version>
</script>
<script type="Install">
<path>sql</path>
<name>07.00.09.SqlDataProvider</name>
<version>07.00.09</version>
</script>
<script type="UnInstall">
<script type="Install">
<path>sql</path>
<name>07.00.02.SqlDataProvider</name>
<version>07.00.02</version>
</script>
<script type="Install">
<path>sql</path>
<name>07.00.04.SqlDataProvider</name>
<version>07.00.04</version>
</script>
<script type="Install">
<path>sql</path>
<name>07.00.05.SqlDataProvider</name>
<version>07.00.05</version>
</script>
<script type="Install">
<path>sql</path>
<name>07.00.06.SqlDataProvider</name>
<version>07.00.06</version>
</script>
<script type="Install">
<path>sql</path>
<name>07.00.07.SqlDataProvider</name>
<version>07.00.07</version>
</script>
<script type="Install">
<path>sql</path>
<name>07.00.08.SqlDataProvider</name>
<version>07.00.08</version>
</script>
<script type="Install">
<path>sql</path>
<name>07.00.09.SqlDataProvider</name>
<version>07.00.09</version>
</script>
<script type="UnInstall">
<path>sql</path>
<name>Uninstall.SqlDataProvider</name>
<version>07.00.09</version>
</script>
</scripts>
</script>
</scripts>
</component>
<component type="ResourceFile">
<resourceFiles>
Expand Down
4 changes: 2 additions & 2 deletions ActiveForums_Symbols.dnn
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<dotnetnuke type="Package" version="5.0">
<dotnetnuke type="Package" version="5.0">
<packages>
<package name="Active Forums_Symbols" type="Library" version="07.00.09">
<friendlyName>Active Forums Symbols</friendlyName>
Expand All @@ -14,7 +14,7 @@
<releaseNotes src="ReleaseNotes.txt" />
<azureCompatible>True</azureCompatible>
<dependencies>
<dependency type="managedPackage" version="7.0.7">Active Forums</dependency>
<dependency type="managedPackage" version="7.0.9">Active Forums</dependency>
</dependencies>
<components>
<component type="ResourceFile">
Expand Down
1 change: 1 addition & 0 deletions ForumSettings.ascx.cs
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ protected override void OnLoad(EventArgs e)
rdEnableURLRewriter.SelectedIndex = 1;
rdEnableURLRewriter.Enabled = false;
}

var u = DotNetNuke.Entities.Users.UserController.Instance.GetCurrentUserInfo();
if (u.IsSuperUser & (HttpRuntime.IISVersion.Major >= 7) &!(PortalSettings.PortalAlias.HTTPAlias.Contains("/")))
{
Expand Down
12 changes: 9 additions & 3 deletions ReleaseNotes.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,17 @@
<hr/>
<div class="dnnClear">

<h3>07.00.08</h3>
<h3>07.00.09</h3>
<h4>Features, Enhancements, and Bug Fixes</h4>
<ul>
<li>FIXED: Removed redundant indexes on the activeforums_ForumTopics table (<a href="https://github.com/DNNCommunity/Dnn.CommunityForums/issues/218">Issue 218</a>, thanks <a href="https://github.com/johnhenley" target="_blank">@johnhenley</a>!)</li>
<li>FIXED: User's Last Post date/time not stored in UTC (affecting flood control if used) (<a href="https://github.com/DNNCommunity/Dnn.CommunityForums/issues/233">Issue 233</a>, thanks <a href="https://github.com/johnhenley" target="_blank">@johnhenley</a>!)</li>
<li>NEW: Replaced flood control dropdown list with a textbox for finer tune control (<a href="https://github.com/DNNCommunity/Dnn.CommunityForums/issues/234">Issue 234</a>, thanks <a href="https://github.com/johnhenley" target="_blank">@johnhenley</a>!)</li>
<li>FIXED: User's Last Post date/time not stored in UTC (affecting flood control if used) (<a href="https://github.com/DNNCommunity/Dnn.CommunityForums/issues/233">Issue 233</a>, thanks <a href="https://github.com/johnhenley" target="_blank">@johnhenley</a>!)</li>
<li>BUG: Removed redundant indexes on the activeforums_ForumTopics table (<a href="https://github.com/DNNCommunity/Dnn.CommunityForums/issues/218">Issue 218</a>, thanks <a href="https://github.com/johnhenley" target="_blank">@johnhenley</a>!)</li>
<li>BUG: URL Rewrite incorrectly not available on IIS versions higher than v8 (<a href="https://github.com/DNNCommunity/Dnn.CommunityForums/issues/282">Issue 282</a>, thanks <a href="https://github.com/johnhenley" target="_blank">@johnhenley</a>!)</li>
<li>BUG: Updated incorrect image paths from /images/images to /images (<a href="https://github.com/DNNCommunity/Dnn.CommunityForums/issues/191">Issue 191</a>, thanks <a href="https://github.com/johnhenley" target="_blank">@johnhenley</a>!)</li>
<li>BUG: Added a missing SQL query to remove orphaned rewrite URL data (No issue, thanks <a href="https://github.com/johnhenley" target="_blank">@johnhenley</a>!)</li>
<li>BUG: Fixed flood control bug due to a GitHub merge conflict (No issue, thanks <a href="https://github.com/johnhenley" target="_blank">@johnhenley</a>!)</li>
<li>TASK: Updated namespaces to be more contectually obvious to developers (No issue, thanks <a href="https://github.com/johnhenley" target="_blank">@johnhenley</a>!)</li>
</ul>

<h3>07.00.07</h3>
Expand Down
6 changes: 6 additions & 0 deletions sql/07.00.07.SqlDataProvider
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@
SET NOCOUNT ON
GO

/* Remove orphaned URL rewrite records */
DELETE u FROM {databaseOwner}[{objectQualifier}activeforums_URL] u
LEFT OUTER JOIN {databaseOwner}[{objectQualifier}activeforums_Topics] t
ON t.TopicId = u.TopicId
WHERE t.TopicId IS NULL

/* remove obsolete license key from activeforums_Settings with ModuleId = -1 to avoid missing row in CONSTRAINT from activeforums_Settings to Modules */
DELETE FROM {databaseOwner}[{objectQualifier}activeforums_Settings] WHERE ModuleId = -1 AND SettingName = 'AFKEY'
GO
Expand Down
6 changes: 6 additions & 0 deletions sql/07.00.08.SqlDataProvider
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/* Remove orphaned URL rewrite records */
DELETE u FROM {databaseOwner}[{objectQualifier}activeforums_URL] u
LEFT OUTER JOIN {databaseOwner}[{objectQualifier}activeforums_Topics] t
ON t.TopicId = u.TopicId
WHERE t.TopicId IS NULL

/* issues 218 -- begin -- remove redundant indexes */

/* remove old redundant indexes if they exist */
Expand Down

0 comments on commit 6142703

Please sign in to comment.