Monday, January 28, 2008
We rolled out a bunch of updates over the weekend that provide some frequently requested enhancements, API additions and bug fixes. Nothing major, but its nice to clear the decks of some stuff that's been hanging around for a while now. Without further ado...
General Enhancements and Bug Fixes
- There is now a Check All link on the Deleted Pages screen to make deleting lots of pages or attachments a little less painful.
- The Forgot Password email now includes access information for multiple users if there is more than one user associated with the email address entered.
- The Versions screen now includes an Edit link. This makes it easier to roll back changes in special pages (Layouts, Stylesheets, raw content pages, etc.).
- User names can now contain spaces.
- Include tags now come through templates as include tags instead of getting resolved to the included content. For example, if a template page contains [[include:MyPage]] and a new page is created based on that template, the new page will contain [[include:MyPage]] instead of the content of MyPage.
- Template pages are now only listed if the current user has view access to the template page. Previously, a user without view access to a template would see it listed as a template option, though the content would not actually be included.
- When saving a CSS or other special page when NOT logged in as an administrator, a "Page Saved" confirmation screen now shows instead of redirecting to the Special Pages administration screen (which requires administrator access and so resulted in a Login form).
- The Cancel button in the Comment form now returns to the current page instead of the Home page.
- The Style Sheet page property is now copied over from templates.
- The Edit User form didn't require double password entry.
- Dates in layouts now apply the user's time zone.
- The Special Pages, Layouts, and Styles administration screens had a problem with pages having hyphens in their name.
- The Full Comment editor was missing the Insert Image button, and the Insert Image dialog of the trimmed down comment editor did not include the Attachments list found in the Page editor.
- The Edit button on the preview page of the Email Users form sometimes gave an Expired message instead of displaying the edit message form.
- Attachment file names are now validated for illegal characters and length.
API Changes
- The Data class now has MAX_KEYS and MAX_ENTRIES constants to use instead of hard-coding the offset size.
- A new getComment(Number) function on the Page class returns a comment by ID.
- A new captchaTest(String) function on the Server class allows EditMe's Captcha feature to be added to custom forms.
- The foreach attribute command now supports arrays with named indices, as in {'a':'A','b':'B'}.
- Using [[include:PageName]] to include a scripted page now results in a warning message.
- Page names are now camel spaced when coming from page.TitleOrName.
- A new paramExists(String) function on the Server class indicates whether a named parameter was included in the request.
- A new applyTimeZone(Date, String) function on the Util class applies a specified time zone on a date value.
- A new parseDate(String1, String2) function on the Util class extracts a date value from a string, providing a reverse of the existing formatDate() function.
- The Page.date, Attachment.date and Comment.date now apply user's time zone.
- The Page, Attachment, Comment, User, Group, Policy classes now implement toString().