author Thomas Waldmann <tw AT waldmann-edv DOT de>
Fri, 06 Jun 2014 17:11:32 +0200
changeset 6050 274a7f675261
parent 6047 a9bfc8e99775
permissions -rw-r--r--
auth surge protection: do not activate this in builtin default config

the admin has to enable it by defining surge_action_limits in the wiki config
     1 MoinMoin Version History
     2 ========================
     4 Please note: Starting from the MoinMoin version you used previously, you
     5 should read all more recent entries (or at least everything marked with HINT).
     7 This release has known bugs (see MoinMoin:MoinMoinBugs), but we think it is
     8 already better than the previous stable release. Our release policy is not
     9 trying to make a "perfect release" (as that release might NEVER get released),
    10 but to make progress and don't delay releases too much.
    12 Known main issues:
    14   * The GUI WYSIWYG editor has still some issues and limitations.
    15     If you can't live with those, you can simply switch it off by using:
    16     editor_force = True
    17     editor_default = 'text'  # internal default, just for completeness
    19 Version 1.9.8:
    20   SECURITY HINT: make sure you have allow_xslt = False (or just do not use
    21   allow_xslt at all in your wiki configs, False is the internal default).
    22   Allowing XSLT/4suite is very dangerous, see HelpOnConfiguration wiki page.
    24   HINT: Python >= 2.5 is maybe required! See docs/REQUIREMENTS for details.
    26   New features:
    27   * cfg.recovery_token_lifetime to determine how long the password recovery
    28     token will be valid, default is 12 [h]. Check this setting to be adequate
    29     before doing (global) password resets, so your users have enough time to
    30     react before the toke times out!
    31   * cfg.log_events_format can be used to configure the format of the records
    32     written to <data_dir>/event-log:
    33     0 = dot not create event-log entries (saves disk space, disk I/O)
    34     1 = standard (like in moin <= 1.9.7) [default]
    35     2 = extended (add infos about username, wikiname, url)
    36   * add a tool to output the contents of the event-log to CSV:
    37     moin export eventlog --file=output.csv
    38     Output encoding is utf-8, columns are in this order:
    39     time, event, username, ip, wikiname, pagename, url, referrer, ua
    40     time: UNIX timestamp (float)
    41   * reimplement cfg.log_timing - if True, emits INFO level log output like:
    43     TIME is in seconds, the slowness indicator is "." for sub-second requests
    44     or N times "!" for requests taking N seconds (so you easily can grep for
    45     slow stuff).
    46   * add "abuse" logging. this will log every attempt to login (successful ones
    47     as well as unsuccessful ones). abuse logging is configured via the logging
    48     configuration, see example in wiki/config/logging/abuse.
    49     Currently, abuse logging is implemented for:
    50     * authentication system
    51       * "moin" auth
    52       * "given" auth
    53       * setuid (when superuser switches to another user)
    54   * surge protection for authentication (currently only for MoinAuth):
    55     a) surge protect by IP
    56        This covers the case someone is trying to authenticate way too
    57        often - we don't look at the username here, just at the remote IP
    58        address. If surge protection kicks in for some specific IP, that IP
    59        won't be able to try to authenticate any more until surge_lockout_time
    60        is over.
    61        Note: be careful with users behind proxies or NAT routers - these are
    62              common and legitimate cases with (potentially lots of)
    63              authentication requests coming from same IP.
    64              if it is a trusted proxy, you can configure moin so it sees the
    65              real remote IP address (not just the proxy's address).
    66     b) surge protect by name
    67        This covers the case someone is trying to authenticate for a
    68        specific user name way too often (e.g. when someone tries to attack the
    69        wiki admin's account). We don't look at the IP here, just at the user
    70        name. If surge protection kicks in for some specific user name, that user
    71        name will not be able to try to authenticate any more until
    72        surge_lockout_time is over.
    73        Note: this even covers widely distributed attacks against a user, but
    74              you should only enable this if you are aware that the "real" user
    75              also won't be able to authenticate while surge protection is active
    76              (at least not using the account for that specific username).
    77              Thus, there is some denial-of-service danger with this if the
    78              attacker can guess or find your valid user names (which isn't too
    79              difficult if your wiki is publicly readable).
    80              This is bad, but technically hard to avoid.
    81     Configuration (allowing 10 authentication attempts per hour):
    82         surge_action_limits = {
    83             # ...
    84             'auth-ip': (10, 3600),  # same remote ip (any name)
    85             'auth-name': (10, 3600),  # same name (any remote ip)
    86          }
    87   * backlinks performance tuning: the pagename in the theme has historically
    88     been used to trigger a "linkto:ThisPage" search. While this is a nice
    89     feature for human users of the wiki (esp. on category pages), it has one
    90     big issue: as it is a normal link, stupid crawlers (ignoring "nofollow")
    91     follow it and cause a lot of unneccessary load.
    93     What moin shows in that "backlinks" place can now be configured in your
    94     wiki config:
    96     # always render the backlink as in moin < 1.9.8 (bad bots causing high load!):
    97     backlink_method = lambda cfg, req: 'backlink'
    99     # always render a simple link to same page, as in moin 2.0:
   100     backlink_method = lambda cfg, req: 'pagelink'
   102     # logged-in users get the backlink, anon users/bots get a pagelink (default):
   103     backlink_method = lambda cfg, req: 'backlink' if req.user.valid else 'pagelink'
   105     # logged-in users get the backlink, anon users/bots get simple text:
   106     backlink_method = lambda cfg, req: 'backlink' if req.user.valid else 'text'
   107   * AbandonedPages macro: check user agent to reduce load caused by bots
   108   * RSS feed: check for bots and rather give them empty results than waste a
   109     lot of time with them
   110   * ldap_auth: support placeholders for basedn also, e.g. you could use:
   111     base_dn='uid=%(username)s,ou=people,dc=company,dc=com'
   112   * move or delete multiple attachments (see checkboxes and buttons on the
   113     AttachFile view). Be careful: in the same way as you could delete a single
   114     attachment with one click, you can now delete all attachments of a page
   115     with one click (we don't ask for a 2nd confirmation, so think first).
   116   * mailimport: use relative attachment link markup instead of absolute links,
   117     enables some page renaming operations without needing to edit the markup.
   118   * better caching and lookup optimizations for userprofile data:
   119     * name, email, jid, openids -> userid lookups
   120     * page subscriptions for notifications (as a consequence, determination of
   121       subscribers when a page is saved is much faster now, esp. for wikis with
   122       many users) - see also MoinMoinBugs/GetSubscribersSlow
   123   * Notification template strings are now configurable via cfg.mail_notify_...
   124     * page_text (this puts together the pieces for the mail body, used for all
   125       changed / deleted / renamed page mail notifications)
   126     * page_changed_subject, page_changed_intro
   127     * page_deleted_subject, page_deleted_intro
   128     * page_renamed_subject, page_renamed_intro
   129     * att_added_subject, att_added_intro
   130     * att_removed_subject, att_removed_intro
   131     * user_created_subject, user_created_intro
   132     * Best is to read HelpOnConfiguration and look at MoinMoin.config.multiconfig
   133       to see the help text and the defaults.
   134     * The defaults are chosen to be the same as the old hardcoded values, so the
   135       translations keep working.
   136     * If you overwrite the strings in your configuration moin will still try to
   137       translate your strings, but it will only find translations if you add them
   138       to the gettext catalogs, too.
   139     * Examples:
   141       a) notification mail body: you don't want the rendered diff, you don't
   142          want to link to the diff, but to the full page view on your wiki.
   144       # original (default) value
   145       mail_notify_page_text = '%(intro)s%(difflink)s\n\n%(comment)s%(diff)s'
   146       # put this in your wiki config
   147       mail_notify_page_text = '%(intro)s%(pagelink)s\n\n%(comment)s'
   149       b) notification mail subject:
   150       # original (default) value
   151       mail_notify_page_changed_subject = '[%(sitename)s] %(trivial)sUpdate of "%(pagename)s" by %(username)s'
   153       c) notification mail intro:
   154       # original (default) value
   155       mail_notify_page_changed_intro = \
   156           ("Dear Wiki user,\n\n"
   157            'You have subscribed to a wiki page or wiki category on "%(sitename)s" for change notification.\n\n'
   158            'The "%(pagename)s" page has been changed by %(editor)s:\n')
   160       Note: if you change "*_page_changed_*", you likely also want to change
   161       "*_page_deleted_*" and "*_page_renamed_*", maybe even "*_att_added_*"
   162       and "*_att_removed_*".
   164   Fixes:
   165   * do not create empty pagedirs (with empty edit-log). To clean up all the
   166     trash pagedirs, use moin ... maint cleanpage.
   167   * page rename/delete, attachment add/remove email notifications work now
   168     (somehow we had an event for this, but no code handling it)
   169   * AttachFile do=get and do=view: send 404 status if file does not exist
   170   * link rel="Alternate" links: rather use page.url than request.href, so
   171     url_prefix_action gets used for the (print and raw) action URLs
   172   * fixed wrong detection of UI language from accept-language header for not
   173     logged-in users if the language identifier there was (partially) uppercase.
   174   * fix Python 2.7.4/5 compatibility issue with rss_rc action using handler._out
   175   * fix "moin import wikipage" timestamp confusion
   176   * use 302 http status for #redirect as some clients cache 301 redirects, but
   177     the #redirect might get changed or removed later (so it should not be
   178     cached and we also can't really say it is permanent)
   179   * fix crash when macro names contain non-ascii chars
   180   * CopyPage action: fix NameError exception when TextCha was answered wrong
   181   * docbook formatter: fix image URL generation, avoid script name duplication
   182   * fix caching scope of name2id/openid2id caches (was: "wiki", now:
   183     "userdir"). this is relevant for shared user_dir configurations.
   184   * moin maint cleancache: cleans up openid2id cache now also
   185   * "userdir" caching scope used for userid lookup caches (the previously used
   186     name2id cache with "wiki" caching scope could have outdated data if you
   187     share the user_dir between multiple wikis)
   189   Other changes:
   190   * rss_rc action (RSS feed) is now much faster / much less resource consuming
   191     when requested for a specific single page. As we have a link to this in
   192     every page's html output, this likely also lightens the load caused by bots
   193     and search engine crawlers.
   194   * tuned - only open/read log if there is new stuff in it after
   195     last read position
   196   * improve python2.5 compatibility (with_statement)
   197   * add bingbot to ua_spiders
   198   * upgraded bundled werkzeug to 0.8.3
   199   * upgraded bundled passlib to 1.6.2
   200   * upgraded bundled pygments to 1.6
   203 Version 1.9.7:
   204   New features:
   205   * passlib support - enhanced password hash security. Special thanks go to
   206     the Python Software Foundation (PSF) for sponsoring development of this!
   208     Docs for passlib:
   210     If cfg.passlib_support is True (default), we try to import passlib and set
   211     it up using the configuration given in cfg.passlib_crypt_context (default
   212     is to use sha512_crypt with default configuration from passlib).
   214     The passlib docs recommend 3 hashing schemes that have good security, but
   215     some of them have additional requirements:
   216     sha512_crypt needs passlib >= 1.3.0, no other requirements.
   217     pbkdf2_sha512 needs passlib >= 1.4.0, no other requirements.
   218     bcrypt has additional binary/compiled package requirements, please refer to
   219     the passlib docs.
   221     cfg.password_scheme should be '{PASSLIB}' (default) to tell that passlib is
   222     wanted for new password hash creation and also for upgrading existing
   223     password hashes.
   225     For the moin code as distributed in our download release archive, passlib
   226     support should just work, as we have passlib 1.6.1 bundled with MoinMoin
   227     as MoinMoin/support/passlib. If you use some other moin package, please
   228     first check if you have moin AND passlib installed (and also find out the
   229     passlib version you have installed).
   231     If you do NOT want to (not recommended!) or can't use (still using python
   232     2.4?) passlib, you can disable it your wiki config:
   234         passlib_support = False  # do not import passlib
   235         password_scheme = '{SSHA}'  # use best builtin hash (like moin < 1.9.7)
   237     Please note that after you have used moin with passlib support and have user
   238     profiles with passlib hashes, you can't just switch off passlib support,
   239     because if you did, moin would not be able to log in users with passlib
   240     password hashes. Password recovery would still work, though.
   242     password_scheme always gives the password scheme that is wanted for new or
   243     recomputed password hashes. The code is able to upgrade and downgrade hashes
   244     at login time and also when setting / resetting passwords for one or all
   245     users (via the wiki web interface or via moin account resetpw script
   246     command).
   248     So, if you want that everybody uses strong, passlib-created hashes,
   249     resetting the passwords for all users is strongly recommended:
   250     First have passlib support switched on (it is on by default), use
   251     password_scheme = '{PASSLIB}' (also default), then reset all passwords.
   253     Same procedure can be used to go back to weaker builtin hashes (not
   254     recommended): First switch off passlib support, use password_scheme =
   255     '{SSHA}', then reset all passwords.
   257     Wiki farm admins sharing the same user_dir between multiple wikis must use
   258     consistent password hashing / passlib configuration settings for all wikis
   259     sharing the same user_dir. Using the builtin defaults or doing the
   260     configuration in is recommended.
   262     Admins are advised to read the passlib docs (especially when experiencing
   263     too slow logins or when running old passlib versions which may not have
   264     appropriate defaults for nowadays):
   268   * Password mass reset/invalidation support, see docs/resetpw/.
   269     This is useful to make sure everybody sets a new password and moin computes
   270     the password hash using the current configuration.
   272   * Customizable default password checker:
   273     Moin's default password checker used and still uses min_length=6 (minimum pw
   274     length) and min_different=4 (minimum count of different chars in the password).
   275     If you feel that you need to require better passwords from your users, you
   276     can customize it now like that in your wiki config:
   278     password_checker = lambda cfg, request, name, pw: multiconfig._default_password_checker(cfg, request, name, pw, min_length=10, min_different=7)
   280   * Removing/disabling inactive users (moin ... account inactive)
   281     Many wikis have a lot of inactive users, that never ever made a single edit.
   282     See help of the command for more details, be careful.
   283   * SystemAdmin user browser: show disabled user accounts at the bottom of
   284     the list
   285   * At startup, announce moin version and code path in log output (makes
   286     support and debugging easier).
   287   * AttachList: introduced search_term parameter (optional) for listing
   288     attachments filtered by a regular expression on their name.
   289   * sign release archive using GnuPG with the key of
   290     ID 31A6CB60 (main key ID FAF7B393)
   292   Fixes:
   293   * logging: if the logging config file can't be read, give a helpful error msg
   294   * logging: use info loglevel (not warning) for telling about using the builtin
   295     default logging config
   296   * moin script commands: warn if someone gave ... to the moin script, avoids a
   297     strange and unhelpful 'empty module name' error message
   298   * reorder html input fields in recoverpass form, to help browsers remember
   299     the user name and password (not erroneously the recovery token and password)
   300   * don't try to send password recovery email to user if email address in
   301     user profile is empty
   302   * cache action: fix 304 http status
   303   * rst parser: fix safe_import for level param in __import__ call of docutils 0.10
   304   * moin maint cleancache: also kill the i18n cache 'meta' pickle file
   305   * sendmail: catch unicode errors when E-Mail addr has non-ascii chars
   306   * redirect last visited: if last visited page is on same wiki, use a local
   307     redirect, do not compute via interwiki map (fixes https: usage)
   310 Version 1.9.6:
   312   Fixes:
   313   * fix remote code execution vulnerability in twikidraw/anywikidraw action
   314   * fix path traversal vulnerability in AttachFile action
   315   * fix XSS issue, escape page name in rss link
   316   * escape user- or admin-defined css url
   317   * make taintfilename more secure
   318   * use a constant time str comparison function to prevent timing attacks
   319   * Attachment handler: catch all Zip-related errors
   322 Version 1.9.5:
   324   Fixes:
   325    * Security fix: fix virtual group bug in ACL evaluation.
   326    * Avoid crash if #refresh processing instruction is used without arguments.
   327    * Fix issue with non-ASCII textchas.
   328    * Xapian indexing: remove copy.copy() that crashed on Windows/IIS/isapi-wsgi
   329      after page save.
   330    * Fix dictionary file reading crash under Windows.
   331    * Work around crash of AdvancedSearch macro rendering caused by non-ascii
   332      mimetypes.types_map entries.
   333    * Added migration script for moin 1.8.9.
   334    * rss_rc: Fix diffs added in RSS with diffs=1 (now they correspond to item
   335      listed in feed and not just last page diffs). Links generated with ddiffs=1
   336      also fixed.
   337    * rss_rc: fix double escaping issue.
   338    * rss_rc: respect show_names configuration option.
   339    * rss_rc: proper support of rename, revert, page creation.
   340    * modern/modernized theme: fix padding/width for editor preview
   341    * group/pagelinks formatters: avoid to create unnecessary output, redirect
   342      output of send_page call with the groups formatter, it must not be written
   343      to the output stream
   344    * rst parser: fix include and macro directives
   345    * wikisync: fix unicode pagename sending for python 2.7 httplib
   347   New features:
   348    * add a comment_required config option (default: False) to require a
   349      non-empty comment when saving a page
   350    * when a save error happens, show the editor again and highlight the error
   351    * rss_rc: several new options added: lines parameter gives ability to set
   352      maximum size of diffs showed in RSS. show_att parameter gives ability
   353      to show information aboout attachment-related items in RSS. page parameter
   354      gives ability to specify set of pages for which changes RSS feed should be
   355      generated. Configuration of defaults and limits can now be done via wiki
   356      configuration mechanism.
   357    * As soon as it is now possible to provide RSS for page change history,
   358      appropriate alternate link is now added for every page (controlled by
   359      rss_show_page_history_link configuration parameter).
   360    * Search: "no_highlight:" search query option provided for suppressing
   361      highlighting search results.
   362    * Search macros: new options for FullSearch, FullSearchCached and PageList
   363      available:
   364      * highlight_titles option controls highlighting of matches in search
   365        results provided by these macros. Default value is set in
   366        search_macro_highlight_titles configuration option)
   367      * highlight_pages option controls adding of highlight URL parameter to
   368        page links (so search term is highlighted when user goes to one of
   369        these pages via provided link) in search results. Default value is set
   370        in search_macro_highlight_pages configuration option.
   371      Usage of these options is disabled (via search_macro_parse_args
   372      configuration option) by default due to behavioural changes introduced
   373      in macro parameter parsing mechanism to support them. Related to
   374 .
   376   Other changes:
   377    * Remove 4suite dependency for docbook formatter, use minidom (included in
   378      Python).
   379    * Upgraded FCKeditor to 2.6.8.
   382 Version 1.9.4:
   384   HINT: Python >= 2.5 is maybe required! See docs/REQUIREMENTS for details.
   386   Fixes:
   387    * Fix XSS / remove javascript URL support in rst parser (CVE-2011-1058).
   388    * werkzeug: Removed a dummy import. Fixes Python 2.7 compatibility.
   389    * Fix linux-to-windows edit-log migration/upgrade issue (wrong line endings)
   390    * logfile: strip \n lineends from line data (\n is part of the file
   391      structure, not of the data)
   392    * Fix for MoinMoinBugs/SinglePageSlideShowAndParserMarkup.
   393    * Simplify auto scroll initialization; fix bug in IE init discovered when
   394      using IE7 on pages with wide tables.
   395    * Fix timestamp in edit lock message to show the time when edit-locking ends.
   396    * Updated from internal defaults, sync the one in
   397      toplevel dir and the one in wiki/server/ - fixes hostname setting.
   398    * SubProcess: make sure files are closed at the end (experimental change).
   399    * text plain formatter: fix bullet_list, see number_list.
   400    * Add some image mimetypes to MIMETYPES_MORE to fix windows issues.
   401    * Include page name in password reset URL.
   402    * Fix moin export dump to generate relative URLs.
   403    * Fix MonthCalendar mouseover for pages with ampersand in page name.
   404    * ldap_login: assign server early, it is used in exception handler.
   405    * OpenID server preferences: fix traceback related to request method.
   406    * Work around page.mtime_usecs() returning 0 for pages without edit-log.
   407    * revert action: catch and display all SaveErrors when revert failed.
   408    * Fixed bug in groups formatter which caused the last list item to be not in the group.
   409    * Avoid strange exception in for pre-1980 timestamps.
   410    * TableOfContents: fix for other markups than default wiki markup, e.g. rst
   411    * script.account.homepage: added wiki format to homepage_default_text
   412    * Enable webkit based browsers (try chrome/safari/konqueror now) for GUI
   413      editing (after fixing selection FCKeditor plugin for chrome).
   414    * Parsers: avoid crash when Parser.format() call gets inhibit_p kw arg.
   415    * advancedsearch: fix problem with non-ascii chars breaking up words for OR
   416      and NOT terms
   417    * fix globaledit script to keep comments on Homepage...Template pages
   419   New features:
   420    * Added print mode to action.SlideShow, see
   421      FeatureRequests/PrintableSinglePageSlideshows.
   422    * xmlrpc: new methods xmlrpc_getProcessingInstruction(Version)
   423    * Add support for other password hashes (all of them will get auto-upgraded
   424      to SSHA when user logs in):
   425      * {DES} (Unix crypt(3))
   426      * {MD5} (MD5-based crypt())
   427      * {APR1} (Apache .htpasswd). 
   428    * Experimental queued indexing support to work around memory leak - use it like this:
   429      # put all pages into indexer queue:
   430      python MoinMoin/script/ index build --mode=makequeue
   431      # take <count> pages out of the indexer queue and index them,
   432      # you need to repeat the following line respective to the total amount of pages
   433      # in your wiki (doing more indexer calls does no harm, doing less means an
   434      # incomplete index):
   435      python MoinMoin/script/ index build --mode=buildnewindexqueued --count=500
   436      python MoinMoin/script/ index build --mode=buildnewindexqueued --count=500
   437      python MoinMoin/script/ index build --mode=buildnewindexqueued --count=500
   438      # ...
   439      # switch to new index:
   440      python MoinMoin/script/ index build --mode=usenewindex 
   442   Other changes:
   443    * Raise exceptions as recommended in PEP 8.
   444    * Updated i18n / underlay pages.
   445    * Updated interwiki map.
   446    * Use logging.traceback to get more information if a indexing filter crashes.
   447    * u200b is not considered a space any more in unicode 4.0.1.
   448    * Improve textcha security, use some crypto and timing to make cheating
   449      harder - use cfg.textchas_expiry_time = 600 (default, seconds) to set the
   450      time a textcha is valid.
   451    * Upgraded bundled werkzeug to 0.8.1, pygments to 1.4, flup to repo tip.
   454 Version 1.9.3:
   455   Fixes:
   456   * Fix XSS in Despam action (CVE-2010-0828).
   457   * Fix XSS issues (see MoinMoinBugs/1.9.2UnescapedInputForThemeAddMsg):
   458     * by escaping template name in messages
   459     * by fixing other places that had similar issues
   460   * Make moin compatible to werkzeug 0.5 .. 0.6.2 (1.9.2 had issues
   461     with xmlrpc when used with werkzeug 0.6.x).
   462   * MoinMoin.util.filesys: disable usage of dircache, deprecate dc* functions,
   463     because the dircache stdlib module can't work correctly for fast updates of
   464     directories.
   465   * rss_rc and sisterpages actions: fix Content-Type header (mimetype)
   466   * Fix associating OpenID identity with user, wasn't adapted to werkzeug yet.
   467   * openidrp auth: fix undefined _ (gettext)
   468   * Fix auth.cas and userprefs.oidserv request object usage.
   469   * highlight parser: fixed MoinMoinBugs/LineNumberSpansForProcessInstructionsMissed
   470   * Pygments syntax highlighting: add missing code files
   471   * Notifications: use same email subject format for every notification
   472   * Fix docbook formatter crashing, see MoinMoinPatch/IncludeMacroWithDocBookFormatter
   473   * Fix regex content search for xapian search.
   474   * Get rid of the empty line at the end of code highlights.
   475   * GUI editor: compute editor height like the text editor does.
   476   * Added help texts for: standalone server and moin migration.
   477   * script.maint.cleancache: clean also i18n cache files
   478   * Improved formatter.text_plain, see FeatureRequests/TextPlainFormatterRewrite
   479     (fixes many issues of this formatter).
   480   * text_html_text_moin_wiki: fixed index error for width="", see also:
   481     MoinMoinBugs/GUI_convertor_list_index_out_of_range
   482   * xmlrpc: disable editor backup for putPage, renamePage and revertPage
   483     because if pages get uploaded by xmlrpc then the draft cache file can
   484     rapidly increase in size, causing high memory usage because it needs to
   485     get loaded into memory for updating/processing.
   486   * Emit Content-Type header (with charset) for SlideShow action and many other
   487     actions that just call send_title().
   488   * ActionBase: better compatibility to moin 1.8, use request.values by
   489     default, optionally use request.form data only
   491   New features:
   492   * RenamePage action: added ability to create redirect pages when renaming
   493     (turned off by default, see show_rename_redirect config option).
   494   * formatter/text_html: Added line number links to code blocks.
   495   * diff action:
   496     * Fixed whitespace in generated (html) diff view table so white-space: pre
   497       can be used (and whitespace in diffs preserved).
   498     * Added links to first/last revision.
   499   * MoinMoin.widget.browser: introduced feature for sorting tables, see:
   501   * SystemAdmin user and attachment browsers: sorting feature used there now
   502   * Scrolling the text editor to the double clicked line.
   503   * Enable double-click-editing by default.
   504   * WikiConfigHelp macro: make heading and description display optional,
   505     heading level as a parameter (default 2)
   506   * If edit ticket check fails, send the editor with the current content.
   507   * moin import wikipage - use this script to import local files as a wiki page
   509   Other changes:
   510   * upgraded pygments from 1.2.2 to 1.3.1
   511   * upgraded FCKeditor from to 2.6.6
   512   * added configuration snippet for ldap authentication against 2 servers
   513   * improved script help output
   515 Version 1.9.2:
   516   Fixes:
   517   * Fixed CVE-2010-0668: major security issues were discovered in misc. parts
   518     of moin.
   519     HINT: if you have removed superuser configuration to workaround the issue
   520     (following our security advisory), you may re-add it after installing this
   521     moin release. If you don't need superuser capabilities often, it might be
   522     wise to not have superusers configured all the time, though.
   523   * Fixed CVE-2010-0669: potential security issue due to incomplete user profile
   524     input sanitizing.
   525   * Improved package security: cfg.packagepages_actions_excluded excludes
   526     unsafe or otherwise questionable package actions by default now.
   527   * wiki parser: fixed transclusion of (e.g. video) attachments from other
   528     pages.
   529   * Fixed edit locking for non-logged in editors and cfg.log_remote_addr=False.
   530   * mailimport: fix missing wikiutil import for normalize_pagename
   531   * SubProcess: fix "timeout" AttributeError
   532   * "standalone" fixed calling non-existing os.getuid on win32
   533   * HTTPAuth deprecation warning moved from class level to __init__
   534   * Fixed MoinMoinBugs/1.9DiffActionThrowsException.
   535   * Fixed misc. session related problems, avoid unneccessary session file
   536     updates.
   537   * Fix/improve rename-related problems on Win32 (depending on Windows version).
   538   * Fixed spider / user agent detection.
   539   * Make sure to use language_default when language_ignore_browser is set.
   540   * diff action: fix for case when user can't revert page.
   541   * Fix trail size (was off by one).
   542   * Updated bundled flup middleware (upstream repo checkout), avoids
   543     socket.fromfd AttributeError on win32 if cgi is forced, gives helpful
   544     exception msg.
   545   * wikiutil: Fixed required_arg handling (no exception when trying to raise
   546     exception that choice is wrong).
   547   * Do not use* to import 3rd party code, give dist packages
   548     a chance.
   549   * wikiutil.clean_input: avoid crash if it gets str type
   550   * request: fixed for werkzeug 0.6 and 0.5.1 compatibility. Please note that
   551     we didn't do much testing with 0.6 yet. So, if you use 0.6, please do some
   552     testing and provide feedback to us.
   553   * AttachFile._build_filelist: verifies readonly flag for unzip file link
   554   * attachUrl: fix wrongly generated tickets (e.g. for AttachList macro)
   555   * http headers: fix duplicated http headers (e.g. content-type)
   557   New features:
   558   * info action: added pagination ability to revision history viewer.
   559     Use cfg.history_paging = True [default] / False to enable/disable it.
   560   * ldap_login auth: add report_invalid_credentials param to control wrong
   561     credentials error message (this is typically used when using multiple
   562     ldap authenticators).
   563   * Add RenderAsDocbook to actions_excluded if we have no python-xml.
   564   * Upgraded pygments to 1.2.2 (some fixes, some new lexers).
   565   * Text editor: if edit_rows==0 (user profile or config), we dynamically size
   566     the text editor height. This avoids double sliders for the editor page
   567     in most cases.
   569   Other changes:
   570   * New docs/REQUIREMENTS.
   571   * Added a less magic cgi/fcgi driver (moin.fcgi), added fixer middleware
   572     for apache2/win32 to it.
   575 Version 1.9.1:
   576   Bug fixes:
   577   * Fixed CVE-2010-0667: sys.argv security issue.
   578   * Fixed FileSessionService - use session_dir from CURRENT request.cfg (it
   579     mixed up session_dirs in farm setups).
   580     HINT: if you added the hotfix to your wikiconfig, please remove it now.
   581   * Fixed creation of lots of session files (if anon session were enabled and
   582     user agent did not support cookies).
   583   * Fixed session file storage for a non-ascii base path.
   584   * Fixed session cookie confusion for nested URL paths (like path=/ and
   585     path=/mywiki - for more info, see also "New features").
   586   * Handle cookie_lifetime / anonymous_session_lifetime upgrade issue
   587     gracefully: emit errors/warnings to log, use old settings to create
   588     cfg.cookie_lifetime as expected by moin 1.9.
   589   * flup based frontends: fixed SCGI and AJP (didn't work).
   590   * farmconfig example: remove wrong comment, add sample http/https entry.
   591   * Fixed password reset url (email content needs full URL).
   592   * Page: fixed adding of page contents (only data added now, without metadata) -
   593     fixes MoinMoinBugs/DeprecatedPageInclusionErrornousPageInstructionsProcessing
   594   * xmlrpc:
   595     * Process attachname in get/putAttachment similarly.
   596     * revertPage: convert pagename to internal representation.
   597     * Fixed auth calls used by jabberbot (needs more work).
   598   * Added missing config.umask support code (setting was not used), fixed
   599     config.umask usage for page packages.
   600   * Fixed browser language detection.
   601   * Fixed language pack generation/installation for pt-br, zh, zh-tw.
   602   * Fixed caching of formatted msgs, see MoinMoinBugs/1.9EditPageHelpLinksBroken.
   603   * Fixed usage of i18n.wikiLanguages() on class level (moved to method), failed
   604     when tools import the module (e.g. pydoc -k foo).
   605   * highlight parser:
   606     * fixed caching issue for "toggle line numbers" link.
   607     * added missing support for console/bash session
   608   * Fixed precedence of parsers: more special parsers now have precedence
   609     before moin falls back to using the HighlightParser (syntax highlighting).
   610   * Added extensions to the rst, moin and creole parser (example.rst, example.moin and
   611     example.creole attachments are rendered now when viewed).
   612   * Fixed MoinMoinBugs/LineNumberSpansForProcessInstructionsMissed for
   613     moin_wiki, highlight and plain parser.
   614   * Fixed MoinMoinBugs/LineNumberAnchorsInPreformattedText for highlight and
   615     plain parser.
   616   * Fixed MoinMoinBugs/TableOfContentsBrokenForIncludedPages.
   617   * Exception raised on calling add_msg() after send_title(), which leads to 
   618     Internal Server Error on calling several actions (diff, preview) for 
   619     deprecated pages, is replaced with warning and call stack information in 
   620     the log.
   621   * AttachFile.move_file: send events (so e.g. xapian index update happens)
   622   * SubProcess: fixed win32-specific parts, fixed imports (fixes calling of
   623     external xapian index filters)
   624   * Fixed auth methods that use redirects (like OpenID).
   625   * OpenID client:
   626     * Add setting cfg.openidrp_allowed_op, default is [].
   627     * Fixed logging in with openid and associating with an existing account.
   628     * openidrp_sreg extension: handle UnknownTimeZoneError gracefully
   629   * OpenID server:
   630     * Fixed TypeError.
   631     * Fixed processing POSTed form data AND URL args.
   633   New features:
   634   * diff: Added displaying of information about revisions (editor, size, 
   635     timestamp, comment), added revision navigation.
   636   * text editor: added @TIMESTAMP@ variable for adding a raw time stamp
   637   * xmlrpc: added renamePage and deleteAttachment methods.
   638   * Accept "rel" attribute for links (moin wiki parser).
   639   * Generate session cookie names to fix cookie path confusion and enable port-
   640     based wiki farming.
   642     HINT: New setting cfg.cookie_name:
   644     None (default): use MOIN_SESSION_<PORT>_<PATH> as session cookie name. This
   645                     should work out-of-the-box for most setups.
   647     'siteidmagic': use MOIN_SESSION_<SITEID>, which is unique within a wiki farm
   648                    created by a single farmconfig (currently, cfg.siteid is just
   649                    the name of the wiki configuration module).
   651     'other_value': use MOIN_SESSION_other_value - this gives YOU control. Just
   652                    use same value to share the session between wikis and use a
   653                    different value, if you want a separate session.
   655     HINT: Please do not use cfg.cookie_path any more - it usually should not be
   656     needed any more, as we now always put path=/ into the cookie except if you
   657     explicitly configure something else (only do that if you know exactly what
   658     you're doing and if the default does not work for you).
   660     HINT: see also the HelpOnSessions page which shows some typical configs.
   661   * Store expiry into sessions, use moin maint cleansessions script to clean up.
   662     HINT: use moin ... maint cleansessions --all once after upgrading.
   663     HINT: you may want to add a cron job calling moin ... maint cleansessions
   664           to regularly cleanup expired sessions (it won't remove not expired
   665           sessions).
   667   Other changes:
   668   * Added rtsp, rtp, rtcp protocols to url_schemas.
   669   * Added more info about index building to xapian wikiconfig snippet.
   670   * Updated the wikicreole parser to version 1.1.
   673 Version 1.9.0:
   674   Note: This is a reduced CHANGES, ommitting details from rc/beta test and
   675         also less interesting minor changes and fixes. It shows changes
   676         relative to 1.8.6 release.
   677         If you want to see full detail, read it there:
   680   New features: ==============================================================
   681   * HINT: MoinMoin requires Python 2.4 now. If you only have Python 2.3 and
   682     you don't want to upgrade it, please use MoinMoin 1.8.x.
   683   * HINT: MoinMoin is now a WSGI application.
   684     Please read the new install docs about how to use it, see:
   686     You also have a local copy of that page as docs/INSTALL.html.
   687   * HINT: due to big changes in the request processing and the request
   688     object (related to the WSGI refactoring), many 3rd party plugins might
   689     need code updates to work with moin 1.9.
   690   * HINT: We now offer different sized sets of system/help pages and the default
   691     underlay just contains a single page: LanguageSetup. You need to be
   692     superuser, visit that page and then install the language packs you like
   693     (minimum is the essential set for English).
   694   * HINT: LanguageSetup is the default page_front_page, you need to change that
   695     after installing language packs (see above).
   697   * New modular group and dict data access, you can use group and dict 
   698     backend modules to access group and dict data stored anywhere you like.
   699     Currently we provide these backends:
   700       * WikiGroups and WikiDicts backends get data from wikipages. They work
   701         similar to old wikidicts code (but with less caching issues :).
   702       * ConfigGroups and ConfigDicts backends get data from a dictionary
   703         defined in the wiki config.
   704       * CompositeGroups and CompositeDicts compose several backends, so data
   705         may be retrieved from several sources. For example, groups may be
   706         defined in the wiki config and on wiki pages.
   707     * Using cfg.groups and cfg.dicts, you can define the backend to use to
   708       access group and dict information (default: WikiGroups / WikiDicts
   709       backend).
   710       See the wiki/config/more_samples/ directory (groups_wikiconfig_snippet
   711       and dicts_wikiconfig_snippet).
   712     * See also the new HelpOnDictionaries and HelpOnGroups pages.
   714   * Improved Xapian indexing / search:
   715     * Moin's Xapian based search code was refactored:
   716       * It is now based on the xappy library (see
   717       * Minimum Xapian requirement is 1.0.6 now.
   718       * Outdated and unmaintained xapwrap lib was removed.
   719       * regex search with Xapian enabled also is based on the xapian index now
   720     * Safe 2-stage xapian index rebuilding:
   721       moin index build --mode=buildnewindex  # slow, concurrent
   722       <stop wiki>
   723       moin index build --mode=usenewindex  # fast
   724       <start wiki>
   725     * Added wikiconfig snippet for xapian search.
   727   * Improved drawing support:
   728     * TWikiDraw:
   729       * Support code was refactored/moved to the twikidraw action.
   730       * Use drawing:example.tdraw to invoke it (drawing:example also still
   731         works for backwards compatibility)
   732       * Drawings are now stored as a single attachment foo.tdraw.
   733         We added a migration script that converts your existing drawings.
   734     * AnyWikiDraw:
   735       * Java applet added, source code see contrib/.
   736       * Support code for it is in anywikidraw action.
   737       * Use drawing:example.adraw to invoke it.
   738       * Drawings are stored in a similar way as foo.adraw.
   739     * cfg.extensions_mapping added for mapping of attachment file extensions
   740       to actions (currently used for anywikidraw/twikidraw action)
   742   * Themes / static files related:
   743     * Added modernized_cms theme (hides most wiki widgets from modernized if the
   744       user is not logged in).
   745     * Static file serving built-in (moved wiki/htdocs to MoinMoin/web/static/htdocs).
   746       MoinMoin.web.static has a static file serving wrapper that uses the files
   747       from htdocs subdirectory by default (docs=True).
   748       You can also give another path or switch off creation of that static wrapper.
   749       See the docstring of the static package for details.
   750     * Theme packages: do_copythemefile now copies theme files to
   751       MoinMoin/web/static/htdocs.
   753   * Syntax highlighting is based on the pygments library now, it does this for
   754     LOTS of stuff (programming languages, config files, ...) - use it like this:
   755     {{{#!highlight xxx
   756     ...
   757     }}}
   758     xxx is any of the markups pygments supports (see HelpOnParsers).
   759     Note: we still have some (deprecated) small wrappers around pygments,
   760     so the old syntax #!python/pascal/cplusplus/... still works.
   762   * Authentication improvements:
   763     * HTTP auth related (see also HelpOnAuthentication):
   764       * HTTPAuthMoin: http basic auth done by moin
   765       * HINT: auth.http.HTTPAuth is now auth.GivenAuth
   766         This was badly named from the beginning as for most servers, it just
   767         looked at REMOTE_USER environment variable and relied on the server
   768         doing the authentication (could be http basic auth or any other auth).
   769     * LDAP/AD auth: new name_callback param to create a custom wiki username (not
   770       the ldap login username)
   771     * OpenID auth:
   772       * Support for Simple Registration (SREG) extension.
   773         Basic profile fields can be copied from OpenID provider when logging in.
   774       * Support for Teams extension.
   775       * Ability to accept logins from specific OpenID providers.
   776         Login form changes based on configuration for better usability:
   777         * 0 providers: normal text input box for OpenID URL
   778         * 1 provider: hidden field, automatic form submission with JavaScript
   779         * 2+ providers: select field, uses directed identity
   781   * Sessions / cookies:
   782     * HINT: cfg.cookie_lifetime is now a tuple (anon, loggedin), giving the
   783       lifetime of the cookie in hours, accepting floats, for anon sessions and
   784       logged-in sessions. Default is (0, 12). 0 means not to use a session
   785       cookie (== not to establish a session) and makes only sense for anon users.
   786     * cfg.cookie_httponly is new and defaults to False. Please note that if you
   787       set it to True, TWikiDraw and similar stuff won't be able to use the session
   788       cookie. Thus, if your wiki page doesn't allow writing for everybody, saving
   789       a drawing will fail, because there is no session (== no logged in user) for
   790       the TWikiDraw applet's saving POSTs.
   792   * Macros:
   793     * WikiConfigHelp: added section keyword for selecting a subset of the
   794       description, e.g. <<WikiConfigHelp(section="xapian")>>
   795     * HighlighterList: show Pygments syntax highlighters (see HelpOnParsers)
   797   * Actions:
   798     * SlideShow action added (please use the "modernized" theme [default])
   799     * raw action mimetype support: ...?action=raw&mimetype=text/css
   800     * PackagePages: create package file on-the-fly in memory and send it to the
   801       client (do NOT create attachment)
   803   * Improved logging / debugging / developer support:
   804     * Main exception handler: include request url in log output.
   805     * Environment variable MOIN_DEBUGGER=off/web/external (default is "off").
   806     * Handle wikiserverconfig(_local) in the same way as wikiconfig(_local).
   808   * GUI editor: improved attachment dialog
   810   * "moin ... account homepage" script to create user homepages.
   813   Removed features: ==========================================================
   814   * Removed cfg.traceback_* settings (use logging configuration)
   815   * Removed old session code and settings:
   816     * Removed cfg.session_handler and session_id_handler (use cfg.session_service)
   817     * Removed cfg.anonymous_session_lifetime (use cfg.cookie_lifetime)
   820   Bug fixes: =================================================================
   821   * Xapian indexing:
   822     * Rely on xapian's locking (remove moin's additional and sometimes broken
   823       locking, that blocked index-rebuilds or updates sometimes).
   824     * Removed indexer threading.
   825     * Fixed (reimplemented) indexer queue.
   826     * Less disruptive xapian index rebuild.
   827   * AdvancedSearch: example didn't work, fixed
   829   * With the groups/dicts code rewrite, we fixed the caching problems that the
   830     old code (< 1.9) sometimes had.
   832   * Actions:
   833     * Abort RenamePage if renaming of main page fails (do not try to rename
   834       subpages).
   835     * AttachFile do=view: quote filename and pagename params for EmbedObject
   836       macro call
   837     * unsubscribe action: add msg types so icons get displayed
   839   * Parsers:
   840     * fixed MoinMoinBugs/LineNumbersWorkingBuggyWithHighlightParser
   842   * GUI editor: roundtripping works now for .pdf/doc/... attachment transclusion
   844   * AttachFile: added remove_attachment() and FileRemovedEvent (mail and xapian
   845     support, no jabber support yet).
   847   * Fix makeForbidden403() calls - is makeForbidden(403, ...) now.
   848   * sendmail: add more debug logging, check for empty recipients list
   849   * Fix MoinMoinBugs/MissingPageShouldn'tOfferToCreatePageForReadonlyUsers
   850   * Fix MoinMoinBugs/1.6XmlRpcPutPagePagenameEscape
   851   * Bug with "language:en" was fixed for the Moin search. Now language:
   852     behaves like described on HelpOnSearching.
   853   * Fixed MoinMoinBugs/DeprecatedIsNotRespected (search ranking, WantedPages).
   854   * OpenID: always return error messages with CancelLogin if OpenID process fails.
   855   * suid: simplify and fix, bigger selection box
   857   * patch werkzeug 0.5.1 to catch OverFlowError and ValueError so it doesn't
   858     crash when receiving invalid If-modified-since header from client.
   861   Other changes: =============================================================
   862   * 'modernized' theme:
   863     * use it by default (1.8 used 'modern')
   864     * move title_with_separators() from Modernized theme to ThemeBase
   865     * add a span with "pagepath" class to title_with_separators
   866   * add the sidebar() method from Mandarin and Gugiel themes to ThemeBase
   867   * updated flup to 1.0.2+ ( )
   868   * updated pygments to 1.1.1+ ( )
   869   * updated parsedatetime to 0.8.7
   870   * increase surge protection limits for AttachFile to avoid trouble with image galleries
   871   * HINT: simplify wikiserver configuration by using same names as werkzeug's
   872     run_simple() call.
   873   * Removed moin account check's --lastsaved option, it is default now
   874     (checking last use with trail file did not work in 1.9 anyway).
   875   * ImageLink page has been killed (ImageLink macro is gone since 1.6.1).
   876   * Allowed disabling of timezone and language user prefs if they are
   877     part of the user's login fields (i.e. OpenID SREG).
   878   * Added option to disable local registration links and direct user
   879     to registration page at an OpenID provider instead.
   881   Developer notes: ===========================================================
   882   * groups and dicts API changes:
   883     * request.groups and request.dicts provide access to groups and dicts.
   884     * MoinMoin.wikidicts is gone, please use MoinMoin.datastruct.
   885     * LazyGroup and LazyGroupsBackend base classes for implementing backends
   886       which potentially deal with huge amounts of data (like a LDAP directory).
   887       Use MoinMoin/datastruct/backends/ as a draft for
   888       new backends.
   889     * See for more details.
   890   * i18n: new approach for defining sets of system/help pages (see i18n.strings).
   891     CheckTranslation, page packager, wikiutil.isSystemPage() use those sets.
   892   * killed deprecated macro.form attribute (didn't work as expected anyway due
   893     to WSGI refactoring) - please use macro.request.{args,form,values}
   896 Version 1.8.8:
   897   Fixes:
   898     * Fixed XSS issues (see MoinMoinBugs/1.9.2UnescapedInputForThemeAddMsg).
   899     * Fixed XSS in Despam action (CVE-2010-0828).
   900     * wikiutil.clean_input: avoid crash if it gets str type
   901     * Add RenderAsDocbook to actions_excluded if we have no python-xml
   902     * AttachFile._build_filelist: verifies readonly flag for unzip file link
   903     * attachUrl: fix wrongly generated tickets (e.g. for AttachList macro)
   904     * MoinMoin.util.filesys.dc* (dircache can't work reliably):
   905       * disable usage of dircache, deprecate dc* functions
   906       * remove all calls to filesys.dc* (dclistdir, dcdisable)
   907     * Fixed crash, see MoinMoinPatch/IncludeMacroWithDocBookFormatter
   908     * Avoid hardly recoverable crashes if #format specification is invalid
   910   New features:
   911     * auth.ldap_login: add report_invalid_credentials param to control wrong
   912       credentials error message (typically used when using multiple ldap
   913       authenticators)
   916 Version 1.8.7:
   917   Fixes:
   918   * Fixed major security issues in miscellaneous parts of moin.
   919     HINT: if you have removed superuser configuration to workaround the issue
   920     (following our security advisory), you may re-add it after installing this
   921     moin release. If you don't need superuser capabilities often, it might be
   922     wise to not have superusers configured all the time, though.
   923   * Improved package security: cfg.packagepages_actions_excluded excludes
   924     unsafe or otherwise questionable package actions by default now.
   925   * wiki parser: fixed transclusion of (e.g. video) attachments from other
   926     pages.
   927   * Fixed edit locking for non-logged in editors and cfg.log_remote_addr=False.
   928   * xmlrpc:
   929     * Process attachname in get/putAttachment similarly.
   930     * revertPage: convert pagename to internal representation.
   931   * Fixed config.umask usage for page packages.
   932   * Fixed usage of i18n.wikiLanguages() on class level (moved to method),
   933     failed when tools import the module (e.g. pydoc -k foo).
   934   * SubProcess: fixed win32-specific parts, fixed imports (fixes calling of
   935     external xapian index filters)
   938 Version 1.8.6:
   939   Bug fixes:
   940   * Xapian indexing / indexing filters:
   941     * fix deadlocks with well- and misbehaving external filters
   942     * work around indexing run crashing when encountering encoding problems
   943       with non-ascii filenames
   944     * OpenOffice/OpenDocument filters: catch UnicodeDecodeErrors (happens
   945       with password protected files)
   946   * i18n: check if languages is not initialized yet, don't crash
   947   * http_redirect: use 301 redirect for some cases
   948   * do not use httponly session cookies, makes trouble with twikidraw and ACLs
   949   * GetText2 macro: fix for named placeholder
   950   * Fix SHA -> SSHA password hash upgrade for old user profiles.
   951   * abort RenamePage if renaming of main page fails (do not try to rename
   952     subpages)
   954   New features:
   955   * search: improve search result ordering
   956   * add MS Powerpoint indexing filter (needs catppt from catdoc package)
   957   * migration scripts: make finding damaged edit-log entries easier
   958   * SubscribeUser action: support username regexes and unsubscribing.
   959     Usage (enter this into the input form field you get after invoking
   960     SubscribeUser action from the "More Actions" menu:
   961     [+|-][re:]username[,username,...] 
   963     +username: subscribes user <username> (+ is optional/default)
   964     -username: unsubscribes user <username>
   965     +re:username_re: subscribes users who match <username_re> regex.
   966     -re:username_re: unsubscribes users who match <username_re> regex.
   969 Version 1.8.5:
   970   Bug fixes:
   971     * Attachment links: fix processing of attributes (e.g. 'target', 'title')
   972     * Upgrade FCKeditor from 2.6.4 to
   973     * PDF embedding: fix html, works better with PDF browser plugins now.
   974     * Fix typo in rightsidebar CSS.
   975     * Action revert: avoids reverting to a deleted current revision.
   976     * Action diff: enable prev/next button only in the range of given revisions.
   977     * Add a Auto-Submitted: auto-generated header to generated mails.
   978     * Include comment in email notifies.
   979     * mailimport: fix endless looping while trying to import a forwarded mail.
   980     * fuid: keep same fake_mtime for intervals of max_staleness duration.
   981     * Fixes a bug with empty list items in the GUI editor.
   982     * Improve filesys.rename compatibility code (win32).
   983     * Fix locking for CacheEntry.
   984     * Xapian indexing: catch exception when a bad zip file is encountered.
   985     * openidrp / botbouncer: fix param count for CancelLogin().
   987   New features:
   988     * Added CAS authentication.
   989     * Added httponly cookie support and use it for session cookie.
   991   Other changes:
   992     * HTTP auth: added debug logging.
   993     * Minor LDAP auth improvements.
   994     * Data browser widget:
   995       * Add (h)column<idx> css class to make it styleable.
   996       * Include only necessary autofilter options.
   997     * moin maint cleancache purges now drafts, too.
   998     * Add gopher and apt protocols to url_schemas.
   999     * Add .csv, .flv, .swf to MIMETYPES_MORE.
  1002 Version 1.8.4:
  1003   Bug fixes:
  1004     * ACL security: fix bug in hierarchical ACL processing, more restrictive
  1005       sub page ACLs did not work if the current user name did not give a match
  1006       within the sub page ACL (instead, the less restrictive parent page ACL
  1007       was used).
  1008       Non-hierarchical ACL processing (the default) is NOT affected.
  1009     * Creole parser: fix spaces in multiline elements.
  1010     * Use msie.css only for Internet Explorer older than version 8, fixes
  1011       e.g. the double rendering of link icons.
  1012     * http auth: do auth_type comparisons case-insensitively (spec-compliant)
  1014   New features:
  1015     * EmbedObject macro: changed default width value for PDF files to 100%
  1016                          (use a recent Adobe Reader to make this work).
  1017     * CopyPage action: added a TextCha for it
  1019   Other changes:    
  1020     * Creole parser: Add second license: BSD
  1023 Version 1.8.3:
  1024   Bug fixes:
  1025     * AttachFile XSS fixes: move escaping to error_msg / upload_form
  1026     * AttachFile move: add more escaping (maybe not XSS exploitable though)
  1027     * email attachments import with xapian indexing enabled: fix AttributeError
  1028     * fix wrong links in attachment notifications
  1029     * AttachFile do=view: quote filename and pagename params for EmbedObject
  1030       macro call
  1031     * AttachFile: fix exception when someone just clicks on upload, without
  1032       giving a file
  1033     * ldap_login: use None as default value for ssl certs/keys (using '' for
  1034       the pathes lets it fail with Connect Error)
  1035     * release edit lock if someone saves an unchanged page
  1036     * fix sendmail.encodeAddress (do not [QP] encode blanks, do not un-
  1037       necessarily use [QP] encoding for pure ascii mail addresses)
  1038     * Fixed docs bug: see HINT about secrets configuration at version 1.8.0
  1039       (1.8.0 Other changes).
  1040     * backup action: add 'self' dummy argument for backup_exclude function
  1041     * login action: fix formatting of error messages
  1042     * unsubscribe action: add msg types so icons get displayed
  1043     * fix quoting for pagehits stats (info action) - was not working for pagenames with blanks
  1044     * macro.TableOfContents: bug fix for MoinMoinBugs/TableOfContentsIgnoresSectionNumbersPragma
  1046   New features:
  1047     * added modernized_cms theme
  1048     * use url_prefix_fckeditor if you don't want to use the builtin FCKeditor
  1049       of moin, but a separate one at some specific url
  1050     * action.Load: added textcha feature
  1051     * add mumble protocol (nice and good quality F/OSS VOIP conference chat sw)
  1052     * ldap auth: new name_callback param to create a custom wiki username (not
  1053       the ldap login username).
  1055   Other changes:
  1056     * add compatibility code for set to xapwrap.index (fix py 2.6 warnings)
  1057     * wikiutil: MIMETYPES_MORE extended for .md5 as text/plain
  1060 Version 1.8.2:
  1061   Bug fixes:
  1062     * Fix AttachFile and antispam XSS issues.
  1063     * Modernized, modern and rightsidebar themes: make nonexistent or
  1064       badinterwiki links gray also when they are already visited.
  1065     * Fix anchor parsing for interwiki links and #redirect processing
  1066       instruction.
  1067     * user.apply_recovery_token: key must be of type string (for Python 2.6).
  1068     * Fix MoinMoinBugs/GuiEditorBreaksIndentedTable.
  1069     * Fix autofilter javascript breakage caused by including a databrowser
  1070       widget.
  1071     * Use per-wiki i18n cache (fixes wrong links to other farm wikis).
  1072     * Made cfg.interwikiname and cfg.user_homewiki unicode objects (str only
  1073       worked for ascii names).
  1074     * Xapian search: fixed historysearch.
  1075     * Xapian search indexing:
  1076       * Fix index updating for trivial changes.
  1077       * With history search enabled and in update mode, do not try to re-index
  1078         old page revisions again.
  1079       * With history search enabled, index page attachments only once.
  1080       * Fix last modified time of xapian index (shown on SystemInfo page).
  1081     * Make logging handlers defined in logging.handlers work (e.g.
  1082       class=handlers.RotatingFileHandler)
  1083     * Jabber notifications:
  1084       * Use an RFC compliant message type.
  1085       * Fix user creation notifications.
  1086     * OpenID: Compatibility fix for python-openid 2.x.x (also works with
  1087       1.x.x), fixes crash when trying to associate moin user to OpenID.
  1088     * Have a in wiki/server/ so copies it.
  1089     * Fixed inconsistent handling of fragments / anchor IDs:
  1090       * Fixed creole and wiki parser, other parsers might need similar fixes.
  1091       * IDs with blanks, non-ASCII chars etc. are now sanitized in the same way
  1092         for links as well as for link targets, so the user editing a page won't
  1093         have to bother with it.
  1094         E.g. [[#123 foo bar]] will link to:
  1095         * <<Anchor(123 foo bar)>> (moin) or {{#123 foo bar}} (creole)
  1096         * headline = 123 foo bar = (moin / creole)
  1097         Simple rule: if the link and the target are consistent, it should work.
  1098       * The creole wiki parser created non-human-readable sha1 heading IDs
  1099         before 1.8.2, now it creates same (sometimes readable) heading IDs as
  1100         the moin wiki parser.
  1101       * TitleIndex/WordIndex now also use IDs sanitized in that way internally.
  1102       HINT: if you manually worked around the inconsistencies/bugs before, you
  1103             likely have to remove those workarounds now. Same thing if you used
  1104             creole's sha1 heading IDs or IDs on TitleIndex/WordIndex.
  1106   Other changes:
  1107     * Updated FCKeditor to 2.6.4 (== many bug fixes in the GUI editor).
  1108     * Enhanced privacy by a new setting: cfg.log_remote_addr (default: True),
  1109       it controls whether moin logs the remote's IP/hostname to edit-log and
  1110       event-log. Use log_remote_addr = False to enhance privacy.
  1111     * Streamline attachment_drawing formatter behaviour.
  1112     * Search results: only redirect to a single search result for titlesearch
  1113       (fuzzy goto functionality), but not for fulltext search results.
  1117 Version 1.8.1:
  1118   Bug fixes:
  1119     * Workaround win32 locking problems (caused by spurious access denied
  1120       exceptions on that platform).
  1121     * Fix unicode errors that happened when password checker failed a password
  1122     * WikiConfig/WikiConfigHelp: fixed wrong language table headings
  1123     * Themes: make the margins around trail line work properly
  1124     * "modernized" theme:
  1125       * make broken links gray
  1126       * add new right/center/left/justify css classes
  1127       * don't force Arial
  1128     * Standalone server: be more specific when catching socket exceptions,
  1129       treat socket errors in http header emission in the same way.
  1130     * GUI editor:
  1131       * Fix heading levels when inserting new headings.
  1132       * Fix headers already sent exception when using e.g. edit LOCKing.
  1133     * Xapian indexing: fixed missing import for execfilter (only happened on
  1134       non-posix platforms like win32)
  1136   * New features:
  1137     * Themes:
  1138      * Make the TOC shrinkwrap, add white background to navigation macro.
  1139        The table of contents looked bad spanning the whole width of the page.
  1140        It's made to shrinkwrap now, so it will only get as wide, as the longest
  1141        heading. We use display:inline-table, so this won't work in MS IE6,
  1142        which still displays it the old way.
  1143        Navigation macro now has a white background, to make it more readable
  1144        when it's floating over a pre block or TOC.
  1145      * Make the numbers in lists in table of contents right-aligned.
  1146      * Refactored and extended theme.html_stylesheets() to make alternate
  1147        stylesheets possible. Stylesheet definitions now can either be:
  1148        2-tuples: (media, href)  # backwards compatibility
  1149        or:
  1150        3-tuples: (media, href, title)  # new, for defining alternate stylesheets
  1151        This works within themes as well as in the wiki config.
  1152        See also:
  1155 Version 1.8.0:
  1156   Note: This is a reduced CHANGES, ommitting details from rc/beta test and
  1157         also less interesting minor changes and fixes. It shows changes
  1158         relative to 1.7.2 release.
  1159         If you want to see full detail, read it there:
  1162   New Features: ==============================================================
  1163     * HINT: New "modernized" theme - if you use "modern" [default], try:
  1164       theme_default = 'modernized'
  1165       If you find problems with "modernized", please report them because we
  1166       want to use it as default theme in future.
  1167     * GUI Editor:
  1168       * upgraded to use FCKEditor version 2.6.3
  1169       * user can insert and modify various types of MoinMoin links
  1170     * New plugin_dirs setting to allow multiple plugin pathes (additional to
  1171       the automatically configured plugin_dir [default: data_dir/plugin]).
  1172     * @EMAIL@ expands to a MailTo macro call with the obfuscated email address
  1173       of the current user.
  1174     * New macros "WikiConfig" and "WikiConfigHelp".
  1175     * Per-parser quickhelp, 'quickhelp' class variable of parser class.
  1176     * Secure session cookies for https (see cfg.cookie_secure).
  1177     * Added left/center/right/justify css classes to builtin themes.
  1178       Use them like:
  1179       {{{#!wiki justify
  1180       this content is justified....
  1181       }}}
  1183   Removed Features: ==========================================================
  1184     * HINT: url_prefix setting (use url_prefix_static or just use the default)
  1185     * traceback_log_dir setting (we just use logging.exception)
  1186     * editor_quickhelp setting (replaced by per-parser quickhelp)
  1187     * Restoring backups with the backup action and related settings (while
  1188       creating backups is no big issue and should work OK, restoring them
  1189       had fundamental issues related to overwriting or not-overwriting of
  1190       existing files - thus we removed the "restore" part of the action and
  1191       recommend that you just contact the wiki server admin in case of trouble,
  1192       give him your wiki backup file and let him carefully restore it.)
  1193     * Removed unmaintained DesktopEdition (moin 1.5.x style) and phpwiki
  1194       migration scripts from contrib/ directory.
  1196   Bug Fixes: =================================================================
  1197     * GUI Editor - fixed lots of bugs.
  1198     * Fixing https detection for servers using HTTPS=1 and also for WSGI
  1199       servers not using HTTPS/SSL_ environment, but just wsgi.url_scheme.
  1200     * Search results: link to 'view' rendering of found attachments.
  1201     * Standalone server: fix serverClass and interface argument processing,
  1202       announce used serverClass in log output.
  1203     * mointwisted: fixed Twisted start script.
  1204     * Logging:
  1205       * Use logging framework for messages emitted by warnings module (e.g.
  1206         DeprecationWarning), silence some specific warnings.
  1207       * Removed superfluous linefeeds in timing log output.
  1208     * Bug fix for language not installed (MoinMoinBugs/WikiLanguageNotDefined).
  1209     * Fixed editbar hidden comment link cosmetics for sidebar themes (hide the
  1210       complete list element).
  1211     * MoinMoinBugs/DoubleScriptNameInSitemap (fixing urls given by sitemap
  1212       action, if the wiki does not run in the root url of the site)
  1213     * Fixed backup action configuration (broke on win32).
  1214     * Fixed MoinMoinBugs/PackagesAddRevision.
  1215     * SyncPages: add workaround for callers calling log_status with encoded
  1216       bytestrings.
  1217     * Fixed dbw_hide_buttons javascript.
  1218     * HINT: Jabber bot can now be configured to use an authentication realm
  1219       which is different from the server's hostname; the xmpp_node
  1220       configuration parameter can now contain a full JID and the xmpp_resource
  1221       parameter is no longer supported.
  1223   Other Changes: =============================================================
  1224     * HINT: new configuration for misc. secrets, please use either:
  1225           secrets = "MySecretLooongString!" # one secret for everything
  1226       or:
  1227           secrets = {
  1228               'xmlrpc/ProcessMail': 'yourmailsecret', # for mailimport
  1229               'xmlrpc/RemoteScript': 'yourremotescriptsecret',
  1230               'action/cache': 'yourcachesecret', # unguessable cache keys
  1231               'wikiutil/tickets': 'yourticketsecret', # edit tickets
  1232               'jabberbot': 'yourjabberbotsecret', # jabberbot communication
  1233           }
  1234       Secret strings must be at least 10 chars long.
  1235       Note: mail_import_secret setting is gone, use
  1236             secrets["xmlrpc/ProcessMail"] instead of it.
  1237       Note: jabberbot secret setting is gone, use
  1238             secrets["jabberbot"] instead of it.
  1239     * HINT: user_autocreate setting was removed from wiki configuration and
  1240       replaced by a autocreate=<boolean> parameter of the auth objects that
  1241       support user profile auto creation.
  1242     * moin import irclog: use irssi parser to format logs, mapped .irc
  1243       extension to text/plain mimetype.
  1244     * HINT: backup action: backup_exclude (default: "do not exclude anything")
  1245       is now a function f(filename) that tells whether a file should be
  1246       excluded from backup.
  1247       You can get the old regex exclusion functionality by using:
  1248       backup_exclude = re.compile(your_regex).search
  1249       Be careful with your regex, you might need to use re.escape() to escape
  1250       characters that have a special meaning in regexes (e.g.: \.[] etc.).
  1251       If in doubt, maybe just leave backup_exclude at the default and don't
  1252       exclude anything.
  1253     * Speed up javascript comments processing on IE by getElementsByClassName()
  1254     * Added sk (slovak) i18n, updated i18n.
  1257 1.7.3:
  1258   New features:
  1259     * Secure session cookies for https, see cfg.cookie_secure.
  1260     * Add left/center/right/justify classes to builtin themes.
  1262   Fixes:
  1263     * Python 2.3 compatibility fixes.
  1264     * Fixed https detection for servers using HTTPS=1 and also for wsgi servers
  1265       not using HTTPS/SSL_ environment, but just wsgi.url_scheme.
  1266     * GUI editor:
  1267       * Fix crash when editing a page with non-ASCII pagename and inserting a link
  1268       * Fix "headers already sent exception" with edit LOCKs.
  1269     * i18n.__init__: Bug fix for wiki language not installed.
  1270     * Fixed URLs given by sitemap action, if the wiki does not run at / URL.
  1271     * Search results: link to 'view' rendering of found attachments
  1272     * Logging:    
  1273       * Removed superfluous linefeed in timing log output.
  1274       * Use logging framework for messages emitted by warnings module (e.g.
  1275         DeprecationWarning), silence some specific warnings.
  1276     * Fix dbw_hide_buttons javascript.
  1277     * Standalone server:
  1278       * fix serverClass argument processing
  1279       * fix --interface="" argument processing
  1280     * mointwisted:
  1281       * added missing pidFile parameter
  1282       * better use for pidFile to avoid conflicts and keep same
  1283         behaviour as in the past
  1284     * Jabber bot can now be configured to use an authentication realm which
  1285       is different from the server's hostname
  1288 Version 1.7.2:
  1289   Fixes:
  1290     * Fix leakage of edit-log file handles (leaked 1 file handle / request!).
  1291     * Fix for MoinMoinBugs/SystemAdminMailAccountData (using POST and forms)
  1292     * Wiki parser: avoid IndexError for empty #! line
  1293     * MonthCalendar macro: fix parameter parsing / url generation
  1294     * Xapian indexing filters (MoinMoin/filter/ or data/plugin/filter/):
  1295       Some indexing filter scripts (e.g. for MS Word documents or PDF files)
  1296       failed on windows because of the single-quote quoting we used (that
  1297       works on Linux and other Posix systems). The fix introduces platform-
  1298       dependant automatic quoting, using double-quotes on win32 and single-
  1299       quotes on posix.
  1300       HINT: if you use own filter plugins based on execfilter, you have to
  1301       update them as the filename quoting (was '%s') is now done automatically
  1302       and must not be part of the command string any more (now just use %s).
  1303       See MoinMoin/filter/ for some up-to-date code (esp. the PDF filter).
  1304     * Prevent CategoryTemplate being listed as a category (it is a Template,
  1305       but matched also the category regex) - added to sample wikiconfig.
  1306     * LDAP auth: fix processing of TLS options
  1307     * UpdateGroup xmlrpc server side: fix wrong arg count error
  1308     * UpdateGroup client: use multicall / auth_token, refactor code so that
  1309       updateGroup function is reusable.
  1310     * Improve Python 2.3 compatibility, add notes where 2.4 is required.
  1313 Version 1.7.1:
  1314   New features:
  1315     * New 'cache' action (see developer notes).
  1317   Fixes:
  1318     * Security fix: XSS fix for advanced search form
  1319     * Avoid creation of new pagedirs with empty edit-log files by just
  1320       accessing a non-existant page. If you used 1.7 before, you likely have
  1321       quite some trash pagedirs now and you can clean them up by using:
  1322       moin --config-dir=... --wiki-url=... maint cleanpage
  1323       This will output some shell script (please review it before running!)
  1324       that can be used to move trash pages into some trash/ directory and also
  1325       moves deleted pages into some deleted/ directory. Maybe keep a copy of
  1326       those directories for a while just for the case.
  1327     * Server specific fixes:
  1328       * standalone ( fix --pidfile and --group option, fix
  1329         operation without a (use builtin defaults).
  1330       * mod_python: work around mod_python 3.3.1 problems with file uploads.
  1331         Note: if you are still using mod_python, we strongly recommend you
  1332 	      try out mod_wsgi (in daemon mode) - it has less bugs, better
  1333 	      security, better separation, WSGI is a Python standard, and moin
  1334 	      developers also use WSGI. See HelpOnInstalling/ApacheWithModWSGI.
  1335     * revert action: fixed for deleted pages.
  1336     * Search:
  1337       * Xapian indexing: Removed crappy "hostname" tokenization.
  1338         Fixes MoinMoinBugs/1.7 XapianNotWorkingWithLeadingNumbersInTitle.
  1339         Also tokenize CamelCase parts of non-wikiwords.
  1340       * Make query parser reject more invalid input.
  1341       * If query parsing raises a BracketError, at least tell what the problem
  1342         is (and not just raise empty  ValueError).
  1343       * Category search: ignore traling whitespace after ----
  1344     * Argument parser:
  1345       * Fixed sort() usage in UnitArgument to be Python 2.3 compatible.
  1346       * Fixed MoinMoinBugs/TypeErrorInWikiutils.
  1347     * Macros:
  1348       * TableOfContents: skip outer-most <ol> levels when page isn't using
  1349         the biggest headings
  1350       * MonthCalendar: fix MoinMoinBugs/MonthCalendarBreaksOnApostrophe
  1351     * xslt parser: fix MoinMoinBugs/DoNotConvertUnicodeToUTF8ForXsltParser
  1352     * OpenID RP: make it compatible to python-openid 2.2.x
  1353     * PackagePages.collectpackage: removed encoding from file name of zipfile
  1354     * Surge protection: exclude localnet no matter whether user is known or not.
  1355     * Notifications: fix MoinMoinBugs/DuplicateNewUserNotification
  1356     * Script moin account create/disable/resetpw: checks for already existing
  1357       user now.
  1359   Other changes:
  1360     * Prevent CategoryTemplate being listed as a category (it is a Template)
  1361       by changing the default page_category_regex.
  1363   Developer notes:
  1364     * New MoinMoin.action.cache - can be used to cache expensively rendered
  1365       output, e.g. generated images). Once put into the cache, moin can emit
  1366       a http response for that content very fast and very efficient (including
  1367       "304 not changed" handling.
  1368     * New file-like API in MoinMoin.caching (good for dealing with medium
  1369       to large files without consuming lots of memory).
  1370     * wikiutil.importPlugin supports getting the whole plugin module object
  1371       by giving function=None.
  1374 Version 1.7.0:
  1375   Note: This is a reduced CHANGES, ommitting details from rc/beta test and
  1376         also less interesting minor changes and fixes. It shows changes
  1377         relative to 1.6.3 release.
  1378         If you want to see full detail, read it there:
  1381   New Features: ==============================================================
  1382     * HINT: we added generic UPDATE instructions as docs/UPDATE.html.
  1384     * HINT: Standalone server usage changed:
  1385       * Standalone server can now be started via the "moin" script command,
  1386         optionally backgrounding itself.
  1387         See: moin server standalone --help
  1388       * In the toplevel dir, we have renamed to (it was
  1389         often confused with the moin scripting command).
  1390         Now you have:
  1391         * - to start the standalone server
  1392         * - to configure the standalone server
  1393         * wikiserverlogging.conf - to configure logging for it (default config
  1394           is ok for all day use, but can easily be modified for debugging)
  1395         * - to configure the wiki engine
  1396       * Removed old moin daemonizing script (replaced by moin server standalone
  1397         --start/stop)
  1398       * We now provide the "moin" script command also for people not using
  1399, see wiki/server/moin.
  1401     * Logging
  1402       * New powerful and flexible logging, please see wiki/config/logging/ -
  1403         HINT: you have to upgrade your server adaptor script (e.g. moin.cgi)
  1404         and load a logging configuration that fits your needs from there, or
  1405         alternatively you can also set MOINLOGGINGCONF environment variable
  1406         to point at your logging config file.
  1407         If you use some of our sample logging configs, make sure you have a
  1408         look INTO them to fix e.g. the path of the logfile it will use.
  1409       * Moin now logs the path from where it loaded its configuration(s).
  1411     * Authentication / Sessions:
  1412       * HINT: New authentication plugin system, see HelpOnAuthentication. If
  1413         you do not use the builtin default for 'auth' list, you likely have to
  1414         change your configuration. See wiki/config/snippets/ for some samples.
  1415       * HINT: New session handling system (no moin_session any more, now done
  1416         internally and automatically), see HelpOnSessions for details.
  1417       * Added OpenID client and server support.
  1418         See: HelpOnAuthentication and HelpOnOpenIDProvider.
  1419       * cfg.trusted_auth_methods is a list of auth methods that put an
  1420         authenticated user into the "Trusted" ACL group.
  1422     * User profiles / password recovery / notification:
  1423       * New newacount action for creating new user accounts/profiles. If you
  1424         don't want users creating new accounts on their own, you can add this
  1425         action to actions_excluded list.
  1426       * New recoverpass action for password recovery:
  1427         If you forgot your password, recoverpass sends you an email with a
  1428         password recovery token (NOT the encrypted password) that is valid
  1429         for 12 hours.
  1430       * New moin account resetpw script for resetting a user's password by
  1431         the wiki admin.
  1432       * New preferences plugin system, see MoinMoin/userprefs/
  1433       * New notification system with an optional jabber notification bot, see
  1434         HelpOnNotification. HINT: wiki users have to check their notification
  1435         settings, esp. if they want to receive trivial update notifications.
  1437     * The diff action now has navigation buttons for prev/next change and also
  1438       a revert button to revert to the revision shown below the diff display.
  1439     * ThemeBase: support Universal Edit Button, see there for details:
  1441     * ?action=info&max_count=42 - show the last 42 history entries of the page.
  1442       max_count has a default of default_count and a upper limit of
  1443       limit_max_count - you can configure both in your wiki config:
  1444       cfg.history_count = (100, 200) # (default_count, limit_max_count) default
  1445     * The CSV parser can sniff the delimiter from the first CSV line so other
  1446       delimeters than ";" can be used.
  1447     * Admonition support. Added styling for tip, note, important, warning 
  1448       and caution in the modern theme. For more info see HelpOnAdmonitions.
  1449     * DocBook-formatter:
  1450       * supports HTML entities like &rarr; and &#9731;
  1451       * supports the FootNote macro
  1452       * supports bulletless lists
  1453       * support for admonitions
  1454       * will export the wiki page's edit history as the generated article's
  1455         revision history. Doesn't add history of included pages.
  1456       * supports for the MoinMoin comment element, though only inline comments
  1457         are likely to be valid since the DocBook remark is an inline element.
  1458     * New Hits macro: shows the total hits for the page it is used on.
  1460   Removed Features: ==========================================================
  1461     * HINT: Removed attachments direct serving (cfg.attachments - this was
  1462             deprecated since long!). Use AttachFile action to serve attachments.
  1463     * Duplicated file attachment upload code was removed from Load action (just
  1464       use AttachFile action to deal with attachments).
  1465     * Removed 'test' action. If you like to run unit tests, use py.test.
  1466     * Removed Login macro.
  1468   Bug Fixes: =================================================================
  1469     * Better handling of ImportErrors (farmconfig, macros, wikiserverconfig).
  1470     * Fix failure of detection of on-disk cache updates.
  1471     * Fix traceback in on Mac OS X when "import Carbon" fails.
  1473     * AttachFile action / file up- and download / zip support:
  1474       * WSGI: use wsgi.file_wrapper (or a builtin simple wrapper). Fixes memory
  1475         consumption for sending of large file attachments.
  1476       * FastCGI: flush often. Fixes memory consumption for sending of large
  1477         file attachments.
  1478       * Use the open temporary file for receiving file attachment uploads
  1479         (fixes big memory consumption for large file uploads).
  1480       * Catch runtime errors raised by zipfile stdlib modules when trying to
  1481         process a defective zip.
  1482       * When unzipping member files, decode their filenames from utf-8 and
  1483         replace invalid chars.
  1484       * Make error msg less confusing when trying to overwrite a file attachment
  1485         without having 'delete' rights.
  1487     * HINT: page_*_regex processing had to be changed to fix category search.
  1488       If you don't use the builtin (english) defaults, you will have to change
  1489       your configuration:
  1490         old (default): page_category_regex = u'^Category[A-Z]'
  1491         new (default): page_category_regex = ur'(?P<all>Category(?P<key>\S+))'
  1492       As you see, the old regex did work for detecting whether a pagename is
  1493       a category, but it could not be used to search for a category tag in the
  1494       page text. The new regex can be used for both and identifies the complete
  1495       category tag (match in group 'all', e.g. "CategoryFoo") as well as the
  1496       category key (match in group 'key', e.g. "Foo") by using named regex
  1497       groups. \S+ means the category key can be anything non-blank.
  1498       If you like to simultaneously support multiple languages, use something
  1499       like this: ur'(?P<all>(Kategorie|Category)(?P<key>\S+))'
  1500       HINT: after changing your configuration, please rebuild the cache:
  1501         * stop moin
  1502         * moin ... maint cleancache
  1503         * start moin
  1504       If you don't do this, your groups / dicts will stop working (and also
  1505       your ACLs that use those groups). You better do a test whether it works.
  1507     * Xapian search / indexing / stemming:
  1508       * Use text/<format> as mimetype for pages.
  1509       * Index also major and minor for mimetypes, so it will find 'text' or
  1510         'plain' as well as 'text/plain'
  1511       * Fix searching for negative terms.
  1512       * Improve result list ordering.
  1513       * Index filters: redirect stderr to logging system.
  1514       * Remove crappy num regex from WikiAnalyzer, improve tokenization.
  1515       * Fix AttributeError that happened when trying to access an attribute only
  1516         used with xapian search (but regex search is not done by xapian)
  1517       * Fix IndexErrors happening when pages are renamed/nuked after the index
  1518         was built.
  1519       * Fixed indexing of WikiWords (index "WikiWords", "Wiki" and "Words").
  1520       * Fix crash if default language is un-stemmable.
  1521       * xapian_stemming: removed some strange code (fixes search
  1522         title:lowercaseword with xapian_stemming enabled)
  1523       * Fixed category indexing (index CategoryFoo correctly as CategoryFoo, not
  1524         Foo - for all languages, see page_*_regex change above).
  1525     * Builtin search: support mimetype: search for pages for the builtin search
  1526       engine (using text/<format>).
  1528     * Parser fixes:
  1529       * Wiki: fix subscript parsing (was broken for cases like 'a,,1,2,,').
  1530       * Docbook: fixed detection of WikiWords.
  1531       * All: Add ssh protocol to url_schemas for ssh:... URLs.
  1533     * XMLRPC:
  1534       * Fix xmlrpc call to use content-length, if available,
  1535         fixes hangs with wsgiref server.
  1536       * Wiki xmlrpc getPageInfoVersion() fixed:
  1537         * works correctly now for old page versions (was unsupported)
  1538         * works correctly now for current page version (reported wrong
  1539           data when a page had attachment uploads after the last page
  1540           edit)
  1541         * returns a Fault if it did not find a edit-log entry
  1543   Other Changes: =============================================================
  1544     * Using better ACLs and comments on system/help pages now, just taking
  1545       away 'write' permission, but using default ACLs for everything else.
  1546     * HINT: If you want to use xapian based indexed search, you need to have
  1547       Xapian >= 1.0.0 (and you can remove PyStemmer in case you have installed
  1548       it just for moin - we now use the stemmer built into Xapian as it
  1549       supports utf-8 since 1.0.0).
  1550     * Changed default value of cfg.search_results_per_page to 25.
  1551     * Surge Protection: If a user is authenticated by a trusted authentication
  1552       (see also cfg.auth_methods_trusted) then he/she won't trigger surge
  1553       protection, but moin will just log a INFO level log msg with the user's
  1554       name so you can find the culprit in case he/she is overusing ressources.
  1555     * HINT: Added MyPages and CopyPage to actions_excluded because MyPages
  1556       doesn't work without special SecurityPolicy anyway and CopyPage has
  1557       questionable behaviour.
  1558     * Load action now just creates a new revision of the target page, the
  1559       target pagename defaults to the current page name and can be edited.
  1560       If the target pagename is empty, moin tries to derive the target pagename
  1561       from the uploaded file's name.
  1562       Load tries to decode the file contents first using utf-8 coding and, if
  1563       that fails, it forces decoding using iso-8859-1 coding (and replacing
  1564       invalid characters).
  1565     * HINT: cfg.show_login is gone, see code in theme/, this may
  1566       affect many themes!
  1567     * HINT: a new userprefs/ plugin directory will be created by the usual
  1568       "moin migration data" command.
  1569     * DocBook-formatter:
  1570       * generates a valid DOCTYPE
  1571       * table support has been improved
  1572       * handling of definitions and glossaries is more robust
  1573       * supports program language and line numbering in code areas
  1574     * HINT: ldap_login behaves a bit different now:
  1575       In previous moin versions, ldap_login tended to either successfully
  1576       authenticate a user or to completely cancel the whole login process in
  1577       any other case (including ldap server down or exceptions happening).
  1578       This made subsequent auth list entries rather pointless.
  1579       Now it behaves like this:
  1580         * user not found in LDAP -> give subsequent auth list entries a
  1581           chance to authenticate the user (same happens if it finds multiple
  1582           LDAP entries when searching - it logs an additional warning then).
  1583         * user found, but wrong password -> cancel login
  1584         * ldap server not reachable or other exceptions -> give subsequent
  1585           auth list entries a chance
  1586       So please make sure that you really trust every auth list entry you have
  1587       configured when upgrading or it might maybe change behaviour in a
  1588       unexpected or unwanted way.
  1589     * ldap_login now supports failover: if it can't contact your LDAP server
  1590       (e.g. because it is down or unreachable), it will just continue and
  1591       try to authenticate with other authenticators (if there are any in
  1592       cfg.auth list). So if you have some mirroring LDAP backup server, just
  1593       put another authenticator querying it there:
  1594           ldap_auth1 = LDAPAuth(server_uri='ldap://mainserver', ...)
  1595           ldap_auth2 = LDAPAuth(server_uri='ldap://backupserver', ...)
  1596           auth = [ldap_auth1, ldap_auth2, ]
  1598   Developer notes: ===========================================================
  1599     * Page.last_edit() is DEPRECATED, please use Page.edit_info().
  1600     * Page._last_edited() is GONE (was broken anyway), please use
  1601       Page.editlog_entry().
  1602     * New request.send_file() call, making it possible to use server-specific
  1603       optimizations.
  1604     * getText's (aka _()) 'formatted' keyword param (default: True in 1.6 and
  1605       early 1.7) was renamed/changed: it is now called 'wiki' and defaults to
  1606       False. Example calls:
  1607       _('This will NOT get parsed/formatted by MoinMoin!')
  1608       _('This will be parsed/formatted by MoinMoin!', wiki=True)
  1609       _('This will be used as a left side of percent operator. %s',
  1610         wiki=True, percent=True)
  1611     * Page.url 'relative' keyword param (default: True in 1.6 and early 1.7)
  1612       was changed to default False).
  1613     * The themedict no longer contains 'page_user_prefs' and 'user_prefs',
  1614       this may affect custom themes.
  1615     * The rst-parser's admonition class names are no longer prepended with
  1616       "admonition_". Instead the class names are now for example "note"
  1617       and not "admonition_note".
  1620 Version 1.6.3:
  1621   Fixes:
  1622     * Security fix: a check in the user form processing was not working as
  1623       expected, leading to a major ACL and superuser priviledge escalation
  1624       problem. If you use ACL entries other than "Known:" or "All:" and/or
  1625       a non-empty superuser list, you need to urgently install this upgrade.
  1626     * Security fix: if acl_hierarchic=True was used (False is the default),
  1627       ACL processing was wrong for some cases, see
  1628       MoinMoinBugs/AclHierarchicPageAclSupercededByAclRightsAfter
  1629     * For {{transclusion_targets}} we checked the protocol to be http(s),
  1630       this check was removed (because file: and ftp: should work also) and
  1631       it's not moin's problem if the user uses silly protocols that can't
  1632       work for that purpose.
  1633     * Fixed TableOfContents macro for included pages.
  1634     * server_fastcgi: added Config.port = None. If you want to use some port
  1635       (not a fd), you can set it now in your Config, e.g. port = 8888.
  1636     * category: search matches categories even if there are comment lines
  1637       between the horizontal rule and the real categories, e.g.:
  1638       ... some page text ...
  1639       ----
  1640       ## optionally some comments, e.g. about possible categories:
  1641       ## CategoryJustACommentNotFound
  1642       CategoryTheRealAndOnly
  1644       Note: there might be multiple comment lines, but all real categories
  1645             must be on a single line either directly below the ---- or
  1646             directly below some comment lines.
  1648   Other changes:
  1649     * Added 'notes' to config.url_schemas, so you can use notes://notessrv/...
  1650       to invoke your Lotus Notes client.
  1651     * After creating a new user profile via UserPreferences, you are logged
  1652       in with that user (no need to immediately enter the same name/password
  1653       again for logging in).
  1656 Version 1.6.2:
  1657   Fixes:
  1658     * Security fix: check the ACL of the included page for the rst parser's
  1659       include directive.
  1660     * Potential security/DOS fix: we removed cracklib / python-crack support
  1661       in password_checker as it is not thread-safe and caused segmentation
  1662       faults (leading to server error 500 because the moin process died).
  1663     * Fix moin_session code for auth methods other than moin_login (e.g. http).
  1664       If you have worked around this using moin_anon_session, you can remove
  1665       this workaround now (except if you want anon sessions for other reasons).
  1666     * Fix moin_session code to delete invalid session cookies and also create
  1667       a new session cookie if it got a valid user_obj at the same time.
  1668     * Fix xmlrpc applyAuthToken: give good error msg for empty token.
  1669     * Fixed category search, use category:CategoryFoo as search term.
  1670     * xapian_stemming = False (changed default) to workaround some problems
  1671       in the code enabled by it. Fixes the problems when searching for
  1672       lowercase or numeric titles or word fragments with the builtin search.
  1673     * Fix trail for anon users without a session, do not show a single page.
  1674     * Fix MoinMoinBugs/WikiSyncComplainsAboutTooOldMoin.
  1675     * Wiki parser: fixed strange insertion of unwanted paragraphs.
  1676     * Wiki parser: fix interwiki linking:
  1677       Free interwiki links did not change since 1.5 (they still require to match
  1678       [A-Z][A-Za-z]+ for the wikiname part, i.e. a ASCII word beginning with an
  1679       uppercase letter).
  1680       Bracketed interwiki links now behave similar to how they worked in 1.5:
  1681       Moin just splits off the part left of the colon - no matter how it looks
  1682       like. It then tries to find that in the interwiki map. If it is found,
  1683       a interwiki link gets rendered. If it is not found, moin will render a
  1684       link to a local wiki page (that has a colon in the pagename). It will
  1685       also render a local wiki page link if there is no colon at all, of course.
  1686       Examples:
  1687       [[lowercasewikiname:somepage]] does an interwiki link (if in the map).
  1688       [[ABC:n]] does a local link to page ABC:n (if ABC is NOT in the map).
  1689     * Wiki parser: fix interwiki linking for the case that there are query args
  1690       in the interwiki map entry and you give additional query args via link
  1691       markup (uses correct query arg separator now), e.g.:
  1692       [[Google:searchterm|search this|&foo=bar]]
  1693     * Creole parser: fixed bug that prevents images inside links.
  1694     * Python parser: catch indentation error.
  1695     * PageEditor: fixed copyPage for write restricted pages.
  1696     * GUI editor: fixed javascript error with too complex word_rule regex,
  1697       see MoinMoinBugs/GuiEditorSyntaxError.
  1698     * Fixed FCKeditor dialog boxes for FireFox3.
  1699     * NewPage macro/newpage action: fixed for non-ascii template pagenames.
  1700     * FootNote macro: Fix MoinMoinBugs/FootNoteNumbering.
  1701     * EmbedObject macro: bug fix for image mimetype
  1702     * WSGI:
  1703       * fix TWikiDraw saving a drawing by also evaluating the query args.
  1704       * work around unpythonic WSGI 1.0 read() API, fixing broken xmlrpc
  1705         putPage with mod_wsgi
  1706     * Fix highlighting (see MoinMoinBugs/SearchForPagesWithComments).
  1707     * Fix logfile code for EACCESS errors.
  1708     * Removed the "logging initialized" log messages because it was issued once
  1709       per request for CGI.
  1711   Other changes:
  1712     * Show "Comments" toggling link in edit bar only if the page really
  1713       contains comments.
  1714     * Made default configuration of surge protection a bit more forgiving,
  1715       especially for edit action which is currently also used for previews.
  1716     * Updated i18n, system/help pages, added Macedonian system text translation.
  1717     * Improved moin xmlrpc write command's builtin docs and auto-append
  1718       ?action=xmlrpc2 to the target wiki url given.
  1721 Version 1.6.1:
  1722   New features:
  1723     * Improved params for [[target|label|params]]:
  1724       Added accesskey link tag attribute, e.g.: [[target|label|accesskey=1]].
  1725       Additionally to specifying link tag attributes (like class=foo), you can
  1726       now also specify &key=value for getting that into the query string of
  1727       the link URL.
  1728       The "&" character is important, don't forget it or it won't get into the
  1729       query string!
  1730       E.g. for an attachment, you can use:
  1731       [[attachment:foo.pdf|Direct download of foo.pdf|&do=get]]
  1732       E.g. for linking to some specific diff, you can use:
  1733       [[SomePage|see that diff|&action=diff,&rev1=23,&rev2=42]]
  1734       See also the updated HelpOnLinking page!
  1735     * AdvancedSearch: make multipe categories/languages/mimetype selections possible
  1736     * Added a configuration directive to only do one bind to the LDAP server.
  1737       This is useful if you bind as the user the first time.
  1738       ldap_bindonce = False # default
  1740   Fixes:
  1741     * Fix XSS issue in login action.
  1742     * Fix wrong pagename when creating new pages on Mac OS X - that was a big
  1743       showstopper for moin 1.6.0 on Mac OS X.
  1744     * Fixed 1.6 migration script:
  1745       Make sorting python 2.3 compatible.
  1746       Just skip corrupted event log lines.
  1747       Fix link conversion by using data.pre160 as data_dir.
  1748       Fix bad /InterWiki pagenames when encountering interwiki links with bad
  1749       wiki names.
  1750       Improve ImageLink conversion by using its argument parser code.
  1751       Added STONEAGE_IMAGELINK (default: False) switch to wiki markup converter,
  1752       toggle it if you had a very old ImageLink macro in production and the
  1753       converter output has target and image interchanged.
  1754       Fixed UnicodeDecodeError for wrongly encoded attachment filenames.
  1755     * Wiki parser:
  1756       Fix parsing of link/transclusion description and params.
  1757       Fix relative attachment targets.
  1758       Fix supported URL schemes (some got lost since 1.5.8).
  1759       Showing an upload link for non-existing non-text/non-image transclusions
  1760       now (like e.g. *.pdf).
  1761     * RST parser: fix attachment: and drawing: processing
  1762     * Fix quickhelp when editing RST markup pages.
  1763     * Fix Despam action: editor grouping was broken, increase time interval
  1764       to 30 days.
  1765     * Fix AdvancedSearch domain:system search crashing.
  1766     * Only switch off xapian search if we didn't use it because of missing index.
  1767     * Fix saving twikidraw drawings by removing 'java' from spider regex.
  1768     * Fix classic theme's unsubscribe icon's action link.
  1769     * Fix AttachFile action: don't show unzip for packages, only show install
  1770       for superuser.
  1771     * Fix "su user" troubles on UserPreferences.
  1772     * Removed unit tests from ?action=test (due to changes in our test
  1773       environment, using py.test now, this was broken).
  1774     * Duplicated the top directories' to wiki/server/ so it gets
  1775       installed by
  1776     * Fix MoinMoinBugs/1.6.0LanguageIgnoreBrowserConfigurationError
  1777     * Fix MoinMoinBugs/MoveAttachmentNotWorkingWithModPython
  1778     * Fix MoinMoinBugs/1.6.0SupplementationAndAccessRights
  1779     * Fix MoinMoinBugs/RenamingUserAllowsOldUsernameToLogin
  1780     * Fix MoinMoinBugs/GuiEditorExcelPasteExpatErrorUnboundPrefix
  1782   Other changes:
  1783     * I18n texts, system and help pages updated, please update your underlay
  1784       directory (see wiki/underlay/...).
  1785     * Improved "moin" script help, invoke it with "moin ... package command --help".
  1786     * Added some .ext -> mimetype mappings missing on some systems (like Mac OS X).
  1787     * Removed ImageLink macro, as this can be easily done with moin wiki link
  1788       syntax now - see HelpOnMacros/ImageLink (the 1.6 migration scripts convert
  1789       all ImageLink calls to moin wiki link syntax).
  1790     * Updated EmbedObject macro.
  1793 Version 1.6.0:
  1794  * This is a reduced CHANGES, ommitting details from rc/beta test and also
  1795    less interesting minor changes and fixes. If you want to see full detail,
  1796    read it there:
  1798    It took MoinMoin development a lot of work and time to implement all the new
  1799    and fixed stuff, so please, before asking for support:
  1800    * take the time to read all the stuff below
  1801    * read the new help pages (copy them from wiki/underlay/ directory)
  1803  * HINT: If you are upgrading from a older moin version and want to keep your
  1804    existing data directory, it is essential that you read and follow
  1805    README.migration because the wiki markup and user profiles changed significantly.
  1806    See also more HINTs below...
  1808   New features: ==============================================================
  1810   User interface: ------------------------------------------------------------
  1811     * Removed "underscore in URL" == "blank in pagename magic" - it made more
  1812       trouble than it was worth. If you still want to have a _ in URL, just
  1813       put a _ into pagename.
  1814     * Discussion pages, see FeatureRequests/DiscussionAndOrCommentPages.
  1815     * cfg.password_checker (default: use some simple builtin checks for too
  1816       easy passwords and, if available, python-crack).
  1817       Use password_checker = None to disable password checking.
  1818     * We now have a drafts functionality (no */MoinEditorBackup pages any
  1819       more):
  1820       * If you edit a page and cancel the edit, use preview or save, a draft
  1821         copy gets saved for you to a internal cache area (data/cache/drafts/).
  1822       * If it is a save what you did and it succeeds, the draft copy gets
  1823         killed right afterwards.
  1824       * If you accidentally used cancel or your browser or machine crashes
  1825         after you used preview, then just visit that page again and edit it.
  1826         the editor will notify you that there is a draft of this page and you
  1827         will see a "Load draft" button. Click on it to load the draft into the
  1828         editor and save the page.
  1829       * The draft storage is per user and per page, but only one draft per page.
  1830     * cfg.quicklinks_default and cfg.subscribed_pages_default can be used to
  1831       preload new user profiles with configurable values.
  1832     * attachment links for non-existing attachments look different now:
  1833       the note about the non-existing attachment moved to the link title,
  1834       the link is shown with nonexistent class (grey).
  1835     * attachment embeddings for non-existing attachments show a grey clip
  1836     * The list of InterWiki sites is editable in the wiki (page InterWikiMap),
  1837       it is getting reloaded every minute.
  1838     * We support some new languages and also have new underlay pages, thanks
  1839       to all translators and people helping with the docs!
  1841   Actions: -------------------------------------------------------------------
  1842     * Synchronisation of wikis using the SyncPages action.
  1843     * Xapian (see based indexed search code.
  1844       To use this:
  1845       * Install xapian-core and xapian-bindings on your machine.
  1846         We used 0.9.4, but newer code should hopefully work, too.
  1847       * cfg.xapian_search = True
  1848       * Execute this to build the index:
  1849         $ moin ... index build   # indexes pages and attachments
  1850         $ moin ... index build --files=files.lst  # same plus a list of files
  1851         You should run those commands as the same user you use for your wiki,
  1852         usually this is the webserver userid, e.g.:
  1853         $ sudo -u www-data moin --config=... \
  1854                index build --files=files.lst
  1855     * New searches:
  1856         - LanguageSearch: language:de
  1857         - CategorySearch: category:Homepage
  1858         - MimetypeSearch: mimetype:image/png (for attachments/files)
  1859         - DomainSearch: domain:underlay or domain:standard
  1860         - History Search: available in advanced ui
  1861       Note: Some currently only available when Xapian is used.
  1862     * New config options and their defaults:
  1863         xapian_search        False  enables xapian-powered search
  1864         xapian_index_dir     None   directory for xapian indices
  1865                                     (can be shared for wiki farms)
  1866         xapian_stemming      True   toggles usage of stemmer, fallback
  1867                                     to False if no stemmer installed
  1868         search_results_per_page 10  determines how many hits should be
  1869                                     shown on a fullsearch action
  1870         xapian_index_history False  indexes all revisions of pages to
  1871                                     allow searching in their history
  1872     * Speeded up linkto search by avoiding read locks on the pagelinks file.
  1874     * The action menu now calls the actions for the revision of the page you
  1875       are currently viewing. If you are viewing the current page revision, you
  1876       get the same behaviour as in moin 1.5, but if you are viewing an old
  1877       page revision, action "raw" will now show you the raw text of this OLD
  1878       revision (not of the current revision as moin 1.5 did it).
  1879       Note that not every action does evaluate the rev=XX parameter it gets.
  1880       Also please note that the edit, info, ... links in the editbar do NOT
  1881       use the rev parameter, but operate on the latest page revision (as
  1882       they did in moin 1.5).
  1883     * Info action lost the links for "raw", "print" and "revert" actions,
  1884       because you can now just view an old revision and select those actions
  1885       from the menu there.
  1887     * ?action=sitemap emits a google sitemap (XML), listing all your wiki pages
  1888       and the wiki root URL.
  1889       Page                      Priority / Frequency / Last modification
  1890       --------------------------------------------------------------------
  1891       /                         1.0 / hourly / <now>
  1892       cfg.page_front_page       1.0 / hourly / page last edit
  1893       TitleIndex,RecentChanges  0.9 / hourly / <now>
  1894       content pages             0.5 / daily / page last edit
  1895       system/help pages         0.1 / yearly / page last edit
  1897     * Action DeletePage and RenamePage can now be used for subpages of a page, too.
  1898     * Added Action CopyPage so you can use now an existing page or page hierarchy
  1899       as template for a new page, see FeatureRequests/CloneOrCopyPages.
  1900     * "Package Pages" action supports attachments now.
  1901     * Added SisterPages support:
  1902       * action=sisterpages will generate a list of url pagename lines for all
  1903         pages in your moin wiki.
  1904       * action=pollsistersites will poll all sister sites listed in
  1905         cfg.sistersites = [(wikiname, fetchURL), ...]
  1906         The fetch URL for the sistersites depends on the wiki engine, e.g.:
  1907         # moin based wiki:
  1908         ('MoinExample', '')
  1909         # oddmuse based wiki:
  1910         ('EmacsWiki', '')
  1911         # JspWiki based wiki:
  1912         ('JspWiki', '')
  1913       * If the current page exists on some sister wiki, a link to it will be
  1914         added to the navibar.
  1915       You can use sister wikis for adding another dimension to your wiki UI: use
  1916       it for simple multi language support, or for comments, or anything else
  1917       "related" you need.
  1918       TODO: add sistersites_force with sister sites we link to even if they do not
  1919             have the page yet (will work only for moin as we don't know
  1920             pagename>url transformation of other wikis)
  1921     * showtags action that lists all tags related to a page.
  1922     * action=view does use mimetypes of EmbedObject too and text files will be shown
  1923       by using their colorized parsers
  1925   Macros: --------------------------------------------------------------------
  1926     * RecentChanges:
  1927       * If a change has happened after your bookmark, the updated/new/renamed
  1928         icon links to the bookmark diff.
  1929       * If a page does not exist any more (because it was deleted or renamed),
  1930         we link the deleted icon to the diff showing what was deleted (for the
  1931         delete action). For the rename action, we just show the deleted icon.
  1932     * Conflict icon in RecentChanges is shown if a edit conflict is detected.
  1933     * Enhanced SystemAdmin's user browser, so a SuperUser can enable/disable
  1934       users from there.
  1935     * Included EmbedObject macro for embedding different major mimetypes:
  1936       application, audio, image, video, chemical, x-world. 
  1937       You are able to change the defaults of allowed mimetypes in the config
  1938       var mimetypes_embed. The config var mimetypes_xss_protect is used to deny
  1939       mimetypes. The order of both variables is Allow, Deny (mimetypes_embed,
  1940       mimetypes_xss_protect).
  1941     * Added support for @SELF to the NewPage macro.
  1942     * GetText2 macro that allows to translate messages that contain data.
  1943     * Make the FootNote macro filter duplicates and display a list of numbers
  1944       instead of a list of identical footnotes. Thanks to Johannes Berg for the
  1945       patch.
  1947   Parsers: -------------------------------------------------------------------
  1948     * Moin Wiki parser: Changed markup for links, images and macros, see these
  1949       wiki pages: HelpOnLinking, HelpOnMacros
  1950     * New wiki markup for /* inline comments */ - they get rendered as a span
  1951       with class="comment", see next item:
  1952     * There is a new item in the edit bar: "Comments". If you click it, the
  1953       visibility of all class "comment" tags will be toggled. There is a user
  1954       preferences item "show_comments" to set if the default view shows them or not.
  1955     * The wiki parser can be used with css classes now:
  1956       {{{#!wiki comment
  1957       This will render output within a div with class "comment".
  1958       You can use any wiki markup as usual.
  1959       }}}
  1960       You can also combine multiple css classes like this:
  1961       {{{#!wiki red/dotted/comment
  1962       This will render a red background, dotted border comment section.
  1963       }}}
  1964       The same thing will work for any other css classes you have.
  1965       If the css classes contain the word "comment", they will trigger some
  1966       special feature, see next item:
  1967     * Wiki nested parser/pre sections work now, using this syntax:
  1968       a) just use more curly braces if you have 3 closing in your content:
  1969          {{{{
  1970          }}} <- does not terminate the section!
  1971          }}}}
  1972       b) use {{{ + some magic string:
  1973          {{{somemagicstring
  1974          }}} <- does not terminate the section!
  1975          somemagicstring}}}
  1976       c) {{{whatever#!python
  1977          # py code
  1978          whatever}}}
  1979       Pitfall: stuff like below does not work as it did in 1.5:
  1980          {{{aaa
  1981          bbb}}}
  1982       Solution:
  1983          {{{
  1984          aaa
  1985          bbb
  1986          }}}
  1987     * Added support for ircs: URLs (secure IRC).
  1988     * New text/creole parser that allows you to use WikiCreole 1.0 markup,
  1989       use #format creole.
  1990     * HTML parser (called "html") that allows you to use HTML on the page.
  1991       Thanks to the trac team for the nice code.
  1992     * Added the diff parser from ParserMarket, thanks to Emilio Lopes, Fabien
  1993       Ninoles and Juergen Hermann.
  1995   XMLRPC: --------------------------------------------------------------------
  1996     * actions_excluded now defaults to ['xmlrpc'] - this kind of disables the
  1997       built-in wiki xmlrpc server code (not completely: it will just answer
  1998       with a Fault instance for any request). If you want to use xmlrpc v1 or
  1999       v2, you have to remove 'xmlrpc' from the actions_excluded list (for
  2000       example if you want to use wikisync, mailimport or any other feature
  2001       using xmlrpc). If you enable xmlrpc, it will be possible that someone
  2002       changes your wiki content by using xmlrpc (it will of course honour ACLs).
  2003     * New XMLRPC methods (see doc strings for details):
  2004       * getMoinVersion
  2005       * system.multicall -- multicall support
  2006       * Authentication System: getAuthToken/appyAuthToken
  2007       * getDiff -- method to get binary diffs
  2008       * mergeDiff -- method to local changes remotely
  2009       * interwikiName -- method to get the IWID and the interwiki moniker
  2010       * getAllPagesEx -- method to get the pagelist in a special way (revnos,
  2011         no system pages etc.)
  2012       * getAuthToken -- make and authentication token by supplying username/password
  2013       * applyAuthToken -- set request.user for following xmlrpc calls (within the
  2014                           same multicall)
  2015       * getUserProfile -- method to get user profile data for request.user
  2016     * Added XMLRPC methods for attachment handling. Thanks to Matthew Gilbert.
  2017     * XMLRPC putPage method adjusted to new AuthToken, config vars 
  2018       xmlrpc_putpage_enabled and xmlrpc_putpage_trusted_only removed.
  2020   Scripts / Commandline interface: -------------------------------------------
  2021     * moin export dump now better conforms to the theme guidelines.
  2022     * Added a --dump-user option to the moin export dump command.
  2023       Thanks to Oliver O'Halloran.
  2025   Security / Auth / AntiSpam / etc.: -----------------------------------------
  2026     * Hierarchical ACLs are now supported, i.e. pages inheriting permissions
  2027       from higher-level pages. See HelpOnAccessControlLists.
  2028     * If you have "#acl" (without the quotes) on a page, this means now:
  2029       "this page has own (empty) ACLs, so do not use acl_rights_default here"
  2030       Please note that this is COMPLETELY DIFFERENT from having no ACL line at
  2031       all on the page (acl_rights_default is used in that case).
  2032     * Antispam master url is now configurable via cfg.antispam_master_url.
  2033       The default is to fetch the antispam patterns from MoinMaster wiki.
  2034     * Antispam now checks the edit comments against BadContent also.
  2035     * TextCHAs (text-form CAPTCHAs).
  2036       Due to increasingly annoying wiki spammers, we added the option to use
  2037       TextCHAs (for page save (not for preview!), for attachment upload, for
  2038       user creation (not for profile save)).
  2039       This function is disabled by default. If you run a wiki that is editable
  2040       by anonymous or non-approved users from the internet (i.e. All: or Known:
  2041       in ACL terms), you should enable it in your wiki config by:
  2042       textchas = { # DO NOT USE EXACTLY THESE QUESTIONS!!!
  2043           'en': {
  2044               u'H2O is ...': u'water', # bad: too common
  2045               u'2 apples and three bananas makes how many fruits?': ur'(five|5)', # good
  2046               u'2 apples and three pigs makes how many fruits?': ur'(two|2)', # good
  2047               u'2+3': ur'5', # bad: computable
  2048               u'
  2049           },
  2050           'de': { # for german users
  2051               u'H2O ist ...': u'wasser',
  2052           },
  2053       }
  2054       This means that english users will get some random question from the 'en'
  2055       set, german users will get some from the 'de' set. If there is no 'de'
  2056       set configured, moin will fallback to language_default and then to 'en',
  2057       so make sure that you at least have a 'en' set configured (or whatever
  2058       you have set as language_default).
  2059       You need to use unicode for the questions and answers (see that u"...").
  2060       For the answer, you need to give a regular expression:
  2061       * In the easiest case, this is just some word or sentence (first en
  2062         example). It will be matched in a case-insensitive way.
  2063       * For more complex stuff, you can use the power of regular expressions,
  2064         e.g. if multiple answers are correct (second en example). Any answer
  2065         matching the regular expression will be considered as correct, any
  2066         non-matching answer will be considered as incorrect.
  2068       Tipps for making it hard to break for the spammers and easy for the users:
  2069       * Use site-specific (not too common) questions.
  2070       * Don't use too hard questions (annoys legitimate users).
  2071       * Don't use computable questions.
  2072       * Don't reuse textchas from other sites.
  2074       textchas_disabled_group = None # (default)
  2075       Set this to some group name and noone in this group will get textchas.
  2076       E.g.: textchas_disabled_group = u'NoTextChasGroup'
  2078     * The login page gives now the possibility to recover a lost password, thanks to 
  2079       Oliver Siemoneit. This is especially useful for wikis where access to user 
  2080       preferences is restricted by acl.
  2081     * Session handling for logged-in users and (not by default due to expiry
  2082       problems) anonymous users.
  2083     * Updated the ldap_login code from 1.5 branch, supports TLS now.
  2084       See MoinMoin/config/ for supported configuration options
  2085       and their defaults (and please just change what you need to change,
  2086       in your wikiconfig).
  2087     * Interwiki auth: You need to define cfg.trusted_wikis and
  2088        cfg.user_autocreate to use it. Logging in works by entering:
  2089       Name: RemoteWikiName RemoteUserName
  2090       Password: remotepass
  2091       Then moin contacts RemoteWikiName after looking it up in the interwiki
  2092       map and tries to authenticate there using RemoteUserName and remotepass.
  2093       If it succeeds, the remote wiki will return the remote user profile items
  2094       and your local moin will autocreate an account with these values.
  2096   Server / Network / Logging: ------------------------------------------------
  2097     * The standalone server script moved to the toplevel directory. This makes
  2098       it possible to directly start without additional configuration
  2099       to run a MoinMoin DesktopEdition like wiki setup.
  2100       Be careful: DesktopEdition uses relaxed security settings only suitable
  2101       for personal and local use.
  2102     * Added TLS/SSL support to the standalone server. Thanks to Matthew Gilbert.
  2103       To use TLS/SSL support you must also install the TLSLite library
  2104       ( Version 0.3.8 was used for development and
  2105       testing.
  2107     * cfg.log_reverse_dns_lookups [default: True] - you can set this to False
  2108       if rev. dns lookups are broken in your network (leading to long delays
  2109       on page saves). With False, edit-log will only contain IP, not hostname.
  2110     * Added support for "304 not modified" response header for AttachFile get
  2111       and rss_rc actions - faster, less traffic, less load.
  2113     * Added logging framework, using stdlib's "logging" module. Just do
  2114       import logging ; logging.debug("your text"). Depending on configuration
  2115       in the server Config class, your stuff will be written to screen (stderr),
  2116       to a moin logfile, to apache's error.log, etc.:
  2117       logPath = None # 'moin.log'
  2118       loglevel_file = None # logging.DEBUG/INFO/WARNING/ERROR/CRITICAL
  2119       loglevel_stderr = None # logging.DEBUG/INFO/WARNING/ERROR/CRITICAL
  2120       NOTE: this is NOT in wikiconfig, but e.g. in moin.cgi or or ...
  2122     * Added some experimental and disabled code, that uses x-forwarded-for
  2123       header (if present) to get the right "outside" IP before a request
  2124       enters our chain of trusted (reverse) proxies.
  2125       This code has the problem that we can't configure it in wikiconfig, so
  2126       if you want to use it / test it, you have to edit the moin code:
  2127       MoinMoin/request/ - edit proxies_trusted (near the top).
  2128       We will try to make this easier to configure, but there was no time left
  2129       before 1.6.0 release for doing bigger code refactorings needed for that.
  2131   Mail: ----------------------------------------------------------------------
  2132     * You can send email to the wiki now (requires xmlrpc), see:
  2133       FeatureRequests/WikiEmailIntegration, HelpOnConfiguration/EmailSupport
  2135     * Mail notifications contain a link to the diff action so the user
  2136       can see the coloured difference more easily. Thanks to Tobias Polzin.
  2138   Other changes: =============================================================
  2139     * HINT: please copy a new version of your server script from the wiki/server/
  2140       directory and edit it to match your setup.
  2141     * HINT: instead of "from MoinMoin.multiconfig import DefaultConfig" you
  2142       need to use "from MoinMoin.config.multiconfig import DefaultConfig" now.
  2143       You need to change this in your or file.
  2144       See MoinMoin/ for an alternative way if you can't do that.
  2145     * HINT: you need to change some imports (if you have them in your config):
  2146       Old: from MoinMoin.util.antispam import SecurityPolicy
  2147       New: from import SecurityPolicy
  2148       Old: from MoinMoin.util.autoadmin import SecurityPolicy
  2149       New: from import SecurityPolicy
  2150     * HINT: you need to change your auth stuff, the new way is:
  2151       from MoinMoin.auth import moin_login, moin_session
  2152       from MoinMoin.auth.http import http
  2153       auth = [http, moin_login, moin_session]
  2154       Do it in a similar way for other auth methods.
  2155     * HINT: you need to change your url_prefix setting in 2 ways:
  2156       1. The setting is now called url_prefix_static (to make it more clear
  2157          that we mean the static stuff, not the wiki script url).
  2158       2. The strongly recommended (and default) value of it is '/moin_static160'
  2159          for moin version 1.6.0 (and will be ...161 for moin 1.6.1). It is
  2160          possible and recommended to use a very long cache lifetime for static
  2161          stuff now (Expires: access plus 1 year), because we require to change
  2162          the URL of static stuff when the static stuff changes (e.g. on a
  2163          version upgrade of moin) to avoid problems with stale cache content.
  2164          Your moin will be faster with lower load and traffic because of this.
  2165          For standalone server, we use 1 year expiry for static stuff now.
  2166          For Apache, Lighttpd and other "external" servers, you have to care
  2167          for configuring them to use a long expiry and change url_prefix_static
  2168          related configuration on upgrade.
  2169       HINT: if you run standalone or Twisted server, the easiest way to get a
  2170             working configuration (with server configuration matching wiki
  2171             configuration) is to NOT set url_prefix_static at all. Moin will
  2172             use matching configuration defaults in this case.
  2173     * url_prefix_action ['action'] was introduced for lowering load and traffic
  2174       caused by searchengine crawlers. Up to now, crawlers where causing a high
  2175       load in internet moin wikis because they tried to get about everything,
  2176       including all actions linked from the user interface.
  2177       Known crawlers only get 403 for most actions, but nevertheless they first
  2178       tried. There was no means keeping them away from actions due to the rather
  2179       braindead robots.txt standard. You can only disallow pathes there, but
  2180       moin's actions were querystring based, not path based (this would need
  2181       regex support in robots.txt, but there is no such thing).
  2182       This changed now. Moin is able to generate action URLs you can handle in
  2183       robots.txt, like /action/info/PageName?action=info. So if you don't want
  2184       bots triggering actions, just disallow /action/ there. Keep in mind that
  2185       attachments are handled by /action/AttachFile, so if you want attached
  2186       files and pictures indexed by search engine, don't disallow
  2187       /action/AttachFile/ in your robots.txt. In order to use this feature,
  2188       set url_prefix_action in your wikiconfig to e.g. "action".
  2189     * We use (again) the same browser compatibility check as FCKeditor uses
  2190       internally, too. So if GUI editor invocation is broken due to browser
  2191       compatibility issues or a wrong browser version check, please file a bug
  2192       at FCKeditor development or browser development.
  2193     * HINT: We removed Lupy based indexed search code. If you were brave enough
  2194       to use cfg.lupy_search, you maybe want to try cfg.xapian_search instead.
  2196   Developer notes: ===========================================================
  2197     * We moved the IE hacks to theme/css/msie.css that gets included after all
  2198       other css files (but before the user css file) using a conditional
  2199       comment with "if IE", so it gets only loaded for MSIE (no matter which
  2200       version). The file has some standard css inside (evaluated on all MSIE
  2201       versions) and some * html hacks that only IE < 7 will read.
  2202       HINT: if you use custom themes, you want to update them in the same way.
  2203     * autofilters for databrowser widget. Thanks to Johannes Berg for the patch.
  2204     * changed formatter.attachment_link call (it is now more flexible,
  2205       because you can render the stuff between link start and link end yourself)
  2206     * Page.url() does not escape any more. You have to use wikiutil.escape()
  2207       yourself if you want to write the URL to HTML and it contains e.g. &.
  2208     * The testing wikiconfig moved to tests/, the testing wiki
  2209       is now created in tests/wiki/...
  2210     * HINT: Killed "processors" (finally), formatter method changed to:
  2211       formatter.parser(parsername, lines)
  2212     * Refactored some actions to use ActionBase base class.
  2213     * Moved "test" action from wikiaction to MoinMoin/action/
  2214       (and use ActionBase).
  2215     * Moved MoinMoin/ to MoinMoin/config/
  2216     * Moved MoinMoin/ to MoinMoin/config/
  2217     * Moved "SystemInfo" macro from wikimacro to MoinMoin/macro/.
  2218     * Moved stuff to MoinMoin/action/
  2219     * Moved stuff to MoinMoin/macro/
  2220     * Moved stuff to MoinMoin/xmlrpc/
  2221     * Moved stuff to action/ (only used from there).
  2222     * Moved formatter/ to formatter/ (FormatterBase).
  2223     * Moved util/ to parser/
  2224     * Moved / splitted into MoinMoin/request/*.
  2225       Most stuff will be broken, please help fixing it (usually some imports
  2226       will be missing and the adaptor script will need a change maybe):
  2227       Tested successfully: CGI, CLI, STANDALONE, FCGI, TWISTED
  2228     * Moved to security/
  2229     * Moved to security/
  2230     * Moved logfile/ to logfile/
  2231     * Moved to mail/
  2232     * Moved util/ to mail/
  2233     * Moved to auth/
  2234       Moved util/ to auth/
  2235       teared auth code into single modules under auth/* - moin_session handling
  2236       and the builting moin_login method are in auth/
  2237     * Added wikiutil.MimeType class (works internally with sanitized mime
  2238       types because the official ones suck).
  2239     * Renamed parsers to module names representing sane mimetypes, e.g.:
  2240 -> parser.text_moin_wiki
  2241     * Added thread_monitor debugging aid. It can be activated using:
  2242       from MoinMoin.util import thread_monitor; thread_monitor.activate_hook()
  2243       and then triggered by requesting URL ...?action=thread_monitor - please
  2244       be aware that monitoring threads has a big performance impact on its own,
  2245       so you only want to temporarily enable this for debugging.
  2246       By default, it dumps its output to the data_dir as tm_<timestamp>.log,
  2247       you can change this at bottom of action/ if you want to
  2248       see output in your browser.
  2249     * Introduced scope parameter to CacheEntry() - if you specify 'farm', it
  2250       will cache into a common directory for all wikis in the same farm, if you
  2251       specify 'wiki', it will use a cache directory per wiki and if you specify
  2252       'item', it will use a cache directory per item (== per page).
  2253       Creating a CacheEntry without explicit scope is DEPRECATED.
  2254     * Smileys moved from MoinMoin.config to MoinMoin.theme.
  2255     * Removed all _ magic in URLs and filenames.
  2256     * request.action now has the action requested, default: 'show'.
  2257     * Cleaned up duplicated http_headers code and DEPRECATED this function
  2258       call (it was sometimes confused with setHttpHeaders call) - it will
  2259       vanish with moin 1.7, so please fix your custom plugins!
  2260       The replacement is:
  2261           request.emit_http_headers(more_headers=[])
  2262       This call pre-processes the headers list (encoding from unicode, making
  2263       sure that there is exactly ONE content-type header, etc.) and then
  2264       calls a server specific helper _emit_http_headers to emit it.
  2265       Tested successfully: CGI, STANDALONE, FCGI, TWISTED
  2266     * setResponseCode request method DEPRECATED (it only worked for Twisted
  2267       anyway), just use emit_http_headers and include a Status: XXX header.
  2268       Method will vanish with moin 1.7.
  2269     * cfg.url_prefix is DEPRECATED, please use cfg.url_prefix_static.
  2270     * d['title_link'] is not supported any more. You can easily make that link
  2271       on your own in your theme, see example in MoinMoin/theme/,
  2272       function "title".
  2273     * There is a new Page method called Page.get_raw_body_str that returns
  2274       the encoded page body. This is useful if you just deal with byte data
  2275       (e.g. while generating binary diffs).
  2276     * The TagStore/PickleTagStore system is used to store the syncronisation tags.
  2277     * XMLRPC functions may return Fault instances from now on
  2278     * Moin got multicall support, including a module that makes it usable on the
  2279       client-side without requiring Python 2.4
  2280     * Added no_magic to text_html formatter to disable tag autoclosing.
  2281     * MOIN_DEBUG can be set in the environment to let MoinMoin ignore exceptions
  2282       that would lead to a traceback in the browser. Thanks to Raphael Bossek.
  2283     * There is a new MoinMoin.Page.ItemCache class now with automatic cache
  2284       invalidation based on global edit-log. We currently use it to cache page
  2285       acls, speedup Page.get_rev and reading the page local edit-log.
  2286     * Added wikiutil.renderText parse and format raw wiki markup with all page elements.
  2287     * The user file format has changed, old files will be read correctly but
  2288       will silently be upgraded to the new format so old versions will not
  2289       read the new files correctly (this only affects 'subscribed_pages' and
  2290       'quicklinks' which will be lost when downgrading.)
  2293 Version 1.5.8:
  2294   New features:
  2295     * Added timing.log to help performance debugging. Use cfg.log_timing = True
  2296       to update <data_dir>/timing.log (default is False, meaning no logging).
  2298       Example log entries:
  2301       Timestamp       PID   Timing Flag action     URL
  2302       -----------------------------------------------------------------------------
  2303       20070512 184401 22690 vvv         None
  2304       20070512 184401 22690 0.267s    - show
  2306       Timestamp: YYYYMMDD HHMMSS (UTC)
  2307       PID: the process ID of the moin process
  2308       Timing: when action starts, it will be "vvv"
  2309               when it ends, it logs the total time it needed for execution
  2310       Flag (some are only logged at end of action):
  2311       +   Page exists
  2312       -   Page does not exist
  2313       B   user agent was recognized as bot / spider
  2314       !x! Action took rather long (the higher the x, the longer it took - this
  2315           makes it easy to grep for problematic stuff).
  2316       Action: action name (None is when no action was specified, moin assumes
  2317               "show" for that case)
  2318       URL: the requested URL
  2320       For more information about tuning your moin setup, see:
  2322     * Added support for ircs, webcal, xmpp, ed2k and rootz protocols - we
  2323       moved all protocols to config.url_schemas, so this is not empty any more.
  2324       It is possible to use these protocols now on wiki pages and in the
  2325       navi_bar. We just generate the URLs, it is up to your browser what it
  2326       does when clicking on those links.
  2327     * cfg.traceback_show (default: 1) can be used to disable showing tracebacks.
  2328       cfg.traceback_log_dir (default: None) can be used to set a directory
  2329       that is used to dump traceback files to. Your users will get a notice to
  2330       which (random) file in that directory the traceback was been written.
  2331       NOTE: while you can feel free to set traceback_show = 0 and
  2332       traceback_log_dir = None, we will also feel free to reject bug reports
  2333       when you (or your site's users) don't give us enough information (like a
  2334       traceback file) to debug the problem. If you set traceback_show = 0,
  2335       we recommend pointing traceback_log_dir to a directory with reasonable
  2336       free space and putting a page onto your wiki that describes who has to
  2337       get contacted (usually the wiki server admin) in case a traceback happens.
  2338       The admin can then locate the traceback file and submit it to moin
  2339       development, if the bug is not already known (see MoinMoin:MoinMoinBugs).
  2340       Of course we will also need all the other details of a bug report, not
  2341       only the traceback file.
  2343   Other changes:
  2344     * Updated spider agents list.
  2345     * Reduce bot/spider cpu usage for SystemInfo, OrphanedPages, WantedPages,
  2346       PageHits, PageSize, WordIndex macros (we just return nothing for bots).
  2348   Bugfixes:
  2349     * XSS fixes, see (item 1 and 2).
  2350     * ACL security fixes:
  2351       * MonthCalendar respects ACLs of day pages now.
  2352       * Check the ACL for the rst markup include directive.
  2353     * Fixed cleaning of edit comments (control chars in there could damage
  2354       edit-log).
  2355     * Fixed in-process caching of antispam patterns (didn't update the cache
  2356       for multi-process, persistent servers).
  2357     * Correct encoding/decoding for surge-log data, fixes leftover
  2358       surge-logXXXXXXX.tmp files in data/cache/surgeprotect.
  2359     * Fixed mode of cache files (mkstemp creates them with 0600 mode).
  2360     * Symbolic entities with numbers (like &sup2;) did not work, fixed.
  2361     * We open data/error.log earlier now and we also use it for FastCGI.
  2362     * Fixed unicode cfg.page_group_regex.
  2363     * Fixed moin.spec to use english date format.
  2364     * GUI converter: fixed conversion of relative wiki links.
  2365     * Fixed NewPage macro button label to not be formatted as wiki text.
  2367 Version 1.5.7:
  2368   New features:
  2369     * added url_prefix_local which is used for stuff that must be loaded from
  2370       same site as the wiki engine (e.g. FCKeditor GUI editor applet), while
  2371       url_prefix can be a remote server serving the static files (css/img).
  2372       If not set (or set to None), url_prefix_local will default to the value
  2373       of url_prefix.
  2374     * We save some CPU and disk I/O by having EditTemplates and LikePages macro
  2375       (both used on MissingPage) check whether the requesting entity was
  2376       identified as a spider (e.g. search engine bot) and do nothing in that
  2377       case. Normal users won't see any difference.
  2378     * For AttachFile, you can now choose to overwrite existing files of same
  2379       name (nice for updating files).
  2381   Bugfixes:
  2382     * XSS Fixes:
  2383       * fixed unescaped page info display.
  2384       * fixed unescaped page name display in AttachFile, RenamePage and
  2385         LocalSiteMap actions
  2386     * WantedPages listed existing pages that are not readable for the user,
  2387       but are linked from pages that ARE readable for the user (so this is NOT
  2388       a privacy/security issue). We now don't list those pages any more as it
  2389       is pointless/confusing, the user can't read or edit there anyway.
  2390     * MoinMoin: href="">MoinMoinBugs/TableOfContentsUsesNonExistingIncludeLinks
  2391     * MoinMoin: href="">MoinMoinBugs/ActionsExcludedTriggerError
  2392     * GUI editor/converter:
  2393       * ignore <col>/<colgroup>/<meta> elements
  2394       * support <a> within blockquote
  2395     * Remove generated=... attribute from pagelink html output (this attr is
  2396       for internal use only). w3c validator is now happier again.
  2397     * Fixed css class "userpref" (not: "userprefs") of the Login form.
  2398     * Fixed the version number check in the xslt parser for 4suite >= 1.0.
  2399     * We reset the umask to the wanted value every request. This should fix
  2400       wrong file modes when used with Twisted (twistd uses a hardcoded 0077
  2401       umask in daemonize()).
  2402     * Avoid trouble when saving pages with antispam function when MoinMaster
  2403       wiki is having troubles (catch xmlrpc Fault).
  2405   Other changes:
  2406     * Standalone server does not do reverse DNS lookups any more (this is a
  2407       standard feature of BaseHTTPServer stdlib module, but we override this
  2408       now and just print the IP).
  2409     * We moved the IE hacks to theme/css/msie.css that gets included after all
  2410       other css files (but before the user css file) using a conditional
  2411       comment with "if IE", so it gets only loaded for MSIE (no matter which
  2412       version). The file has some standard css inside (evaluated on all MSIE
  2413       versions) and some * html hacks that only IE < 7 will read.
  2414       HINT: if you use custom themes, you want to update them in the same way.
  2415     * Improved ldap auth:
  2416       * cfg.ldap_name_attribute was removed because of new cfg.ldap_filter.
  2417         If you had ldap_name_attribute = 'sAMAccountName' before, just use
  2418         ldap_filter = '(sAMAccountName=%(username)s)' now.
  2419       * New cfg.ldap_filter used for the ldap filter string used in the ldap
  2420         search instead of the rather limited, partly hardcoded filter we used
  2421         before. This is much more flexible:
  2422         ldap_filter = '(sAMAccountName=%(username)s)'
  2423         You can also do more complex filtering expressions like:
  2424         '(&(cn=%(username)s)(memberOf=CN=WikiUsers,OU=Groups,DC=example,DC=org))'
  2425       * Added some processing to filter out result entries with dn == None.
  2426       * We set REFERRALS option to 0 before initializing the ldap server
  2427         connection (this seems to be needed for Active Directory servers).
  2428       * We support self-signed ssl certs for ldaps - completely untested.
  2429       * New cfg.ldap_surname_attribute (usually 'sn'), was hardcoded before.
  2430       * New cfg.ldap_givenname_attribute (usually 'givenName'), hardcoded before.
  2431       * New cfg.ldap_aliasname_attribute (usually 'displayName') - if this
  2432         attribute is not there or empty (in the results of the ldap lookup for
  2433         the user), we just make up the aliasname from surname and givenname
  2434         attribute.
  2435       * We only request the attributes we need from ldap (was: all attrs).
  2436       * We deny user login (and break out of auth chain) for the following cases:
  2437         * if a user is not found by ldap lookup
  2438         * if we find more than one matching entry
  2439         * if the password is empty or incorrect
  2440         * if some exception happens
  2441       * Please note that there is an updated ldap sample config in directory
  2442         wiki/config/more_samples/.
  2443       * Added experimental LDAP SSL/TLS support (untested, please help testing),
  2444         see also the sample config.
  2445     * Work around a IE7 rendering problem with long pages getting more and
  2446       more narrow. We just applied the same "fix" as we used for IE6, using
  2447       "display: none" for span.anchor for IE browsers.
  2448     * RSS feed related:
  2449       * We used to emit a <link> tag for the action=rss_rc RSS feed on any
  2450         page. This was changed, we now emit that link only on RecentChanges and
  2451         the current user's language translation of RecentChanges.
  2452         This was changed because Google Toolbar requests the RSS feed linked
  2453         by such a link tag every time it sees one. Thus, if you used the wiki
  2454         normally, it requested the RSS feed every few seconds and caused
  2455         problems due to surge protection kicking in because of that.
  2456       * HINT for custom theme users: if your theme code calls
  2457         rsslink(), then you need to change that to rsslink(d) for 1.5.7+.
  2460 Version 1.5.6:
  2461   A general security notice:
  2462       Check your Python version, there was a buffer overflow issue in Python
  2463       recently! Details:
  2465   Bugfixes:
  2466     * Fix AttributeError traceback with Standalone server (if_modified_since)
  2467     * Fix AttachFile "304 not modified" and redirect status code for Twisted
  2468     * http auth: we now decode username and password to unicode (using
  2469       config.charset == utf-8). Same for SSL client cert auth and CN.
  2470     * Avoid infinite recursion in Page.parsePageLinks.
  2471     * Fixed standalone server failing to shutdown if interface == "".
  2472     * Now MoinMoin does not think anymore that every page links to various user
  2473       homepages.
  2474     * Made the irssi parser more tolerant (Thanks to "TheAnarcat").
  2475     * Now multiple formatters can be used per request, the send_page code was
  2476       not reentrant to this regard. Fixes "empty" search results.
  2477     * Fixed problem with "=" in ImageLink macro links.
  2478     * Not a moin bug, but a silly stdlib os.tempnam function made trouble to
  2479       some people because it lets you override the path given in the code
  2480       by setting the environment variable TMP(DIR). We now use a different
  2481       function to avoid renaming trouble when TMP(DIR) points to a different
  2482       file system.
  2483     * Fixed antispam update on every save (Thanks to "TheAnarcat").
  2484     * GUI converter: don't throw away rowclass for tables.
  2485     * GUI editor formatter: allow height for table cells.
  2486     * GUI editor formatter: comment texts are output using the formatter now. 
  2488   New features:
  2489     * Mail notifications contain a link to the diff action so the user
  2490       can see the coloured difference more easily. Thanks to Tobias Polzin.
  2491     * FeatureRequests/MoveAttachments - you can move attachments from one
  2492       page to another (and also rename the attachment at the same time).
  2493       Thanks to Reimar Bauer.
  2494     * Added support for linking to attachment: and inline: URLs with ImageLink.
  2495     * Added UNIX socket support for FastCGI, just set the port to some (socket)
  2496       filename. Details see: MoinMoin:FeatureRequests/FastCgiUnixSocket
  2497     * [[Attachlist(pagename,mimetype)]] lists attachments of pagename (default:
  2498       current page) with optional mimetype restriction (default: all).
  2499       Thanks to Reimar Bauer.
  2501   Other changes:
  2502     * Minor performance improvements (might be noticeable if you have many
  2503       custom navi_bar entries and high server load).
  2504     * Avoid usage of no-cache because it breaks attachment download on IE6.
  2505       This is a IE bug, not a moin bug.
  2506     * Added XHTML to the unsafe list.
  2507     * Changed the rst parser to be compatible to the new docutils interface
  2508       for directives.
  2509     * Updated EmbedObject macro.
  2512 Version 1.5.5a:
  2513   Bugfixes:
  2514     * fixed ticket creation to only use constant values
  2516 Version 1.5.5:
  2517   HINT: read docs/README.migration.
  2518   HINT: there was NO change in the underlay/ pages since 1.5.4.
  2519   HINT: If you experience problems with the reStructured Text (rst) parser,
  2520         please downgrade docutils to "0.4" because there were major interface
  2521         breaking API refactorings on the docutils trunk.
  2523   Bugfixes:
  2524     * GUI editor fixes:
  2525       * Fixed MoinMoinBugs/GuiEditorModifiesInterwikiPreferred.
  2526       * Fixed MoinMoinBugs/TableAlignmentProbsWithGUI.
  2527     * Not a moin bug, but it severely annoyed IE users and also was less
  2528       comfortable for users of other browser: since about 1.5.4, we served
  2529       attachments with Content-Disposition: attachment - so that the user has
  2530       to save them to disk. This was to fix a possible XSS attack using attached
  2531       HTML files with Javascript inside for stealing your moin cookie or doing
  2532       other nasty things. We improved this by using different behaviour depending
  2533       on the potential danger the attached file has when served inline:
  2534       mimetypes_xss_protect = ['text/html', 'application/x-shockwave-flash', ]
  2535       This is the default value. If you know more dangerous stuff, please just
  2536       add the mimetypes there to protect your users and file a bug report
  2537       telling us what we missed.
  2538     * Fixed MoinMoinBugs/ReStructuredTextRelativeLinksBroken, thanks to Stefan
  2539       Merten.
  2540     * Make tickets used for some actions more safe.
  2542   New features:
  2543     * edit_ticketing [True] - we protect page save by a ticket (same stuff we
  2544       already use for DeletePage and RenamePage action).
  2545       NOTE: If you don't use your browser for editing, but some tool like
  2546             "editmoin" or "MoinMoin plugin for jEdit", you'll need an update
  2547             of them supporting the ticket.
  2548             Alternatively, you can use edit_ticketing = False setting - this
  2549             is not recommended for internet wikis as it will make spamming them
  2550             easier.
  2551     * If we detect some spammer, we kick him out by triggering surge protection
  2552       (if surge protection is not disabled).
  2554 Version 1.5.5rc1:
  2555   Bugfixes:
  2556     * Fixed MoinMoinBugs/XmlRpcBrokenForFastCgi - thanks to Johannes Berg.
  2557     * Fixed gui editor converter confusing of `` and {{{}}} markup.
  2558     * Fixed emission of HTTP headers (esp. Vary: Cache-Control:).
  2559     * Fixed a bad crash that happens (on ANY page!) when you put a *Dict
  2560       page's name as a member into a *Group page.
  2561     * Fix MyPages action title to use an unformatted string.
  2562     * Fix double quoted-printable encoding in generated emails (note: this is
  2563       not a moin bug - this just works around bugs in python stdlib).
  2564     * Fix mode of drawing files (use config.umask).
  2565     * Fix trouble with /?action= urls by dropping getPageNameFromQueryString
  2566       code. 
  2567     * Fixed sre unpickle issues seen on some machines by avoiding to pickle
  2568       the regex.
  2569     * Fix Clock code, add more timers.
  2570     * Worked around FastCGI problem on Lighttpd: empty lines in the error log.
  2571     * Fix (add) locking for caching's .remove() call, small fixes to lock code.
  2572     * Print error message when --target-dir=path is missing from moin export
  2573       dump command.
  2575   New features:
  2576     * Added support for "304 not modified" response header for AttachFile get
  2577       and rss_rc actions - faster, less traffic, less load.
  2578     * Limit rss with full diffs to 5 items.
  2579     * Allow surge_action_limits = None to disable surge protection.
  2580     * moin.fcg improved - if you use FastCGI, you must use the new file:
  2581       * can self-terminate after some number of requests (default: -1, this
  2582         means "unlimited lifetime")
  2583       * the count of created threads is limited now (default: 5), you can use
  2584         1 to use non-threaded operation.
  2585       * configurable socket.listen() backlog (default: 5)
  2586     * Added indonesian i18n (id).
  2587     * Some measures against spammers trying to brute force their spam into moin.
  2588     * EmbedObject macro: added mov, mpg and midi support
  2589     * moin ... export dump --target-dir=PATH --page=PAGENAME_REGEX
  2590       You must specify --target-dir (where dump will write the html files to)
  2591       and you may specify --page and either a page name or a regex used to
  2592       match all pages you want to export. Default is to export all pages.
  2594   Other changes:
  2595     * Tuning:
  2596       * more efficient locking code on POSIX platforms, we do much less I/O
  2597         for locking now
  2598       * removed most chmod calls in favour of a single os.umask call
  2599     * Improved Python 2.5 compatibility. Note: if you think that MoinMoin
  2600       is using too much RAM, you might want to look at Python 2.5 because
  2601       of its improved memory management.
  2602     * Throw away SAVE comments longer than 200 chars (you can't enter those by
  2603       the user interface, so only spammer using automatic POSTs do them).
  2604     * Updated spider user agent list.
  2605     * BadContent and LocalBadContent now get noindex,nofollow robots header,
  2606       same as POSTs.
  2607     * Standalone opens it logfile unbuffered from now on, thanks to
  2608       Carsten Grohmann.
  2609     * Avoid trouble when request.write() data contains None, just skip it -
  2610       thanks to Juergen Hermann.
  2611     * Instead of showing a ConfigurationError, moin now emits "404 Not found"
  2612       http headers and a hint about what could be wrong. This won't fill up
  2613       your logs just because of typos and spiders still trying old URLs.
  2616 Version 1.5.4:
  2617     HINT: read docs/README.migration.
  2618 Version 1.5.4-current:
  2619     * increased maxlength of some input fields from 80 to 200
  2621 Version 1.5.current:
  2622   Developer notes:
  2623     * We switched to Mercurial SCM, see here for more infos:
  2626   Bugfixes:
  2627     * fix MonthCalendar macro for non-ASCII pagenames (thanks to Jonas Smedegaard)
  2628     * remove 'search' and 'google' from bot user agent list and add some more
  2629       specific terms
  2630     * Fix the forgotten password email login URL and also properly encode the
  2631       email body. Thanks to Robin Dunn for the patch.
  2632     * Applied a patch by Matthew Gilbert for increased compatiblity with
  2633       latest docutils.
  2636 Version 1.5.3:
  2637   New Features:
  2638     * Added CSS classes for TableOfContents macro.
  2640   Bug Fixes:
  2641     * GUI editor / GUI editor converter:
  2642       * Fixed missing GUI editor link in edit bar.
  2643       * Fixed table/row/cell style spaces.
  2644       * Changed <p> generation for macros.
  2645       * Fixed handling of subpages.
  2646       * Fixed processing of complex list elements (thanks to Craig Markwardt).
  2647       * Fixed processing of html \n (thanks to Craig Markwardt).
  2648       * Fixed joining of comment lines with text below them.
  2649       * Fixed table height attribute crash.
  2650     * Fixed sslclientcert auth.
  2651     * Added some missing files to i18n processing, translatable strings more
  2652       complete now.
  2653     * Change <p> generation from self-closing (<p />) to auto-closing (only
  2654       emit <p>, let browser find place for </p>).
  2655     * Fix eating of newline before tables.
  2656     * Fixed incorrect login hint for not logged-in users trying a disallowed
  2657       action.
  2658     * Fixed nasty missing or double </a> formatter bug (mostly happening when
  2659       user has enabled questionmarks for nonexisting pages).
  2661   Other Changes:
  2662     * We catch and ignore html to wiki conversion errors in case of hitting
  2663       the cancel button, so you can get out of the error screen.
  2665 Version 1.5.3-rc2:
  2666   New Features:
  2667     * Modified SystemInfo macro to give human readable units and disk usage
  2668     * cfg.editor_quickhelp makes the quick help below the editor configurable
  2669       (at least as far as the default_markup is concerned). If set to None,
  2670       it doesn't display any quickhelp. Thanks to Seth Falcon for the patch.
  2672   Bugfixes:
  2673     * Fixed double class attribute for nonexistent links
  2674     * Fixed double </a> with qm_noexist option
  2675     * Fixed table xxx="yyy" style attribute parsing
  2676     * If not (editor_force and editor_default == 'text') then display GUI mode
  2677       switch button (this is only a partial fix, but enough to deny the GUI
  2678       mode to your users completely)
  2679     * Fixed XSS issue which could lead to cookie theft etc.
  2680     * Fixed definition list "same level" indenting.
  2681     * Fixed pagename in log for PackagePages action.
  2682     * Made <p> self-closing and line-anchors more well-behaved, thanks to
  2683       Martin Wilck for the patch. I didn't apply the <ol> patch, because this
  2684       is no real problem, just a problem of a bad standard.
  2685     * Fixed gui editor *bgcolor crash.
  2686     * Support/Fix tableclass attr with gui editor.
  2688   Other changes:
  2689     * Moved back UserPreferences action link from menu to top of page (renaming
  2690       it to "Preferences"), added "Cancel" button to make it possible to return
  2691       to the previous page without saving preferences.
  2692     * Removed formatter.url "attrs" keyword arg that took premade html, we use
  2693       separate kw args per attribute now.
  2694     * Moved broken tests to MoinMoin/_tests/broken (= disabling them).
  2695       All "active" tests run ok now.
  2696       If you want to compare, I included the output of this test run:
  2697       $ make test >tests/make_test.out
  2700 Version 1.5.3-rc1:
  2702   New features:
  2703     * HINT: please read README.migration
  2704     * Login and Logout are actions now, therefore you stay on the page where
  2705       you were before.
  2706     * UserPreferences is also an action now and moved from top border (in
  2707       modern theme) to the "more actions" dropdown menu. You also stay on the
  2708       same page.
  2709     * There is also a [[Login]] macro now. You can put it on any page you want
  2710       and if the user is not logged in, it renders the login form. If the user
  2711       is logged in, it doesn't render anything.
  2712     * We check cfg.superuser to be a list of user names (as documented) and
  2713       deny superuser access if it is not. This avoids security issues by
  2714       wrong configuration.
  2715     * auth methods changed:
  2716       HINT: if you wrote own auth methods, please change them as you see in
  2717             MoinMoin/ and test them again before relying on them.
  2718       * now get a user_obj kw argument that is either a user object returned
  2719         from a previous auth method or None (if no user has been made up yet).
  2720         The auth method should either return a user object (if it has
  2721         determined one) or what it got as user_obj (being "passive") or None
  2722         (if it wants to "veto" some user even if a previous method already has
  2723         made up some user object).
  2724       * return value of continue_flag is now True in most cases (except if
  2725         it wants to "veto" and abort).
  2726       * moin_cookie auth method now logs out a user by deleting the cookie and
  2727         setting user_obj.valid = 0. This makes it possible to still get the
  2728         user's name in subsequent auth method calls within the same request.
  2729       * added ldap_login and smb_mount auth methods, see MoinMoin/ and
  2730         wiki/config/more_samples/
  2731     * MonthCalendar now takes an additional argument for specifying a template
  2732       to use to directly invoke the page editor when clicking on non-existing
  2733       day pages.
  2734     * Added ImageLink macro. Thanks to Jeff Kunce, Marcin Zalewski, Reimar
  2735       Bauer and Chong-Dae Park for working on it.
  2736     * Lupy stuff (still experimental, partly broken and disabled by default):
  2737       * Attachment search using lupy (lupy_search = 1 in your config)
  2738         Title search will also search attachment filenames.
  2739         Full text search will also search attachment contents.
  2740       * Indexing filter plugins, see MoinMoin:FiltersForIndexing
  2741         Some filters depend on external converters that might not be available
  2742         for any platform (see Depends: line in filter plugin).
  2743         Feel free to contribute more filter plugins, especially if you wrote
  2744         some nice platform independant filter in Python for some popular file
  2745         format! Filters implemented so far (depending on):
  2746         MS Word, RTF, MS Excel (antiword, catdoc)
  2747         PDF (pdftotext)
  2748 XML based data formats (-)
  2749         XML, HTML (-)
  2750         text/* (-)
  2751         JPEG's EXIF data (-)
  2752         Binary generic (-)
  2753       * As you might know, Lupy is "retired" (that means it isn't developped
  2754         by its authors any more). We are currently evaluating Xapian as new
  2755         indexing search engine in moin.
  2756         If we succeed, we will replace Lupy stuff by some Xapian interface
  2757         code in moin.
  2758         But: the filters will likely stay, as we also need them with Xapian.
  2760     * A new MoinMoin script interface was introduced:
  2762       Syntax: moin [options] <cmdmodule> <cmdname> [options]
  2764       For example:
  2765       moin --config-dir=/my/cfgdir \
  2766            export dump --page=WikiSandBox
  2768       This will call the "moin" script, which will use the --config-dir and
  2769       --wiki-url options to initialize, then it will go to MoinMoin.script
  2770       module, import the export.dump module from there and run it, providing
  2771       the additional --page value to it.
  2773       The old scripts that have not been migrated to this new interface can
  2774       still be found in MoinMoin/script/old/ - including the old migration
  2775       scripts.
  2776     * moin ... account create --name=JoeDoe
  2777     * moin ... account disable --name=JoeDoe
  2778     * moin ... acount check     <-- this is what usercheck script was before
  2779     * moin ... maint cleancache <-- this is what cachecleaner script was
  2780     * moin ... maint cleanpage  <-- this is what pagescleaner script was
  2782   Bugfixes:
  2783     * cookie_lifetime didn't work comfortable for low values. The cookie was
  2784       created once on login and never updated afterwards. So you got logged
  2785       out cookie_lifetime hours later, no matter whether you were active at
  2786       that time or not. This has been changed, we update the cookie expiry now
  2787       on every request, so it will expire cookie_lifetime after your last
  2788       request (not after login).
  2789     * Fixed logout problems when using cfg.cookie_path.
  2790     * Fixed cookie_path for root url wikis.
  2791     * Lupy search now behaves a bit less funky. Still no guarantees...
  2792     * We lowered the twisted server timeout to 2 minutes now (was: 10) because
  2793       it just used up too many files (open TCP connections until it timeouts)
  2794       on our farm.
  2795     * The algorithm used for processing the farmconfig.wikis list was changed
  2796       to work for big farms (>= 50 wikis), too. This works around the python
  2797       "re" module limitation of having a maximum of 100 named groups in a RE.
  2798     * Fixed a TypeError which occurred for formatters that dislike None values.
  2799       (cf.
  2800     * Fixed GUI editor converter error for https:... image URLs.
  2801     * ThemeBase (use by modern/rightsidebar): removed duplicate AttachFile from
  2802       actions menu (we already have it in editbar).
  2803     * Speedup group/dicts scanning for persistent servers.
  2804     * Implemented HEAD requests for standalone server, this should fix some of
  2805       the strange effects happening when using "Save as" on attachments.
  2806     * Not a moin bug, but rather a workaround for non-standard non-ASCII DNS
  2807       hostnames: we just use the IP instead of crashing now.
  2808     * Spurious cyclic usage error in i18n fixed.
  2809     * Fixed antispam for python 2.5a xmlrpclib.
  2810     * I18n for linenumber toggle in listings.
  2811     * All action menu entries are translatable now.
  2813   Other:
  2814     * Added css classes for the rst admonitions. Thanks to TiagoMacambira!
  2816 Version 1.5.2:
  2818   New features:
  2819     * Added FullSearchCached macro which is statically cached.
  2820       Use it if you do not depend on fresh search results but prefer raw speed.
  2821     * Added surge protection, see HelpOnConfiguration/SurgeProtection.
  2822     * Allow hex and symbolic entities.
  2823     * If there is a user with empty password, we just generate a random one
  2824       when he requests it getting sent by mail. Thanks to Reimar Bauer.
  2825     * The superuser now can switch to another user using UserPreferences -
  2826       nice to help your users when they forgot their password or need other
  2827       help. You need to logout/relogin to use your own userid afterwards.
  2828       This function only works correctly if you use moin_cookie authentication.
  2829       Thanks to Reimar Bauer.
  2830     * Add new markup for bulletless lists: just use a "." instead of "*".
  2832   Other changes:
  2833     * Added "voyager" to bot useragent list.
  2834     * Added locking for caching subsystem.
  2835     * Deron Meranda's formatter API cleanup.
  2836     * Added div and span to formatter API.
  2837     * Removed old unfinished form and export code.
  2838     * updated i18n
  2840   Fixes:
  2841    * Fixed table attribute parsing.
  2842    * Fixed cookie handling wrt properties adherance.
  2843    * The new "." list markup makes it possible to have a bulletless list with
  2844      elements on the same level. Before this change and only using indentation
  2845      with blanks, that would get merged into a single paragraph.
  2846    * It is possible now to have multiple paragraphs in the same list element,
  2847      just leave an empty line in between the paragraphs.
  2848    * Fixed GAP processing for ordered lists.
  2849    * Fix text_gedit formatter's invalid list nesting.
  2850    * Fixed hr crash in blockquote (but needs more work).
  2851    * Fixed FootNote's formatter usage.
  2852    * Fixed rst's headline levels.
  2853    * Fixed MoinMoinBugs/WikiParserThinksItIsInsidePreWhenItIsNot
  2854    * Fixed MoinMoinBugs/ListItemGeneratedOutsideList
  2855    * Fixed that macros were followed by a wrong <p>.
  2856    * Added <blockquote> to the block elements in the text_html formatter,
  2857      so it does not close it erratically when you close a inner <p>.
  2858    * GUI editor converter now also accept http: urls without // (relative or
  2859      same server urls).
  2860    * Fixed the DocBook parser in cases where the pagename was non-ascii.
  2861    * Fixed MoinMoinBugs/ProcessInlineDontSupportUlElement
  2864 Version 1.5.1:
  2866   Fixes:
  2867     * Fixed rst parser docutils version check
  2868     * Repaired attachment unzipping feature.
  2869     * Fixed the AddRevision command of the PackageInstaller.
  2870     * improved the migration scripts (used to migrate pre-1.3 wikis to 1.3+):
  2871       * do not crash on empty lines in event log
  2872       * fix edit log format for very old moin data (like 0.11)
  2873       * workaround for an ugly win32 operating system bug leading to wiki text
  2874         file mtime not matching edit logs timestamp values if there was some
  2875         timezone change since last edit (e.g. a daylight saving tz switch),
  2876         but differing 3600s.
  2877         This affected pre-1.3 moin wiki servers running on win32 OS only.
  2878         We now try to correct those inconsistencies in mig05 by fuzzy matching.
  2879     * fixed bracketed link scheme icon (css class)
  2880     * we included a modified copy of Python 2.4.2's as some previous
  2881       python versions seem to have problems (2.3.x, x < 5 and also 2.4[.0]),
  2882       see:
  2883       Our own was slightly modified to run on 2.3.x and 2.4.x.
  2884     * Fixed the problem of not being able to change the date/time format back
  2885       to "Default" (UserPreferences).
  2886     * We generate the GUI editor footer now the same way as the text editor
  2887       footer.
  2888     * Include a CSS workaround for yet another IE bug, see:
  2889       MoinMoinBugs:InternetExplorerPeekABooBugInRightSideBar
  2890     * classic theme: added GUI editor link
  2891     * classic theme: added pagename header to editor screen
  2892     * the "mail enabled" check now also checks whether mail_from is set
  2894   Other changes:
  2895     * Updated FCKeditor to current CVS (2006-01-08 == 2.2+)
  2896     * Split up show_hosts into show_hosts and show_names
  2897     * attachment:file%20with%20spaces.txt in attachment list
  2898     * added support for file:// in GUI editor link dialogue, see also:
  2899       MoinMoin:FileLinks
  2900     * cfg.mail_smarthost now supports "server:port" syntax, the default port
  2901       is 25, of course.
  2902     * removed unused kwargs showpage/editable/form from wikiutil.send_footer
  2903     * updated i18n (translation texts, additional languages)
  2904     * removed interwiki:pagename from print view's top of page, added it to
  2905       the "lasted edited" line at bottom right.
  2908 Version 1.5.0:
  2909   HINT: 1.5.0 uses the same data/pages format as 1.3.x. The only thing you want
  2910         to check is whether the 1.5.x version you are upgrading to has NEW mig
  2911         scripts compared to the version you are running now (e.g. in 1.3.5 we
  2912         added some scripts that fixed some small problems).
  2913         See the MoinMoin/scripts/migration/ directory.
  2914         You must run every mig script in sequence and only ONCE ever.
  2915   Fixes:
  2916     * Fix <x=y> table attributes parsing. Thanks to Reimar Bauer.
  2917     * Fixed a few bugs in the reStructured text parser. Note that you
  2918       need to install docutils 0.3.10 or newer (snapshot from December 2005
  2919       or newer) to make reStructuring parsing work:
  2920      * Case preservation for anonymous links
  2921      * MoinMoin links get the appropriate CSS class
  2922      * Images do not get special CSS markup anymore
  2923      Thanks to Matthew Gilbert.
  2924     * Fixed a bug in the WSGI code which led to incorrect exception handling.
  2925     * Removed all nationality flags. They used to be used for indicating some
  2926       specific language (NOT nationality) and this was simply wrong and a bad
  2927       idea.
  2928     * Fixed some header rendering issues (CSS).
  2929     * SystemAdmin macro now checks against cfg.superuser list.
  2931   Other changes:
  2932     * Added turkish i18n. To be considered as alpha as it got in last minute.
  2935 Version 1.5.0rc1:
  2936   This is the first release candidate of MoinMoin 1.5.0.
  2938   Fixes:
  2939     * fixed broken logs when a DeletePage (maybe also RenamePage) comment
  2940       contained CR/LF characters (could happen when using copy&paste)
  2941     * fixed GUI editor MoinEditorBackup page containing HTML instead of wiki
  2942       markup
  2943     * fixed invalid HTML in FootNotes
  2944     * fixed HTML source in EditorBackup after canceling GUI editor
  2945     * Footnotes of included pages are not shown at the bottom of the including page.
  2946     * Bug in Dict handling that often breaks first entry
  2948 Version 1.5.0beta6:
  2949   Authentication:
  2950     * Added SSO module for PHP based apps. Currently supported: eGroupware 1.2.
  2951       No need to login in two systems anymore - MoinMoin will read the PHP session
  2952       files.
  2954   Fixes:
  2955     * Improved rendering of bullet lists and external links in Restructured text.
  2956       Thanks to Matthew Gilbert.
  2957     * Fixed modern theme rendering, including some fixes and workarounds for
  2958       broken MS IE.
  2959     * When checking for email uniqueness, do not compare with disabled user
  2960       profiles.
  2961     * Fix sending of HTTP headers for Despam action.
  2962     * Add some margin left and right of the link icons.
  2964   Other changes:
  2965     * Made it easier for auth methods needing a user interface (like ldap or
  2966       mysql stuff). Unlike http auth, they usually need some "login form".
  2967       We made UserPreferences login form values (name, password, login, logout)
  2968       available as kw args of the auth method, so it is easy and obvious now.
  2969     * Make login and logout show at the same place. Is only shown when
  2970       show_login is True (default).
  2971     * Disabled login using &uid=12345.67.8910 method. Please use name/password.
  2972     * Made builtin moin_cookie authentication more modular: the cookie is now
  2973       touched by MoinMoin.auth.moin_cookie only, with one minor discomfort:
  2974       When creating a user, you are not automatically logged in any more.
  2975     * We now use the packager for additional help and system pages in all other
  2976       languages except English. The packages are attached to SystemPagesSetup
  2977       page and can be installed from there after getting "superuser" powers.
  2978       The "extra" package contains a collection of orphan pages not listed on
  2979       some SystemPagesIn<Language>Group page.
  2982 Version 1.5.0beta5:
  2983   Fixes:
  2984     * Fixed a minor user interface bug: it showed RenamePage and DeletePage
  2985       actions in the menu if you only had write rights and then complained
  2986       when you really tried when you had no delete rights additionally.
  2987     * We don't remove RenamePage and DeletePage from menu any more if user is
  2988       unknown. This stuff is only driven by ACLs now.
  2989     * Some fixes to Despam action.
  2990     * Fixed moin_dump (broken by some recent theme init change).
  2991     * Fixed a few tests by moving the theme init from moin_dump to RequestCLI.
  2992     * removed old_onload reference from infobox.js
  2993     * Fixed MoinMoin logo for IE.
  2994     * search: fixed whitespace handling in linkto: search terms
  2995     * Increased stability of the tests system by outputting results to sys.stdout
  2996       instead of request. Note that this changes the semantics for e.g. mod_py or
  2997       mod_fcgi.
  2998     * Fixed packaging system in the case of AddRevision that does not alter the page.
  2999     * Fixed a few bugs in the XML formatters (dom_xml, text_xml, xml_docbook).
  3000     * Fixed link icons. We now just use where xxx is the link scheme,
  3001       e.g. a.http.before. See theme's common.css.
  3002     * Hopefully fixed some issue with non-ASCII attachment filenames.
  3003     * Workaround for Opera 8.5 making silly "No addition" categories.
  3004     * Do not show GUI editor for non-wiki format pages, because we only have a
  3005       converter from html to wiki right now.
  3006     * Fix the modern CSS issues for editbar, when it shifted content far right.
  3007       Also removed the absolute height value that never was right.
  3008     * Fix mod_python adaptor bugs failing to handle Location correctly.
  3009       See:
  3011   Other changes:
  3012     * Added irc:// to the builtin supported link schemas. You can remove it
  3013       from config.url_schemas in case you have patched it in there.
  3014     * Added cfg.user_autocreate (default: False). Use True to enable user
  3015       profile autocreation, e.g. when you use http authentication, so your
  3016       externally authenticated users don't need to create their moin profile
  3017       manually. The auth method (see cfg.auth list) must check this setting
  3018       if it supports auto creation.
  3019     * Added user_autocreate support for auth.http and auth.sslclientcert.
  3020     * Added "." and "@" to allowed characters in usernames. This is needed
  3021       e.g. when using mod_pubcookie for authentication. mod_pubcookie returns
  3022       userids like "geek@ANDREW.CMU.EDU" (e.g. the Kerberos domain is part of
  3023       the id). Thanks to Brian E. Gallew for his patch, which we used for
  3024       inspiration for user autocreation changes.
  3025     * Changed auth method to return a tuple (user_obj, continue_flag), see
  3026       comments in
  3027     * auth methods now create user objects with kw args auth_method and
  3028       auth_attribs, so that moin knows later how the user was authenticated
  3029       and which user object attributes were determined by the auth method.
  3030     * Added MoinMoin/scripts/import/ to import supybot's
  3031       IRC logs into a moin wiki. We use MonthCalendar compatible page names,
  3032       so you can use the calendar for showing / navigating the logs.
  3033     * Removed packager binary from FCKeditor (fixing a Debian policy problem).
  3034     * Worked around .png transparency bugs of IE with the new logo. We ship
  3035       two logos: moinmoin.png without an alpha channel (IE compatible) and
  3036       moinmoin_alpha.png which has an alpha channel and looks better on
  3037       browsers with full .png support.
  3038     * Allow a .zip file to have a directory in it if it is the only one.
  3040 Version 1.5.0beta4:
  3041   Fixes:
  3042     * use <span class="anchor"> instead of <a> for line-xxx anchors, this
  3043       fixes some rendering problems on IE
  3044     * Fixed the ReStructured text parser when it was used with non-HTML
  3045       formatters. Increased compatiblity with new docutils code.
  3046       (Thanks to Matt Gilbert.)
  3047   Other changes:
  3048     * cfg.stylesheets = [] (default). You can use this on wiki or farm level
  3049       to emit stylesheets after the theme css and before the user prefs css.
  3050       The list entries must be ('screen', '/where/ever/is/my.css') style.
  3051     * Added sample code for auth using an external cookie made by some other
  3052       program. See contrib/auth_externalcookie/*. You need to edit it to
  3053       fit whatever cookie you want to use.
  3055 Version 1.5.0beta3:
  3056   Fixes:
  3057     * fixed editor preview throwing away page content for new pages
  3058     * require POST for userform save and create* action
  3059     * use request.normalizePagename() while collecting pagelinks
  3060     * do not offer gui editor for safari
  3061   Other changes:
  3062     * tell user if account is disabled
  3063     * added support for linking to .ico and .bmp
  3064     * attachment methods for the text_xml and xml_docbook formatters
  3065     * new favicon
  3066     * updated i18n (fixed nl, did nobody notice this?) and underlay
  3067     * changed show_interwiki default to 0
  3069 Version 1.5.0beta2:
  3070   Fixes:
  3071     * fix wrong _ in title links (MoinMoinBugs/AddSpaceWikiNameAtHead)
  3072     * fix gui editor (converter) crash on save
  3073     * MoinMoinBugs/PageHitsFails
  3074     * MoinMoinBugs/PackagePagesFailsBecauseAllowedActionsMissing
  3075     * Avoid destroying existing page content if editor is called with
  3076       template parameter for an existing page.
  3077     * fix countdown javascript for browser status line in editor
  3078     * added page title display for editor
  3079     * added header div for classic theme
  3081   Authentication and related:
  3082     * Added a wiki xmlrpc plugin to check whether auth works
  3083       correctly for xmlrpc. There is a counterpart script that
  3084       uses http auth when calling the xmlrpc plugin, so you can use it to
  3085       check http auth.
  3087 Version 1.5.0beta1:
  3088     * Requirements changed to require Python >= 2.3. We recommend that
  3089       you use the latest Python release you can get. The reason we
  3090       dropped 2.2.2 support is because no developer or tester uses this
  3091       old version any more, so incompatibilities crept in the code
  3092       without anybody noticing. Using some recent Python usually is no
  3093       real problem, see there for some hints in case you still run an
  3094       old python:
  3095       The hint also does apply to other POSIX style operating systems,
  3096       not only Linux.
  3097     * We recommend you use MoinMoin/scripts/ to clean the
  3098       wiki's cache (see comments at top of the script).
  3099       The cache will automatically be rebuilt (some operations may take
  3100       some time when first being used, e.g. linkto: search, so be patient!).
  3102   Config Changes:
  3103      * there is a file CHANGES.config with just the recently changed stuff
  3104        from
  3105      * new defaults:
  3106        * page_front_page old: u"FrontPage" new: u"HelpOnLanguages"
  3107          please just read the help page in case you see it :)
  3108        * bang_meta old: 0 new: 1
  3109        * show_section_numbers old: 1 new: 0
  3110        * some regexes that used to be [a-z]Uxxxx$ are now [a-z0-9]Uxxxx$
  3111        * navi_bar has no page_front_page as first element any more
  3112      * removed settings and code [new behaviour]:
  3113        * acl_enabled [1]
  3114        * allow_extended_names [1]
  3115        * allow_numeric_entities [1]
  3116        * backtick_meta [1]
  3117        * allow_subpages [1]
  3118      * new settings:
  3119       * cfg.mail_sendmail = "/usr/sbin/sendmail -t -i" can be used if sending
  3120         via SMTP doesn't work on your server. Default is None and that means
  3121         using SMTP.
  3122       * language_default replaces the old default_lang setting (just renamed).
  3123       * language_ignore_browser = True can be used to let moin ignore the
  3124         user's browser settings (e.g. if you run a local-language only wiki
  3125         and your users use misconfigured or buggy browsers often). Default is
  3126         False. Don't forget to set language_default when using this.
  3128     * Wiki Editor changes / new WYSIWYG editor
  3129      * fully imported the javascript based LGPLed FCKeditor (many thanks
  3130       to Fred CK for his great work). See for details.
  3131      * config for FCKeditor is at wiki/htdocs/applets/moinfckeditor.js
  3132      * added cfg.interwiki_preferred (default = []) to set a list of wikis to
  3133        show at the top of the wiki selection list when inserting an
  3134        interwiki link (just use the same wiki name as in interwiki
  3135        map). If the last list item is None, then the preferred wikis
  3136        will not be followed by the entries of the interwiki map.
  3137     * moved save/preview/... buttons to the top so that they can be
  3138       easily reached
  3139     * reduced edit_rows default to 20 lines
  3140     * Added support for edit by doubleclick in the diff view
  3142     * Improved wiki farm support
  3143      * make user files sharable between several wikis in a farm
  3144       * allow/use interwiki subscriptions
  3145       * use interwiki links in page trail
  3146       * save bookmark per wiki name
  3147      * cfg.cookie_domain can be used to set a cookie valid for a complete
  3148        domain (default: None == only for this host). If you use '.domain.tld',
  3149        the cookie will be valid for all hosts *.domain.tld - good for host
  3150        based wiki farms.
  3151      * cfg.cookie_path can be used to set a cookie valid for a wiki farm under
  3152        some base path (default: None == only for this wiki's path). If you use
  3153        '/wikifarm',  the cookie will be valid for all wikis
  3154        server.tld/wikifarm/* - good for path based wiki farms.
  3155      * Interwiki user homepage (if you have MANY users)
  3156        Generated links for usernames are interwiki now, use cfg.user_homewiki
  3157        (default: 'Self') to specify in which wiki the user home pages are
  3158        located. Note: when pointing this to another wiki, the /MoinEditorBackup
  3159        functionality will be disabled.
  3160        @SIG@ also uses interwiki when needed.
  3162     * Authentication, ACLs and related
  3163      * Modular authentication: cfg.auth is a list of functions that return a
  3164        valid user or None, use it like this:
  3165            from MoinMoin.auth import http, moin_cookie
  3166            auth = [http, moin_cookie]
  3167      * cfg.auth_http_enabled was removed, please use cfg.auth instead.
  3168      * http auth now supports "Negotiate" scheme, too
  3169      * Added sslclientcert auth method (Apache: untested, Twisted: not
  3170        implemented, IIS: no idea). See MoinMoin/ for details.
  3171        Submit a patch if you have improvements.
  3172      * cfg.superuser is a list of unicode usernames. It is used by some
  3173        critical operations like despam action or PackageInstaller.
  3174      * removed allowed_actions, we now use actions_excluded only and it
  3175        defaults to [], that means, no action is excluded, everything is
  3176        allowed (limited by ACLs). In case of RenamePage and DeletePage,
  3177        this shouldn't be a problem as both can be reverted. In case you
  3178        did not allow attachments, you now have to use:
  3179        actions_excluded = ['AttachFile']
  3180      * special users (All, Known, Trusted) in Groups are now supported
  3181      * SecurityPolicy added
  3182        When using this security policy, a user will get admin rights on his
  3183        homepage (where pagename == username) and its sub pages. This is needed
  3184        for the MyPages action, but can also get used for manual ACL changes.
  3185        It can also be used for Project page auto admin functionality, see the
  3186        comments in the script for details.
  3187        Further it can automatically create the user's group pages when the
  3188        user saves his homepage.
  3189      * there is a UpdateGroup xmlrpc call, see MoinMoin/xmlrpc/ -
  3190        you can use this to update your *Group pages e.g. when generating them
  3191        from an external group database.
  3193     * UserPreferences changes
  3194      * Alias name: is used for display purposes, when "name" is cryptic. It is
  3195        shown e.g. in the title attribute of userid links (displayed when
  3196        moving the mouse over it).
  3197      * "Publish my email (not my wiki homepage) in author info" - use this
  3198        if you don't have a wiki homepage, but if you want to be contactable
  3199        by email. When you edit a page, your email address will be published
  3200        as mailto: link on RecentChanges, at bottom of page (last editor) and
  3201        in page info. If the wiki runs publically on the internet, be careful
  3202        using this or your email address might be collected by spammers.
  3203      * Preferred Editor: whether you want to use the text editor (as in
  3204        previous moin versions), the gui editor (new!) or both (you will get
  3205        2 edit links in that case).
  3206      * a user can add/remove the current page to/from his quicklinks with an
  3207        appropriate action now
  3208      * if cfg.user_email_unique = False, we don't require user's email
  3209        addresses to be unique
  3210      * removed show_fancy_links user preferences setting to simplify code and
  3211        caching. Displaying those icons is now done by CSS styles (see
  3212        common.css). Maybe needs fixing for non-standard themes and RTL langs.
  3214     * Markup
  3215      * added strikethrough markup: --(striked through text here)--
  3216      * @ME@ expands to just the plain username (no markup added) on save
  3218     * User homepages
  3219      * when a user accesses his own non-existing homepage (pagename ==
  3220        username), the wiki will present the MissingHomePage system page
  3221        content, explaining what a user homepage is good for and offer
  3222        one-click editing it with content loaded from HomepageTemplate
  3223      * creation of homepage subpages is assisted by the MyPages action, which
  3224        offers rw, ro page creation (and a related group) or creation of private
  3225        pages. If you are not in the user_homewiki, you will get redirected
  3226        there first.
  3228   Other changes/new features:
  3229     * Added PackageInstaller and unzipping support (see wiki page
  3230       HelpOnActions/AttachFile for further details).  PackageInstaller requires
  3231       the user to be in cfg.superuser list.
  3232      * Added an PackagePages action to simplify the package creation.
  3233     * Added location breadcrumbs - when you are on some subpage, the page
  3234       title parts link to the corresponding parent pages, the last part does
  3235       the usual reverse linking.
  3236     * added WSGI server support, thanks to Anakim Border, see:
  3237       wiki/server/ (moin as WSGI app, uses the flup WSGI server,
  3238                                see
  3239       MoinMoin/server/ (adaptor code)
  3240     * added a "Despam" action to make de-spamming a wiki easy (mass revert
  3241       bad changes done by a single author or bot). You need to be in
  3242       cfg.superuser to use it.
  3243     * Better diffs with links to anchors to the changed places
  3244     * Enhanced table support in the DocBook formatter.
  3245     * Added 'moin' daemon script, that let you run moin standalone
  3246       server as daemon and control the server with simple command line
  3247       intreface: moin start | stop | restart | kill
  3248     * Add 'restart' option to mointwisted script
  3249     * Add properties option to standalone server config. Allow
  3250       overriding any request property like in other server types.
  3251     * Add support for running behind proxy out of the box with out
  3252       manual url mapping.
  3253       See HelpOnConfiguration/IntegratingWithApache
  3254     * added a WikiBackup action, configure it similar to this:
  3255       data_dir = "/path/to/data"
  3256       backup_include = [data_dir, ] # you can add other dirs here
  3257       backup_users = ["BackupUserName", ] # only TRUSTED users!
  3258       You usually don't need to change the default backup_exclude setting.
  3259       The default backup_include list is EMPTY and so will be your
  3260       backup in case you don't configure it correctly.
  3261       If you put your data_dir there, the backup will contain private
  3262       user data like email addresses and encrypted passwords.
  3263     * Added a SubscribeUser action which allows the administrator to subscribe users to the
  3264       current page.
  3265     * Added thread count to SystemInfo macro.
  3266     * Added Petr's newest patch against the DocBook code. It allows you to use macros (esp. the include macro) in DocBook pages in order to build larger documents.
  3267     * Added a RenderAsDocbook action which redirects to the DocBook formatter.
  3268     * Added searching for wiki-local words lists under <data_dir>/dict/.
  3269       They are used additionally to the global lists in MoinMoin/dict/.
  3270     * moin_dump now also dumps attachments referenced from the page.
  3271       It doesn't dump stuff that is just attached, but not referenced!
  3272     * On RecentChanges we now force the comment to be breakable, this improves
  3273       rendering of over-long words or on narrow browser windows - especially
  3274       for themes with limited content width like rightsidebar.
  3275     * We now have the "new" icon on RecentChanges clickable, just links to the
  3276       page.
  3277     * Print view now shows "interwikiname: pagename" (for show_interwiki = 1).
  3279   International support:    
  3280     * mail_from can be now a unicode name-address 
  3281       e.g u'Jürgen wiki <>'
  3283   Theme changes:
  3284     * logo_string is now should be really only the logo (img).
  3285       If you included your wiki's name in logo_string you maybe want to remove
  3286       it now as it is shown as part of the location display now anyway (if
  3287       you set show_interwiki = 1).
  3288     * You maybe want to remove page_front_page from your navi_bar - we link to
  3289       that page now from the logo and (new, if you set show_interwiki = 1) from
  3290       the interwiki name displayed in location display, so you maybe don't need
  3291       it in navi_bar, too.
  3292     * If you have a custom theme, you should / may:
  3293      * sync modern/css/screen.css #pagelocation #pagetrail stuff to your
  3294        screen.css or pagelocation display (title()) will look strange (like a
  3295        list).
  3296      * remove "#title h1 ..." CSS (or any other CSS assuming h1 is a page
  3297        title and not just a first level heading), it is not used any more.
  3298      * we now render = heading = as <h1> (was <h2> before 1.5),
  3299        == heading == as <h2> (was <h3>), etc.
  3300      * maybe move both title() and trail() to header area, like the builtin
  3301        themes do it.
  3302      * there is a new interwiki() base theme method that optionally (if
  3303        show_interwiki = 1) shows the interwiki name of this wiki and links to
  3304        page_front_page. The css for it is #interwiki.
  3306   Developer notes:    
  3307     * Plugin API was improved. When plugin module is missing,
  3308       wikiutil.PluginMissingError is raised. When trying to import a
  3309       missing name from a plugin module, wikiutil.PluginMissingError is
  3310       raised. You must update any code that use wikiutil.importPlugin.
  3311       Errors in your plugin should raise now correct tracebacks. See
  3313     * pysupport.importName was changed, it does not check for any
  3314       errors when trying to import a name from a module. The calling
  3315       code should check for ImportError or AttributeError. Previous
  3316       code used to hide all errors behind None.
  3317     * Its easier now to customize the editbar by overriding
  3318       editbarItems() in your theme, and returning a list of items to
  3319       display in the editbar. To change a single editbar link, override
  3320       one of the xxxLink methods in your theme.
  3322   Internal Changes:
  3323     * request.formatter (html) is available for actions now
  3324     * theme API's d['page_home_page'] is gone (sorry) and replaced by
  3325       d['home_page'] which is either None or tuple (wikiname,pagename).
  3326       It is better to use the base classes function for username/prefs anyway.
  3327     * introduced cfg.hacks for internal use by development, see comment in
  3328 and file HACKS.
  3329     * added IE7 (v0.9) from Dean Edwards (see -
  3330       that should fix quite some IE bugs and annoyances (on Win32).
  3331       * for enabling IE7, use cfg.hacks = { 'ie7': True }
  3332     * reducewiki now also copies all attachments (we use that to make underlay
  3333       directory from moinmaster wiki's data_dir)
  3335   Fixes:  
  3336     * Fixed a typo in which led to a traceback instead of an
  3337       error message in case of disabled XSLT support.
  3338     * Fixed crash in twisted server if twisted.internet.ssl is not
  3339       available.
  3340     * Fixed wrong decoding of query string, enable wiki/?page_name urls
  3341       with non ascii page names.
  3342     * Fixed wrong display of non ascii attachments names in
  3343       RecentChanges and page revision history.
  3344     * Fixed a crash when trying to run standalone server on non posix os.
  3345     * Fixed highlight of misspelled words in Check Spelling action.
  3346     * Fixed case insensitivity problems on darwin (Mac OS X). See
  3347       MoinMoinBugs/MacHfsPlusCaseInsensitive
  3348     * Added RecentChanges (only the english one) to the pages getting
  3349       html_head_index headers
  3350     * text_html cache files written with this code will invalidate themselves
  3351       if they detect to be older than the wikiconfig. Note: you should remove
  3352       all old text_html cache files once after upgrading, they will then be
  3353       rebuilt automatically with the new code.
  3354     * Fixed MoinMoinBugs/12_to_13_mig10_Walk
  3355     * Fixed the word_rule: a word like AAAbbAbb isn't teared into two parts
  3356       any more (was: AA<link>AbbAbb</link>)
  3357     * Fixed false positive InterWiki markup for languages like Finnish.
  3358       InterWiki links are only rendered if the left side has an appropriate
  3359       entry in the interwiki map, otherwise it is rendered as simple text.
  3360     * Fixed unicode error when uploding non-ascii file name using mod
  3361       python.
  3362     * Fixed error handling of wikirpc requests, should give more
  3363       correct errors and prevent no error output and blocking the
  3364       client in some cases.
  3365     * Fixed the "lost password" mail processing. If a user entered some email
  3366       address unknown to the system, he was not notified of this, but just got
  3367       a useless mail with no account data in it. Now the system directly tells
  3368       the user that he entered an unknown email address.
  3369     * Fixed SystemInfo, it now also lists parsers in data/plugin/parser dir.
  3370     * Fix error handling on failure, improved error display
  3371     * Fix error handling when importing plugins or importing modules
  3372       dynamically. The fix is not backward compatible with older plugins.
  3373     * Fix chart action, returns a page with error message when chart
  3374       can not be created.
  3375     * Fixed formatter usage in the ShowSmileys macro.
  3376     * Fixed updating pagelinks cache for [:page:text] or [wiki:Self:page text],
  3377       fixes display of LocalSiteMap and rendering of such links.
  3378     * Hopefully fixed urllib problems (esp. with py 2.4.2, but also before) by
  3379       using our own urllib wrapper that handles encoding/decoding to/from
  3380       unicode, see Also made a similar fix for making and parsing
  3381       query strings.
  3382     * Fixed MonthCalendar tooltips when containing special chars like quotes.
  3383     * Added html escaping for diff text for RSS feed with diff=1.
  3384     * The distance between page content beginning and the first = heading =
  3385       was much too much. Fixed.
  3387 Version 1.4:
  3389     We used that version number for an internal and early development version
  3390     for what will be called moin 2.0 at some time in the future.
  3391     There will never be a 1.4.x release.
  3394 Version 1.3.5 (2005-08-04, Revision moin--main--1.3--patch-883)
  3396 Fixes:
  3397     * small CSS fix for rightsidebar theme
  3398     * applied some Debian patches (thanks to Jonas!):
  3399       * de i18n spelling fixes
  3400       * AttachFile fix, we strip CR in .draw files now
  3401       * when loading spellcheck dictionaries, we want utf-8, but we make
  3402         a 2nd try with iso-8859-1 encoding.
  3404 New Features:
  3406     * enabled using https with the Twisted server:
  3407       You need to use port 443, have PyOpenSSL (+ ssl libs it depends on)
  3408       installed and have some site key and certificate PEM files configured in
  3409       your file:
  3410       sslcert = ('/whereever/cert/sitekey.pem', '/whereever/cert/sitecert.pem')
  3413 Version 1.3.5rc1 (2005-07-31, Revision moin--main--1.3--patch-865)
  3415 Fixes:
  3417     * Fixed security bug when acl of deleted page was ignored. See:
  3419     * AttachFile did not display the original filename plus there
  3420       was a confusion in input field labelling ('Rename to').
  3421     * Fixed shortcut link non-existent page detection.
  3422     * Fixed non-working bookmark function on python 2.2.x.
  3423     * Fixed wikirpc getPageInfo call on python 2.2.x.
  3424     * Fixed the failing import of plugins from the data/plugin/
  3425       directories if run in zipimport environments.
  3426     * Fixed traceback which occurred on negated searches.
  3427     * Fixed crash when trying to render error message on twisted, fast
  3428       cgi and modpy.
  3429     * Fixed error message with modpy, used to show wrong errors below
  3430       the real message.
  3431     * Fixed search and goto text fields for better compatibility with
  3432       dark themes and better control through css.
  3433     * Show an edit link if MissingPage is missing and a warning in the
  3434       server log.
  3435     * Fixed missing footer in the editor.
  3436     * Fixed indented (invalid) headings with broken links in table of
  3437       contents.
  3438     * Fixed crash when file name is too long, show standard error message.
  3439     * Save trail file in a safe way, should be enough for normal use.
  3440     * Fixed remember_last_visit user preferences option when show_trail
  3441       is not selected.
  3442     * Fixed the tests for Standalone, Twisted, FastCGI and Mod_Python.
  3443       Run with ?action=test from any page.
  3444     * Fixed rare bug when wrong search type was performed when pasting
  3445       search term in Safari.
  3446     * Fixed crash for custom formatters and dom_xml (which occurred if
  3447       smileys were in the page).
  3448     * Editor opens on double click in pages with single quote in the
  3449       name, like "Ben's Wiki".
  3450     * '/.' in page names are not replaced any more by '/(2e)'
  3451     * Fixed the long delays while saving pages using RequestCLI.
  3452     * Fixed variable expanding for users with non WikiName.
  3453     * Fixed MonthCalendar's calculation of "today" to use the user's
  3454       time zone setting.
  3455     * Fixed moin_dump script, use same configuration options as other
  3456       scripts.
  3457     * Fixed url_mappings to work in proxied setups and sent mails
  3458       again. Also fixed for image links. Thanks to JohannesBerg.
  3459     * Fixed page shown after saving a drawing (esp. when saved from a
  3460       sub page). Fixed help link for drawings.
  3461     * Fixed mig10 script to run on Python < 2.3.
  3462     * The twisted server defaulted to a socket timeout of 12 hours!
  3463       We reduced that to a more sane 10 minutes, that should still be more
  3464       than enough. This fixed the "too many open files" problem we
  3465       encountered quite often recently. Thanks to Helmut Grohne!
  3467 Other Changes:
  3469     * Added {hu} flag.
  3470     * Added cz, pt and pt-br i18n.
  3471     * We send a 404 http status code for nonexisting wiki pages now,
  3472       maybe this will repell some search engines from requesting gone
  3473       pages again and again. The wiki user still sees the MissingPage
  3474       wiki stuff, so a user usually won't notice this change.
  3475     * Return 500 error code on failure and exceptions.
  3476     * Added some more bot / leech tool user agent strings.
  3477     * Prevent page floating elements from floating out of the page over
  3478       the footer, in modern, rightsidebar and classic themes.
  3479     * Encode URLs in a safer way
  3480     * We allow usernames with ' character in them now (like Tim O'Brian).
  3481     * Added support for the new security flags in docutils 0.3.9.
  3482     * @MAILTO@ expands now to safer [[MailTo()]] macro.
  3483     * Clarified and i18ned lost password mails.
  3484     * Added 'TitleIndex' and 'SiteNavigation' (+ translation) to the
  3485       list of pages that use html_head_index (so that robots
  3486       "index,follow").  Please make sure to have either FindPage,
  3487       TitleIndex or SiteNavigation in your navi_bar or in your
  3488       page_front_page content if you want search engines to find all
  3489       your pages.
  3490     * Make it possible to send account data when being logged in (for
  3491       future reference or whatever purpose).
  3492     * Speed up when running with persistent servers, the wiki config
  3493       does only get loaded once and misc. stuff is being cached between
  3494       requests now.
  3495     * The unit tests are disabled when using multi threading, because
  3496       the wiki configuration is shared between diffrent threads.
  3497     * The main code path (using standalone server) of MoinMoin runs on
  3498       PyPy now.
  3499     * Formatters do automatically transform HTML to plain text if they are
  3500       called with raw HTML code.
  3501     * Using larger socket backlog on Standalone and FastCGI servers
  3502       should be more reliable on high load.
  3503     * We now strip leading path from attachments uploaded by IE (this is
  3504       a bug in IE, not in MoinMoin). Better use a sane browser, like Firefox.
  3505     * added "teleport" to the user agent blacklist
  3507 New Features:
  3509     * Integrated Lupy indexer for better search performance. It is disabled
  3510       by default as of 1.3.5 as it still has known issues.
  3511       See if you want to test it.
  3512     * Integrated MonthCalendar 2.1, with some new features:
  3513       * a mouseover bubble that shows first level headlines of the linked
  3514         day page
  3515       * all calendars with same pagename move when using cal navigation,
  3516         thanks to Oliver Graf
  3517       * included AnnualMonthlyCalendar patch of Jonathan Dietrich
  3518         (use [[MonthCalendar(Yearly,,,+1,,6,1)]] syntax for birthdays and
  3519         other annually repeating stuff)
  3520       Make sure you remove old MonthCalendar.* from data/plugin/macro so that
  3521       moin will use the new code in MoinMoin/macro/
  3522       Maybe also clear the text_html cache.
  3523     * Added the new XSLT parser and the DocBook parser. This should increase
  3524       the 4suite compatiblity. See HelpOnXmlPages for details.
  3525       It now should run on 4suite 1.0a4 and 1.0b1. Thanks to Henry Ho!
  3526     * Added the DocBook formatter. This will let you generate DocBook markup
  3527       by writing simple wiki pages. It needs PyXML.
  3528     * It is now possible to customize parts of the UserPreferences page in
  3529       your wikiconfig (changing defaults, disabling fields, removing fields):
  3530       * Use user_checkbox_* for the checkboxes.
  3531       * Use user_form_* for other fields.
  3532       * See MoinMoin/ for the built-in defaults.
  3533     * New standalone server classes: ThreadPoolServer using pool of
  3534       threads, ThreadingServer with thread limit and ForkingServer.
  3535     * New standalone server configuration options: serverClass,
  3536       threadLimit, requestQueueSize.
  3537     * Use "PythonOption Location" in mod_python setup to solve script_name
  3538       problems.
  3540 Developer notes:
  3542     * Theme can now override maxPagenameLength() method to control page
  3543       name shortening.
  3544     * A search Match now provides access to the full re match via
  3545       the re_match attribute (use to access groups of the match)
  3546     * Underlay is not managed by arch any more. The tree contains an
  3547       underlay tarball, and you should untar after you update from main.
  3548     * "make update-underlay" will untar underlay
  3549     * "make merge" will star-merge main into your tree
  3550     * "make test" will now create and run in a fresh testwiki instace
  3551     * "make clean" options added
  3552     * _tests module does not have a global request any more. To refer to
  3553       the current request in a test, use self.request.
  3554     * _tests.TestConfig class require a request in the constructor.
  3555     * "python tests/ test_module" will run only test_module
  3556     * request.cfg stays between requests (for persistent servers).
  3559 Version 1.3.4 (2005-03-13, Revision moin--main--1.3--patch-666)
  3561 Fixes:
  3563     * Fixed ACL check in LikePages macro that caused links to unreadable 
  3564       pages to show.
  3565     * Fixed ACL check in newpage action.
  3566     * Fixed a security problem when admin policy defined in a custom
  3567       SecurityPolicy class was ignored.
  3568     * Fixed ACL check in action=show so that a user who may not read a page
  3569       also can't find out WHEN the protected page was updated.
  3570     * Workaround on Windows 95, 98, ME in order to clear the dircache.
  3571       This fixes some bugs related to an outdated page list and newly created
  3572       pages that did not appear immediately.
  3573     * Fixed decoding issues of page names on Windows, finally.
  3575     * Fixed traceback on IIS.
  3577     * Fixed wikirpc for standalone server.
  3578     * Other fixes (encoding and str/unicode data type related) to wikirpc
  3579       server, fixing some non-ascii issues hopefully.
  3580     * Fixed broken query strings for Standalone installations.
  3581     * Fixed backlinks - the result did not always show all links, often it 
  3582       showed too many irrelevant matches (MoinMoinBugs/BacklinksAreBroken).
  3583     * Fixed the acceptance of the show_hosts setting. Now you should be able
  3584       to hide any IP or host name from being published by MoinMoin by enabling
  3585       this option.
  3586     * Fixed wrong line endings on email messages.
  3587     * Fixed MoinMoinBugs/StandaloneUnquotesTooMuch.
  3588     * Fixed crash when trail file is missing.
  3589     * Fixed a traceback when searching for single ( or ).
  3590     * Added mig10 script to fix crashes with uncoverted edit-locks and file
  3591       attachments. Just use it as you did with mig1..mig9 before.
  3592     * Added mig11 script to add files to data/plugin (and below).
  3593     * added some fixes for the xslt parser (thanks to fanbanlo), it might be
  3594       still broken, but someone with deeper knowledge about xslt should fix it.
  3595     * Replaced image link with W3C's "html 4.01 compliance" icon by a simple
  3596       text link to avoid https: or config trouble.
  3597     * Catch OverflowError backtrace when illegal date strings (e.g. <1970 or
  3598       >2038) are fed to moinmoin's time routines. It will just output current
  3599       date / time in those cases.
  3600     * UserPreferences now also set a date_fmt preference and Date macro
  3601       honours it. You may have to reset your UserPreferences value for that.
  3602     * Fixed free parent and subpage links in interwiki notation.
  3604     * Fixed a traceback for invalid ReST markup.
  3605     * Fixed UnicodeError in SystemAdmin's Attachment Browser.
  3607 Other Changes:
  3609     * Optimized the IRC parser.
  3610     * Support for zipimport of the MoinMoin package. This allows you to use
  3611       py2exe and similar programs.
  3612     * Show the editor's name in the mail subject.
  3613     * Added the pragmas description and keywords. They will add <meta> headers
  3614       if used.
  3615     * Added MoinMoin/scripts/xmlrpc-tools/ example script, useful
  3616       as a starting point for importing data using wiki xmlrpc.
  3617     * Optimised display on Opera browser.
  3619 New features:
  3621     * The search modifier "linkto:" was introduced. You can use it to search
  3622       for links.
  3623     * The NewPage macro now can take a PageTemplate parameter, see HelpOnMacros.
  3624     * New config settings (so you don't need to edit any more):
  3625       xmlrpc_putpage_enabled = 0 (if 1, enables writing to arbitrary page names)
  3626       xmlrpc_putpage_trusted_only = 1 (if 0, doesn't require users to be
  3627        authenticated by http auth - DANGEROUS, DO NOT SET TO 0!!!)
  3628     * Added support for Digest and NTLM authentication with CGI (e.g. if you
  3629       use those Apache modules)
  3630     * The datetime string accepted by Date and DateTime macros was extended to
  3631       accept a timezone specification, so now +/-HHMM is also valid, e.g.:
  3632       2005-03-06T15:15:57Z (UTC, same as +0000)
  3633       2005-03-06T15:15:57+0000 (UTC)
  3634       2005-03-06T16:15:57+0100 (same time given as local time for time zone
  3635                                 with offset +0100, that is CET, e.g. Germany)
  3636       2005-03-06T10:15:57-0500 (same time given as local time for time zone
  3637                                 with offset -0500, EST, US Eastern Std. Time)
  3638       The values given as macro argument will be transformed to UTC internally
  3639       and then adapted again according to viewing user's UserPreferences, so
  3640       the user will see the same moment in time but shown in his local time
  3641       zone's time (at least if he set his UserPreferences correctly and didn't
  3642       forget changing them twice a year for DST and non-DST).
  3643     * Readded (now optional) editlink footer to Include macro. Add
  3644       ',editlink' to call to enable this.
  3645     * star "smileys" e.g. {*}{*}{*}{o}{o}
  3648 Version 1.3.3 (2005-01-24, Revision moin--main--1.3--patch-595)
  3650 Fixes:
  3652     * fixed ACL security problem in search
  3653     * fix for IIS with CGI allowing page names that contain chars
  3654       that are not in the system code page
  3655     * fixed MoinEditorBackup revisions to start with 1 now
  3656     * improved page locking ('current' file)
  3657     * Unittests (normally shown at end of action=test output) are currently
  3658       disabled for everything except CGI, because they only work reliably with
  3659       CGI, giving wrong results for other request methods.
  3662 Version 1.3.2 (2005-01-23, Revision moin--main--1.3--patch-587)
  3664 Fixes:
  3666     * ACL bugfix for deleted pages with ACL protection.
  3667     * ACL bugfix for "Default" acl.
  3668     * Fixed updating of groups and dicts
  3669     * Python 2.2.x related fixes (worked on 2.3+)
  3670       * Fixed traceback in RecentChanges.
  3671       * Fixed traceback with links browser.
  3672     * Fixed 0 revision display in 'Show changes'.
  3673     * Fixed traceback in Antispam which occurred when it could not connect
  3674       to MoinMaster. Log the errors to stderr or error.log.
  3675     * Fixed bug in Page init (no date, use rev). Fixes problem with
  3676       #deprecated PI.
  3677     * Fixed empty lists in empty search results.
  3678     * Cosmetic fix for modern theme (when viewed with Internet Explorer).
  3679     * Fixed migration 9 script, do not drop newline, do not drop error.log, 
  3680       note about missing error.log.
  3681     * Fixed script, keep ending newline on revisions.
  3682     * Show headings and macro content in correct direction when mixing content 
  3683       in several directions in the same page and using caching.
  3684     * Fixed bug in standalone re farmconfig.
  3685     * Fixed DOS condition in antispam code.
  3686     * Use smaller margin in print mode to get better results with 
  3687       Mozilla/Firefox.
  3688     * Fixed some user input escaping issues.
  3689     * Fixed a problem when one wiki plugin override other wikis plugins in 
  3690       same farm.
  3691     * Fixed some broken tests.
  3692     * Fixed recursive include in pstats.
  3693     * Fixed bug in standalone - HTTP result code was 200 even when the access
  3694       was forbidden.
  3695     * Fixed traceback when trying to login with non-ascii password.
  3696     * Fixed traceback when xml is not available, reported on Python 2.2.?
  3697     * Fixed slideshow to show slides in sorted order again.
  3698     * Fixed serving multiple wikis on same IP/different ports with twisted and
  3699       farmconfig.
  3700     * It is possible to run with data_underlay_dir = None for special
  3701       application, but be aware that the wiki won't be usable unless you have
  3702       at least some of the system pages from underlay/ available.
  3703     * Files with Unicode characters in their filename are possible now.
  3704     * Bugfix for broken [:page#anchor:text] links.
  3705     * Workaround an instability of the gdchart module leading to
  3706       stalled servers etc.
  3707     * Fixed some event-log decoding issues that affect charts rendering.
  3709 Other changes:
  3711     * Major speed improvement over 1.3.1. Many times faster title search,
  3712       creating new page, opening page editor and any operation that list pages.
  3713       See
  3714     * Improved README.migration.
  3715     * Cleaner design for login/register interface, login is always the default
  3716       button when the user click Enter.
  3717     * If there are problems found in the configuration, log the error
  3718       and display helpful error messages in the browser.
  3719     * More forgiving unicode configuration policy, you must use the u'string' 
  3720       format only for unicode values.
  3721     * Added profiling to CGI.
  3722     * The content of is similar to now.
  3723     * Unexpected errors while loading cache files are logged.
  3724     * i18n for icon ALT tags.
  3725     * Include request initialization code in the profile in standalone server.
  3726     * When creating new theme, style sheets are inherited correctly, no need
  3727       to override style sheets just to get them working.
  3728     * Many times faster plugin system. Typical pages are about 35% faster, 
  3729       pages with many plugins can be many times faster. 
  3730     * Spiders are allowed to fetch attachments.
  3731     * Old user files containing password hash encoded in pre 1.3 charset
  3732       are auto repaired on first login.
  3733     * data_dir defaults to './data', underlay_data_dir to './underlay' now.
  3734       It is a good idea to replace those by absolute pathes in
  3735     * Renamed "Refresh" to "Delete Cache" - it was misused by users. The action 
  3736       was also moved into the action menu in the modern and rightsidebar themes.
  3737     * Added a workaround for TableOfContents missing some links by making it
  3738       uncacheable via a "time" dependency.
  3739     * Removed interwiki icon and title attribute for wiki:Self:... links.
  3740     * Unittests (normally shown at end of action=test output) are currently
  3741       disabled because they worked unreliably, giving wrong results sometimes.
  3743 New features:
  3745     * Create new pages easily using configurable interface and page templates 
  3746       with the new NewPage macro.
  3747     * ReStructuredText (rst) support is built-in now. See HelpOnParsers.
  3748     * New experimental feature in - each interface may 
  3749       specify a port: ''. Without a port, the port option
  3750       is used.
  3752 API changes:
  3754     * For a complete list of changes, see MoinMoin:ApiChanges.
  3755     * wikiutil.importPlugin's first argument is now a wiki config instance 
  3756       (request.cfg) and there is no path keyword.
  3757     * Wiki plugins always override MoinMoin plugins. wikiutil.importPlugin
  3758       implements this override.
  3759     * util.pysupport.importName does not accept path - you should call 
  3760       it with correct module name, e.g '' for 
  3761       wiki plugins, or ''. 
  3762     * wikiutil.extensionPlugin was renamed to wikiPlugins and it gets config 
  3763       instance instead of path.
  3764     * New function wikiutil.importWikiPlugin used to import wiki plugins 
  3765       using a cache in a thread safe way.
  3766     * New config option config.use_threads is used to activate thread 
  3767       safe code.
  3768     * New keyword arguments for getPageList, enable 10X faster operation
  3769       for common cases by controlling page filtering.
  3770     * New up to 100X times faster getPageCount
  3773 Version 1.3.1 (2004-12-13, Revision moin--main--1.3--patch-434)
  3775 Fixes:
  3777     * Fixed "Error Cyclic usage" crash when user had Italian (it), Korean
  3778       (ko), Serbian (sr) or Vietnamese (vi) as user interface language.
  3779     * Fall back to en (instead of crashing) when user uses a language moin
  3780       does not support / does not support any more (like pt,sv,fi,sr).
  3781     * In 1.3.0, people accidentally put iso-8859-1 chars into wiki configs,
  3782       but those where expected to be pure utf-8 and thus it crashed.
  3783       Fixed by using unicode strings (varname = u'whatever'), a matching
  3784       encoding setting (see top of script comment) and, when decoding strings,
  3785       using decode to ASCII with replace mode (this replaces non-ASCII chars,
  3786       but at least it won't crash - and you get a warning to better use
  3787       Unicode strings).
  3788     * Fixed long time broken table formatting. ||<style="see css spec" a||b||
  3789       Now even generates valid HTML! The old markup for align, valign, width,
  3790       bgcolor still works, but synthesizes style attribute data.
  3791     * SystemAdmin macro shows attachments of ALL pages now.
  3792     * Users without write acl rights will be able to see attachments again and
  3793       also have AttachFile action in menu.
  3794     * Fixed wrong match count in search results, find all matches in page 
  3795       titles, show all matches in contents in some rare cases.
  3796     * Run about 200% faster with long running processes (standalone, Twisted), 
  3797       about 20% faster with cgi, by better internal data handling in wikidicts.
  3798     * On SF, the dict files use utf-8 encoding now. We included them also in
  3799       distribution, see contrib/dict/.
  3800     * Fixed permissions to shared template stuff.
  3801     * Speeded up search, fixed wrong match counts.
  3802     * Speeded up internal data handling (wikidicts).
  3803     * Fixed rare unicode error after deleting a page (reported only on SuSE
  3804       Linux 9.0 / Python 2.3.0).
  3805     * Fixed file permissions of files in the data dir.  
  3806     * Fixed some cosmetic problems in migration scripts and use sys.path.insert
  3807       to get latest moin code when executing them.
  3809 Other Changes:
  3811     * Improved docs, system and help pages.
  3812     * Updated translation files.
  3814 Known Bugs:
  3816     * Internet Explorer renders our HTML/CSS in a suboptimal way.
  3817       (MoinMoin: href="">MoinMoinBugs/InternetExplorer)
  3818       Workaround: use a non-broken browser like FireFox / Mozilla.
  3819       Fixed in MoinMoin 1.3.2.
  3820     * Passwords using non-ascii do not work.
  3821       (MoinMoin: href="">MoinMoinBugs/NonAsciiPasswordsBroken)
  3822     * The TOC macro is broken partly.
  3823       (MoinMoinBugs/TableOfContentsBrokenForIncludedPages,
  3824        MoinMoinBugs/TableOfContentsLacksLinks)
  3825     * See also:
  3828 Version 1.3.0 (2004-12-06, Revision moin--main--1.3--patch-400)
  3830     As you see from the length of the 1.3 changes below, 1.3 is a major(!)
  3831     upgrade. We could have also named it "2.0", but we decided against.
  3832     So take the time for reading the informations thoroughly and do the
  3833     migration exactly as we tell you - this is no 5 minutes upgrade!
  3835     !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  3836     !!! We heavily changed configuration, data encoding, dir layout:    !!!
  3837     !!!  * the default encoding changed to utf-8.                       !!!
  3838     !!!  * also, we changed the escaping for special chars to %XX%YY in !!!
  3839     !!!    URL and (xxyy) in file system.                               !!!
  3840     !!!  * layout of data dir changed completely                        !!!
  3841     !!! If you upgrade an existing wiki, you must run the migration     !!!
  3842     !!! scripts or you will get data corruption or other problems.      !!!
  3843     !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  3845     HINT: Upgrading your wiki - critical information
  3847       If you are NOT starting from scratch, you MUST convert your existing
  3848       data - see README.migration for details.
  3850       If you use ##language: xx comments on your OWN pages, you should also run
  3851       repair_language script. Not needed for help/system pages as we already
  3852       have done that for you.
  3854       MoinMoin uses Unicode internally now (UCS-2 with 16 bits or UCS-4 with
  3855       32 bits, depending on your Python installation). The encoding used
  3856       for page files and html output is set by config.charset.
  3858       Moin 1.3 uses utf-8 encoding only, there is NO SUPPORT for using a
  3859       charset different from utf-8 with 1.3. If you try, you are on your own.
  3861     Directory layout
  3863       Directory layout was heavily changed. Each page now is a directory,
  3864       containing page revisions, attachments, cache files and edit-log.
  3866       You can delete a page or move a page from one wiki to another
  3867       easily. Look at the wiki/data directory to see.
  3869       Example:
  3870         old: data/text/FrontPage
  3871         new: data/pages/FrontPage/revisions/00000042
  3872              data/pages/FrontPage/current (contains: 00000042)
  3873         old: data/backup/FrontPage.xxxxxxxx
  3874         new: data/pages/FrontPage/revisions/00000023
  3876       For cleaning up cache files, use MoinMoin/scripts/ 
  3877       (see comments in script).
  3879    Python / Libs
  3881       * For using RSS, you need to have PyXML installed:
  3882         Python 2.4*   -> PyXML 0.8.4 (cvs version)
  3883         Python 2.3.x  -> PyXML 0.8.3
  3884         Python 2.2.2+ -> ???
  3885         This will also make "Live Bookmarks" of Mozilla Firefox working.
  3886         New: if you don't have PyXML installed, the RSS icon on RecentChanges
  3887         will not be displayed any more. Python with no PyXML installed
  3888         generates invalid RSS XML.
  3890    Page names handling
  3892       * Handling of special characters in file names changed from _xx format
  3893         to (xx...) format.
  3894       * In URLs, moin now uses %xx%yy quoting, (because this is supported by 
  3895         browsers), and sub pages use "/" instead of the ugly "_2f".
  3896       * Underscore character "_" is used now as a space character " " both 
  3897         in file names and URLs. " " and "_" will be handled equivalent at most
  3898         places in the future (represented as "_", rendered as " ").
  3899       * To prevent wiki abuse and user typing errors, page names are normalized 
  3900         in URLs, query strings, the "go" box and when renaming pages. This 
  3901         include leading, trailing and multiple slashes and white space. Certain 
  3902         invisible unicode characters are removed from page names.
  3903       * Group page names are restricted even more, any non unicode alpha-numeric
  3904         character is removed. This is done to enable changing acl syntax in 
  3905         the future. The restriction might be loosen on future versions.
  3906       * You can edit config.page_invalid_chars_regex to control which characters
  3907         are allowed in page names (Changing it is not supported).
  3908       * When you enter page name, it is normalized and you are redirected to
  3909         the normalized page, or if nothing left (e.g '/////'), to FrontPage.
  3910       * When renaming a page to a name that can be normalized to an empty string,
  3911         the new page name will be "EmptyName" and the user will not get an
  3912         error message.
  3914    Underlay directory
  3916      * Pages (especially system and help pages) are now located in an underlay
  3917        directory (data_underlay_dir). You will see the pages there if they are
  3918        NOT covered (overlayed) by a page in the normal pages directory
  3919        (as set using data_dir).
  3920        MAKE SURE THAT data_underlay_dir IS CORRECT OR YOU WILL SEE MANY EMPTY
  3921        PAGES ONLY IN A NEW WIKI.
  3922      * If you edit a page that is shown from underlay directory, it will be
  3923        copied to the normal page directory on save (copy-on-write).
  3924      * You can use one copy of the underlay directory shared by many
  3925        wiki instances. Each wiki will then have only your local, self-made
  3926        wiki pages in its data directory, and only system and help pages in the
  3927        single, shared underlay directory - this simplifies upgrades a lot.
  3928      * It is recommended to keep your underlay system and help pages immutable
  3929        using acl, so you can upgrade your wiki easily. The default help and
  3930        system pages already have those ACLs (using MoinPagesEditorGroup).
  3931      * Do not forget to remove your old help and system pages after migrating
  3932        your wiki. We don't provide a script for that as that would be
  3933        dangerous for edited pages. Just use some file manager (e.g. mc) to
  3934        clean the data/pages/ directory. As soon as you have removed the
  3935        system pages there, you will see the new pages in the underlay dir.
  3936        See the EditedSystemPages page for a list of pages that exist in both
  3937        data and underlay directory (use this page as admin!).
  3939        When updating from 1.2 or lower to 1.3 or higher, you will want to
  3940        clean out the copies of the system pages in your {{{wiki/data}}}
  3941        directory. All of these pages will now reside in the underlay
  3942        directory. If you have system pages from 1.2 or lower in your
  3943        wiki/data/ directory, they will overshadow the more up-to-date
  3944        documentation. This can be done using the following manual procedure:
  3945        1. You have just converted from 1.2 or lower to post-1.3.
  3946        2. Go to your wiki's EditedSystemPages.
  3947        3. Find all the pages that are MoinMoin system or help pages. You will
  3948           know if it is one of those pages because it is not your page.
  3949        4. Check if it is okay to delete by either:
  3950           1. Using the this page "info" link and check the Revision History to
  3951              see if it is greater than 1. If so, there are modifications, so do
  3952              not delete the page and evaluate the modifications to see if they
  3953              are necessary.
  3954           2. Using your file browser (Windows Explorer, etc) to go to your
  3955              wiki/data/<<systemPage>>/revisions/ directory and to see if there
  3956              are no modifications. If there are, do not delete the page and
  3957              evaluate the modifications to see if they are necessary.
  3958        5. Delete that wiki/data/<<systemPage>> using your file browser.
  3960     Multiple languages
  3962       * New file name quoting method allow 50% longer page names in languages
  3963         that use more than one byte per character, like Hebrew, Korean etc.
  3964       * Configuration file uses 'utf-8' encoding now. Certain values that are
  3965         marked with [Unicode] can use any character in your language. Examples 
  3966         are page names in navi_bar, page types regular expressions and site name.
  3967       * For configuration examples adopted to your language, check ConfigMarket 
  3968         in the MoinMoin wiki.
  3969       * The system and help pages that come with moin are now in utf-8.
  3970       * MissingPage system page localized, should display in your language.
  3971       * We did many i18n (translation) updates.
  3972       * CSS file use utf-8 encoding. User css is also expected to be utf-8.
  3973         This is relevant only if you use non-ASCII values in the CSS file.
  3974       * config.upperletters and config.lowerletters were removed.
  3975         We now use a pre-made ucs-2 spanning set and you usually don't have to
  3976         change it. See MoinMoin/util/ if you're interested.
  3977       * ACL works with any user name or group name in any language, even names 
  3978         with spaces.
  3979       * Now you can use any charset in config.charset. Note: only utf-8 is 
  3980         a supported configuration!
  3981       * Improved url handling, now creating pages directly from the browser 
  3982         url box with non-ascii names works in most cases, even when 
  3983         config.charset is not utf-8.
  3984       * When using non-utf-8 config.charset, characters in URLs that does
  3985         fit in the charsets are replaced with "?" (instead of crashing).
  3986       * All themes and most macros and actions are Right to Left friendly.
  3987         Full RTL support planned for 1.3 release.
  3988       * If page language is specified with #language processing instruction
  3989         the page is displayed in the correct direction. Pages without
  3990         language are displayed using the wiki default_lang.
  3992     Multiple configurations
  3994       * You can run multiple wikis from the same wiki directory or server. 
  3995         For example, you can run one Twisted server that serve multiple wikis, 
  3996         instead of running multiple servers. Samples of the new configuration
  3997         are supplied in wiki/config/*.
  3998       * You can't just use your old file. It is now called
  3999 and the config variables now have to be in a class
  4000         "Config" and that class must inherit from
  4001         MoinMoin.multiconfig.DefaultConfig - see the provided
  4002         sample for details.
  4003         This is very useful, e.g. you could derive a GermanConfig from
  4004         DefaultConfig. After that, you can derive configs for wikiA and wikiB
  4005         from that GermanConfig.
  4006       * contains a mapping attribute called "wikis" with pairs of
  4007         wikiconfig module name and regular expression. The regular expression
  4008         is matched against the URL of the request and the first matching entry
  4009         determines the config module to be imported by MoinMoin.
  4010       * If you use's "wikis" mapping, then any wiki has a private
  4011         config module, named after the wiki - e.g. wiki named moinmoin would
  4012         use
  4013       * If you only have a single wiki, you do not need just make 
  4014         a and it will be used no matter what URL is requested. 
  4015       * There is one common global "config" that holds sitewide settings (like
  4016         umask or charset) - you do not need to change settings there.
  4017         This file is located in the MoinMoin code: MoinMoin/
  4019     General configuration
  4021       * SecurityPolicy now uses "write" instead of "edit" (so it is may.write
  4022         now). This is to get it in sync with ACLs.
  4023       * SecurityPolicy now automatically can use everything in acl_rights_valid.
  4024       * There is a new config option "config_check_enabled". It will warn about
  4025         any unknown variable name (probably typo) to stderr or error.log. 
  4026         If something doesn't work at all and changing the config does no 
  4027         difference, switch it on and look at the error message. 
  4028       * The sample config file comes with config_check_enabled = 1. If you 
  4029         introduce additional variables yourself, you definitely want to switch 
  4030         that check off or it will fill your log.
  4031       * If you define "page_front_page" variable, this name will show in the 
  4032         navigation bar now, instead of the default "FrontPage".
  4034     New search engine
  4036      * Full text and title search do support multiple search terms now - 
  4037        see HelpOnSearching for details.
  4038      * Regular expressions are still supported but have to be turned on per
  4039        search term. Search terms in macros using regular expressions will have
  4040        to be fixed.
  4041      * The URL interface of the search engine has also changed. Links that 
  4042        point directly to search actions may be broken.
  4044     User names
  4046       * User names can not use group names, even if ACLs are not enabled.
  4047         This will prevent error later, if you start to use acl in the future
  4048         (acl is going to be mandatory in 1.5).
  4049       * User names are not restricted any more to only CamelCase. 
  4050       * To prevent imposing as other users, leading, trailing and multiple 
  4051         whitespace in user names is not allowed. Only Unicode alpha numeric 
  4052         characters are allowed, with optional one space character between 
  4053         words.
  4054       * When a user name with a group name or "bad" name is trying to 
  4055         access the wiki, he is redirected to the UserPreferences page and 
  4056         asked to create a new account.
  4057       * When trying to login or create a new account with a bad name, 
  4058         correct error message is displayed in all cases.   
  4060     CGI
  4062       * You can not use your old moin.cgi file, as we removed 
  4063         (was deprecated since 1.2). Copy the new file from the server dir.     
  4065     Moin servers - Twisted and standalone
  4067       * Configuration self checking on startup. Will raise an error in case
  4068         of bad configuration or non-accessible directories.
  4069       * Both use shorter and identical configuration options.
  4070       * Server scripts contain detailed comments and examples.
  4071       * Configuration defaults changed to fit most users.
  4072       * There is memory profiler option for debugging, switched off by default.
  4073       * If you perform a standard install, server scripts should run out
  4074         of the box or with minimal change.
  4076     Twisted server
  4078       * All code moved into the new server package, the server script
  4079         contains only configuration options.
  4080       * Listen to more than one interface with "interfaces" list.
  4081       * Code updated to new Twisted API.
  4082       * Use mointwisted script to start and stop the server, using 
  4083         "mointwisted start" and "mointwisted stop".
  4084       * The Twisted server runs as daemon by default.
  4085       * All moin Twisted files are called now mointwisted instead of 
  4086         moin_twisted.
  4087       * Fixed getting username from Twisted request (http auth)
  4089     Standalone server
  4091       * Configuration moved from to
  4092       * If run as root, you can set both user and group for the server.
  4093       * Can use logfile instead of logging to stderr.
  4094       * Fixed missing unquoting of query string (caused problems in rare cases).
  4096     mod_python server
  4098      * moin_modpy server files renamed to moinmodpy.
  4100     Wiki Markup
  4102      * '''strong''', ''em'' and __underline__ have now paragraph scope. You can
  4103        set these attributes on words level. For multiple paragraphs, wrap each 
  4104        with needed markup.
  4105      * If you leave unclosed ''', '' and __  markup, its is closed when the 
  4106        paragraph ends.
  4108     User interface
  4110      * Due to many changes in CSS files, the wiki may look "broken" until
  4111        your reload once or twice, or empty your browser cache.
  4112      * The "Send mail notification" checkbox is replaced by "Trivial change"
  4113        checkbox. The default behavior did not change - regular edit is not
  4114        a trivial change, and mail will be sent to subscribes. If you check
  4115        trivial change, mail will be sent only to users who selected to 
  4116        get trivial changes in their user preferences.
  4117      * New theme "modern" has been added, and used as default theme. 
  4118      * classic and rightsidebar improved.
  4119      * viewonly theme removed, as any theme can be use now as viewonly
  4120        by using #acl All:read in the wikiconfig.
  4121      * All themes use new navibar, displaying both wiki links, user links
  4122        and the current page.
  4123      * navibar and pagetrail use now shortened page names, so very long
  4124        names does not break the interface visually.
  4125      * All themes have improved search interface at the top of the window.
  4126      * Only avaiable actions are displayed, so most situations when a user
  4127        try to do something he can't do are prevented.
  4128      * When creating a new page, no action is available until the page 
  4129        is created. You can't attach files to non-existing page any more.
  4130      * Non registered users get a "login" link. Registered uses get
  4131        "username" link to their home page, and "user preferences" link.
  4132      * Messages more clear using bold type, designed by css.
  4133      * Few useless messages removed (but there are many more)
  4134      * Default wiki logo uses the wiki name instead of the MoinMoin troll 
  4135        logo.
  4137     Other fixes and changes
  4139      * Most generated html code is valid "html 4 strict". There are still
  4140        some problems that still have to be fixed, mainly macros, table
  4141        attributes, and inline markup crossing (<a><b></a></b>).
  4142      * WantedPages can include and exclude system pages, which makes it 
  4143        much more useful.
  4144      * Fixed a bug in TitleIndex where not all system pages are excluded.    
  4145      * RenamePage action now renames everything, including backups, page
  4146        history, attachments. It does not change toplevel editlog, though.
  4147        After you rename a page, you are redirected to the new page.
  4148      * Syntax colorization supports more languages (Java, C++, Pascal)
  4149      * Inline: display of attachments was extended. A Parser now knows which
  4150        extensions it can handle.
  4151      * TableOfContents and Include macros now cooperate a bit better. There
  4152        are still problems with multiple Includes of the same page.
  4153      * Excluded actions at bottom of page are not displayed any more.   
  4154      * Editor: removed the columns size setting, just using 100% of browser
  4155        window width (it didn't work because of that anyway). Also removed that
  4156        "reduce editor size" link at top of editor as you would lose your
  4157        changes when using it.
  4158      * Removed the option to choose text smileys instead of images, this made
  4159        more trouble than it was worth. The text version is still given in ALT
  4160        attribute.
  4161      * Moved stuff from contribution/ to MacroMarket page on MoinMoin wiki
  4162      * Some nasty people try to use a running moin as a proxy (at least they
  4163        did on, maybe due to the magic port
  4164        number). We changed the code to check for that and just return 403
  4165        in that case. Moin can not be used as a proxy anyway.
  4166      * moin.cgi?test was removed in favor of a new buildin test
  4167        action. It works for all deployments, just use ?action=test.
  4168      * Sending mail does use tls if server supports it.
  4170     3rd party developer notes
  4172      * Themes should be now sub class of MoinMoin.theme.ThemeBase. Sub
  4173        classes will get automatically all new improved user interface
  4174        elements for free.
  4175      * Theme authors should update their theme for 1.3. Some keys removed
  4176        from them dict. See ThemeBase class in MoinMoin/theme/ 
  4177      * Actions writers should call request.setContentLangauge with the 
  4178        correct language used by the action. This enable themes and other
  4179        code to use correct direction.
  4180      * The Formatter interface was changed. Formatters and parsers using 
  4181        the formatter interface have to be adjusted.
  4182      * started deprecation of Processors: they are still recognized, but
  4183        implementors should start to rewrite their Processors as Parsers.
  4184        A processor with the same name as a parser in a pre #! section is
  4185        currently preferred. This will change in the next release.
  4187     Deprecation notes
  4189      * Processors are deprecated, see section above.
  4191      * Using the cookie (or the login url with ID) only and not setting (or
  4192        setting and not remembering) your email/password in UserPreferences
  4193        is DEPRECATED. Those quite unsecure methods will likely be dropped
  4194        in next moin version.
  4196      * Operating with acl_enabled = 0 is also DEPRECATED. Due to some other
  4197        improvements planned, we will have to operate with ACLs enabled ONLY
  4198        in a future moin version, so this setting will likely be dropped.
  4199        So clean up your user accounts (see and switch ACLs
  4200        on NOW.
  4201        There are no drawbacks, so you will like it. Having ACLs enabled
  4202        doesn't mean you really have to USE them on wiki pages...
  4204      * allow_extended_names = 0 is deprecated (default was/is 1).
  4205        Future versions will be able to use extended names (aka free links) in
  4206        any case and the config setting will be removed.
  4208      * allow_subpages = 0 is deprecated (default was/is 1).
  4209        Future versions will be able to use subpages in any case and the config
  4210        setting will be removed.
  4212      * attachments = {...} - we would like to remove that setting because of
  4213        several reasons:
  4214        * when not being extremely careful, this can easily lead to security
  4215          problems (like when uploading a .php exploit and then executing it
  4216          by accessing it directly via web server)
  4217        * makes code more complicated - code that we want to change completely
  4218          in next version
  4219        If you need that feature, speak up now and tell us your reasons WHY you
  4220        need it.
  4223 Version 1.2.4 (2004-10-23, Revision 1.187)
  4225 This will probably be the last 1.2.x release as we are soon doing release
  4226 candidates for 1.3 release (with big internal changes) and are expecting
  4227 release 1.3 in december 2004.
  4229 Fixes:
  4230     * fixed "None" pagename bug in fullsearch/titlesearch
  4231     * fixed projection CSS usage
  4232     * the compiled page is removed when a page is deleted, so no ghost page
  4233       appears after deletion
  4234     * fixed AbandonedPages day-break problem
  4235     * fixed [[GetVal(WikiDict,key)]]
  4236     * the msg box is now outside content div on PageEditor, too
  4237     * privacy fix for email notifications: you don't see other email addresses
  4238       in To: any more. mail_from is now also used for To: header field, but
  4239       we don't really send email to that address.
  4240     * privacy fix for /MoinEditorBackup pages that were made on previews of
  4241       pages that were not saved in the end
  4242     * fix double content div on PageEditor preview
  4244 Other changes:
  4245     * workaround for broken Microsoft Internet Explorer, the page editor now
  4246       stops expanding to the right (e.g. with rightsidebar theme).
  4247       Nevertheless it is a very good idea to use a non-broken and more secure
  4248       browser like Mozilla, Firefox or Opera!
  4250     * from import SecurityPolicy in your
  4251 will protect your wiki from at least the known spammers.
  4252       See MoinMoin:AntiSpamGlobalSolution for details.
  4254     * xmlrpc plugin for usage logging, currently used for antispam accesses
  4256     * (re-)added configurable meta tags:
  4257         * html_head_queries = '''<meta name="robots" content="noindex,nofollow">\n'''
  4258         * html_head_posts   = '''<meta name="robots" content="noindex,nofollow">\n'''
  4259         * html_head_index   = '''<meta name="robots" content="index,follow">\n'''
  4260         * html_head_normal  = '''<meta name="robots" content="index,nofollow">\n'''
  4262     * i18n updates/fixes
  4264     * New UserPreferences switch:
  4265       you may subscribe to trivial changes (when you want to be notified about ALL
  4266       changes to pages, even if the author deselected to send notifications).
  4268     * New AttachList and AttachInfo macros - thanks to Nigel Metheringham and
  4269       Jacob Cohen.
  4271 Version 1.2.3 (2004-07-21, Revision 1.186)
  4273 Fixes:
  4274     * fixed NameError "UnpicklingError" in
  4275     * fixed version number in moin.spec
  4276     * reverts done by bots or leechers
  4277       There was a bad, old bug that triggered if you did not use ACLs. In that
  4278       case, moin used some simple (but wrong and incomplete) function to
  4279       determine what a user (or bot) may do or may not do. The function is now
  4280       fixed to allow only read and write to anon users, and only delete and
  4281       revert to known users additionally - and disallow everything else.
  4282     * avoid creation of unneccessary pages/* directories
  4283     * removed double content divs in general info and history info pages
  4284     * fixed wiki xmlrpc getPageHTML
  4285     * fixed rightsidebar logout URL, also fixed top banner to link to FrontPage
  4286     * use config.page_front_page and .page_title_index for robots meta tag
  4287       (whether it uses index,follow or index,nofollow), not hardcoded english
  4288       page names
  4289     * ACL security fix for PageEditor, thanks to Dr. Pleger for reporting
  4290     * default options for new users are same as for anon users
  4292 Version 1.2.2 (2004-06-06, Revision 1.185)
  4294 Fixes:
  4295     * python related:
  4296      * own copy of difflib removed
  4297        Until moin 1.2.1 we had our own copy of python 2.2.3's difflib coming
  4298        with moin. This was to work around some problems with broken older 2.2
  4299        python installations. We removed this now because if you have py 2.3,
  4300        there is even a better difflib coming with python (and that fixes an
  4301        extremely slow diff calculation happening in some rare cases).
  4302        So the good news is that when you run python 2.3, you don't need to do
  4303        anything and it will run great. If you run python 2.2.3, it will mostly
  4304        work good and you also don't need to do anything. The bad news is that
  4305        if you run an old and broken 2.2 installation (2.2.1, maybe 2.2.2) you
  4306        will have to fix it on your own (just copy from python 2.2.3
  4307        over to your python 2.2.x installation).
  4308        But better upgrade to python 2.3 (for debian woody, there's a backport),
  4309        as 2.3 generally runs better and faster than 2.2.
  4310      * scripts changed to use #!/usr/bin/env python (not /usr/bin/python2.2)
  4312     * user accounts and ACLs:
  4313      * we now require the user to specify a password for a new account (you
  4314        were not able to login without a password anyway)
  4315      * it is not allowed any more to create user accounts with user names
  4316        matching config.page_group_regex - please check manually that you do
  4317        not already have such users existing (like a user named "AdminGroup"):
  4318        cd data/user ; grep name=.*Group *  # there should be no output!
  4319      * subscription email sending now honours ACLs correctly
  4321     * markup / rendering / user interface fixes:
  4322      * fixed merging multiple lines indented by the same amount of blanks
  4323      * ## comments don't break tables in two parts
  4324      * added a "remove bookmark" link to RecentChanges
  4325      * fixed action=titleindex (added \n after each entry)
  4327     * RSS fixes:
  4328      * non-ASCII characters should work now
  4329      * RSS feed (Recentchanges?action=rss_rc) gives UTC timestamps now
  4330      * removed attribute breaking RSS feed on RecentChanges
  4332     * better email generation:
  4333      * if you use python >=2.2.2, we add a Message-ID header to emails
  4334      * if you use python 2.2.1, there is no email.Header. Instead of crashing
  4335        (like previous moin 1.2.x releases), we just use the subject "as is" in
  4336        that case. If it is not ASCII, this is not standards compliant.
  4337      * If you have >=2.2.2 it will use email.Header to make standards compliant
  4338        subject lines.
  4339      * use config.mail_from as sender address when sending "lost my password"
  4340        emails
  4342     * file attachments:
  4343      * fixed for standalone server
  4344      * attachment URLs (when handled by moin) don't include server name
  4345      * fixed some wrong &amp;amp; in html src
  4347     * better themeability:
  4348      * some entries in dict "d" where only present in header theme calls, some
  4349        only in footer theme calls. Now almost all is present in both calls.
  4350      * added some missing "content" divs so sidebar themes look better
  4352     * fixed some crashes producing backtraces:
  4353      * no IOError when diffing against deleted page
  4354      * no backtrace in xml footnote generation
  4355      * no SystemInfo crash when no editlog exists in new wikis
  4356      * xmlrpc.getRecentChanges fixed
  4358     * MoinMoin.util.filesys.rename is now a wrapper around os.rename that
  4359       fixes os.rename on broken win32 api semantics
  4361 Other Changes:
  4362     * saving traffic and load by improved robot meta tag generation:
  4363      * "noindex,nofollow" on queries and POSTs
  4364      * "index,follow" on FrontPage and TitleIndex (give robots a chance ;))
  4365      * "index,nofollow" on all other pages (hopefully saving lots of senseless
  4366        requests for page?action=...) 
  4367      * removed config.html_head_queries (was used for same stuff)
  4368     * added russian i18n (utf-8)
  4369     * misc. other translation updates / fixes
  4370     * added rightsidebar theme
  4371     * TitleIndex now folds case, so "APage" and "anotherPage" are both under
  4372       letter "A".
  4373     * added macro/ - it calculates the hits each page gets since
  4374       beginning of logging
  4377     * Full text and title search do now support multiple search terms - 
  4378       see HelpOnSearching for details
  4380     * The Formatter interface was changed. Formatter and parser using 
  4381       the formatter interface have to be adjusted.
  4383 Version 1.2.1 (2004-03-08, Revision 1.184)
  4385 Fixes:
  4386     * minimum requirement to run moin 1.2/1.2.1 is python 2.2.2
  4387      * not: 2.2(.0), as this does not have True/False
  4388      * not: 2.2.1, as this does not have email.Header. You maybe can work
  4389        around that one by:
  4390       * getting the python 2.2.x (x>=2) /usr/lib/python2.2/email directory
  4391       * putting it into directory 'x' (whereever you like)
  4392       * doing a sys.path[0:0] = ['x'] in moin.cgi [or other appropriate place]
  4393       No guarantee, this is untested.
  4394     * Twisted: the http headers missed the charset data, fixed
  4395     * mod_python: fixes for mod_python 2.7
  4396     * wiki/data/plugin/ added - fixes not working plugin modules
  4397     * plugin processors work now, too
  4398     * fixed displaying non-existent translations of SiteNavigation in footer
  4399     * fixed zh-tw iso name (wrong zh_tw -> correct zh-tw)
  4400     * fixed reversed diffs in RecentChanges RSS
  4401     * fixed "last change" info in footer (wasn't updated)
  4402     * fixed event.log missing pagename (and other) information
  4403     * fixed horizontal line thickness >1
  4404     * fixed running from CVS workdir
  4405     * fixed crash when doing action=info on first revision of a page
  4406     * fixed hostname truncation in footer
  4407     * minor css fixes
  4408     * fixed clear msg links (they missed quoting, leading to strange page
  4409       names when you click on some of them)
  4410     * fixed python colorizer processor
  4411     * fixed quoting of stats cache filenames
  4412     * catched "bad marshal data" error when switching python versions
  4414 Other changes:
  4415     * updated danish (da) i18n
  4416     * updated japanese (ja) i18n
  4417     * added serbian (sr) i18n
  4418     * added chinese (zh) i18n
  4419     * added a simple "viewonly" theme based on classic theme - you can use
  4420       this as default theme, so anonymous users won't get the usual wiki stuff,
  4421       but a far simpler (and less powerful) user interface.
  4422       It also displays the navibar at the left side.
  4423     * added moin.spec for building RPMs
  4424     * included MoinMoin/i18n/* into distribution archive (nice for translators)
  4425     * included some stuff under MoinMoin/scripts - xmlrpc-tools and account
  4426       checking stuff. removed some version control clutter from the dist
  4427       archive, too.
  4429     * code colorization was refactored and some new languages (Java, C++,
  4430       Pascal) where added.
  4431     * inline: display of attachments was extended. A Parser now knows which
  4432       extensions it can handle.
  4434 Version 1.2 (2004-02-20, Revision 1.183)
  4436 New features:
  4437     * MoinMoin now requires Python >=2.2.2., we recommend to use Python >=2.3.2
  4438       (with 2.3.x, MoinMoin runs about 20-30% faster).
  4439     * by refactoring request processing, we made it possible to run moin under
  4440       persistent environments:
  4441         * twisted-web (
  4442         * (use for starting this mini server)
  4443         * mod_python
  4444         * FastCGI
  4445       Of course, CGI is still possible.
  4446     * wiki pages will be compiled to bytecode now (by default), so no need for
  4447       slow parsing/formatting on every view ("WASP", see caching_formats)
  4448     * when using a persistent environment (like twisted) and WASP, you get up
  4449       to 20x speed - compared to CGI and moin 1.1
  4450     * added support for diffs between arbitrary revisions.
  4451     * removed requirement of the external diff utility
  4452     * config.auth_http_enabled (defaults to 0) - use this to enable moin
  4453       getting your authenticated user name from apache (http basic auth,
  4454       htpasswd) - if you enable this, your basic auth username has to be the
  4455       same as your wiki username.
  4456       Should work with CGI, FCGI and maybe even with mod_python.
  4457       Does not change behaviour of moin under twisted or standalone server.
  4458     * config.tz_offset = 0.0 sets a default timezone offset (in hours
  4459       from UTC)
  4460     * config.cookie_lifetime (int, in hours, default 12) sets the lifetime of
  4461       the MOIN_ID cookie:
  4462         == 0  --> cookie will live forever (no matter what user has configured!)
  4463         > 0   --> cookie will live for n hours (or forever when "remember_me")
  4464         < 0   --> cookie will live for -n hours (forced, ignore "remember_me"!)
  4465     * added themeing and some themes (if you improve the existing themes or
  4466       make nice new ones, please contribute your stuff!). The default theme is
  4467       set by config.theme_default (and defaults to 'classic').
  4468     * now supporting plugin directory for parsers, processors, themes, xmlrpc.
  4469     * action=info now defaults to showing page revision history again
  4470     * all actions accessing the logfile (as RecentChanges or history) are now
  4471       much faster
  4472     * #refresh processing instruction, config.refresh
  4473         * config.refresh = (minimum_delay, target_allowed)
  4474             * minimum delay is the minimum waiting time (in seconds) allowed
  4475             * target_allowed is either 'internal' or 'external', depending on
  4476               whether you want to allow only internal redirects or also
  4477               external ones. For internal redirects, just use the Wiki pagename,
  4478               for external, use http://... url.
  4479         * #refresh 3                    == refresh this page every 3 seconds
  4480         * #refresh 5 FrontPage          == internal redirect to FrontPage in 5s
  4481         * #refresh 5 == redirect to google in 5s
  4482       Use very carefully! Allowing a low minimum_delay and putting a #refresh
  4483       on RecentChanges might slow down your wiki significantly, when some
  4484       people just let their browser refresh and refresh again. Also, it does
  4485       cause quite some traffic long-term. So better do not use this without
  4486       good reason! Default is None (switched off).
  4487     * hide most UserPreferences options before user has logged in, less
  4488       confusing for new users
  4489     * "config.page_dict_regex" defines what pages are dictionary definitions
  4490       Currently dictionaries are used for UserHomePage/MyDict where you can
  4491       define key:: value pairs that get processed like @DATE@ expansion when
  4492       saving a page. The 2 "@" will be added to your keys automatically.
  4493       Please do not use @xxx@ strings on the right side (value), results may
  4494       vary if you do.
  4495       You can also access wiki dictionaries by using the internal macro
  4496       [[GetVal(page,key)]]" - that will go to page "page" and return the
  4497       value (right side) corresponding to "key".
  4498       Implementation note: groups are a subset of the dictionary functionality.
  4499     * standalone server should work now (see server/, so you don't
  4500       need to setup apache or twisted for a local personal wiki, you only need
  4501       python and moin for that now, no additional stuff any more!
  4502     * if you run your wiki with charset = "utf-8" (the default is still
  4503       iso8859-1), you might want to have a look at contributions/utf8-pages/
  4504       to see if there are already translated system pages for your language.
  4506 Fixes:
  4507     * new importPlugin routine (the old one didn't work correctly)
  4508     * removed 0xA0 characters breaking utf-8
  4509     * system page recognition now uses wiki groups (see AllSystemPagesGroup),
  4510       fixing the long-time broken system page exclusion on TitleIndex.
  4511     * mostly HTML 4.01 Strict compliant HTML
  4512     * design is done by CSS now, HTML is semantic markup only 
  4513     * removed target attribute from links, also [^NewWindow] markup - this
  4514       is a HTML 3.2 feature and not valid in HTML 4.01
  4515     * updated TWikiDrawPlugin to 20021003 version, with further modifications
  4516       including source. It can draw imagemaps now and saves PNG. On display a
  4517       GIF will be searched if no PNG is found. We recommend changing all GIFs
  4518       to indexed PNGs cause this fallback might disappear in later versions.
  4520       Sample code using bash and ImageMagick (be sure you know what you do):
  4521       for draw in `find /path/to/wiki/data -name \*.draw`; do
  4522         file=`dirname $draw`/`basename $draw .draw`
  4523         if [ -e "${file}.gif" ]; then
  4524           echo "Converting ${file}.gif to ${file}.png"
  4525           convert "${file}.gif" "${file}.png"
  4526         fi
  4527       done
  4529     * fixed email headers and encoding
  4530     * Changed moin-usercheck to adhere to scripting standards; no
  4531       proprietary config changes needed any more (added --config);
  4532       --wikinames is now part of the usage message.
  4533     * config.umask now defaults to 0770 - if you give world r/w access, ACLs
  4534       could be rather pointless...
  4536 Removed config variables:
  4537     * external_diff (not needed any more, we have internal diff now)
  4538     * shared_metadb (wasn't implemented for long - we will re-add it, when it is)
  4539     * title1/2 (please use page_header1/2)
  4540     * page_icons_up
  4542 Changed config variables:
  4543     * changed_time_fmt (removed some html and brackets around time from default)
  4544     * html_head (default is empty string now)
  4545     * page_footer1/2 (default is empty string now)
  4546     * page_icons (is now a list of icon names, not html any more)
  4547     * umask (default is 0770 now, not world r/w any more == more secure)
  4549 New config variables (see MoinMaster:HelpOnConfiguration):
  4550     * cookie_lifetime
  4551     * mail_login
  4552     * page_credits
  4553     * page_dict_regex
  4554     * page_group_regex
  4555     * page_header1/2
  4556     * page_iconbar 
  4557     * page_icons_table
  4558     * page_license_enabled
  4559     * page_license_page
  4560     * theme_default
  4561     * theme_force
  4562     * tz_offset 
  4564 Other:
  4565     * lots of internal code refactoring and optimization
  4566     * began moving src code documentation to epydoc, see "make epydoc"
  4567     * the URL for the RecentChanges RSS feed changed. It now only works with
  4568       ...?action=rss_rc.
  4570 Known problems:
  4571     * theme support is neither complete (although covering most important
  4572       stuff) nor perfect - work on that will continue...
  4573     * we removed some html from system messages (the boxes at top of page you
  4574       get after some actions), so it currently looks less nice than before.
  4575     * html is not completely validating and it is not xhtml - this will be
  4576       fixed as soon as we have the infrastructure for that (other parser, DOM)
  4577     * problems with rtl (right-to-left) languages, will be fixed in 1.3
  4578     * if you change moin_config or switch themes, moin will still use already
  4579       cached page content. For the config this can be fixed by touching
  4580       MoinMoin/ (or simply deleting everything in
  4581       data/cache/ If you get more annoyed by this than pleased by
  4582       caching speedup, you can also switch off caching (see docs on
  4583       caching_formats).
  4585 Themeing and HTML/CSS cleanup:
  4586     * Browsers with completely broken CSS support (like e.g. Netscape 4.x) are
  4587       no longer supported. If you still need to support them, do not upgrade to
  4588       moin 1.2. If you still use these browsers, we recommend that you upgrade
  4589       your browser first (Mozilla 1.5 has nice and standards compliant HTML and
  4590       CSS support and is available as Free Software for Windows, Linux and Mac).
  4591     * If you changed any html in code or by config you will have to check if it
  4592       still works. For the usual stuff, look into `MoinMoin/theme/`
  4593       and `classic/css/screen.css`. For config defaults of the html fragments,
  4594       read `MoinMoin/`. If you want to modify a theme, don't simply
  4595       change classic, but copy or subclass it under a new theme name.
  4596     * because of the new theme support the layout of the `htdocs` directory
  4597       changed:
  4598       * Instead of using icons under `img/` and css under `css/`, there will
  4599         be an additional `themename/` directory in between, e.g. `classic/img/`
  4600         and `classic/css/`. If you added own icons, you may have to copy them
  4601         to the themes directory.
  4602       * The filename of the CSS file has changed to the media type, so the
  4603         normal one used for screen output has changed name from `moinmoin.css`
  4604         to `screen.css`. There also were quite some changes and enhancements to
  4605         the CSS files, so better use the new ones.
  4606     * config.css_url was removed
  4608 Plugins:
  4609   * we use a new plugin loader that requires a correct `` file in
  4610     the plugin directories. See the directory `wiki/data/plugin/` in the
  4611     distribution archive and just copy it over to your wiki's plugin directory.
  4614 Version 1.1 (2003-11-29, Revision 1.178)
  4616 Version 1.1 requires Python 2.0 or higher, we recommend to use Python 2.2
  4617 (version 2.2.2 if that is available on your host) or even better >= 2.3.2
  4618 (with 2.3.x, MoinMoin runs about 20-30% faster).
  4620 New features:
  4621   Configuration:
  4622     * config.default_lang lets you set a default language for users not
  4623       having specified language in their browser or UserPreferences
  4624     * "config.page_category_regex" defines what pages are categories
  4625     * replaced `config.page_template_ending` by a more flexible setting
  4626       named `config.page_template_regex`
  4627     * the same with config.page_form_regex (was: page_form_ending)
  4628     * "config.page_group_regex" defines what pages are group definitions
  4629       Currently groups are used for "user groups" (see ACLs) and "page
  4630       groups" (see AllSystemPagesGroup).
  4631     * robot exclusion from all pages except the standard view action,
  4632       via the config.ua_spiders regex (reduces server load)
  4633     * "maxdepth" argument for the TableOfContents macro
  4634     * config.title1, config.title2, config.page_footer1,
  4635       config.page_footer2 can now be callables and will be called with
  4636       the "request" object as a single argument (note that you should
  4637       accept any keyword arguments in order to be compatible to future
  4638       changes)
  4639     * "config.html_pagetitle" allows you to set a specific HTML page
  4640       title (if not set, it defaults to "config.sitename")
  4641     * navi_bar / quicklinks can now contain free-form links, i.e.
  4642       entries of the form "[url linktext]" just like in wiki pages
  4643     * if a quick link starts with '^', it opens in a new window; help
  4644       now opens in a new window also
  4645     * `config.smileys` for user-defined smileys (default: `{}`) - a dict
  4646       with the markup as the key and a tuple of width, height, border, image
  4647       name as the value).
  4648     * `config.hosts_deny` to forbid access based on IP address
  4649     * `config.mail_login` can be set to username and password separated by
  4650       a space, e.g. "username userpass", if you need to use SMTP AUTH
  4651     * `config.edit_locking` can be set to None (old behaviour, no
  4652       locking), 'warn <timeout mins>' (warn about concurrent edits, but
  4653       do not enforce anything), or 'lock <timeout mins>' (strict locking)
  4654     * optionally showing a license text on editor page, use:
  4655       config.page_license_enabled = 1
  4656       Optionally use these to customize what is shown there:
  4657       config.page_license_text = "... your text ..."
  4658       config.page_license_page = "MyLicensePage"
  4659       See the default values in MoinMoin/ for details and
  4660       override them in, if needed.
  4661     * `config.shared_intermap` can be a list of filenames (instead of a
  4662       single string)
  4663     * If you have added your own `SecurityPolicy`, the class interface for
  4664       that has changed (see ``).
  4666   Authenticaton / Authorization:
  4667     * added ACL support, written by Gustavo Niemeyer of Conectiva and
  4668       Thomas Waldmann. See HelpOnAccessControlLists for more infos.
  4669       You should use MoinMoin/scripts/ before activating
  4670       ACLs or some users with bad or duplicate accounts might get into
  4671       trouble.
  4672     * A user account can be disabled using or
  4673       UserPreferences page. Disabling, but keeping it is good for edit
  4674       history.
  4675     * changed security default: deletion only available to known users
  4676     * support for Basic authentication (Apache style: AUTH_TYPE="Basic",
  4677       REMOTE_USER="WikiUserName"). If authentication is there, user
  4678       will be in ACL class "Trusted".
  4679     * support for username / password login
  4680       The username / password login will ONLY work, if you define a
  4681       password. With an empty password, username / password login is not
  4682       allowed due to security reasons. Passwords are stored encrypted
  4683       (format similar to Apache SHA) and can also be entered in the
  4684       UserPreferences form in this format. When requesting login
  4685       information by email, the password is also sent in this encrypted
  4686       format (use copy&paste to fill it in the form).
  4687       ...?action=userform?uid=<userid> is still possible, so if you have
  4688       bookmarks, they will still work). The input field for the ID was
  4689       dropped.
  4690       NOTE: using the userid for login purposes is DEPRECATED and might
  4691             be removed for better security soon.
  4692     * after logging in, you will get a cookie valid until midnight.
  4693       The next day, the cookie will expire and you will have to login
  4694       again. If you don't want this, you can check the "remember me
  4695       forever" option in UserPreferences.
  4696     * if the page file is read-only, you get a message (i.e. you can now
  4697       protect pages against changes if you're the wiki admin).
  4698       Note: you can do that easier using ACLs.
  4700   Markup / Macros / Actions:
  4701     * RandomQuote macro (and even parses Wiki markup now)
  4702     * `[[Navigation]]` macro for slides and subpage navigation
  4703     * [[ShowSmileys]] displays ALL smileys, including user-defined ones
  4704     * the Include macro has new parameters (from, to, sort, items) and
  4705       is able to include more than one page (via a regex pattern)
  4706     * `MailTo` macro for adding spam-safe email links to a page
  4707     * if a fancy link starts with '^' (i.e. if it has the form
  4708       "[^http:... ...]"), it's opened in a new window
  4709      * because of that, the NewWindow macro was removed from contrib
  4710     * "#pragma section-numbers 2" only displays section numbers for
  4711       headings of level 2 and up (similarly for 3 to 6)
  4712     * ../SubPageOfParent links
  4714   User interface:
  4715     * new fancy diffs
  4716     * Page creation shows LikePages that already exist
  4717     * editor shows the current size of the page
  4718     * editor returns to including page when editing an included page
  4719     * Visual indication we're on the editor page (new CSS style)
  4720     * selection to add categories to a page in the editor (use preview
  4721       button to add more than one category)
  4722     * if user has a homepage, a backup of save/preview text is saved as
  4723       a subpage UsersHomePage/MoinEditorBackup
  4724     * added "revert" link to PageInfo view (which makes DeletePage more
  4725       safe in public wikis, since you can easily revive deleted pages
  4726       via revert)
  4727     * Selection for logged in users (i.e. no bots) to extend the listing
  4728       of recent changes beyond the default limits
  4729     * Activated display of context for backlinks search
  4730     * Subscriber list shown on page info
  4731     * LikePages shows similar pages (using difflib.get_close_matches)
  4732     * last edit action is stored into "last-edited" file, and
  4733       displayed in the page footer
  4734     * reciprocal footnote linking (definition refers back to reference)
  4735     * "Ex-/Include system pages" link for title index
  4736       Note: system/help pages algorithm is still mostly broken.
  4737     * list items set apart by empty lines are now also set apart
  4738       visually (by adding the CSS class "gap" to <li>)
  4739     * "save" check for security.Permissions
  4740     * Added Spanish, Croatian and Danish system texts
  4741     * Added flag icons for the languages supported in "i18n"
  4742     * updated help and system pages, more translations, see also
  4743       AllSystemPagesGroup
  4744     * there was quite some work done on wiki xmlrpc v1 and v2 - it
  4745       basically works now.
  4747   Tools and other changes:
  4748     * moin-dump: New option "--page"
  4749     * there are some scripts MoinMoin/scripts/* using wiki xmlrpc for
  4750       backup and wiki page copying applications
  4751     * Updated the XSLT parser to work with 4Suite 1.0a1
  4752     * more infos in cgi tracebacks
  4753     * UPDATE.html is a HTML version of MoinMaster:HelpOnUpdating
  4755 Unfinished or experimental features:
  4756     * user defined forms
  4757     * XML export of all data in the wiki
  4758     * RST parser (you need to install docutils to use this)
  4759     * SystemAdmin macro
  4761 Privacy fixes:
  4762     * do not use / display user's email address in public places
  4765     * Removed two cross-site scripting vulnerabilities reported by "office"
  4767 Bugfixes:
  4768     * Bugfix for PageList when no arguments are given
  4769     * Disallow full-text searches with too short search terms
  4770     * [ 566094 ] TitleIndex now supports grouping by Hangul Syllables
  4771      * fix for multibyte first char in TitleIndex
  4772     * Footnotes were not HTML escaped
  4773     * Numbered code displays are now in a table so that you can cut the
  4774       code w/o the numbers
  4775     * Bugfix for wrong mail notifications
  4776     * Create unique anchors for repeated titles
  4777     * [ 522246 ] Transparently recode localized messages
  4778     * [ 685003 ] Using "preview" button when editing can lose data
  4779     * use gmtime() for time handling
  4780     * fixed negative gmtime() arguments
  4781     * [[Include]] accepts relative page names
  4782     * fixed ||NotInterWiki:||...||
  4784 -----------------------------------------------------------------------------
  4785 Version 1.0 (2002-05-10, Revision 1.159)
  4788 should occur, a maintenance release will fix them.
  4790 Some optional features (like statistics) already require Python 2.0.
  4792 New features:
  4793     * security fix: "allow_xslt" has to be set to 1 in order to enable
  4794       XSLT processing; note that this defaults to 0 because XSLT is able
  4795       to insert arbitrary HTML into a wiki
  4796     * "action=content" for transclusion into static web pages; emits the
  4797       pure page content, without any <html>, <head>, or <body> tags
  4798     * "?action=links&mimetype=text/plain" works like MeatBall:LinkDatabase
  4799     * "Preferred language" and "Quick links" user settings
  4800     * Added "processor" concept, processors work on the data in "code
  4801       displays" and are called by a bangpath in the first line of data
  4802     * Processors: Colorize, CSV (see HelpOnProcessors)
  4803     * New icons: "{OK}", "(./)", "{X}", "{i}", "{1}", "{2}" and "{}"
  4804       (see HelpOnSmileys)
  4805     * FullSearch now displays context information for search hits
  4806     * DeletePage offers a textentry field for an optional comment
  4807     * Email notifications are sent in the user's language, if known from
  4808       the preferences
  4809     * @PAGE@ is substituted by the name of the current page (useful
  4810       for template pages)
  4812 Unfinished features:
  4813     * user defined forms
  4814     * XML export of all data in the wiki
  4815     * RST parser (you need to install docutils to use this)
  4816     * XMLRPC interface
  4818 Bugfixes:
  4819     * Syntax warning with Python 2.2 fixed
  4820     * Macro-generated pagelinks are no longer added to the list of links
  4821     * error codes returned by "diff" are reported
  4822     * fix for attachments on pages with non-USASCII names
  4823     * correct handling of spaces in attachment filenames and URLs
  4825 -----------------------------------------------------------------------------
  4826 Version 0.11 (2002-03-11, Revision 1.151)
  4828 Most important new features: file attachments, definition list markup
  4829 (glossaries), change notification via email, variable substitution when
  4830 saving pages, edit preview, and improved documentation.
  4832 Note that the RSS features require a recent PyXML (CVS or 0.7) due to
  4833 bugs in the namespace handling of xml.sax.saxutils in earlier versions.
  4834 This is (hopefully) automatically detected on every installation.
  4836 Statistical features are NOT designed to work with Python 1.5.2 and
  4837 require Python 2.0 or higher. Overall, MoinMoin 0.11 is not explicitely
  4838 tested for 1.5.2 compatibility.
  4840 New features:
  4841     * XML formatting now (most often) produces well-formed, and, depending
  4842       on proper layout of the wiki page, valid StyleBook XML
  4843     * Headers are now automatically numbered, unless you set the config
  4844       item 'show_section_numbers' to 0
  4845     * "#pragma section-numbers off" (or "0") switches that off explicitely,
  4846       and "on" or "1" enables numbering 
  4847     * Added a "contributions" directory for 3rd party extensions
  4848     * AttachFile action, contributed by Ken Sugino; note that you have
  4849       to enable this action because of the possibility of DoS attacks
  4850       (malicious uploads), by adding this to your moin_config:
  4851             allowed_actions = ['AttachFile']
  4852     * "attachment:" URL scheme allows access to attachments, to get files
  4853        from other pages use "attachment:WikiName/filename.ext".
  4854     * New macros: Date(unixtimestamp) and DateTime(unixtimestamp) to
  4855       display a timestamp according to system/user settings
  4856     * Variable substitution when a page is saved, note that saving
  4857       template pages does NOT expand variables. Supported are:
  4858         @DATE@      Current date in the system's format
  4859         @TIME@      Current date and time in the user's format
  4860         @USERNAME@  Just the user's name (or his domain/IP)
  4861         @USER@      Signature "-- loginname"
  4862         @SIG@       Dated Signature "-- loginname date time"
  4863         @MAILTO@    A fancy mailto: link with the user's data  
  4864     * Copied some new emoticons from PikiePikie
  4865         || {{{ :-? }}} || :-? || tongue.gif ||
  4866         || {{{ :\  }}} || :\  || ohwell.gif ||
  4867         || {{{ >:> }}} || >:> || devil.gif  ||
  4868         || {{{ %)  }}} || %)  || eyes.gif   ||
  4869         || {{{ @)  }}} || @)  || eek.gif    ||
  4870         || {{{ |)  }}} || |)  || tired.gif  ||
  4871         || {{{ ;)) }}} || ;)) || lol.gif    ||
  4872     * AbandonedPages macro
  4873     * Added definition list markup: {{{<whitespace>term:: definition}}}
  4874     * Added email notification features contributed by Daniel Sa�    * SystemInfo: show "Entries in edit log"
  4875     * Added "RSS" icon to RecentChanges macro and code to generate a
  4876       RecentChanges RSS channel, see
  4878       for details
  4879     * Added config.sitename and config.interwikiname parameter
  4880     * Better WikiFarm support:
  4881       * <datadir>/plugin/macro and <datadir>/plugin/action can be used
  4882         to store macros and actions local to a specific wiki instance
  4883       * config.shared_intermap can contain a pathname to a shared
  4884         "intermap.txt" file (i.e. one stored outside the datadir)
  4885     * added `backtick` shortcut for {{{inline literal}}} (has to be
  4886       enabled by "backtick_meta=1" in the config file); note that ``
  4887       is then a shorter replacement for '''''' escaping
  4888     * added inline search fields (at the bottom of each page)
  4889     * Added preview to the editor, including spell checking
  4890     * New languages: Chinese (Changzhe Han) and Portuguese (Jorge
  4891       Godoy), updated French (Lucas Bruand), added Korean (Hye-Shik
  4892       Chang) and Italian (Lele Gaifax)
  4893     * New SystemAdmin macro
  4894     * `[[Anchor(anchorname)]]` macro to insert anchors into a page,
  4895       and [#anchorname Anchor Links].
  4896     * User option to open editor view via a double-click
  4897     * Added commentary field to editor, recent changes and page info
  4898     * Page trails (user option)
  4899     * UserPreferences: checkboxes for double-click edit, page trail,
  4900       fancy links, emoticons, jump to last page visited, and some
  4901       other yes/no options
  4902     * "config.nonexist_qm" is now the default for a user setting
  4903     * `[[GetText(text)]]` macro loads I18N texts (mainly intended
  4904       for use on Help pages)
  4905     * table attributes via "||<attrlist> ... ||", more details on
  4907     * PythonFaq interwiki tag and support for $PAGE placeholder
  4908     * event logging, as the basis for future statistics
  4909     * "moin-dump" command line tool to create a static copy of
  4910       the wiki content
  4911     * "config.external_diff" allows to set an exact path to the
  4912       command, or change the name to for example "gdiff" if GNU
  4913       diff is not a native command in your UNIX flavour
  4914     * `[[PageSize]]` macro
  4915     * the interwiki name "Self" now always points to the own wiki
  4916     * config.title1 and config.title2 are inserted into the output
  4917       right before and after the system title html code (title1
  4918       is right after the <body> tag and normally undefined, title2
  4919       defaults to the "<hr>" above the page contents)
  4920     * Additional link on diff pages to ignore whitespace changes
  4921     * Subpages (config.allow_subpages, config.page_icons_up)
  4922     * super^script^, sub,,script,, and __underline__ markup
  4923     * `[[FootNote]]` macro
  4924     * many other new config options, see HelpOnConfiguration for
  4925       a complete list
  4926     * [[StatsChart(type)]] shows statistical charts (currently
  4927       defined types: hitcounts, pagesize, useragents)
  4928     * 'inline:' scheme works like 'attachment:', but tries to
  4929       inline the content of the attachment into the page;
  4930       currently knows about "*.py" sources and colorizes them
  4931     * support for Java applet "TWikiDrawPlugin" via
  4932       drawing:<drawingname> URL scheme (you need to activate
  4933       the AttachFile action if you want drawings)
  4934     * numeric entities (&#nnnnn;) are now optionally NOT escaped,
  4935       which allows you to insert more characters into a Latin-1
  4936       page, especially the Euro symbol
  4937     * navi_bar is now a list of page names which should be linked
  4938       on every page
  4939     * test.cgi is now rolled into moin.cgi, and can be called
  4940       by adding "?test" to the wiki base URL. Also, as a security
  4941       feature, the server's environment is only shown for requests
  4942       local to the web server.
  4944 Unfinished features:
  4945     * user defined forms
  4946     * XML export of all data in the wiki
  4948 Documentation:
  4949     * extended the online help ("Help*" pages)
  4950     * German help pages (thanks to Thomas Waldmann)
  4952 Bugfixes:
  4953     * #425857: python Parser bug on the second call
  4954     * #424917: Caching control
  4955     * #465499: Two HTTPS problems
  4956     * #491155: FrontPage hardcoded
  4957     * Handling of inbound UTF-8 encoded URIs (only with Python >= 2.0)
  4958     * Fix for subtle changes in "re" of Python 2.2
  4959     * User-provided URLs are now never URL-escaped, which allows appending
  4960       #anchors and using %20 for spaces in InterWiki links
  4962 -----------------------------------------------------------------------------
  4963 Version 0.10 (2001-10-28, Revision 1.134)
  4965 This version is still Python 1.5.2 compatible, but it's not extensively
  4966 tested for that version and some parts of the system might not work
  4967 there, especially seldom used macros and actions. Bug reports welcome!
  4969 New features:
  4970     * "#deprecated" processing instruction
  4971     * config entry "SecurityPolicy" to allow for customized permissions
  4972       (see "" for more)
  4973     * added distutils support
  4974     * though not extensively tested, the standalone server now does POST
  4975       requests, i.e. you can save pages; there are still problems with
  4976       persistent global variables! It only works for Python >= 2.0.
  4977     * "bang_meta" config variable and "!NotWikiWord" markup
  4978     * "url_mappings" config variable to dynamically change URL prefixes
  4979       (especially useful in intranets, when whole trees of externally
  4980       hosted documents move around)
  4981     * setting "mail_smarthost" and "mail_from" activates mailing
  4982       features (sending login data on the UserPreferences page)
  4983     * very useful for intranet developer wikis, a means to view pydoc
  4984       documentation, formatted via a XSLT stylesheet, for details see
  4986       or MoinMoin/macro/
  4987     * "LocalSiteMap" action by Steve Howell <>
  4988     * Added FOLDOC to intermap.txt
  4990 Bugfixes:
  4991     * Full config defaults, import MoinMoin now works w/o
  4992     * Better control over permissions with config.umask
  4993     * Bugfix for a UNIX time billenium bug (affecting RecentChanges
  4994       sorting and page diffs)
  4995     * data paths with directory names containing dots caused problems
  4997 -----------------------------------------------------------------------------
  4998 Version 0.9 (2001-05-07)
  5000 New features:
  5001     * XML page input (pages that start with "<?xml") and XSLT formatting
  5002     * Page caching, for now limited to XSLT processing (where it's
  5003       absolutely needed); new code & API to add the "RefreshCache" link
  5004     * Selection of common date/time formats in UserPreferences
  5005     * New action "titleindex" to support wiki introspection (MetaWiki);
  5006       see the new links below the index bar in "TitleIndex"
  5007     * UserPreferences: editable CSS URL for personal styles
  5008     * PageInfo: the editor's name or IP is shown for each change
  5009     * WantedPages: a new macro that lists links to non-existent pages
  5010     * OrphanedPages: a new macro that lists pages no other page links to
  5011     * Extensions to the FullSearch macro (see HelpOnMacros)
  5012     * Python syntax highlighting
  5013     * "DeletePage" action (has to be activated, see MoinMoinFaq)
  5014     * "Remove trailing whitespace from each line" option in the editor
  5015     * I18N (currently German and Swedish)
  5016     * Config option "url_schemas" to extend the supported URL types
  5017     * Improved tracebacks by using Ka-Ping's "cgitb"
  5019 Bugfixes:
  5020     * The editor now sends a "no-cache" HTTP header
  5021     * "PageList" results are now sorted
  5022     * New config parameter "html_head_queries": send additional header
  5023       for all pages EXCEPT the "normal" view; main usage is to have
  5024       only the normal pages indexed by a spider, not the edit, print,
  5025       etc. views (which cause multiple hits on the same information)
  5026     * Store the modification time of the page file in the editlog, not
  5027       the current time when the log entry is created
  5029 -----------------------------------------------------------------------------
  5030 Version 0.8 (2001-01-23)
  5032 New features:
  5033     * Page templates (create a new page using a template page, by Richard)
  5034     * Pluggable actions (by Richard)
  5035     * Added "diff since bookmark"
  5036     * Only "normal" URLs (outside of brackets) are converted to inline images
  5037     * Show number of backups in SystemInfo macro
  5038     * Show info on installed extension macros and actions
  5039     * New macro: [[BR]] for line breaks
  5040     * New action "LikePages" (again, Richard)
  5041     * Highlighting of search results, and of bad words when spellchecking
  5042     * Support for "file:" URLS
  5043     * "SpellCheck" action (Richard, me, and Christian)
  5044     * [[Include]] macro (you guessed it, Richard)
  5046 Bugfixes:
  5047     * Update bookmark with load time, not click time
  5048     * Changed CSS styles to better suit Netscape's broken handling of CSS
  5050 -----------------------------------------------------------------------------
  5051 Version 0.7 (2000-12-06)
  5053 New features:
  5054     * RecentChanges bookmarking
  5056 Bugfixes:
  5057     * SECURITY FIX
  5058     * Non-greedy extended WikiNames
  5060 -----------------------------------------------------------------------------
  5061 Version 0.6 (2000-12-04)
  5063 New features:
  5064     * [[UserPreferences]] macro and associated functions
  5065     * [[TableOfContents]] macro
  5066     * Mechanism for external macros (user extensions)
  5067     * Numbered list types and start offsets
  5069 Bugfixes:
  5070     * Search dialogs did not work on the FrontPage
  5071     * Add newline to text if last line has none (better diffs)
  5073 -----------------------------------------------------------------------------
  5074 Version 0.5 (2000-11-17)
  5076 New features:
  5077     * Major refactoring: code is now broken up into modules within the
  5078       "MoinMoin" package
  5079     * Diagnosis of installation via a "test.cgi" script
  5080     * Smileys
  5081     * "#format" processing instruction
  5082     * "##comment"
  5083     * [[RandomPage]] and [[RandomPage(number)]] macro
  5084     * configurable footer ("page_footer1" and "page_footer2")
  5085     * "#redirect" processing instruction
  5087 Bugfixes:
  5088     * Bugfix for broken CGI environment of IIS/4.0
  5089     * URLs and InterWiki links are now less greedy (punctuation at the end
  5090       is excluded, and "<" ends them, too)
  5092 -----------------------------------------------------------------------------
  5093 Version 0.4 (2000-11-01)
  5095 New features:
  5096     * Table markup "||a||b||c||"
  5097     * Headlines "= H1 =", "== H2 ==", and so on up to H5
  5098     * [[PageCount]] macro
  5099     * Added [[Icon(image)]] macro and macro arguments
  5100     * [[PageList(title-regex)]] macro
  5101     * New help system (set of help pages describing all features)
  5103 Bugfixes:
  5104     * Create complete URL for "Clear message" link
  5105     * Inline code spans needed cgi.escape
  5106     * Better fix for Python 1.6 "re" problems
  5107     * Fix for uppercase extensions in inline images ("foo.JPG")
  5108     * Fixed colspan in RecentChanges
  5109     * HR size is now limited to 8
  5110     * "}" ends an URL pattern (fixes URLs right at the end of code displays)
  5112 -----------------------------------------------------------------------------
  5113 Version 0.3 (2000-10-25)
  5115 New features:
  5116     * Check for inline images with InterWiki links (Spam:eggs.gif)
  5117     * New config variable "allow_extended_names", which enables markup for
  5118       wiki names containing ANY character like this: ["any chars"] 
  5119     * New config variable "html_head"
  5120     * New macro [[SystemInfo]]
  5121     * Added inline code ("{{{" and "}}}" on the same line)
  5122     * Support for new config variable "max_macro_size"
  5124 Bugfixes:
  5125     * Don't treat sequences with a double colon (CPP::Namespace) as an
  5126       InterWiki link
  5127     * The local part of InterWiki links is now correctly URL-escaped
  5128     * Quickfix for a bug in 1.6's regular expressions
  5129     * Fixed "SpamSpamSpam" bug (multiple entries in word list)
  5130     * Anchor names get quoted in WordIndex and TitleIndex
  5131     * Filtering of filenames in page_list() corrected
  5132     * Escape &, <, > when sending the editor
  5133     * Final(?) fix for japanese wiki names
  5135 -----------------------------------------------------------------------------
  5136 Version 0.2 (2000-08-26)
  5138 New features:
  5139     * When saving, a datestamp saved in the form and that of the file are
  5140       compared now; so, accidently saving over changes of other people is
  5141       not possible anymore (saving still needs file locking though, for
  5142       race conditions)
  5143     * if the directory "backup" exists in the data dir, pages are saved
  5144       there before a new version is written to disk
  5145     * Removed the "Reset" button from EditPage
  5146     * Added "Reduce editor size" link
  5147     * Added Latin-1 WikiNames (JürgenHermann ;)
  5148     * Speeded up RecentChanges by looking up hostnames ONCE while saving
  5149     * Show at most 14 (distinct) days in RecentChanges
  5150     * Added icons for common functions, at the top of the page
  5151     * Added a printing preview (no icons, etc.)
  5152     * Added bracketed (external) URLs
  5153     * Added support for quoted URLs ("http://...")
  5154     * Added styles for :visited links to CSS
  5155     * Embed image if an URL ends in .gif/.jpg/.png
  5156     * No markup detection in code sections
  5157     * Grey background for code sections
  5158     * Added handling for numbered lists
  5159     * the edit textarea now grows in width with the browser window
  5160       (thanks to Sebastian Dau�for that idea)
  5161     * Added page info (revision history) and viewing of old revisions
  5162     * Added page diff, and diff links on page info
  5163     * Added InterWiki support (use "wiki:WikiServer/theirlocalname"; the list
  5164       of WikiServers is read from "data/intermap.txt")
  5165     * Added "normal" InterWiki links
  5166     * Added "action=raw" to send the raw wiki markup as text/plain (e.g. for
  5167       backup purposes via wget) 
  5169 Bugfixes:
  5170     * Removed an exception when saving empty pages
  5171     * Fixed bold nested into emphasis ('''''Bold''' Italic'')
  5173 -----------------------------------------------------------------------------
  5174 Version 0.1 (2000-07-29)
  5176 Improvements over PikiPiki 1.62:
  5177     * Moved configuration to ""
  5178     * Added "edit_rows" setting
  5179     * Added navigation bar
  5180     * Improved HTML formatting
  5181     * Added timing comment (page created in xx secs)
  5182     * ISO date and time formats by default
  5183     * Formatted RecentChanges with HTML tables
  5184     * Uppercase letters for the index pages
  5185     * Added PythonPowered logo
  5187 Bugfixes:
  5188     * Javadoc comments now get formatted properly in {{{ }}} sections
  5189     * Remove \r from submitted pages (so we get PORTABLE wiki files)
  5190     * chmod(0666) eases manual changes to the data dir
  5192 -----------------------------------------------------------------------------