|
Introduction
TWiki is an enterprise collaboration platform and application platform. TWiki has been downloaded over half a million times and is used by many leading Fortune 500 businesses and government agencies as an intranet, extranet or a public internet website.
TWiki-5.1.0 released on 2011-08-20 is a major release that brings many usability enhancements (such as point and click user data management, more visual user profile pages with picture selector, and a backup feature that helps upgrade TWiki sites) and strengthens TWiki as an application platform (such as a new macro language with parameterized variables).
TWiki-5.1.1 released on 2012-01-14 is a patch release that adds some minor new features and fixes a number of bugs.
TWiki-5.1.2 released on 2012-10-07 is a patch release that adds some minor new features and fixes a number of bugs.
TWiki-5.1.3 released on 2012-12-16 is a patch release that adds some minor new features and fixes a number of bugs, including TWiki:Codev.SecurityAlert-CVE-2012-6329 .
TWiki-5.1.4 released on 2013-02-16 is a patch release that adds some minor new features and fixes a number of bugs, including TWiki:Codev.SecurityAlert-CVE-2013-1751 .
New Features Highlights
- Usability Enhancements
- API and GUI for point and click user data management
- Support disabled users in password manager
- More visual user profile pages with in-place editing of form fields and picture selector
- In-place editing of TWiki group settings using PreferencesPlugin
- Point and click bookmarks for better usability
- Improved statistics showing overall site usage over time, such as total number of webs, topics, users, etc
- TopMenuSkin: Option for auto-hidden or fixed top menu-bar; in auto-hidden mode, menu is always accessible with stub - added in TWiki-5.1.2
- TWiki Application Platform Enhancements
- Macro language with parameterized variables
- Ability to auto-create page on view if it does not exist
- Relative heading levels for INCLUDE
- Relative heading levels for SEARCH
- Security Enhancements
- Set a flag to force password change on next login
- S/Mime support for notification e-mails
- Miscellaneous Feature Enhancements
- TWikiDocGraphics: Added 2 new icons, and updated 1 icon - added in TWiki-5.1.1
- TWikiDocGraphics: Added 25 new icons, and updated 2 icons - added in TWiki-5.1.2
- TWikiDocGraphics: Added 5 new icons - added in TWiki-5.1.3
- TWikiDocGraphics: Added 5 new icons - added in TWiki-5.1.4
- User profile pages with CSS based box shadow and rounded corners - added in TWiki-5.1.3
- TWiki logs: Log user agent for all users; log additional info via extralog URL parameter - added in TWiki-5.1.4
- Plugin Enhancements
- New BackupRestorePlugin to easily backup, restore and upgrade TWiki installations
- BackupRestorePlugin: Add restore from backup feature - added in TWiki-5.1.1
- CommentPlugin: Send comment to multiple e-mail addresses; better layout & nicer look of default comment box - added in TWiki-5.1.3
- New ColorPickerPlugin to pick a color in form fields
- New SetGetPlugin that can store variables persistently
- SetGetPlugin: Add REST interface - added in TWiki-5.1.2
- SetGetPlugin: GET variable with format parameter - added in TWiki-5.1.3
- SpreadSheetPlugin: New functions BITXOR(), HEXENCODE(), HEXDECODE(), XOR()
- SpreadSheetPlugin: New functions FLOOR() and CEILING() - added in TWiki-5.1.1
- SpreadSheetPlugin: New CALCULATE variable using the register tag handler for variable evaluation with proper inside-out, left-to-right eval order; new functions $ISDIGIT(), $ISLOWER(), $ISUPPER(), $ISWIKIWORD() and $FILTER() - added in TWiki-5.1.2
- SpreadSheetPlugin: New function $STDEV(), $STDEVP(), $VAR(), $VARP() - added in TWiki-5.1.3
See the full list of new features and bug fixes further below.
Pre-installed Extensions
TWiki-5.1 ships with:
- Plugins: BackupRestorePlugin, ColorPickerPlugin, CommentPlugin, EditTablePlugin, EmptyPlugin, HeadlinesPlugin, InterwikiPlugin, JQueryPlugin, PreferencesPlugin, RenderListPlugin, SetGetPlugin, SlideShowPlugin, SmiliesPlugin, SpreadSheetPlugin, TablePlugin, TagMePlugin, TinyMCEPlugin, TWikiNetSkinPlugin, TwistyPlugin, WysiwygPlugin
- Contribs: BehaviourContrib, JSCalendarContrib, MailerContrib, TipsContrib, TWikiUserMappingContrib, TwistyContrib
- Skins: ClassicSkin, PatternSkin, PlainSkin, PrintSkin, TopMenuSkin, TWikiNetSkin,
Note: BackupRestorePlugin, ColorPickerPlugin, SetGetPlugin are new in TWiki-5.1.
Supported User Interface Languages
The user interface of this TWiki version is localized to 19 languages:
English (default), Bulgarian (bg ), Chinese simplified (zh-cn ), Chinese traditional (zh-tw ), Czechoslovakian (cs ), Danish (da ), Dutch (nl ), German (de ), Finnish (fi ), French (fr ), Italian (it ), Japanese (ja ), Korean (ko ), Polish (pl ), Portuguese (pt ), Russian (ru ), Slovakian (sv ), Spanish (es ), Ukrainian (uk ).
Note: TWiki needs to be configured properly to display user interface languages other than the default English language. Details in TWiki:TWiki.InstallationWithI18N and TWiki:TWiki.InternationalizationSupplement .
Deprecation Notices
- From TWiki 5.0 on, the ClassicSkin is deprecated and will be removed in a future release.
- From TWiki 4.2 on, the %MAINWEB% and %TWIKIWEB% variables have been deprecated. For compatibility reasons they are unlikely to ever be removed completely, but you should use the %USERSWEB% and %SYSTEMWEB% variables instead.
- From TWiki 4.2 on, functions TWiki::Func::getOopsUrl and TWiki::Func::permissionsSet have been declared deprecated. There is no plan to remove them yet.
- From TWiki 4.0 on, the syntax "* Set DENYTOPICVIEW = " (nothing) in a topic means deny noone. Even if ALLOWTOPICVIEW is set to people or group setting DENYTOPICCHANGE to nothing means allow anyone. You have to remove the DENYTOPICVIEW or comment it out to have the ALLOWTOPICVIEW working. The reason for this behavior is that it enables limiting access to an entire web by setting a blank DENYTOPICVIEW setting. Same rule applies for DENYTOPICCHANGE and DENYTOPICRENAME. The rule does not apply for access rights defined for webs. Ie. "*Set DENYWEBCHANGE = " does not allow anyone to edit topics in the web. There has been strong oppinions against the syntax "* Set DENYTOPICXXXX = " meaning giving all access. So please be warned that we will change the syntax to a more transparent and logical syntax in future but we will ensure that it is still possible to secure a web and open up individual topics in future also.
Notes for TWiki Administrators and Wiki Champions
Improved User Data Management API and GUI
TWiki-5.1 introduces a new API and GUI to manage user data. It enhances the user mapping and password managers TWiki already has with point and click user management.
Password managers can declare their own data (fields with name, value, type, note) so that TWiki's user manager can show queries and forms to display and manipulate user data in a transparent way. It is a data driven design that can be extended easily.
There are two new topics for TWiki administrators:
At this time, TWiki::Users::HtPasswdUser, TWiki::Users::TWikiUserMapping and TWiki::Users::BaseUserMapping support the new user data management API. Other user mapping and password managers will follow. The implementation details are described at TWiki:Codev.UserDataManagementApiAndGUI - developers are encouraged to use the new API.
Improved Statistics Showing Overall Site Usage
TWiki used to generate just web statistics in each web. TWiki now generates also overall site usage statistics shown in Main.SiteStatistics (do not create that page, it is created automatically based on SiteStatisticsTemplate). TWikiSiteTools#WebStatistics explains how to enable automatic updates of the statistics pages.
For each month, the following items are recorded using system data and TWiki log data across all webs: Total number of webs, number of webs viewed, number of webs updated, total number of topics, number of topics viewed, number of topics updated, number of attachments, number of topic views, number of topic updates, number of files uploads, data size, pub size, disk use, number of users, number of groups, number of plugins installed compared to number of plugins available, and 10 top contributors.
The statistics script contacts twiki.org to query the number of plugins available for the currently installed TWiki version via an http GET. It also sends anonymized site usage statistics to twiki.org via query string. Example http request:
/cgi-bin/pluginstats?statSite=978B8B8FC5D0D0888888D18B97909A9186D1908D98;statDate=2011-04;
statWebs=20;statWebsViewed=15;statWebsUpdated=6;statTopics=1501;statTopicsViewed=724;
statTopicsUpdated=137;statAttachments=724;statViews=578;statSaves=223;statUploads=19;
statDataSize=46.4;statPubSize=238.4;statDiskUse=93%25;statUsers=31;statGroups=7;statPlugins=22;
statVersion=TWiki-5.1.0;
Example response:
plugins: 196
The statistics script will not contact twiki.org if a {Stats}{DontContactTWikiOrg} configure setting is set.
Automatically Create Topics on Page View
A new feature has been introduced to automatically create a non-existing topic on page view. With this it is possible to link to a topic, and in case it does not exist, have the topic created based on a specific template when clicking on the link.
Use-case example: The new user bookmarks feature has a pulldown menu link to bookmark the current page. That link points to the <wikiname>Bookmarks page, which has a form pre-filled with the page and name of the to-be-bookmarked page. In case the user bookmarks page does not exist it is created first before showing the topic with the pre-filled form.
Details in TWikiScripts#view.
New Page Bookmarks Feature
A new bookmark feature has been introduced that replaces the personal left-bar links. Bookmarking a page is now a simple point and click operation: In the Account pulldown menu, select "Bookmark this page...". Existing bookmarks can be managed with an edit table in Main.<wikiname>Bookmarks topic, accessible via the "----- Bookmarks -----" pulldown menu of the Account pulldown.
The personal left-bar topics such as JohnSmithLeftBar are no longer used. Ask users to select the "----- Bookmarks -----" pulldown menu of the Account pulldown to initially create the bookmarks topic, then to either bookmark pages, or to manually copy & paste old left-bar links to the bookmarks topic.
User Profile Pages Tailored for Workplace
Previous user profile pages had a bare bone look and the form fields were more tailored for public TWiki sites. TWiki-5.1 brings a more visual/modern page layout with profile picture selector, as well as default form fields tailored for the workplace.
Changes to the TWiki.UserForm:
Renamed:
-
FirstName to First Name (no change in %META:FIELD name )
-
LastName to Last Name (no change in %META:FIELD name )
-
OrganisationName to Organization
-
OrganisationURL to URL
-
Profession to Titles
-
VoIP to Skype ID
-
State to Region
Removed:
-
Address
-
InstantMessaging (IM)
-
HomePage
-
Comment
Added:
When upgrading user profile pages pay attention to the renamed and removed fields.
Upgrade From Earlier Releases
Follow the TWikiUpgradeGuide to install TWiki and migrate data from your existing TWiki.
You can use the new BackupRestorePlugin to backup an old TWiki and then simply restore the content to a new TWiki.
TWiki-5.1.0 Major Release - Details
TWiki-5.1.0 was built from SVN http://svn.twiki.org/svn/twiki/trunk revision r22128 (2011-08-20)
Enhancements
Total: 39
Fixes
TWikibug:Item6209 |
WebTopicCreator: underscores in topic name with WebTopicCreator are not possible |
TWikibug:Item6496 |
TWiki 5 configuration page wrongly complains "This version of Perl is likely to exhibit extremely slow performance for certain critical operations." |
TWikibug:Item6658 |
When a URL parameter with value 0 is passed into getScriptUrl, it is incorrectly removed |
TWikibug:Item6687 |
Statistics: Statistics script leaves temp files behind |
TWikibug:Item6715 |
Better layout for checkboxes of TWiki forms while in edit mode |
TWikibug:Item6732 |
TagMePlugin: Administrator can't delete tag if Main web is renamed to User web |
TWikibug:Item6751 |
TopMenuSkin: Cutoff buttons in header when using IE7 |
TWikibug:Item6754 |
CommentPlugin: Action comment template in CommentPlugin is missing %ENDACTION% |
TWikibug:Item6755 |
Displayed search string shows expanded TWiki variables and text formatting |
TWikibug:Item6757 |
Configure: Unprofessional text in Configure utility |
TWikibug:Item6763 |
TopMenuSkin: WYSIWG editor corrupts TopMenuSkin system pages |
TWikibug:Item6767 |
TWiki statistics update not working properly on CentOS 5 |
TWikibug:Item6770 |
Warning message: Use of uninitialized value in lc at twiki/lib/TWiki/UI/Edit.pm line 83 |
TWikibug:Item6775 |
Require Perl 5.8 or later |
TWikibug:Item6779 |
TablePlugin: Tables rendering too dark in Firefox 4 |
TWikibug:Item6783 |
configure: Incorrect file test in bin/configure |
TWikibug:Item6784 |
DoS on bin/search with an asterisk wildcard using bookview |
TWikibug:Item6788 |
Better error handling in create new topic screen |
TWikibug:Item6789 |
SlideShowPlugin: Better error handling in SLIDESHOWSTART variable |
TWikibug:Item6790 |
configure: Wrong type in "MailProgram.pm" of configure |
TWikibug:Item6792 |
TWikiUserMappingContrib: Typo fix in registration page and change e-mail address page |
Total: 21
TWiki-5.1.1 Patch Release - Details
TWiki-5.1.1 was built from SVN http://svn.twiki.org/svn/twiki/branches/TWikiRelease05x01 revision r22570 (2012-01-14)
Enhancements
Total: 6
Fixes
Total: 16
TWiki-5.1.2 Patch Release - Details
TWiki-5.1.2 was built from SVN http://svn.twiki.org/svn/twiki/branches/TWikiRelease05x01 revision r23565 (2012-10-07)
Enhancements
Total: 15
Fixes
Total: 29
TWiki-5.1.3 Patch Release - Details
TWiki-5.1.3 was built from SVN http://svn.twiki.org/svn/twiki/branches/TWikiRelease05x01 revision r24504 (2012-12-16)
Enhancements
Total: 10
Fixes
TWikibug:Item6944 |
CommentPlugin: Get script URL with TWiki::Func::getMasterWebScriptUrl |
TWikibug:Item6969 |
PreferencesPlugin: Various edge cases are not handled properly |
TWikibug:Item6978 |
SetGetPlugin: Plugin may fail due to Data::Dumper not being loaded |
TWikibug:Item6982 |
Links in INCLUDE across web have gratuitous trailing parenthesis |
TWikibug:Item6992 |
Topic preferences in template topics are lost when creating a new topic |
TWikibug:Item7002 |
VarMETASEARCH was showing up in UserDocumentationCategory |
TWikibug:Item7005 |
Documentation: Webs that have a WikiWord name are shown as "TWiki.WikiWordWeb" in sitemap |
TWikibug:Item7006 |
PatternSkin: Removing obsolete and unreferenced PatternSkinHeaderArt topic |
TWikibug:Item7008 |
PreferencesPlugin: Radio buttons are not displayed inline on webkit browsers |
TWikibug:Item7009 |
PreferencesPlugin: Edit Preferences button to fail if the user does not have change permission |
TWikibug:Item7015 |
TablePlugin: Cannot handle date (0, 0, 0, 14, 2, 1100) error on very early date |
TWikibug:Item7028 |
PreferencesPlugin: Disable submit button when current site is mode read-only or slave. |
TWikibug:Item7029 |
PreferencesPlugin: Redirect to master site when current site mode is slave. |
TWikibug:Item7051 |
Insecure dependency in open when renaming a topic |
TWikibug:Item7067 |
Configure: Configure adds extra (?^: ... ) to regex variables on save under Perl 5.14 |
TWikibug:Item7068 |
Time: SEARCH{date="interval"} incorrectly handles DST when in GMT timezone |
TWikibug:Item7080 |
Security Alert CVE-2012-6329: TWiki MAKETEXT Variable Allows Arbitrary Shell Command Execution |
TWikibug:Item7084 |
TWikiUserMappingContrib: Can't register local TWiki users with LdapContrib |
TWikibug:Item7087 |
ICON: Icon image is undetermined if ICON parameter is empty |
Total: 19
TWiki-5.1.4 Patch Release - Details
TWiki-5.1.4 was built from SVN http://svn.twiki.org/svn/twiki/branches/TWikiRelease05x01 revision r25114 (2013-02-16)
Enhancements
Total: 6
Fixes
Total: 11
Related Topics: TWikiHistory, TWikiInstallationGuide, TWikiUpgradeGuide, TWikiReleaseNotes04x00, TWikiReleaseNotes04x01, TWikiReleaseNotes04x02, TWikiReleaseNotes04x03, TWikiReleaseNotes05x00, TWikiReleaseNotes06x00, TWikiReleaseNotes06x01 |