Skip to content

Commit 72cdade

Browse files
authored
Merge pull request #630 from DNNCommunity/dev
Version 8.0 release
2 parents def3369 + 078390e commit 72cdade

File tree

1,118 files changed

+34977
-8776
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,118 files changed

+34977
-8776
lines changed

.github/CODE_OF_CONDUCT.md

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
# Contributor Covenant Code of Conduct
2+
3+
## Our Pledge
4+
5+
In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.
6+
7+
## Our Standards
8+
9+
Examples of behavior that contributes to creating a positive environment include:
10+
11+
* Using welcoming and inclusive language
12+
* Being respectful of differing viewpoints and experiences
13+
* Gracefully accepting constructive criticism
14+
* Focusing on what is best for the community
15+
* Showing empathy towards other community members
16+
17+
Examples of unacceptable behavior by participants include:
18+
19+
* The use of sexualized language or imagery and unwelcome sexual attention or advances
20+
* Trolling, insulting/derogatory comments, and personal or political attacks
21+
* Public or private harassment
22+
* Publishing others' private information, such as a physical or electronic address, without explicit permission
23+
* Other conduct which could reasonably be considered inappropriate in a professional setting
24+
25+
## Our Responsibilities
26+
27+
Project maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response to any instances of unacceptable behavior.
28+
29+
Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.
30+
31+
## Scope
32+
33+
This Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.
34+
35+
## Enforcement
36+
37+
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at [email protected]. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.
38+
39+
Project maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.
40+
41+
## Attribution
42+
43+
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version]
44+
45+
[homepage]: http://contributor-covenant.org
46+
[version]: http://contributor-covenant.org/version/1/4/

.github/ISSUE_TEMPLATE/task.md

Lines changed: 0 additions & 21 deletions
This file was deleted.

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,23 +5,24 @@ You can erase any parts of this template not applicable to your Pull Request.
55

66
### Description of PR...
77

8+
89
## Changes made
910
- Item 1
1011
- Item 2
1112

13+
## How did you test these updates?
14+
<!-- Please be as descriptive as possible. -->
1215

1316
## PR Template Checklist
1417

1518
- [ ] Fixes Bug
1619
- [ ] Feature solution
1720
- [ ] Other
21+
- [ ] Requires documentation updates
22+
- [ ] I've updated the documentation already
1823

1924

2025
## Please mark which issue is solved
2126
<!-- Type numbers directly after the #, it will show the issues with that number -->
2227

23-
Close #
24-
## For epic issues, please mark which issue is related
25-
<!-- Type numbers directly after the #, it will show the issues with that number -->
26-
27-
Related to epic issue #
28+
Close #

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,3 +158,8 @@ $tf/
158158
sql/Копия 05.02.02.SqlDataProvider
159159
.vs/
160160
themes/.gitignore
161+
162+
# Ignore DNN artifacts
163+
[Ww]ebsite/
164+
/BuildScripts/ICSharpCode.SharpZipLib.dll
165+
/BuildScripts/MSBuild.Community.Tasks.dll
File renamed without changes.
File renamed without changes.
File renamed without changes.

Dnn.CommunityForums/08.00.00.txt

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
DesktopModules/ActiveForums/WhatsNew.ascx
2+
DesktopModules/ActiveForums/WhatsNewOptions.ascx
3+
DesktopModules/ActiveForums/ActiveForumViewer.ascx
4+
DesktopModules/ActiveForums/ActiveForumViewerSettings.ascx
5+
DesktopModules/ActiveForumsViewer/ActiveForumsViewerResources.zip.manifest
6+
DesktopModules/ActiveForums/images/ambuttonback.gif
7+
DesktopModules/ActiveForums/images/afbuttonback.gif
8+
DesktopModules/ActiveForums/images/af-logo.png
9+
DesktopModules/ActiveForums/images/af_logo.gif
10+
DesktopModules/ActiveForums/images/af16icon_over.png
11+
DesktopModules/ActiveForums/images/af6_icon.jpg
12+
DesktopModules/ActiveForums/ActiveForums.sln.GhostDoc.xml
13+
DesktopModules/ActiveForums/themes/module.css
14+
DesktopModules/ActiveForums/themes/_default/templates/_Master.ascx
15+
DesktopModules/ActiveForums/themes/_legacy/templates/_Master.ascx
16+
DesktopModules/ActiveForums/config/templates/AdminWatchEmail_html.txt
17+
DesktopModules/ActiveForums/config/templates/AdminWatchEmail_text.txt
18+
DesktopModules/ActiveForums/config/templates/BlogList.txt
19+
DesktopModules/ActiveForums/config/templates/BlogsView.txt
20+
DesktopModules/ActiveForums/config/templates/BlogView.txt
21+
DesktopModules/ActiveForums/config/templates/DailyDigest_html.txt
22+
DesktopModules/ActiveForums/config/templates/Filters.txt
23+
DesktopModules/ActiveForums/config/templates/ForumDirectory.txt
24+
DesktopModules/ActiveForums/config/templates/ForumTracking.txt
25+
DesktopModules/ActiveForums/config/templates/ForumView.txt
26+
DesktopModules/ActiveForums/config/templates/ModAlert_html.txt
27+
DesktopModules/ActiveForums/config/templates/ModAlert_text.txt
28+
DesktopModules/ActiveForums/config/templates/ModEmail_html.txt
29+
DesktopModules/ActiveForums/config/templates/ModEmail_text.txt
30+
DesktopModules/ActiveForums/config/templates/PostApproved_html.txt
31+
DesktopModules/ActiveForums/config/templates/PostApproved_text.txt
32+
DesktopModules/ActiveForums/config/templates/PostDeleted_html.txt
33+
DesktopModules/ActiveForums/config/templates/PostDeleted_text.txt
34+
DesktopModules/ActiveForums/config/templates/PostMoved_html.txt
35+
DesktopModules/ActiveForums/config/templates/PostMoved_text.txt
36+
DesktopModules/ActiveForums/config/templates/PostRejected_html.txt
37+
DesktopModules/ActiveForums/config/templates/PostRejected_text.txt
38+
DesktopModules/ActiveForums/config/templates/ProfileInfo.txt
39+
DesktopModules/ActiveForums/config/templates/ReplyEditor.txt
40+
DesktopModules/ActiveForums/config/templates/StatsTemplate.txt
41+
DesktopModules/ActiveForums/config/templates/SubscribedEmail_html.txt
42+
DesktopModules/ActiveForums/config/templates/SubscribedEmail_text.txt
43+
DesktopModules/ActiveForums/config/templates/ToolBar.txt
44+
DesktopModules/ActiveForums/config/templates/TopicEditor.txt
45+
DesktopModules/ActiveForums/config/templates/TopicsView.txt
46+
DesktopModules/ActiveForums/config/templates/TopicView.txt
47+
DesktopModules/ActiveForums/config/templates/UsersOnline.txt
48+
DesktopModules/ActiveForums/config/templates/_MemberList.txt
49+
DesktopModules/ActiveForums/config/templates/_UserProfile.txt
File renamed without changes.

ActiveForumViewer.ascx.cs renamed to Dnn.CommunityForums/ActiveForumViewer.ascx.cs

Lines changed: 11 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,11 @@ protected override void OnLoad(EventArgs e)
3232

3333
try
3434
{
35-
if (Settings["AFForumModuleID"] != null)
35+
if (Settings[ForumViewerSettingsKeys.AFForumModuleId] != null)
3636
{
37-
string viewType = Convert.ToString(Settings["AFViewType"]);
38-
int tmpModuleId = Convert.ToInt32(Settings["AFForumModuleID"]);
39-
int tmpForumId = Convert.ToInt32(Settings["AFForumGroupID"]);
37+
string viewType = Convert.ToString(Settings[ForumViewerSettingsKeys.AFViewType]);
38+
int tmpModuleId = Convert.ToInt32(Settings[ForumViewerSettingsKeys.AFForumModuleId]);
39+
int tmpForumId = Convert.ToInt32(Settings[ForumViewerSettingsKeys.AFForumGroupId]);
4040
if (viewType.ToLowerInvariant() == "topics")
4141
{
4242
viewType = Views.Topics;
@@ -49,22 +49,19 @@ protected override void OnLoad(EventArgs e)
4949
}
5050
ctlForumLoader.DefaultView = viewType;
5151
ctlForumLoader.ForumModuleId = tmpModuleId;
52-
int tmpForumTabId = DotNetNuke.Entities.Modules.ModuleController.Instance.GetTabModulesByModule(tmpModuleId).FirstOrDefault().TabID;
53-
if (tmpForumTabId <= 0) { tmpForumTabId = TabId; }
54-
ctlForumLoader.ForumTabId = tmpForumTabId;
52+
ctlForumLoader.ForumTabId = ForumTabId;
5553
ctlForumLoader.ModuleConfiguration = this.ModuleConfiguration;
56-
ctlForumLoader.InheritModuleCSS = false;
57-
if (!(Convert.ToString(Settings["AFTopicsTemplate"]) == null))
54+
if (!(Convert.ToString(Settings[ForumViewerSettingsKeys.AFTopicsTemplate]) == null))
5855
{
59-
ctlForumLoader.DefaultTopicsViewTemplateId = Convert.ToInt32(Settings["AFTopicsTemplate"]);
56+
ctlForumLoader.DefaultTopicsViewTemplateId = Convert.ToInt32(Settings[ForumViewerSettingsKeys.AFTopicsTemplate]);
6057
}
61-
if (!(Convert.ToString(Settings["AFForumViewTemplate"]) == null))
58+
if (!(Convert.ToString(Settings[ForumViewerSettingsKeys.AFForumViewTemplate]) == null))
6259
{
63-
ctlForumLoader.DefaultForumViewTemplateId = Convert.ToInt32(Settings["AFForumViewTemplate"]);
60+
ctlForumLoader.DefaultForumViewTemplateId = Convert.ToInt32(Settings[ForumViewerSettingsKeys.AFForumViewTemplate]);
6461
}
65-
if (!(Convert.ToString(Settings["AFTopicTemplate"]) == null))
62+
if (!(Convert.ToString(Settings[ForumViewerSettingsKeys.AFTopicTemplate]) == null))
6663
{
67-
ctlForumLoader.DefaultTopicViewTemplateId = Convert.ToInt32(Settings["AFTopicTemplate"]);
64+
ctlForumLoader.DefaultTopicViewTemplateId = Convert.ToInt32(Settings[ForumViewerSettingsKeys.AFTopicTemplate]);
6865
}
6966
System.Web.UI.HtmlControls.HtmlGenericControl oLink = new System.Web.UI.HtmlControls.HtmlGenericControl("link");
7067
oLink.Attributes["rel"] = "stylesheet";

0 commit comments

Comments
 (0)