DotNetNuke 4.5.2 Released

DotNetNuke 4.5.2 Released

EDIT: Originally posted by Shaun Walker in the benefactors forum.....

DotNetNuke 4.5.2 has been released and is available for download from www.dotnetnuke.com here's a list of fixes/changes

- added new DateTime Edit control which can be used in the User Profile ( and other Property Editors ) for collecting date and time information

- modified automatic upgrade processing to force the Database check to happen before the MachineKey check. This will help prevent a fringe situation where the application would think it was a new install and would overwrite the MachineKeys.

- added new Request Filter feature which allows blocking based on IP as well as a number of other server variables

- removed alert box which would be displayed when callback fails during populate on demand from the DNNMenu control. This would only happen in situations where the users session had timed out and they hovered their mouse pointer over the action menu in their browser

- added UpdatePanelUpdateModeType AJAX enhancment. This was necessary in order to set the UpdatePanel.UpdateMode to Conditional - which is now the default ( it was mistakenly set to All in the previous version ).

- Added RegisterPostBackControl AJAX enhancement which allows for exclusions of controls from UpdatePanel async processing. This was implemented in the UrlControl to prevent partial rending when uploading files ( stream operations do not work with partial rendering ).

- Added WrapUpdatePanelControl AJAX enhancement which allows you to easily take any control on the page and have it wrapped by an UpdatePanel.

- Added CreateUpdateProgressControl AJAX enhancement which creates an update progress control. This was implemented in Skin.vb so that the update progess control is automatically injected by the framework for modules which support partial rendering.

- when installing dynamic modules, there was an issue identified when trying to write to the web.config file. The issue was caused in situations where the Microsoft Web Admin Tool had added a namespace to the web.config file. The code was modified to ignore the namespace if it exists.

- DNN-5510 fixed Permissions Fill* controller methods which did not load the RoleID value properly and would result in data corruption when the Permission Grid was saved repeatedly.

- created update SQL script to repair permission records which may have been corrupted when using User Level Permissions. This could have only happened if the permissions grid was loaded and saved multiple times when using User level Permissions.

- added SQL script to clean any potential duplicate records from all Permissions tables and then add a unique constraint to preserve referential integrity

- UrlControl overhauled by Mauricio Marquez so that it works in dynamic loading and postback scenarios. A problem introduced in DNN 4.5 where the UrlControl would always display a type selector, even if there was only one type option available, was also resolved.

- modified logic in Module Definitions and Host Settings so that when the application is running on localhost ( Request.IsLocal ) it does not check for upgrades. This prevents broken image links when developers are working local without an active Internet connection.

- added more defensive coding in Module Output Caching to deal with situations where no content is retrieved from the cache for a module

- in Page Settings, moved the Hidden? option to Basic Settings and changed its name to Include In Menu? for improved usability

- in Site Settings in the Usability section, added an option so that the administrator can specify Control Panel Security for either Page Editors or Module Editors. Setting the option to Page Editors provides the same Control Panel behavior which existed prior to the enhancement in this area in 4.5.

- in Portal Template Export, removed nodes which would cause it not to validate against the schema on import. The offending nodes were related to properties added to the the ModuleInfo class and Permissions classes in DNN 4.5. On the subject of the Permissions classes, it is not possible to include the user level permissions in the portal template at this time because it means that User objects would need to be exported - which would introduce a security issue in terms of how to serialize passwords.

- added logic which now allows RSVP code related to Roles to be passed into the application via QueryString parameter on both Login and Registration. The URL is now exposed in the Security roles for Roles which have an RSVP code.

- fixed logic so that the banner cache is cleared when a Vendor is deleted

- modified Registration so that after successful registration, it returns to the original page where the user clicked the Register button. This is important for usability, as you do not want to lose the users attention after they register on your site - especially if it was for a specific purpose such as gaining access to a private page of content or adding an item to a shopping cart.

- in Site Settings, moved the Copyright field to the Site Details section. This should help to avoid usability questions on how to change the Copyright message ( an action which needs to be taken on every new site installation )

- in Site Settings, added a new Site Marketing section in the Basic Settings area. Site Marketing provides access to a number of features which allow the Administrator to promote their website.

- Search Engine submission is now available for Google, Yahoo, and MSN.

- Site Map URL expands on the SiteMap feature added in DNN 4.5 by providing the URL to your site map file as well as the ability to Submit the site map to Google Webmaster Tools.

- When signing up with Google Webmaster Tools you need to Verify your site ownership. The new Verification option allows you to choose the "Upload an HTML file" method from the Google Verification screen and then enter the filename displayed ( ie. google53c0cef435b2b81e.html ) in the Verification textbox. Once you click Create you will be able to return to Google and select the Verify button.

- Advertise allows you to sign up for Google Adwords which allows you to promote your site through text banners which appear in the Google search results as well as affiliate web sites.

- Banners allows you to specify the types of banner ads you would like to serve on your site

- a new feature has been added to help simplify Google Adsense enablement for a site. When logged in as an Administrator, a banner will be displayed which invites you to sign up for a Google Adsense account. Clicking the link takes you to the DotNetNuke website where you can activate your Adense account and immediately be transferred back to your own site to complete the automated enablement of Adsense. This feature eliminates the need for administrators to learn the Adsense API and cut and paste HTML script into their site.

- fixed bug in User Profile where updating profile information would not take effect immediatey. This is because the ClearUserCache method was referencing the wrong cachekey

- added ability to specify ServerName in config file. This feature can be used for more granular control over the Scheduler.

- added standard support for resource files related to .aspx pages ( ie. page.aspx = page.aspx.resx )

- added GetModuleTabs(ModuleID) API method to return a collection of ModuleInfo objects for every Tab on which a Module exists

- fixed issue with legacy modules not having a version number which prevented the user to save the Module Definition record because version number is now required ( and disabled in the user interface )

- modified custom email validation RegExp expression in User Settings to escape dashes. This was to prevent a problem where email addresses containing dashes were flagged as invalid.

- fixed default html skin files to remove the <%= skinpath %> server-side script. The inclusion of this script resulted in issues with the ASCX files produces after being parsed with the standard Skin parser.

- DNN-5529 fixed a problem introduced in 4.5.1 which would occur when adding a page and not specifying the Title, Description, or KeyWords fields. These fields would be defaulted to the PageName value, which would break the inheritence feature where pages inherit attributes from the Site Settings.

- DNN-2612 fixed XML Error in Resource Verifier

- DNN-5483 fixed problem where selecting Update in the Edit Module Definition screen would erase the state of DNN Interfaces ( ie. ISearchable, IPortable )

- DNN-5536 added enhancement to log the application shutdown reason

- DNN-5452 added logic so that the AddRoleGroup API method returns the new RoleGroupID

- DNN-1901 added enhancement so that SMTP Server Port can be specified in the Host Settings area

- DNN-4371 improved html standards conformance for generated html code in default.aspx

- DNN-5516 added logic in Module Packager to exclude .dnn.config file

- DNN-5526 added logic in Resource Verifier so that it catches all resource files

Posted from weblogs.asp.net/christoc

Recent Comments

There are currently no comments. Be the first to make a comment.

Add Comment

Please add your comment by filling out the field(s) below. Your comment may need to be approved before it becomes visible.
Enter your first name for display with the comment
Enter your last name for display with the comment.
Enter your comment here.
If you can't type DNNRocks in, you can't post, plain and simple.
Submit Comment Cancel

Chris Hammond

Chris Hammond is a father, husband, leader, software developer, photographer and car guy. Chris focuses on the latest in technology including artificial intelligence (AI) and has spent decades becoming an expert in ASP.NET and DotNetNuke (DNN) development. You will find a variety of posts relating to those topics here on the website. For more information check out the about Chris Hammond page.

Find me on Twitter, GitHub and LinkedIn.