viewfile
script can be used as a webserver ErrorDocument enabling both more secure attachments and user focused error dialogs.
'"<>%
which eliminates most XSS possibilities encountered with URLPARAM. This protects all topics using the URLPARAM macro without requiring any changes to them.
TWiki term | Foswiki term |
---|---|
TWiki variable | Macro |
preference(s) variable | preference setting, or macro when referring to expansion of same |
TWiki form | Data form |
TWiki Plugin | Plugin |
TWiki Template | Skin Template |
Topic Template | Template Topic |
TWiki Markup Language (TML) | Topic Markup Language (TML) |
TWiki Application | Wiki Application |
working
which per default is located in the TWiki root which contains registration_approvals, tmp, and work_areas
query
search mode supports SQL-style queries over form fields and other meta-data
templatetopic
parameter to point to custom comment template topic
Eng.ajax
into the Jump box... Here we go, the third link is the AjaxCookbook I was looking for."
redirectto
parameter to redirect to a topic or a URL; for security, redirect to URL needs to be enabled with a {AllowRedirectUrl}
configure flag.
redirectto
parameter to redirect to a URL or link to TWiki topic after submitting comment.
topic
URL parameter also respects the {AllowRedirectUrl}
configure flag so redirects to URLs can be disabled which could be abused for phishing attacks.
section
URL parameter to view just a named section within a topic. Useful for simple AJAX type applications.
$nop
, $quot
, $percnt
, $dollar
.
$LISTRAND()
, $LISTSHUFFLE()
, $LISTTRUNCATE()
.
cellborder
.
Installation & configuration | Contributor |
---|---|
Much simpler install and configuration | Crawford Currie, |
mod_perl safe code for better performance |
Crawford Currie |
Security | |
Security sandbox blocking exploits for remote command execution on the server | Florian Weimer, Crawford Currie, Sven Dowideit |
Reworked access permission model | Crawford Currie |
Internationalization & localization | |
|
|
Chinese translation | |
Danish translation | |
Dutch translation | |
French translation | |
German translation | |
Italian translation | |
Polish translation | |
Portuguese translation | |
Spanish translation | |
Swedish translation | |
New features for users | |
Edit conflict resolution with automatic merge | Crawford Currie |
Fine grained change notification on page level and parent/child relationship | Crawford Currie |
WYSIWYG editor | Crawford Currie, |
Integrated session support | |
Webserver-independent login/logout | Crawford Currie |
|
|
|
|
ATOM feeds | Peter Thoeny |
|
|
New features for Wiki administrators and wiki application developers | |
Improved preferences handling | |
Named include sections | |
|
Sven Dowideit |
|
Crawford Currie |
|
|
SEARCH enhancements with new parameters excludeweb , newline , noempty , nofinalnewline , nonoise , recurse , zeroresults |
Crawford Currie, |
FormattedSearch enhancements with $changes , $count , $formfield(name, 30, ...) , $summary(expandvar) , $summary(noheaders) , $summary(showvarnames) |
|
New TWikiVariables ACTIVATEDPLUGINS, ALLVARIABLES, AUTHREALM, EMAILS, FAILEDPLUGINS, HTTP, HTTPS, ICONURL, ICONURLPATH, IF, LANGUAGES, LOCALSITEPREFS, LOGIN, LOGOUT, MAKETEXT, META, PLUGINDESCRIPTIONS, QUERYSTRING, STARTSECTION/ENDSECTION, SESSION_VARIABLE, SESSIONID, SESSIONVAR, SPACEOUT, USERLANGUAGE, WIKIHOMEURL | |
|
|
|
|
Direct save feature for one-click template-based topic creation | |
|
|
Rename, move or delete webs | |
Hierarchical subwebs (beta) | |
New features for Plugin developers | |
REST (representational state transfer) interface for Plugins | |
New and improved Plugins APIs | Crawford Currie, |
Improvements in the TWiki engine room | |
Major OO redesign and refactoring of codebase | Crawford Currie |
Automatic build system | Crawford Currie |
Extensive test suite, unit tests and testcases | Crawford Currie |
|
Sven Dowideit |
Documentation, logo artwork, skins: | |
Documentation | Crawford Currie, |
Design of TWikiLogos with big "T" in a speech bubble | |
Improved templates and PatternSkin | |
Details of New Features and Enhancements of 01-Sep-2004 Release | Developer, Sponsor |
---|---|
Install: Ship with an automatic upgrade script to facilitate TWiki upgrades. Details | |
Install: New testenv function to change the locks in the TWiki database to the web server user id (automates installation step). Details | |
Install: The shipped .htaccess.txt now needs to be edited before it is valid, to help reduce chances of error. Details | |
Install: Configurable password file handling for different types of encryption. Details | |
Install: Remove office locations from registration. Details | |
Install: Changes to support shorter URLs with Apache Rewrite rules. Details | |
Install: Remove the Know web from the distribution. Details | |
Internationalization: Support use of UTF-8 URLs for I18N characters in TWiki page and attachment names. Details | |
Authentication: Authenticate users when creating new topic in view restricted web. Details | |
Preferences: TWiki Preferences need to be secured properly. Details | |
Preferences: Use TWiki Forms to set user preferences. Details | |
Skins: New pre-installed skins PatternSkin and DragonSkin. Details | |
Skins: New skin browser to choose from installed skins. Details | |
Skins: Documented set of CSS classes that are used in standard skins. Details | |
Skins: Added CSS class names to Diff output. Details | |
Skins: Templates can now be read from user topics, as well as from files in the templates diretcory. Details | |
Skins: Ensure that the default template gets overridden by a template passed in. Details | |
Skin: Convey an important broadcast message to all users, e.g. scheduled server downtime. Details | |
Skin: Balanced pastel colors for TWiki webs. Details | |
Rendering: Use exclamation point prefix to escape TWiki markup rendering. Details | |
Rendering: Ordered lists with uppercase & lowercase letters, uppercase & lowercase Roman numerals. Details | |
Rendering: Allow custom styles for the "?" of uncreated topics. Details | |
Rendering: Render IRC and NNTP as a URL. Details | |
Rendering: Make acronym linking more strict by requiring a trailing boundary, e.g. excluding TLAfoobar. Details | |
Rendering: TWiki Form with Label type. Details | |
Rendering: Web names can now be WikiWords. Details | |
Rendering: New syntax for definition list with dollar sign and colon. Details | |
Rendering: Table with multi-span rows, functionality provided by Table Plugin. Details | |
Variables: New title parameter for TOC variable. Details | |
Variables: New REVINFO variable in templates supports flexible display of revision information. Details | |
Variables: Set times to be displayed as gmtime or servertime. Details | |
Variables: Properly encode parameters for form fields with ENCODE variable. Details | |
Variables: Expand USERNAME and WIKINAME in Template Topics. Details | |
Variables: Expand same variables in new user template as in template topics. Details | |
Variables: Optionally warn when included topic does not exist; with the option to create the included topic. Details | |
Variables: In topic text show file-types of attached files as icons. Details | |
Variables: New variable FORMFIELD returns the value of a field in the form attached to a topic.. Details | |
Variables: Meta data rendering for form fields with META{"formfield"}. Details | |
Variables: New PLUGINVERSION variable. Details | |
Variables: URLPARAM now has a default="..." argument, for when no value has been given. Details |
|
Variables: URLPARAM variable with newline parameter. Details | |
Variables: URLPARAM variable with new multiple=on parameter. Details | |
Search: New switch for search to perform an AND NOT search. Details | |
Search: Keyword search to search with implicit AND. Details | |
Search: Multiple searches in same topic with new multiple="on" paramter. Details | |
Search: Remove limitation on number of topics to search in a web. Details | |
Search: Exclude topics from search with an excludetopic parameter. Details | |
Search: Expand Variables on Formatted Search with expandvariables Flag. Details | |
Search: Formatted Search with Web Form variable to retrieve the name of the form attached to a topic. Details | |
Search: Formatted Search with Conditional Output. Details | |
Search: Formatted Search with $parent token to get the parent topic. Details | |
Search: New separator parameter to SEARCH supports better SEARCH embedding. Details | |
Search: Improved search performance when sorting result by topic name. Details | |
Search: New scope=all search parameter to search in topic name and topic text at the same time. Details |
|
Search: New topic parameter for AND search on topic text and topic name. Details |
|
Search modules uses Perl-style keyword parameters (code cleanup). Details | |
Search: New $wikiname variable in format parameter of formatted search. Details | |
Search: Sort search by topic creation date. Details | |
Search: Topic creation date and user in Formatted Search. Details | |
Search: Increase levels of nested search from 2 to 16. Details | |
Plugins: New pre-installed Plugins CommentPlugin, EditTablePlugin, RenderListPlugin, SlideShowPlugin, SmiliesPlugin, SpreadSheetPlugin, TablePlugin. Details | |
Plugins: New callback afterSaveHandler , called after a topic is saved. Details |
|
Plugins: New callbacks beforeAttachmentSaveHandler and afterAttachmentSaveHandler , used to intervene on attachment save event. Details |
|
Plugins: New callbacks beforeCommonTagsHandler and afterCommonTagsHandler . Details |
|
Plugins: New callback renderFormFieldForEditHandler to render form field for edit. Details |
|
Plugins: New callback renderWikiWordHandler to custom render links. Details |
|
Plugins: New function TWiki::Func::formatTime to format time into a string. Details |
|
Plugins: New function TWiki::Func::getRegularExpression to get predefined regular expressions. Details |
|
Plugins: New functions TWiki::Func::getPluginPreferences* to get Plugin preferences. Details |
|
Plugins: New function TWiki::Func::extractParameters to extract all parameters from a variable string. Details |
|
Plugins: New function TWiki::Func::checkDependencies to check for module dependency. Details |
|
Plugins: A recommendation for where a Plugin can store its data. Details | |
UI: Show tool-tip topic info on WikiWord links. Details | |
UI: Save topic and continue edit feature. Details | |
UI: Change topic with direct save (without edit/preview/save cycle) and checkpoint save. Details | |
UI: In attachment table, change 'action' to 'manage'. Details | |
UI: Smaller usability enhancements on the file attachment table. Details | |
UI: Removes anchor links from header content and places them before the text to fix 'header becomes link'. Details | |
UI: Improved functionality of the More screen. Details | |
UI: Quick reference chart of most used markup is now listed on the edit screen. Details | |
UI: Flag for edit script to avoid overwrite of existing topic text and form data. Details | |
UI: Disable Escape key in IE textarea to prevent it cancelling work. Details | |
UI: Improved warning message on unsaved topic. Details | |
UI: Reverse order of words in page title for better multi-window/tab navigation. Details | |
UI: Provides a framework to create and modify a topic without going through edit->preview->save sequence. Details | |
UI: Set the topic parent to none in More screen, e.g. remove the current topic parent. Details | |
UI: Use templates to define how file attachments are displayed. Was previously hard-coded. Details | |
UI: Topic diff shows unified diff with unchanged context. Details | |
UI: Diff feature shows TWiki form changes in nice tables. Details | |
Code refactoring: The log entry for a save now has a dontNotify flag in the extra field if the user checked the minor changes flag. Details | |
Code refactoring: Server-side include of attachments accelerates INCLUDE. Details | |
Code refactoring: Move functionality out of bin scripts and into included modules. Details | |
Code refactoring: Move bin script functionality into TWiki::UI modules. Details | |
Code refactoring: Optimize preferences handling for better performance. Details | |
Code refactoring: Refactor variable expansion for edit and register. Details | |
Code refactoring: Move savemulti script into TWiki::UI::Save. Details | |
Code refactoring: Topic search is done natively in Perl, it does not depend anymore on system calls with pipes. Details | |
Code refactoring: Fix logical error in upload script which prevented MIME filename from being used. Details | |
Bug Fixes of 01-Sep-2004 Release | Developer, Sponsor |
---|---|
Fix: Consistently create headings with empty anchor tags. Details | |
Fix: TOC does not work for headings containing & without spaces surrounding it. Details | |
Fix: Backslash line break breaks TWiki form definitions. Details | |
Fix: Rename fixes unrelated topic references. Details | |
Fix: Bug with infinite recursion in search. Details | |
Fix: Can't send mail with full 'From' address. Details | |
Fix: All scripts change to $bin before execute (for mod_perl2). Details | |
Fix: Several RSS readers do not show all entries seen in the WebChanges list; repeated updates to the same topics get lost. Details | |
Fix: TWiki::Access::checkAccessPermission function improperly handles Main and TWiki webs. Details | |
Fix: Topic save returns error CI Date precedes date in revision. Details | |
Fix: Double quotes got replaced by " in TWiki forms. Details | |
Fix: Duplicated Wiki name in .htpasswd entry for sha1 encoding. Details | |
Fix: When viewing a previous version of a topic, the view script substitutes only one occurrence of the variable EDITTOPIC. Details | |
Fix: Form default values are not working for text fields. Details | |
Fix: Formatted searches using a $pattern which unbalanced parenthesis crash TWiki. Details | |
Fix: Formatted Search uses title but should use name for formfield parameter. Details | |
Fix: GMTIME variable returns unwanted GMT text. Details | |
Fix: Include from other Web links ACRONYMS. Details | |
Fix: Including an HTML file is very slow. Details | |
Fix: includeUrl() mess up absolute URLs. Details | |
Fix: Filter out fixed font rendering in TOC to avoid unrendered = equal signs in TOC. Details | |
Fix: The initializeUserHandler is broken for session Plugins. Details | |
Fix: SEARCH fails with very large webs. Details | |
Fix: Security alert: User could gain view access rights of another user. Details | |
Fix: 'print to closed file handle' error of log files are not writable. Details | |
Fix: Meta data handler can't process CR-LF line endings. Details | |
Fix: METAFIELD meta data is not shown in view raw=on mode. Details | |
Fix: Minor XHTML non-compliance in templates and code. Details | |
Fix: Getting pages from virtual hosts fails. Details | |
Fix: Create new web fails if RCS files do not exist. Details | |
Fix: Metacharacters can be passed through to the shell in File Attach. Details | |
Fix: Ability to delete non-WikiWord topics without confirmation. Details | |
Fix: + symbol in password reset fails. Details | |
Fix: Pathinfo cleanup for hosted sites. Details | |
Fix: Software error in SEARCH if regular expression pattern has unmached parenthesis. Details | |
Fix: Pipe chars in the comment field of the attachment table are not escaped. Details | |
Fix: Link escaping in preview fails for not quoted hrefs. Details | |
Fix: Preview expands variables twice. Details | |
Fix: Using a proxy with TWiki fails; no proxy-HTTP request, minimal request not HTTP 1.0, requests marked 1.1 are at best 1.0. Details | |
Fix: Runaway view processes with TWiki::Sore::RcsLite. Details | |
Fix: Regex Error in WebTopicList with topics that have meta characters in the name. Details | |
Fix: Rename script misses some ref-by topics. Details | |
Fix: Links to self within the page being renamed are not changed. Details | |
Fix: Rename topic does 'Main.Main.UserName' for attachments. Details | |
Fix: Revision date is set to Jan 1970 when using RCS Lite. Details | |
Fix: The new dynamically-created SiteMap is very nice, but somewhat slow. Details | |
Fix: The makeAnchorName function did not produce the same results if called iteratively, resulting in problems trying to link to headers.. Details | |
Fix: Statistics page does not provide links to non-wikiword topics. Details | |
Fix: Make TOC link URI references relative. Details | |
Fix: TWiki hangs when used on Apache 2.0. Details | |
Fix: TOC incorrectly strips out links in headers. Details | |
Fix: The HTML tags that are generated by TOC do not close properly. Details | |
Fix: TOC on INCLUDEd topic ignores STOPINCLUDE. Details | |
Fix: Quotes in tooltip message can break a TWiki form. Details | |
Fix: Better error message if the file attachment directory is not writable. Details | |
Fix: Image size of PNG files. Details | |
Fix: The testenv script distinguishes between real user ID and effective user ID. Details | |
Fix: Variables in square bracket links dont work in form fields. Details | |
Fix: Variable with Parameters in Form Fields Disappear. Details | |
Fix: Verbatim tag should escape HTML entities. Details | |
Fix: Field names of TWiki Forms can be WikiWords, this is used to link to a help topic. Details | |
Fix: Clean up the WebRssBase INCLUDES to use VARIABLES set in TWikiPreferences. Details | |
Fix: Resolving variables in included topics. Details | |
/bin/view/Web.TopicName
topic view URL (besides the default /bin/view/Web/TopicName
URL); useful for InterwikiPlugin links like readTopicText
, saveTopicText
, setTopicEditLock
, checkTopicEditLock
%NOAUTOLINK%
setting in the DefaultPreferences to disable the auto-linking of WikiWords
registrationHandler
, beforeEditHandler
, afterEditHandler
, beforeSaveHandler
, writeHeaderHandler
, redirectCgiQueryHandler
, getSessionValueHandler
, setSessionValueHandler
%INCLUDE{ "OtherTopic" rev="1.2" }%
%NOP{}%
variable in TWikiTemplates topic gets removed at topic creation time; useful to write protect template topics
%URLPARAM{}%
variable in TWikiTemplates topic gets expanded at topic creation time; useful for dynamic content creation
$logDir
introduced in TWiki.cfg to set the log directory
setlib.cfg
file in the bin directory to set the TWiki library path
%PROXYHOST
and %PROXYPORT%
settings in the DefaultPreferences
%WIKILOGOIMG%
, %TWIKILOGOURL%
and %WIKILOGOALT%
variables in DefaultPreferences; replacing $wikiHomeUrl
in TWiki.cfg
%WIKITOOLNAME%
variable in DefaultPreferences; replacing $wikiToolName
in TWiki.cfg
%EDITBOXSTYLE%
preferences setting which sets the edit box width automatically to the window width
%URLENCODE{}%
variable to encodes a string for using in a URL parameter, e.g. %URLENCODE{"spaced name"}%
returns spaced%20name
/twiki/templates/register.tmpl
template file
%TOC%
table of content, e.g. ---+!! This heading
is not shown in a TOC
%SEARCH{}%
variable, FormattedSearch and WebSearch
<verbatim>
tags are no longer expanded
%SEARCH{}%
variable for database like reporting.
TWiki.cfg
notedited.tmpl
, notext.tmpl
and nofoswiki.tmpl
templates. More in TWikiTemplates.
%TOPICLIST{"format"}%
and %WEBLIST{"format"}%
variables to get a formatted topic index and web index, respectively. More in TWikiVariables.
%URLPARAM{"name"}%
variable to query URL parameters. More in TWikiVariables.
| *bold* |
cells as table headers, (ii) render space padded cells | center aligned |
and | right aligned |
, (iii) span multiple columns using | empty cells |||
. More in EditingShorthand.
.htaccess
files that are attached to a topic get a .txt
suffix appended to the file name. See also ---++ My Title
; and new %TOC%
variable to build a table of content from headings in a topic. More in TWikiVariables.
[[http://TWki.org][TWiki]]
) and internal links (i.e [[WikiSyntax][syntax]]
). More in TWikiVariables.
#MyAnchor
at the beginning of a line, and link to it with [[#MyAnchor]]
. More in TWikiVariables.
Net::SMTP
module instead of sendmail
if installed.
<verbatim>
... </verbatim>
tags to show source code "as is". Unlike the <pre>
... </pre>
tags, it also shows <
, >
, &
characters "as is".
==Bold Fixed==
to get Bold Fixed
.
%GMTIME{"..."}%
and %SERVERTIME{"..."}%
variables. Format is now "$hour:$min"
instead of "hour:min"
. More in TWikiVariables. Attention: Check your existing topics when you upgrade TWiki!
%STARTINCLUDE%
and %STOPINCLUDE%
variables to control what gets included of a topic. More in TWikiVariables.
print
skin for a printable view of a topic. More in TWikiSkins and %BASEWEB%
, %INCLUDINGWEB%
, %BASETOPIC%
and %INCLUDINGTOPIC%
to have more control over include handling. More in TWikiVariables and noheader="on"
switch in %SEARCH{...}%
to suppress table header. More in TWikiVariables.
$doHidePasswdInRegistration
in wikicfg.pm
to hide plain text password in registration e-mail.
%VAR{"NAME" web="Web"}%
to get web-specific preferences. More in TWikiVariables.
view
"knows" the user once authenticated in edit
. More in TWikiUserAuthentication.
png
image support.
%INCLUDE{"%SYSTEMWEB%.TWikiWebsTable"}%
. More in mailnotify
to suppress all normal output.
[[editing shorthand]]
to get the link editing shorthand that points to topic EditingShorthand.
%HTTP_EQUIV_ON_VIEW%
, %HTTP_EQUIV_ON_EDIT%
and %HTTP_EQUIV_ON_PREVIEW%
that define the <meta http-equiv="...">
meta tags for the TWiki templates. This can be used for example to set a document expiration time.
%GMTIME{"..."}%
and %SERVERTIME{"..."}%
. More in TWikiVariables.
%INCLUDE{"Web/TopicName.txt"}%
to %INCLUDE{"Web.TopicName"}%
. Legacy syntax still supported.
*bold*, italic, __bold italic__
and fixed
, where it is not necessary anymore to have a trailing space before .,;:?!
characters.
%INCLUDE%
of arbitrary files.
%GMTIME%
variable that shows the current GM time.
%HTTP_HOST%
, %REMOTE_ADDR%
, %REMOTE_PORT%
and %REMOTE_USER%
.
%ATTACHLINKBOX%
controls the default state of the link check box in the attach file page.
Perl -T
option )
%EDITBOXWIDTH%
and %EDITBOXHEIGHT%
to specify the edit box size.
wikiwebs.inc
, wikiwebtable.inc
, weblist.inc
, webcopyright.inc
and webcolors.inc
files.
%SCRIPTSUFFIX%
/ $scriptSuffix containing an optional file extension of the TWiki Perl script. Templates have been changed to use this variable. This allows you to rename the Perl script files to have a file extension like for example ".cgi".
%SCRIPTURLPATH%
/ $scriptUrlPath containing the script URL without the domain name. Templates have been changed to use this variable instead of %SCRIPTURL%
. This is for performance reasons.
%INCLUDE:"filename.ext"%
to %INCLUDE{"filename.ext"}%
. (Previous syntax still supported. Change was done because of inline search syntax)
%SEARCH{"str" ...}%
to show a search result embedded in a topic text. TWikiVariables has more on the syntax. Inline search combined with the category table feature can be used for example to create a simple bug tracking system.
initialize
in wiki.pm
did not handle $thePathInfo
correctly.
$doLogTopic*
in wikicfg.pm to selectively log topic view, edit, save, rdiff, attach, search and changes to monthly log file.
$doRemovePortNumber
in wikicfg.pm to optionally remove the port number from the TWiki URL. Example www.some.domain:1234/twiki
gets www.some.domain/twiki
.
%INCLUDE:"file.inc"%
variable. Search first in the current web, then in parent data directory. Useful to overload default include text in the data directory by web-specific text, like for example webcopyright.inc
text.
TestVersion
/ TestVersions
, TestPolicy
/ TestPolicies
, TestAddress
/ TestAddresses
, TestBox
/ TestBoxes
.
webcopyright.inc
file. This is to easily customize the copyright text.
%WIKIHOMEURL%
(link when pressing the icon on the upper left corner) and %WIKITOOLNAME%
(the name of the wiki tool Foswiki
).
%PUBURL%
(Public directory URL) and %ATTACHURL%
(URL of topic file attachment).
fixed font text
. Words get showns in fixed font
by enclosing them in "=" equal signs. Example Writing =fixed font= will show up as fixed font
.
%INCLUDE:"filename.ext"%
%TOPIC%
(Topic name), %WEB%
(web name), %SCRIPTURL%
(script URL), %DATE%
(current date), %WIKIWEBMASTER%
(Wiki webmaster address), %WIKIVERSION%
(Wiki version), %USERNAME%
(user name), %WIKIUSERNAME%
(Wiki user name).
PeterThoeny
instead of thoeny
in case the Wiki username exists. Implementation Automatic lookup of Wiki username in topic Main.WikiUsers.
Know.WebSeach
.