author Colas Nahaboo <>
Sat, 26 Jan 2008 15:50:53 +0100
changeset 0 414e01d06fd5
permissions -rw-r--r--
RELEASE 4.2.0 freetown
     1 %META:TOPICINFO{author="TWikiContributor" date="1173426057" format="1.1" version="5"}%
     2 ---+!! TWiki Release 4.0 (Dakar)
     4 _Note: This is the release note for the previous major release version 4.0.X. It is included with 4.1.X because it contains valuable information for people upgrading from earlier versions. Both for the admin and the users. See TWikiReleaseNotes04x01 for the 4.1.X release notes_
     6 'Dakar' is the first major release of the TWiki Enterprise Collaboration Platform in over a year. The focus of this release has been on refactoring the code in the interests of *security*, *efficiency* and *maintainability*, though a range of powerful new features are also included. The refactoring work has included tightening up the specification of certain key TWiki behaviours, which has resulted in some specification changes. The impact on end users has been minimised as far as possible.
     8 __Major New Features__
     9    * Much simpler install and configuration
    10    * Integrated session support
    11    * Webserver-independent login/logout
    12    * Security sandbox blocks all possible routes for remote command execution on the server
    13    * New editing model allows freer collaboration, without fear of overwriting other people's changes
    14    * Multilingual UI
    15    * E-mail confirmations for registration
    16    * WYSIWYG editor
    17    * Hierarchical sub-webs
    19 &nbsp; &nbsp; %M% See feature list at TWikiHistory#DakarRelease. TWiki 4.0 patch release details are at the end of this release notes document.
    21 __Note:__ In what follows, {This} (words in curly braces) refers to settings in the new 'configure' interface.
    23 %TOC%
    25 ---++ Notes for end users
    27 ---+++ Editing at the same time as other people
    29 Dakar release introduces a brand-new strategy for handling simultaneous changes to a topic by several people. Instead of one person locking the topic, and other having to wait until they are finished, Dakar allows multiple simultaneous edits of the same topic, and then _merges_ the different changes.
    31 You probably won't even notice this happening unless you are changing existing text in the file at the same time as someone else. In this case, you may see TWiki inserting "change marks" into the text to highlight conflicts between your edits and another persons. These change marks are only used if you edit the same part of a topic as someone else, and they indicate what the text used to look like, what the other person's edits were, and what your edits were. For example, let's say you have a topic that contains this text:
    32 <table>
    33 <tr bgcolor="lightgrey"><th>You edit</th><th>You see</th></tr>
    34 <tr bgcolor="lightgrey"><td>
    35 <pre>
    36 Casablanca is
    37 Humphrey Bogart's finest film.
    38 Of all the gin joints in all the world,
    39 you had to walk into mine.
    40 </pre>
    41 </td><td>
    42 Casablanca is
    43 Humphrey Bogart's finest film.
    44 Of all the gin joints in all the world,
    45 you had to walk into mine.
    46 </td></tr>
    47 <tr><td colspan=2>and you start editing this text before going for coffee. Meanwhile, a colleague also starts editng the same topic and changes the text to:</td></tr>
    48 <tr bgcolor="lightgrey"><td>
    49 <pre>
    50 <b>The Maltese Falcon</b> is
    51 Humphrey Bogart's finest film.
    52 Of all the gin joints in all the world,
    53 you had to walk into mine.
    54 </pre>
    55 </td><td>
    56 The Maltese Falcon is
    57 Humphrey Bogart's finest film.
    58 Of all the gin joints in all the world,
    59 you had to walk into mine.
    60 </td></tr>
    61 <tr><td colspan=2>When you get back from coffee, you finish your edit, changing the text to</td></tr>
    62 <tr bgcolor="lightgrey"><td>
    63 <pre>
    64 <b>To Have or Have Not</b> is
    65 Humphrey Bogart's finest film.
    66 <b>You know how to whistle, don't you Steve?
    67 You just put your lips together and blow.</b>
    68 </pre>
    69 </td><td>
    70 To Have or Have Not is
    71 Humphrey Bogart's finest film.
    72 You know how to whistle, don't you Steve?
    73 You just put your lips together and blow.
    74 </td></tr>
    75 <tr><td colspan=2>and saving it. The topic will now look like this when you display it:</td></tr>
    76 <tr bgcolor="lightgrey"><td>
    77 <pre>
    78 &lt;div class="twikiConflict"&gt;&lt;b>CONFLICT&lt;/b&gt; original 5:&lt;/div&gt;
    79 Casablanca is
    80 &lt;div class="twikiConflict"&gt;&lt;b>CONFLICT&lt;/b&gt; version 6:&lt;/div&gt;
    81 The Maltese Falcon is
    82 &lt;div class="twikiConflict"&gt;&lt;b>CONFLICT&lt;/b&gt; version 7:&lt;/div&gt;
    83 To Have or Have Not is
    84 &lt;div class="twikiConflict"&gt;&lt;b>CONFLICT&lt;/b&gt; end&lt;/div&gt;
    85 Humphrey Bogart's finest film.
    86 You know how to whistle, don't you Steve?
    87 You just put your lips together and blow.
    88 </pre>
    89 </td><td>
    90 <div class="twikiConflict"><b>CONFLICT</b> original 5:</div>
    91 Casablanca is
    92 <div class="twikiConflict"><b>CONFLICT</b> version 6:</div>
    93 The Maltese Falcon is
    94 <div class="twikiConflict"><b>CONFLICT</b> version 7:</div>
    95 To Have or Have Not is
    96 <div class="twikiConflict"><b>CONFLICT</b> end</div>
    97 Humphrey Bogart's finest film.
    98 You know how to whistle, don't you Steve?
    99 You just put your lips together and blow.
   100 </td></tr>
   101 </table>
   102 As you can see, your changes have been merged with your colleagues. The merge is done on a line-by-line basis, and if your changes do not overlap, then change marks will not be used (as is the case for the last line of the example).
   104 Merging only applies to text fields. When there are conflicts in field data in forms such as checkboxes, radio buttons and selects, the most recent change (usually your change) always wins, even if someone else has changed the form since you started editing. Of course, all changes are available from the topic history.
   106 Because there are cases where you actually want to avoid overlapping edits altogether (e.g. if you are changing forms data) TWiki will *warn* if you attempt to edit a topic that someone else is editing. It will also warn if a merge was required during a save.
   108 ---+++ User Interface Internationalisation
   110 TWiki will now pick up the language you are using in your browser, and try to present system messages in that language, if it is available. If your preferred language is not available, TWiki will revert to English. You'll also have an option to choose a language different from that used in your browser.
   112 User Interface Internationalisation support is optional and enabled by the {UserInterfaceInternationalisation} setting.
   114 The translation is performed by the Perl standard internationalization framework. If you want to contribute a new language, it would be most welcome: see TWiki:Codev.UserInterfaceLocalisation for instructions on how to help.
   116 ---+++ New options on the editing screen
   118 You will notice a couple of changes to the editing screen: first, there is no switch for releasing the edit lock any more (if locks are enabled, they are always released when an edit finishes). You will also notice a new "force new revision" checkbox. TWiki normally doesn't add a new revision if the same user re-edits a topic within a certain time period; this checkbox allows you to _force_ TWiki to add a revision for every change, regardless of how small it is.
   120 ---+++ Change notification
   122 You now have much more control over _which_ topics in a web you are interested in changes to. You can choose to receive notifications about topics selected by name, or by their parent relationship. See MailerContrib for more details. Note that the =mailnotify= cron script has moved out of the =bin= directory and into the =tools= directory - active crontab entries needs to be updated accordingly.
   124 ---+++ E-mail addresses
   125 Because of the security risks inherent in publishing e-mail addresses in personal topics, the storage of user's emails has been moved to the password manager. For sites that use the =.htpasswd= password manager, e-mail addresses that new users provide during registration are stored in the =.htpasswd= file. To aid in migration, if TWiki can't find a registered e-mail address in =.htpasswd=, it will still look in the personal topic. All users should register a valid e-mail address at ChangeEmailAddress.
   127 If a different password manager is in use (e.g. LDAP, or 'none'), user e-mails will still be stored in personal topics. Sites that use other password systems (such as LDAP) should consider implementing a TWiki password manager, so that TWiki can look up email addresses, rather than storing them in personal topics.
   129 ---+++ Parameterised Includes
   130 =%<nop>INCLUDE{}%= variables have a predefined set of parameters. In the past, any parameters not in this set were simply ignored. With Dakar, these parameters are now defined as TWikiVariables within the included topic - for example,
   131 <verbatim>
   132 %INCLUDE{ "BugList" FAVOURITE="Damsel Flies" }%
   133 </verbatim>
   134 will define =%FAVOURITE%= as =Damsel Flies= in the included topic, so if =BugList= contained the line
   135 <verbatim>
   136 My favourite bugs are %FAVOURITE%
   137 </verbatim>
   138 it will be expanded to
   139 <verbatim>
   140 My favourite bugs are Damsel Flies
   141 </verbatim>
   143 ---+++ Named Section Include
   145 The =%<nop>INCLUDE{}%= variable allows to include only a named section of the included topic. These sections are defined in the included topic using the =%<nop>STARTSECTION%= and =%<nop>ENDSECTION%= variables. For example, if the included topic has:
   147 <verbatim>
   148 ---+ News
   150 ---++ IT News
   151 All news related to IT.
   152 %STARTSECTION{"itnews"}%
   153    * 2005-10-02 Final deployment of Dakar
   154    * 2005-10-01 Moving platform to Dakar
   155 %ENDSECTION{"itnews"}%
   156 </verbatim>
   158 Using =%<nop>INCLUDE{ "AllNews" section="itnews" }%= will produce:
   159 <verbatim>
   160    * 2005-10-02 Final deployment of Dakar
   161    * 2005-10-01 Moving platform to Dakar
   162 </verbatim>
   164 This syntax also allows for nested sections. For example, given the following topic:
   165 <verbatim>
   166 %STARTSECTION{"outer"}%
   167    * Top Outer Text
   168 %STARTSECTION{"inner"}%
   169    * Inner Text
   170 %ENDSECTION{"inner"}%
   171    * Top Outer Text
   172 %ENDSECTION{"outer"}%
   173 </verbatim>
   175 Using =%<nop>INCLUDE{"SampleTopic" section="outer"}%= will produce:
   176 <verbatim>
   177    * Top Outer Text
   178    * Inner Text
   179    * Top Outer Text
   180 </verbatim>
   182 And =%<nop>INCLUDE{"SampleTopic" section="inner"}%= will produce:
   183 <verbatim>
   184    * Inner Text
   185 </verbatim>
   187 Overlapped sections are also allowed.
   189 ---+++ RSS Feeds
   190 RSS feeds have been enhanced to display links as links to make the feeds more useful. They also now use the web-specific logos.
   192 ---++ Notes for !TWikiAdmins and !WikiMasters
   194 ---+++ Upgrading
   195 See TWikiUpgradeGuide for help in upgrading an existing Cairo (Sep 2004) installation.
   197 ---+++ Security
   199 Dakar Release introduces the use of 'safe pipes' to prevent any malicious request from executing code on the server. This strategy stops any of the known attacks dead in its tracks. The Dakar codebase has not been impacted by any of the recent security advisories in any way. Several public sites have been running Dakar code for some months now, and to the best of our knowledge none has been hacked.
   201 ---+++ CPAN Requirements
   203 CPAN:Text::Diff is a prerequisite for the !UpgradeTWiki script only. CPAN:URI is a prerequisite for =configure=. Other new prerequisites are CPAN:CGI::Session and CPAN:CGI::Cookie, if you want to take advantage of the new session support.
   205 If you want user interface internationalization support, CPAN:Locale::Maketext::Lexicon and CPAN:Encode (in perl 5.8's core) are required, as well as perl 5.8 or higher. See TWiki:Codev.UserInterfaceLocalisation for details on TWiki internationalization support.
   207 ---+++ Installation and configuration
   209 The installation and configuration processes have been simplified.
   211 ---++++ setlib.cfg
   212 The installer should now provide a file called =LocalLib.cfg= that contains local path settings. =setlib.cfg= contains documentation of what has to be done. Old =setlib.cfg= files *will not work* with Dakar.
   214 ---++++ TWiki.cfg
   215 =TWiki.cfg= now contains all the default configuration settings, and the installer should provide a file called =LocalSite.cfg= that contains just those settings that are different than the defaults. The syntax of the settings in the file has also changed. Old =TWiki.cfg= files *will not work* with Dakar. The !UpgradeTWiki script can be used to automate most of the necessary changes.
   217 ---++++ =testenv= / =configure=
   218 =testenv= has been removed, and replaced with the new =configure= interface. This interface performs all the checking functions of the old =testenv=, adds several new ones (including permissions checks) and also acts as a browser interface allowing you to do *all* TWiki configuration from the browser. =configure= is now the main installation interface for TWiki.
   220 The =configure= script can be used like the old =testenv= for public review of the configuration of the site. Saving from the interface is password-protected, using a password set in the configuration files, so to ordinary users =configure= just looks like a posh version of =testenv=. If you want to hide your configuration from public view, you can restrict access to the script using webserver access controls (Apache users see the Apache documentation on the 'require' directive for more infomation on how to do this).
   222 ---++++ =configure= optional features
   224 New optional features include {AutoAttachPubFiles} and {EnableHierarchicalWebs}. Both are switched off by default but can be enabled in =configure=.
   226 ---++++ Improved support for shorter URLs
   228 See TWiki:TWiki.ShorterUrlCookbook
   230 ---+++ Preferences
   232 There have been some significant changes to the handling of preferences, aimed at making them more logical, consistent and easy to use.
   234 ---++++ Changes to the evaluation order
   235 The rules for preference evaluation (whether the user setting overrides the topic setting etc) have
   236 always been a bit confusing and difficult to use. For example, a topic setting would override a user setting, but
   237 a user setting would override a web setting, making per-web settings awkward to use. Mainly due to the introduction
   238 of hierarchical webs, preferences are now evaluated in the following order:
   239    1 Topic
   240    1 Web
   241    1 Parent Web(s) (if appropriate. All parent webs are evaluated in bottom-up order)
   242    1 Session
   243    1 User
   244    1 Local Site (as set in {LocalSitePreferences}, typically =%<nop>MAINWEB%.TWikiPreferences))
   245    1 Default (as set in {SitePrefsTopic}, typically =%<nop>TWIKIWEB%.TWikiPreferences))
   246 This is a change from previous versions, where the User preferences were evaluated between the topic and the web.
   248 Note that a user can still dictate preference values that can't be overridden by the topic or the web
   249 level settings, but they will now need to set those preferences as FINALPREFERENCES.
   250 You can use =%<nop>ALLVARIABLES%= in a topic to get a dump of all preferences set in that context.
   252 Permissions controls are not affected by this change.
   254 ---++++ Preferences Plugin
   255 TWiki:Plugins.PreferencesPlugin has been included to allow more convenient editing of preferences. This plugin provides input controls, such as menus, radio buttons, and checkboxes to select preference settings.
   257 The following standard preferences have been removed: [[%SCRIPTURLPATH{"search"}%?scope=text&web=all&order=topic&search=%25MAILTHISTOPIC%25&casesensitive=on&limit=all][MAILTHISTOPIC]], [[%SCRIPTURLPATH{"search"}%?scope=text&web=all&order=topic&search=%25MAILTHISTOPICTEXT%25&casesensitive=on&limit=all][MAILTHISTOPICTEXT]], [[%SCRIPTURLPATH{"search"}%?scope=text&web=all&order=topic&search=%25TOPICURL%25&casesensitive=on&limit=all][TOPICURL]], [[%SCRIPTURLPATH{"search"}%?scope=text&web=all&order=topic&search=%25READTOPICPREFS%25&casesensitive=on&limit=all][READTOPICPREFS]], [[%SCRIPTURLPATH{"search"}%?scope=text&web=all&order=topic&search=%25TOPICOVERRIDESUSER%25&casesensitive=on&limit=all][TOPICOVERRIDESUSER]]  (click on the name to search for occurrences on this site). If they are in use on your site, you can restore them to their Cairo settings by simply cutting and pasting the old definitions.
   259 ---++++ {LocalSitePreferences} (was <nop>%MAINWEB%.TWikiPreferences)
   261 Customized site preferences can now be saved in the {LocalSitePreferences} topic which will override settings in {SitePrefsTopicName}. This simplifies upgrades as you can overwrite the {SitePrefsTopicName} topic and gain any new or updated preference settings without losing your local customizations.
   263 ---++++ =FAVICON=
   265 =favicon.ico= is a small graphic that _can_ appear in a variety of places in the browser: the titlebar, the taskbar, the address bar, bookmarks/favourites, and page tabs.  Each web browser has a unique user interface, and as a result uses the Favicon in different ways.  _Most_ browsers display it in _most_ of the locations listed.
   267 Out of the box, TWiki is configured to easily customise the =favicon.ico= for each web.  To switch to a new =favicon.ico=, upload it to the desired web's <nop>WebPreferences.
   268       * <nop>Set FAVICON = %PUBURLPATH%/%WEB%/WebPreferences/favicon.ico
   270 To provide a single, site-wide =favicon.ico=, hardcode a specific web, for example:
   271       * <nop>Set FAVICON = %PUBURLPATH%/%TWIKIWEB%/WebPreferences/favicon.ico
   275 Normally, if you make another edit within a one hour period (was =$editLockTime= in =lib/TWiki.cfg=, now ={ReplaceIfEditedAgainWithin}=), TWiki will fold together your changes.  This is often the "right thing to do", as it can reduce the visual clutter of diffs.
   277 The "Force New Revision" checkbox is a way to force it to create a separate revision each time you save.
   279 The [[%TWIKIWEB%.TWikiPreferences]] variable =FORCENEWREVISIONCHECKBOX= controls whether this is checked by default or not.
   281 On a related note, you can force __every__ save to be a new revision number by editing =lib/TWiki.cfg= and setting =={ReplaceIfEditedAgainWithin}== to 0.
   283 NOTE: Although this feature is being introduced in this release, it is also being deprecated at the same time.  TWiki:Codev.EdinburghRelease is planned to provide the ability to elide revisions at the GUI level, rather than the Store level, thus obviating the need for this stopgap measure.
   287 Each web can have its own customised logo.  The simplest way is to upload a =logo.gif= to a web's <nop>WebPreferences, and it will appear in the top-left corner.
   289 To change the logo's filename, set the =WEBLOGONAME= variable.  You'll especially need to do this if you use a different logo file format:
   290       * <nop>Set WEBLOGONAME = !MyLogo.jpg
   292 If you don't want to have custom logos on a per-web basic, but instead want to use a single, site-wide logo, hardcode a specific web in the =WEBLOGOURL= variable.  For example:
   293       * <nop>Set WEBLOGOURL = %<nop>PUBURLPATH%/%MAINWEB%/WebPreferences/logo.png
   297 These variables are now more closely associated with =WIKITOOLNAME=.  If you change =WIKITOOLNAME=, you'll probably want to change these variables, too.  =WIKILOGOIMG=, =WIKILOGOURL=, =WIKILOGOALT=, and =WIKITOOLNAME= are now used more consistently together.
   299 ---+++ Final Preferences
   301 The =FINALPREFERENCES= setting prevents particular preference settings from being over-ridden at a lower level. The hierarchy of how =FINALPREFERENCES= settings are applied has been clarified/formalized as reflected in the following chart:
   302 | *Level* | *Set By* | *Local site examples* |
   303 | default site | !%TWIKIWEB%.TWikiPreferences or !%WIKIPREFSTOPIC%  | %TWIKIWEB%.%WIKIPREFSTOPIC% |
   304 | local site | !%MAINWEB%.TWikiPreferences or !%LOCALSITEPREFS%  | %LOCALSITEPREFS% |
   305 | web | !WebPreferences  | %WEB%.%WEBPREFSTOPIC% |
   306 | user | In one's user topic  | %WIKIUSERNAME% |
   307 | topic | "Edit topic preferences settings" under "More topic actions"  | %WEB%.%TOPIC% |
   309 By default, the site level =FINALPREFERENCES= are set in [[%LOCALSITEPREFS%]] so as not to conflict with preference settings in that topic.
   311 ---+++ =mod_perl= support improvements
   312 TWiki no longer uses global variables other than for constants. Each CGI script creates a new "session object" that holds all session-specific information.
   314 There is still an issue with the =@INC= path in =mod_perl=, that mainly impacts plugins that lazy-load modules. You should use the =PerlSetEnv= directive that =mod_perl= provides to make sure that your TWiki =lib= directory is permanently on the path, if you are using =mod_perl=.
   316 ---+++ Plugins
   317 Plugins are no longer searched for every time a TWiki script is run. Instead they are automatically discovered in =configure=. To enable and disable plugins, use the =configure= interface. The entire @INC path is searched for plugins, so you can easily point at plugins outside the installation. However only the first instance of a plugin on the @INC path will be found (it is a path, after all).
   319 =%<nop>INSTALLEDPLUGINS%= and =%<nop>DISABLEDPLUGINS%= are no longer supported in !TWikiPreferences. If you have set =%<nop>INSTALLEDPLUGINS%= in !TWikiPreferences, you need to move that setting into the ={PluginsOrder}= configuration key, using the =configure= interface. To disable plugins, uncheck them in the =configure= interface, and save the changes.
   321 %X% Whenever you install a plugin, make sure you check TWikiPlugins#FAILEDPLUGINS. Several handlers have been deprecated, and updates of the plugins may be required. Contact the plugin author directly to get an update if none is available on the web.
   323 ---+++ Logins, Logouts, Sessions and Passwords
   325 TWiki:Plugins.SessionPlugin and TWiki:Plugins.AuthPagePlugin have been integrated into the core. TWiki now supports cookied sessions, in the context of a much improved authentication architecture. The setup for authentication is now much simpler, and for most sites can be done entirely from the =configure= interface. There are some incompatibilities with TWiki:Plugins.SessionPlugin, with resepect to the in-line variables. See TWikiUserAuthentication in the release for full details of how authentication works now. TWiki also now supports the concept of pluggable password managers, making the integration of corporate authentication services much simpler.
   327 Administrators, especially of public sites, need to be aware of the security implications of cookied sessions, and the potential risks of cross-site scripting attacks that may be used to steal user sessions. See TWikiUserAuthentication for more details.
   329 ---+++ Protections
   331 The evaluation of protections has been re-worked to make it more naturally understandable, and also fill a number of holes in the protection scheme, These holes meant that it was relatively easy to _deny_ access to a topic, but rather difficult to subsequently _restore_ access without either compromising other topics, or compromising old revisions.
   333 When deciding whether to grant access, TWiki now evaluates the following rules in order (read from the top of the list; if the logic arrives at *PERMITTED* or *DENIED* that applies immediately and no more rules are applied). You need to read the rules bearing in mind that VIEW and CHANGE access may be granted/denied separately.
   334    1 If the user is a [[#SuperAdminGroup][super-user]]
   335       * access is *PERMITTED*.
   336    1 If DENYTOPIC is set to a list of wikinames
   337       * people in the list will be *DENIED*.
   338    1 If DENYTOPIC is set to _empty_ ( i.e. <tt>Set DENYTOPIC =</tt> )
   339       * access is *PERMITTED* _i.e._ no-one is denied access to this topic
   340    1 If ALLOWTOPIC is set
   341       1 people in the list are *PERMITTED*
   342       1 everyone else is *DENIED*
   343    1 If DENYWEB is set to a list of wikiname
   344       * people in the list are *DENIED* access
   345    1 If ALLOWWEB is set to a list of wikinames
   346       * people in the list will be *PERMITTED*
   347       * everyone else will be *DENIED*
   348    1 If you got this far, access is *PERMITTED*
   349 In addition, permissions set on a specific revision of a topic now _always_ apply to that revision, even if access to the topic is relaxed in a later revision. This change was necessary to prevent accidentally permitting access to sensitive data in old revisions.
   351 The major impact of this change is that !WebPreferences topics shipped with earlier releases of TWiki will have excessively restrictive controls, as the default settings were:
   352    * <nop>Set DENYWEBVIEW =
   353    * <nop>Set ALLOWWEBVIEW =
   354       * This will now _deny_ view access to everyone _not_ in the list (i.e. everyone except admins)
   355    * <nop>Set DENYWEBCHANGE =
   356    * <nop>Set ALLOWWEBCHANGE =
   357       * This will now _deny_ change access to everyone _not_ in the list (i.e. everyone except admins)
   358    * <nop>Set ALLOWTOPICCHANGE =
   359       * This will now _deny_ change access to everyone _not_ in the list (i.e. everyone except admins)
   361 The standard webs shipped with this release have these settings disabled. However you are likely to have inherited the old default settings in your user webs. The easiest way to deal with this is to simply insert a # sign in these settings; for example:
   362    * #Set DENYWEBVIEW =
   363    * #Set ALLOWWEBVIEW =
   364    * _etc_
   366 %RED%Note:%ENDCOLOR% For security reasons, the [[Trash.WebHome][Trash]] web is shipped with =ALLOWWEBVIEW= set to empty (so it is only viewable by admins).
   368 ---++++ Site Permissions Overview
   370 The SitePermissions topic gives you a quick view of the permissions on each web  - i.e. it aggregates ALLOWWEB* etc. into a handy table. It is also installed on as TWiki:TWiki.SitePermissions.
   372 ---+++ Frustrating Robots and Spammers
   373 Standard TWiki incorporates some simple measures to protect e-mail addresses and control the activities of benign robots. These should be enough to handle intranet requirements. Administrators of public (internet) sites are *strongly* recommended to investigate the TWiki:Plugins/BlackListPlugin.
   375 ---+++ New User Registration
   377 The new user registration process has been extensively reworked to improve usability and security of the registration process.
   378    1 !FirstName and !LastName are recorded separately and tabulated. See %MAINWEB%.UserListByLocation
   379    1 Sends a e-mail that the user has to respond to; registration data is staged until this is done
   380    1 Populates a form in the user topic, if there is one in the !NewUserTemplate. If there is no form, then bullets are used, as in pre-Dakar TWiki.
   381    1 Sends different e-mails to the WIKIWEBMASTER and the USER, with the users containing the password unless {HidePasswdInRegistration} is set.
   382    1 There is now a mechanism for bulk registration, with callbacks for augmentation (e.g. from other sources).
   383    1 Absorbed TWiki:Codev.ResetPasswordByEmail.
   384    1 Obsoleted TWiki:Codev.InstallPassword
   386 ---+++ E-mail addresses
   388 E-mail addresses for new users are no longer stored in home topics. Instead, the password manager API has been extended to support storing e-mails.
   390 The default password manager stores e-mails in the =.htpasswd= file - you can safely edit this file with a text editor to modify the info field that contains the e-mail addresses (the format of each line in this file is =&lt;username>:&lt;password>:&lt;info>=, and TWiki expects the info field to be a ;-separated list of e-mail addresses). Password managers for other systems e.g. LDAP can esily be extended to support the new API. If the password manager does not have an e-mail address for a user, then TWiki will still look in the users' personal topic.
   392 The script =tools/ can be used to extract e-mail addresses for existing TWiki users from personal topics, and add them to the password manager.
   393    * You are strongly recommended to run this script if you are running a public site.
   394    * It will not modify existing personal topics.
   395    * The script will tell you if any users are found that don't have an e-mail.
   396    * You can re-run the script as many times as you like; once the password manager has an e-mail for a user, the e-mail in their personal topic is ignored.
   397 You should also advise all your registered users to make sure they have a valid e-mail. They can do this by logging in and visiting ChangeEmailAddress.
   399 ---+++ Change notification support
   400 The old =mailnotify= script has been retired in favour of the !MailerContrib. See MailerContrib for information about functional changes.
   402 ---+++ Site Changes Summary
   404 The SiteChanges topic mimics's TWiki:Codev:WebChangesForAllWebs - i.e. it shows a WebChanges view across a whole site. It's name was chosen to parallel !SiteMap; at some point you can expect the arrival of !SiteStatistics too.
   406 ---+++ What's a Web
   407 Old versions of TWiki would consider all subdirectories of the TWiki data directory to be webs. This behaviour has changed; now only subdirectories that contain a web preferences topic (=WebPreferences.txt=) will be considered to be webs. This may result in directories that used to return search matches no longer doing so.
   409 ---+++ Disable &lt;script&gt; tags
   410 In recognition of security concerns around &lt;script&gt; tags, the administrator has the choice whether to allow users to add script to topics or not. See the ={AllowInlineScript}= setting in the *Security* section of =[[%SCRIPTURLPATH{"configure"}%][configure]]=.
   412 ---++ Notes for !TWikiApplication Developers
   414 ---+++ Space/Tab conversion
   416 Previous TWiki versions would automatically convert three spaces at the start of lines to a tab when the topic was saved. This meant that the saved topic was _not_ the same as the edited topic, which could result in considerable confusion. This conversion has been disabled, and the saved topic is now exactly what you see in the editor. One impact of this change is that any add-on scripts you may have developed that rely on bulleted list lines starting with a tab will no longer work. They must be adapted to treat groups of three spaces and single tabs as equivalent.
   418 ---+++ Evaluation order of !TWikiVariables
   420 In previous TWiki versions the evaluation order of =%<nop>VARIABLE%s= depended on where they were expanded in the code. The parser was somewhat crude, and could easily be confused when embedded variables (variables embedded in the parameters of other variables) were used.
   422 The parser has been replaced in Dakar with a deterministic variable parser with predictable behaviour. Specifically, variables are now always evaluated left to right and inside out. For example, consider =%<nop>VAR2{ "%<nop>VAR1{ "%<nop>VAR0{ "params" }%" }%" }% %<nop>VAR3%=. Previously, the expansion order would have depended on the order of expressions in the code, so the expansion may have proceeded VAR3 - VAR0 - VAR2 - VAR1. If you were lucky, this was the intended order. In Dakar, the order is now guranteed to be VAR0 - VAR1 - VAR2 - VAR3 (i.e. inside out and left to right).
   424 The main impact of this is that some !TWikiApplications may cease to work if they have been written to take advantage of the old chaotic order. There is no way to predict which will work and which will fail, so you will have to deal with this on a case-by-case basis. In most cases !TWikiApplication authors will have worked hard to do the "sensible thing" so instances of this problem should be rare.
   426 Note that because the TWiki spec allows double quotes within double-quoted strings in certain variable parameters it has been impossible to make the parser 100% deterministic. There may still be pathological cases where the parser may fail. In these cases, consider how open and close curly brackets are matched up.
   428 ---+++ Encoding of form-field values
   429 The encoding used to escape characters in form-field values has had to change. The old encoding could very easily be confused by text strings in data values. Existing topics with the old encoding will still be loaded into TWiki as before, but if edited they will be saved with the new encoding. This should not affect you unless you have searches that look for the old encodings; specifically, the %<nop>_G_%, %<nop>_Q_%, and %<nop>_P_% character sequences. Any such searches will not work any more, and need to be converted to search for the new encoding. Assuming they are =regex= type searches, you can use =(%<nop>_G_%|%0A)= to match encoded newlines in field data in both old and new format topics, =(%<nop>_Q_%|%22)= to match quotes, and =(%<nop>_P_%|25)= for percent signs.
   431 ---+++ &lt;script&gt; tags in topics
   432 Previous releases of TWiki would attempt to interpret the content of &lt;script&gt; tags in topics as TWiki formatting language, often resulting in non-functional scripts. This release protects script sections from expansion by TWiki. Note that this means that TWikiVariables will *not* be expanded in script tags - they are passed through _verbatim_.
   434 In recognition of security concerns around &lt;script&gt; tags, the administrator has the choice whether to allow users to add script to topics or not. Check the setting of ={AllowInlineScript}= in =[[%SCRIPTURLPATH{"configure"}%][configure]]= to see if it is allowed on your site. If not, script sections will simply disappear from topics.
   436 ---+++ &lt;verbatim&gt; tags in topics
   437 Previous releases required =verbatim= tags to be on their own line. TWiki can now deal with inline verbatim blocks such as
   439 <pre>
   440 blah&lt;verbatim&gt;inside&lt;/verbatim&gt;after
   441 </pre>
   442 results in
   444 blah<verbatim>inside</verbatim>after
   446 *NOTE:* VARIABLES are still Set within verbatim tags (this is a historical peculiarity)
   448 ---+++ =ALLVARIABLES=
   450 You can use =%<nop>ALLVARIABLES%= in a topic to get a dump of all variables set in that context. Invaluable for debugging those tricky !TWikiApplications!
   452 ---+++ =IF=
   454 The new =%<nop>IF()%= variable defines simple conditional statements that are evaluated at view time. This allows you to include content conditionally based on environmental factors. See IfStatements for more information on usage.
   457 ---+++ New =$count(reg-exp)= variable in Formatted Search
   459 This new variable for FormattedSearch returns the number of instances a specified RegularExpression occur in a topic. This is useful for such things as counting the number of comments on a page (assuming they are marked my a unique heading level).
   461 ---++ Notes for Skin Developers
   463 ---+++ Skin search path
   464 Earlier releases of TWiki only allowed for a single skin, so customising a single template in a skin meant deriving a whole new skin. Dakar introduces the concept of a skin search path, which lets you combine skins additively. For example, you can customise just the view template by defining a new =view.mylocalskin.tmpl= and then setting
   465    * =Set SKIN = mylocalskin,pattern=
   466 Since you have defined a view template for =mylocalskin=, it will be picked up when you view a topic because =mylocalskin= is first on the search path. But you didn't define =edit.mylocalskin.tmpl=, so when you edit the next skin on the search path will be used instead (in this case =edit.pattern.tmpl=). You can put as many skins on the search path as you like.
   468 As with older releases, setting SKIN (or the =skin= parameter in the URL) replaces the existing skin path setting. Dakar supports _extension_ of the path as well, using _covers_.
   470    * =Set COVER = mylocalskin=
   472 pushes a different skin to the front of the skin search path. There is also an equivalent =cover= URL parameter. For example, %SCRIPTURLPATH{"view"}%/%WEB%/WhatIsWikiWiki?cover=print.pattern. This gives you an extra level of flexibility when defining skins.
   474 See TWikiSkins for more information.
   476 ---+++ Supporting web names that are !WikiWords
   477 Although web names have been [[TWiki:Codev.WebNameAsWikiName][permitted to be WikiWords]] since the TWiki:Codev.CairoRelease, the base templates have been [[TWiki:Codev.DefaultTemplatesSupportWebNameAsWikiWord][fixed]] for Dakar.
   479 Skins should be upgraded if they have standalone =%<nop>WEB%= variables; only standalone =%<nop>WEB%= text that potentially could be turned into a link (because of a WikiWord) needs to be escaped. Same for =%<nop>MAINWEB%= and =%<nop>TWIKIWEB%=.
   481 Examples:
   483    * =%<nop>WEB%= -- needs to be escaped with =&lt;nop&gt;%<nop>WEB%=
   484    * =(%<nop>WEB%)= -- needs to be escaped because of parenthesis
   485    * ="%<nop>WEB%"= -- no need to escape, does not get linked
   486    * =&lt;b&gt;%<nop>WEB%&lt;/b&gt;= -- no need to escape, does not get linked
   487    * =%<nop>WEB%.%<nop>TOPIC%= -- no need, is a =Web.TopicName=
   488    * =(%<nop>WEB%.%<nop>TOPIC%)= -- no need, is a =Web.TopicName=
   490 Basically, any prefix other then space and parenthesis needs to be looked at. =%<nop>WEB%= in a =%<nop>SEARCH%= should not be escaped.
   492 ---+++ Deprecation of %<nop>EDITTOPIC%
   493 In Cairo release (and earlier) the only way to have an edit link that changed with the context was to use =%<nop>EDITTOPIC%=. This was only available in view templates, and had no flexibility in formatting. It was also impossible to disable other active links, such as Attach.
   495 Dakar release includes new support for "context if" parameters to the =%<nop>TMPL:P%= construct. See TWikiTemplates for details. The default templates shipped with Dakar have been modified to use this support. %<nop>EDITTOPIC has been deprecated, though it is still available as a simple edit link, defined in TWikiPreferences. Skin authors are strongly recommended to replace this link with context-if conditionals.
   497 ---+++ Template Parameters
   498 =%<nop>TMPL:P%= now accepts parameters. Values passed in these parameters will be expanded when the =%TMPL:DEF%= is instantiated. See TWikiTemplates for full details. (Remember, this happens at template expansion time, which is usually very early in the rendering process.)
   500 ---+++ HTTP and HTTPS
   501 These two new !TWikiVariables give access to the HTTP headers sent by your browser. For example, your browser says your browser is %HTTP:{"User-Agent"}% (this will be filled in if you are running Dakar).
   503 ---+++ QUERYSTRING
   504 This new !TWikiVariable gives access to the full query string from the URL sent to your browser. For example, for the URL =%SCRIPTURLPATH{"view"}%/%WEB%/%TOPIC%?make=Reliant&model=Robin=, the query string is =?make=Reliant;model=Robin= (yes, the semicolon is correct!)
   506 ---++ Notes for Plugin Developers
   508 ---+++ Changes to variable parsing
   509 In earlier TWiki versions there was considerable confusion over the syntax and semantics of Preferences, TWiki Variables, and Plugin variables. The documentation suggested that all %VARIABLES% were equal, but in fact some were more equal than others.
   511 The syntax and semantics of preferences and TWikiVariables has been made consistent. =%<nop>VARIABLE%= has been made semantically identical to =%<nop>VARIABLE()%=, so if you set a preference named =%<nop>VARIABLE%= it will automatically be instantiated in place of =%<nop>VARIABLE{}%=. This is an elegant solution in several ways: first, it allows an administrator to electively disable !TWikiVariables, simply by defining an overriding preference. Second, it rationalises the semantics in line with the common syntax. Third, it allows a single parser to do all the work, allowing localised optimisation. Fourth, it prevents a plugin from accidentally kidnapping system TWikiVariables (while this can still be done by registering a tag handler, it's a much more explicit process). Fifth, the ground rules are set for a possible future extension to support parameterised TWikiVariables e.g.
   512    * =Set CAR{make model accessory} = I drive %make% %model% with %accessory% in my dreams=
   513 =%CAR{make="an Aston Martin" model="DB9" accessory="a gorgeous blonde"}%=
   515 ---+++ Internals
   517 A lot of the TWiki internals have changed. As a result, plugins that bypass the =TWiki::Func= API and call core functions directly are unlikely to work.
   519 The restructuring of the code internals is such that there are no 1:1 equivalents for the old core functions. Only the TWiki::Func API is guaranteed to work.
   521 You should convert your plugins to call the =TWiki::Func= API. If you have called unpublished functions that have no equivalent in =TWiki::Func=, then you may still be able to call the function via the TWiki "session" object, =$TWiki::Plugins::SESSION=. See the implementation of the =TWiki::Func= module for ideas on how to do this. However calling internals is *not* recommended, even using this new mechanism, as they are liable to change without prior notice.
   523 ---+++ Extensions to the Func API
   525    * The =TWiki::Func= API has been extended to expose a number of new core functions. Review TWikiFuncDotPm for details.
   526    * The =TWiki::Meta= API, which was previously for internal core use only, has now been exposed and may be used in plugins. See TWikiMetaDotPm for full details.
   527    * Plugins which observed the existing published API (TWiki::Func) should continue to work.
   529 ---++ TWiki 4.0.1 Patch Release Details
   530 <!-- do not use Bugs: interwiki links because interwiki rule might not be defined
   531    * Set BUGS =
   532 -->
   533 <noautolink>
   534 The following fixes have been addressed in this release:
   536 ---+++ TWiki 4.0.1 Fixes
   537 | [[%BUGS%/Item1597][Item1597]] | configure shows text outside the text boxes - thanks KoenMartens |
   538 | [[%BUGS%/Item1592][Item1592]] | Whoops, deprecated syntax was both alive and documented, trying something else |
   539 | [[%BUGS%/Item1592][Item1592]] | Killing some never documented syntax, allowing for more flexibility in explicit external [[]]-style links |
   540 | [[%BUGS%/Item1591][Item1591]] | Friendly fallback added to meta-&gt;getParent() |
   541 | [[%BUGS%/Item1591][Item1591]] | small fix to parent search but bug remains |
   542 | [[%BUGS%/Item1590][Item1590]] | Don't loose old TOPICPARENT on save |
   543 | [[%BUGS%/Item1589][Item1589]] | Don't report cfg-files as non-executable |
   544 | [[%BUGS%/Item1587][Item1587]] | Including in distro |
   545 | [[%BUGS%/Item1583][Item1583]] | Cairo compatibility for rev argument syntax |
   546 | [[%BUGS%/Item1579][Item1579]] | corrected spanish access key. |
   547 | [[%BUGS%/Item1574][Item1574]] | Tidying up e-mail split |
   548 | [[%BUGS%/Item1574][Item1574]] | Split only on , not on spaces when sending e-mail |
   549 | [[%BUGS%/Item1572][Item1572]] | made  optional - thus removing the horrible slowdown it causes from the main loop |
   550 | [[%BUGS%/Item663][Item663]] | Fix %<nop>MAINWEB%.TWikiPreferences to %<nop>LOCALSITEPREFS%; remove %<nop>TWIKIWEB% prefix where not needed |
   551 | [[%BUGS%/Item663][Item663]] | doc merge: GNU patch requirement |
   552 | [[%BUGS%/Item240][Item240]] | layout of more screen; added line "Current parent" with 2 searches inside IF - must be a more efficient way but how? |
   553 | [[%BUGS%/Item240][Item240]] | just to be sure: replacing MAKETEXT text with English, to be translated later. |
   554 | [[%BUGS%/Item240][Item240]] | removes unwanted left border in non-view pages |
   555 | Item000 | replaced 9 tabs by 9 x 3 spaces |
   556 | Item000 | Typo in |
   557 | Item000 | Committed a whole lot of local setup by accident, reverting - sorry folks |
   558 | Item000 | Typo fix in |
   559 | Item0 | Untainting the tainted title |
   560 </noautolink>
   562 The 4.0.1 release was built from SVN revision *8740*.
   564 ---++ TWiki 4.0.2 Patch Release Details
   566 <noautolink>
   567 The following fixes and minor enhancements have been addressed in this release:
   569 ---+++ TWiki 4.0.2 Fixes
   570 | [[%BUGS%/Item2004][Item2004]] | Syntax error in |
   571 | [[%BUGS%/Item1983][Item1983]] | Search box bust when searching for WikiWords |
   572 | [[%BUGS%/Item1978][Item1978]] | fails when the name field is [<nop>[Topic][fieldname]] for controls |
   573 | [[%BUGS%/Item1971][Item1971]] | Not possible to INCLUDE javascript from external sites |
   574 | [[%BUGS%/Item1963][Item1963]] | "public" in WEBLIST should include all webs if the user is an admin |
   575 | [[%BUGS%/Item1961][Item1961]] | LANGUAGES variable very slow |
   576 | [[%BUGS%/Item1958][Item1958]] | RSS feed mentions the TWikiAdministrator as creator |
   577 | [[%BUGS%/Item1951][Item1951]] | Excluding topic from SEARCH does not exclude WebHome (Doc improvement) |
   578 | [[%BUGS%/Item1950][Item1950]] | Denial of Service attack very easy on both Cairo and Dakar |
   579 | [[%BUGS%/Item1944][Item1944]] | Add Comment to Configure Page - AuthScripts section |
   580 | [[%BUGS%/Item1937][Item1937]] | rename script doesn't honour access control restrictions |
   581 | [[%BUGS%/Item1935][Item1935]] | preview script ignores access control settings |
   582 | [[%BUGS%/Item1925][Item1925]] | rdiff and changes scripts ignore access settings |
   583 | [[%BUGS%/Item1921][Item1921]] | Merging 3part duplicates the text screwing up the page |
   584 | [[%BUGS%/Item1920][Item1920]] | Hide form twisty gives poor usability for TWiki apps that use the form |
   585 | [[%BUGS%/Item1912][Item1912]] | 3-way merge doesn't call the plugins merge handler |
   586 | [[%BUGS%/Item1911][Item1911]] | Small typo correction in MANIFEST for |
   587 | [[%BUGS%/Item1909][Item1909]] | TWiki.pot should be included in distribution |
   588 | [[%BUGS%/Item1903][Item1903]] | Special chars not escaped in registration |
   589 | [[%BUGS%/Item1902][Item1902]] | New chars to escape during registration |
   590 | [[%BUGS%/Item1900][Item1900]] | Compatibility issue: variables only work when upper case. |
   591 | [[%BUGS%/Item1899][Item1899]] | statistics ignore pages with dashes and underscores |
   592 | [[%BUGS%/Item1898][Item1898]] | configure is unhelpful if rcs is not installed |
   593 | [[%BUGS%/Item1897][Item1897]] | Simultaneous edit feature is not at all reliable. |
   594 | [[%BUGS%/Item1896][Item1896]] | Skin fallback not working |
   595 | [[%BUGS%/Item1895][Item1895]] | $topic not substituted right in INCLUDEWARNING |
   596 | [[%BUGS%/Item1882][Item1882]] | "Plural to singular" unmarked breaks documentation |
   597 | [[%BUGS%/Item1878][Item1878]] | FORMLIST in generates invalid html |
   598 | [[%BUGS%/Item1871][Item1871]] | Attachment table broken with version history |
   599 | [[%BUGS%/Item1864][Item1864]] | "Modify search" link in search results not working |
   600 | [[%BUGS%/Item1863][Item1863]] | missing oopslanguagechanged template |
   601 | [[%BUGS%/Item1853][Item1853]] | Sandbox doesn't report full errors for command execution on Windows |
   602 | [[%BUGS%/Item1850][Item1850]] | checkPassword not checkPasswd |
   603 | [[%BUGS%/Item1849][Item1849]] | Typo in code: checkPassword not checkPasswd, so remove user does not work |
   604 | [[%BUGS%/Item1848][Item1848]] | .htaccess.txt internal documentation unclear |
   605 | [[%BUGS%/Item1840][Item1840]] | Inadequate upgrade documentation |
   606 | [[%BUGS%/Item1838][Item1838]] | commonTagHandler garbles square bracket links in WebTopBar |
   607 | [[%BUGS%/Item1830][Item1830]] | Rename web does not work |
   608 | [[%BUGS%/Item1829][Item1829]] | the templates for SEARCH are broken |
   609 | [[%BUGS%/Item1820][Item1820]] | Reproducible case of not being able to log out |
   610 | [[%BUGS%/Item1819][Item1819]] | tainted username prevents exec() |
   611 | [[%BUGS%/Item1803][Item1803]] | Sorting bugs by merge field causes an internal error |
   612 | [[%BUGS%/Item1789][Item1789]] | User::isAdmin can create an empty SuperAdminGroup |
   613 | [[%BUGS%/Item1788][Item1788]] | Formatted search does not return values that are zero |
   614 | [[%BUGS%/Item1787][Item1787]] | <nop>I18N: Translation updates for 4.0.2 / new PatternSkin |
   615 | [[%BUGS%/Item1781][Item1781]] | Allow admin users to change passwords and mail addresses |
   616 | [[%BUGS%/Item1778][Item1778]] | Registration gives strange TWiki vars in user topic |
   617 | [[%BUGS%/Item1771][Item1771]] | Error message 'Oh dear' in warnyyyymm.txt isn't helpful |
   618 | [[%BUGS%/Item1743][Item1743]] | Attachment sort order is cockeyed |
   619 | [[%BUGS%/Item1729][Item1729]] | Better localisation of variable in |
   620 | [[%BUGS%/Item1724][Item1724]] | Attach: FILENAME AND FILEPATH not showing the file name with non-alpha characters |
   621 | [[%BUGS%/Item1720][Item1720]] | Save script fails on old topic when sole argument is topicparent and there's a mandatory field in the form. |
   622 | [[%BUGS%/Item1714][Item1714]] | quotes in attachment comment break manage form |
   623 | [[%BUGS%/Item1687][Item1687]] | Must set TWiki::Plugins::SESSION before invoking registered tag handler |
   624 | [[%BUGS%/Item1677][Item1677]] | STARTSECTION/ENDSECTION variables being stripped from templates |
   625 | [[%BUGS%/Item1672][Item1672]] | Change PatternSkin to use non-table based layout |
   626 | [[%BUGS%/Item1657][Item1657]] | RenderListPlugin broken. The case where you draw a tree view does not work |
   627 | [[%BUGS%/Item1654][Item1654]] | mailnotify does not enter the command_line context |
   628 | [[%BUGS%/Item1652][Item1652]] | REVINFO{$time} should display time, not date - time |
   629 | [[%BUGS%/Item1649][Item1649]] | TWikiJavascripts prototype.js causes crash on Internet Explorer. |
   630 | [[%BUGS%/Item1645][Item1645]] | Someweb.WebTopicEditTemplate topic does not exist |
   631 | [[%BUGS%/Item1636][Item1636]] | ResetPasswd deletes email entry in .htpasswd |
   632 | [[%BUGS%/Item1634][Item1634]] | Pattern Skin in Dakar: verbatim text and large images makes everything wider than the screen. |
   633 | [[%BUGS%/Item1624][Item1624]] | FORMFIELD variable always expands to value of most recent topic revision |
   634 | [[%BUGS%/Item1623][Item1623]] | PatternSkin: WebLeftBar border margin |
   635 | [[%BUGS%/Item1621][Item1621]] | beforeSaveHandler not functioning correctly |
   636 | [[%BUGS%/Item1619][Item1619]] | Label form field content destroyed |
   637 | [[%BUGS%/Item1616][Item1616]] | inaccurate password_changed message |
   638 | [[%BUGS%/Item1611][Item1611]] | Generic doc work for TWiki 4.0.2 |
   639 | [[%BUGS%/Item1610][Item1610]] | Configure script corrupts NameFilter (Unmatched Bracket in Regex) |
   640 | [[%BUGS%/Item1608][Item1608]] | TOC{"MyTopic" web="MyWeb" } no longer forwards |
   641 | [[%BUGS%/Item1599][Item1599]] | "Upgrading a Beta" documentation errors |
   642 | [[%BUGS%/Item1595][Item1595]] | WebTopicCreator disallows topic names containing numbers |
   643 | [[%BUGS%/Item1587][Item1587]] | script missing in TWiki 4 distro |
   644 | [[%BUGS%/Item1583][Item1583]] | INCLUDE of a topic of a specific revision is not backwards compatible. |
   645 | [[%BUGS%/Item1579][Item1579]] | Incorrect properties in the Discard button in the action bar for the spanish translation |
   646 | [[%BUGS%/Item1574][Item1574]] | Registration process tries to send extra emails |
   647 | [[%BUGS%/Item1566][Item1566]] | DakarReleaseNotes.html and TWikiDocumentation.html not included in distribution of TWiki4.0 |
   648 | [[%BUGS%/Item1553][Item1553]] | Clean up "oops attention: merge_notice" |
   649 | [[%BUGS%/Item1515][Item1515]] | Localise formatting help |
   650 | [[%BUGS%/Item1430][Item1430]] | inconsistent width constraints on topbar and content area |
   652 ---+++ TWiki 4.0.2 Enhancements
   653 | [[%BUGS%/Item1964][Item1964]] | Configurable user homepage layout |
   654 | [[%BUGS%/Item1960][Item1960]] | WebRss lacks search options |
   655 | [[%BUGS%/Item1956][Item1956]] | Cleaned up Plugins.EmptyPlugin |
   656 | [[%BUGS%/Item1926][Item1926]] | Usability: Add tabindex + setfocus to template login form in TWiki.PatternSkin |
   657 | [[%BUGS%/Item1801][Item1801]] | Improved doc |
   658 | [[%BUGS%/Item1728][Item1728]] | increase security by defaulting "send password" in email off |
   659 | [[%BUGS%/Item1689][Item1689]] | Add more colors for text ink in Plugins.WysiwygPlugin |
   660 | [[%BUGS%/Item1148][Item1148]] | Consistent buttons in edit and editsettings |
   661 | [[%BUGS%/Item1147][Item1147]] | "Raw view" should turn into "Normal View" in raw mode |
   662 | [[%BUGS%/Item1146][Item1146]] | Two "Create" buttons |
   663 </noautolink>
   665 The 4.0.2 release was built from SVN revision *9626*.
   667 ---++ TWiki 4.0.3 Patch Release Details
   669 <noautolink>
   670 The following fixes and minor enhancements have been addressed in this release:
   672 ---+++ TWiki 4.0.3 Fixes
   673 | [[%BUGS%/Item668][Item668]] | _default web gives include error for WebLeftBar but the topic does exist |
   674 | [[%BUGS%/Item444][Item444]] | oops upload message with empty file is not intelligent |
   675 | [[%BUGS%/Item2530][Item2530]] | Prevent infinite recursion in TMPL:INCLUDE when including generic templates |
   676 | [[%BUGS%/Item2528][Item2528]] | Support for shortest view URLs |
   677 | [[%BUGS%/Item2524][Item2524]] | Make templates independent on TablePlugin |
   678 | [[%BUGS%/Item2509][Item2509]] | Render::getRenderedVersion converts translation token |
   679 | [[%BUGS%/Item2487][Item2487]] | Re-introducing attachment table list count |
   680 | [[%BUGS%/Item2481][Item2481]] | Need a configure data type to select a pluggable class (like TWiki::Store::*) |
   681 | [[%BUGS%/Item2476][Item2476]] | Topic action buttons shown with search result |
   682 | [[%BUGS%/Item2472][Item2472]] | Get user web name from config and not from registration form |
   683 | [[%BUGS%/Item2469][Item2469]] | TWikiAdminGroup definition topic must be called TWikiAdminGroup (not configurable) |
   684 | [[%BUGS%/Item2467][Item2467]] | Non-existing abbreviations in other than current web have web part stripped (AAA.BBB.FFF renders as FFF) |
   685 | [[%BUGS%/Item2464][Item2464]] | Definition of a group always requires "Group" in the group name |
   686 | [[%BUGS%/Item2463][Item2463]] | rdiff should show HTML comments |
   687 | [[%BUGS%/Item2441][Item2441]] | Func::getWikiToolName documentation is incorrect |
   688 | [[%BUGS%/Item2439][Item2439]] | Rename TWikiRelease04x00x00.html to TWikiRelease04x00.html |
   689 | [[%BUGS%/Item2436][Item2436]] | PatternSkin does not support PAGEBGCOLOR |
   690 | [[%BUGS%/Item2427][Item2427]] | viewfile delivers .tgz files as text (wrong mime type) |
   691 | [[%BUGS%/Item2426][Item2426]] | ICONTOPIC variable: Incorrect value deadlocks topic (no edit possible) |
   692 | [[%BUGS%/Item2422][Item2422]] | Inconsistent <nop>LocalSite.cfg.txt settings |
   693 | [[%BUGS%/Item2421][Item2421]] | Rename: Referrer topics need to be linked explicit |
   694 | [[%BUGS%/Item2409][Item2409]] | Form field checkbox option lost on topic edit |
   695 | [[%BUGS%/Item2402][Item2402]] | Sandbox not aware of <nop>I18N for user names |
   696 | [[%BUGS%/Item2399][Item2399]] | statistics does not like date variable sent to it because its tainted |
   697 | [[%BUGS%/Item2395][Item2395]] | Always show e-mail addresses to admins (USERINFO / HideUserDetails setting) |
   698 | [[%BUGS%/Item2394][Item2394]] | Allow registration without a running e-mail service (error during registration using TWiki::Net::_sendEmailBySendmail) |
   699 | [[%BUGS%/Item2390][Item2390]] | beforeAttachmentSaveHandler is broken on Solaris and RedHat |
   700 | [[%BUGS%/Item2380][Item2380]] | Logins / logouts with template login does not work with <nop>I18N topic names |
   701 | [[%BUGS%/Item2379][Item2379]] | Inconsistent meta data in registration |
   702 | [[%BUGS%/Item2369][Item2369]] | WIKIUSERNAME incorrectly expanded |
   703 | [[%BUGS%/Item2365][Item2365]] | Email address handling for registration and in users homepage is confusing and not working |
   704 | [[%BUGS%/Item2356][Item2356]] | in sequential rdiff a changed region is classified as twikiDiffAdd* |
   705 | [[%BUGS%/Item2353][Item2353]] | Cannot lock out re-registration by using htpasswd file anymore |
   706 | [[%BUGS%/Item2352][Item2352]] | Support secret values in configure (display stars for passwords) |
   707 | [[%BUGS%/Item2347][Item2347]] | Statistics without params updates only Main web |
   708 | [[%BUGS%/Item2339][Item2339]] | Unable to cleanly turn off WEBHEADERART completely causing unexpected major problems |
   709 | [[%BUGS%/Item2338][Item2338]] | Improve doc on session vars to preclude override of perms |
   710 | [[%BUGS%/Item2336][Item2336]] | Using htpasswd on the command line wipes out email address in .htpasswd file |
   711 | [[%BUGS%/Item2333][Item2333]] | TWiki::Func::readAttachment my line shows wrong parameters |
   712 | [[%BUGS%/Item2332][Item2332]] | GoodStyle talks about "Initials"; obsolete |
   713 | [[%BUGS%/Item2331][Item2331]] | Calling a speedy-fied view cgi from the commandline breaks template login |
   714 | [[%BUGS%/Item2327][Item2327]] | TWiki on Apache 2.0 hangs (Diab's TWikiOnApache2dot0Hangs patch) |
   715 | [[%BUGS%/Item2324][Item2324]] | PatternSkin menu layout issue with MS Internet Explorer 7 |
   716 | [[%BUGS%/Item2322][Item2322]] | Comment box should have ability to be disabled by skin template |
   717 | [[%BUGS%/Item2321][Item2321]] | Performance improvements to implementation (large user bases) |
   718 | [[%BUGS%/Item2318][Item2318]] | Links in square brackets breaks if there is a space in front of chars like - and ( |
   719 | [[%BUGS%/Item2317][Item2317]] | ChangePassword confirms change without password-handler |
   720 | [[%BUGS%/Item2315][Item2315]] | Template file permissions more restrictive in tgz dist |
   721 | [[%BUGS%/Item2309][Item2309]] | Prevent change password to empty string (add MinPasswordLength configuration option) |
   722 | [[%BUGS%/Item2302][Item2302]] | Restore Using Forms for Settings Feature |
   723 | [[%BUGS%/Item2298][Item2298]] | TWiki::Data::DelimitedFile is not as robust as it could be |
   724 | [[%BUGS%/Item2297][Item2297]] | Lock down TWiki.TWikiPreferences to admin group |
   725 | [[%BUGS%/Item2293][Item2293]] | Registration fails if no mail available |
   726 | [[%BUGS%/Item2292][Item2292]] | SMTP mail fails if the server requires auth |
   727 | [[%BUGS%/Item2287][Item2287]] | When printing a view page, the print style is not called |
   728 | [[%BUGS%/Item2286][Item2286]] | When you move an attachment the rename screen shows all topics that refers to the topic name |
   729 | [[%BUGS%/Item2278][Item2278]] | userToWikiName broken |
   730 | [[%BUGS%/Item2274][Item2274]] | <nop>I18N: Non US-ASCII chars in usernames breaks groups |
   731 | [[%BUGS%/Item2271][Item2271]] | Cannot "put back" a moved non-wikiword topic |
   732 | [[%BUGS%/Item2261][Item2261]] | Error in Apache log due to TWikiWebPreferences (File does not exist / ATTACHEDFILELINKFORMAT preference) |
   733 | [[%BUGS%/Item2259][Item2259]] | TWiki::UI::Save::buildNewTopic does not treat onlywikiname as a Boolean |
   734 | [[%BUGS%/Item2247][Item2247]] | Unclosed DIV in viewprint.pattern.tmpl |
   735 | [[%BUGS%/Item2244][Item2244]] | Documented METASEARCH parameter defaults are not the actual defaults |
   736 | [[%BUGS%/Item2234][Item2234]] | natlogon broken due to recent changes in |
   737 | [[%BUGS%/Item2227][Item2227]] | PatternSkin CSS updates for IE 7 |
   738 | [[%BUGS%/Item2226][Item2226]] | When you delete an attachment the rename screen shows all topics that refers to the topic name |
   739 | [[%BUGS%/Item2225][Item2225]] | Attachments are being named the full path name instead of the filename only |
   740 | [[%BUGS%/Item2223][Item2223]] | Empty textarea generated in raw mode (VIEW_TEMPLATE issue) |
   741 | [[%BUGS%/Item2214][Item2214]] | WebTopicCreator not stripping some disallowed characters |
   742 | [[%BUGS%/Item2186][Item2186]] | TWiki.SiteChanges shows oldest (not latest) changes |
   743 | [[%BUGS%/Item2163][Item2163]] | Groups should be defined in UsersWebName only (performance improvement) |
   744 | [[%BUGS%/Item2158][Item2158]] | TWiki leaks memory - mod_perl processes continually grow |
   745 | [[%BUGS%/Item2157][Item2157]] | Rendering of links containing periods does not work properly |
   746 | [[%BUGS%/Item2151][Item2151]] | Delete usecase broken in PatternSkin |
   747 | [[%BUGS%/Item2142][Item2142]] | Add option to write email into user topic |
   748 | [[%BUGS%/Item2141][Item2141]] | not in sync with CPAN state |
   749 | [[%BUGS%/Item2140][Item2140]] | AUTHORS missing translators' credits |
   750 | [[%BUGS%/Item2133][Item2133]] | Editform templates are missing some save parameters (templatetopic and text) |
   751 | [[%BUGS%/Item2126][Item2126]] | Bulk register shouldn't change passwords of existing users |
   752 | [[%BUGS%/Item2116][Item2116]] | <nop>I18N: updated translations for TWiki 4.0.3 |
   753 | [[%BUGS%/Item2109][Item2109]] | Add css classes to PreferencesPlugin buttons |
   754 | [[%BUGS%/Item2105][Item2105]] | A form field defined as [[topic][name]] assumes that the topic is in the same web as the form |
   755 | [[%BUGS%/Item2102][Item2102]] | Clicking Upload without choosing a file gives error |
   756 | [[%BUGS%/Item2097][Item2097]] | Plugin API / beforeAttachmentSaveHandler broken |
   757 | [[%BUGS%/Item2096][Item2096]] | New topic missing from notification when renamed |
   758 | [[%BUGS%/Item2090][Item2090]] | Default values for fields not picked up in new form (TWIKI4 only) |
   759 | [[%BUGS%/Item2088][Item2088]] | PatternSkin MANIFEST is missing |
   760 | [[%BUGS%/Item2057][Item2057]] | TMPL:P parameters broken |
   761 | [[%BUGS%/Item2054][Item2054]] | JSCalendarContrib only works with IE in PatternSkin |
   762 | [[%BUGS%/Item2050][Item2050]] | Easier overriding of PatternSkin |
   763 | [[%BUGS%/Item2048][Item2048]] | Mailto links written as mailto:address causes flooding with warning messages about uninitialized value |
   764 | [[%BUGS%/Item2032][Item2032]] | Some UTF8 characters in form values broken ( interaction) |
   765 | [[%BUGS%/Item2029][Item2029]] | Build script: New topics added to distribution are not versioned correctly |
   766 | [[%BUGS%/Item2019][Item2019]] | Add tracing to (login scenarios) |
   767 | [[%BUGS%/Item2012][Item2012]] | Break RCS locks on topics automatically when saving (Cairo upgrade issue) |
   768 | [[%BUGS%/Item2010][Item2010]] | Email address in the email field for the user is not turned into a link |
   769 | [[%BUGS%/Item2009][Item2009]] | Email addresses are not fully padded with the NOSPAM |
   770 | [[%BUGS%/Item2003][Item2003]] | lib/CPAN/lib/ has debugging print enabled |
   771 | [[%BUGS%/Item1989][Item1989]] | Latest CGI::Session is broken |
   772 | [[%BUGS%/Item1982][Item1982]] | Sequence of form fields in topics do not follow form definition |
   773 | [[%BUGS%/Item1980][Item1980]] | Login text remains untranslated |
   774 | [[%BUGS%/Item1941][Item1941]] | If REPEATs are munged in templates, RDiff bombs out |
   775 | [[%BUGS%/Item1939][Item1939]] | Inconsistent handling of non-wikiword topic names when creating new topic |
   776 | [[%BUGS%/Item1890][Item1890]] | Wysiwyg plugin in infinite loop |
   777 | [[%BUGS%/Item1869][Item1869]] | Clarify security docs in configure |
   778 | [[%BUGS%/Item1843][Item1843]] | A 1.2 version of a topic cannot be deleted (spam) with cmd=delRev |
   779 | [[%BUGS%/Item1651][Item1651]] | Extract UserMapping and GroupMapping code out of and (enable non-TWikiTopic based User and Groups definititions) |
   780 | [[%BUGS%/Item1613][Item1613]] | Renaming the Main web breaks several links to users |
   781 | [[%BUGS%/Item1602][Item1602]] | link to TWikiUpgradeGuide needed from TWiki Installation Guide |
   782 | [[%BUGS%/Item1560][Item1560]] | Non-existing favicon.ico is referenced in upgraded Cairo webs |
   784 ---+++ TWiki 4.0.3 Enhancements
   785 | [[%BUGS%/Item2452][Item2452]] | mime.types lacks some widely used file types |
   786 | [[%BUGS%/Item2301][Item2301]] | Put {linkProtocolPattern} into configure |
   787 | [[%BUGS%/Item2282][Item2282]] | SpreadSheetPlugin with SETIFEMPTY |
   788 | [[%BUGS%/Item2155][Item2155]] | Remove hardcoded fonts from twiki's default content |
   789 | [[%BUGS%/Item2125][Item2125]] | Add format parameter to META{"parent"} |
   790 </noautolink>
   792 The 4.0.3 release was built from SVN revision *10706*..
   794 ---++ TWiki 4.0.4 Patch Release Details
   796 <noautolink>
   797 The following fixes and minor enhancements have been addressed in this release:
   799 ---+++ TWiki 4.0.4 Fixes
   801 | [[%BUGS%/Item2578][Item2578]] | SECURITY HOTFIX: Improved protection against attaching php scripts that can be executed afterwords by simple view |
   802 | [[%BUGS%/Item2568][Item2568]] | Fix potential script error when attachment twisty is removed |
   803 | [[%BUGS%/Item2558][Item2558]] | TWiki 4.0.3 distributed <nop>LocalSite.cfg.txt uses incorrect syntax |
   804 | [[%BUGS%/Item2546][Item2546]] | Handmade twisty buttons has underline under them |
   806 ---+++ TWiki 4.0.4 Enhancements
   808 No enhancements.
   809 </noautolink>
   811 The 4.0.4 release was built from SVN revision *10799*
   813 ---++ TWiki 4.0.5 Patch Release Details
   814 Note that TWiki 4.0.5 contains all fixes previously released at hotfixes 1 to 4 for TWiki 4.0.4.
   816 <noautolink>
   817 The following fixes have been addressed in this release:
   819 ---+++ TWiki 4.0.5 Fixes
   820 | [[%BUGS%/Item2609][Item2609]] | API function wikiToEmail has a coding error. |
   821 | [[%BUGS%/Item2602][Item2602]] | AfterEditHandler only called by preview, not save |
   822 | [[%BUGS%/Item2595][Item2595]] | Emails are not stored in user topic when TWiki setup in a corporate environment |
   823 | [[%BUGS%/Item2573][Item2573]] | %<nop>META{"formfield" name="formfieldname"}% broken (returns nothing) |
   824 | [[%BUGS%/Item2518][Item2518]] | INCLUDE from external url with filename breaks relative links of included content |
   825 | [[%BUGS%/Item2607][Item2607]] | Crash TWiki with IF variable. |
   826 | [[%BUGS%/Item2619][Item2619]] | TOC Link URI References are not Relative |
   827 | [[%BUGS%/Item2322][Item2322]] | Incomplete fix for Comment box should have ability to be disabled by skin template |
   828 | [[%BUGS%/Item2594][Item2594]] | Hierarchical webs and WEBLIST can make things excruciatingly slow |
   829 | [[%BUGS%/Item2666][Item2666]] | Javascript errors caused by twiki.js |
   830 | [[%BUGS%/Item2669][Item2669]] | Configure robustness update |
   831 | [[%BUGS%/Item2565][Item2565]] | SEARCH parameter newline not documented. |
   832 | [[%BUGS%/Item2631][Item2631]] | Reset Password does not work when $TWiki::cfg{MapUserToWikiName} = 0. |
   833 | [[%BUGS%/Item2684][Item2684]] | EditTablePlugin Don't complain on lock taken if taken by one self |
   834 | [[%BUGS%/Item2714][Item2714]] | SECURITY ISSUE! - Topics with ALLOWTOPICVIEW defined in "Edit Settings" (META) can be read by anyone with a specially crafted SEARCH. |
   835 | [[%BUGS%/Item2758][Item2758]] | Updated TWiki.TWikiVariables so that the variable precedence includes both TWiki.TWikiPreferences and Main.TWikiPreferences |
   836 | [[%BUGS%/Item2780][Item2780]] | Rename to non wikiword name gives empty message |
   837 | [[%BUGS%/Item2806][Item2806]] | Security Alert CVE-2006-4294 - viewfile doesn't follow rules for mapping attachment names |
   838 | [[%BUGS%/Item2821][Item2821]] | Potential bugs from parsing settings in topics when the following line contains white space. |
   839 | [[%BUGS%/Item2825][Item2825]] | Potential source of error related to code that checks access permissions. |
   840 | [[%BUGS%/Item2823][Item2823]] | SMTP recipient name format issue |
   841 | [[%BUGS%/Item2829][Item2829]] | EditTablePlugin select drops selected item if cell has whitespace |
   842 | [[%BUGS%/Item2625][Item2625]] | %<nop>SEARCH% does not work when non-wikiword used in topic="" parameter |
   843 | [[%BUGS%/Item2859][Item2859]] | Attachments are being named the full path name instead of the filename only |
   844 | [[%BUGS%/Item2746][Item2746]] | Disable tag parameter issue in preview |
   845 | [[%BUGS%/Item2856][Item2856]] | make TWikiForms defined in another web clickable in "changeform" |
   846 | [[%BUGS%/Item2721][Item2721]] | Newly created topics have wrong version number when using RcsLite |
   847 | [[%BUGS%/Item2928][Item2928]] | Mailto links in brackets [[ ][ ]] contain visible when text is upper case |
   848 | [[%BUGS%/Item2884][Item2884]] | EditTablePlugin does not honour ALLOWTOPICCHANGE (bug introduced in 4.0.4 hotfix 3) |
   849 | [[%BUGS%/Item2980][Item2980]] | TWiki::Func::checkAccessPermission issue with '' vs. undef |
   851 ---+++ TWiki 4.0.5 Enhancements
   853 No enhancements
   855 The 4.0.5 release was built from SVN revision *11821*...