From: <car...@us...> - 2025-02-16 00:36:22
|
Revision: 11113 http://sourceforge.net/p/phpwiki/code/11113 Author: carstenklapp Date: 2025-02-16 00:36:19 +0000 (Sun, 16 Feb 2025) Log Message: ----------- use unix line endings for pagedumps Modified Paths: -------------- trunk/lib/loadsave.php trunk/lib/mimelib.php trunk/pgsrc/ReleaseNotes Modified: trunk/lib/loadsave.php =================================================================== --- trunk/lib/loadsave.php 2025-02-15 21:03:33 UTC (rev 11112) +++ trunk/lib/loadsave.php 2025-02-16 00:36:19 UTC (rev 11113) @@ -135,34 +135,35 @@ { $current = $page->getCurrentRevision(false); $head = ''; + $LE = "\n"; // "\r\n" if (defined('STRICT_MAILABLE_PAGEDUMPS') and STRICT_MAILABLE_PAGEDUMPS) { $from = defined('SERVER_ADMIN') ? SERVER_ADMIN : 'foo@bar'; //This is for unix mailbox format: (not RFC (2)822) - // $head .= "From $from " . CTime(time()) . "\r\n"; - $head .= "Subject: " . rawurlencode($page->getName()) . "\r\n"; - $head .= "From: $from (PhpWiki)\r\n"; + // $head .= "From $from " . CTime(time()) . $LE; + $head .= "Subject: " . rawurlencode($page->getName()) . $LE; + $head .= "From: $from (PhpWiki)" . $LE; // RFC 2822 requires only a Date: and originator (From:) // field, however the obsolete standard RFC 822 also // requires a destination field. - $head .= "To: $from (PhpWiki)\r\n"; + $head .= "To: $from (PhpWiki)" . $LE; } if (!$forsvn) { // normal dumps use date modified - $head .= "Date: " . Rfc2822DateTime($current->get('mtime')) . "\r\n"; + $head .= "Date: " . Rfc2822DateTime($current->get('mtime')) . $LE; } else { $use_page_creationdate_instead = 0; if ($use_page_creationdate_instead) { - $head .= "Date: " . Rfc2822DateTime($page->get('date')) . "\r\n"; + $head .= "Date: " . Rfc2822DateTime($page->get('date')) . $LE; // for special pagedumps where you don't want to change the date // in dumped pgsrc, use creation date } else { // normal dumps use date modified - $head .= "Date: " . Rfc2822DateTime($current->get('mtime')) . "\r\n"; + $head .= "Date: " . Rfc2822DateTime($current->get('mtime')) . $LE; } } $head .= sprintf( - "Mime-Version: 1.0 (Produced by PhpWiki %s)\r\n", + "Mime-Version: 1.0 (Produced by PhpWiki %s)" . $LE, PHPWIKI_VERSION ); Modified: trunk/lib/mimelib.php =================================================================== --- trunk/lib/mimelib.php 2025-02-15 21:03:33 UTC (rev 11112) +++ trunk/lib/mimelib.php 2025-02-16 00:36:19 UTC (rev 11113) @@ -36,6 +36,7 @@ */ function QuotedPrintableEncode($string) { + $LE = "\n"; // "\r\n" // Quote special characters in line. $quoted = ""; while ($string) { @@ -50,10 +51,10 @@ // Split line. // This splits the line (preferably after white-space) into lines // which are no longer than 76 chars (after adding trailing '=' for - // soft line break, but before adding \r\n.) + // soft line break, but before adding $LE.) return preg_replace( '/(?=.{77})(.{10,74}[ \t]|.{71,73}[^=][^=])/s', - "\\1=\r\n", + "\\1=" . $LE, $quoted ); } @@ -74,6 +75,7 @@ function MimeContentTypeHeader($type, $subtype, $params) { + $LE = "\n"; // "\r\n" $header = "Content-Type: $type/$subtype"; reset($params); foreach ($params as $key => $val) { @@ -81,13 +83,14 @@ if (!preg_match('/^' . MIME_TOKEN_REGEXP . '$/', $val)) { $val = '"' . addslashes($val) . '"'; } - $header .= ";\r\n $key=$val"; + $header .= ";$LE $key=$val"; } - return "$header\r\n"; + return "$header" . $LE; } function MimeMultipart($parts) { + $LE = "\n"; // "\r\n" global $mime_multipart_count; // The string "=_" cannot occur in quoted-printable encoded data. @@ -99,9 +102,9 @@ array('boundary' => $boundary) ); - $sep = "\r\n--$boundary\r\n"; + $sep = $LE . "--$boundary" . $LE; - return $head . $sep . implode($sep, $parts) . "\r\n--{$boundary}--\r\n"; + return $head . $sep . implode($sep, $parts) . $LE . "--{$boundary}--" . $LE; } /** @@ -135,6 +138,7 @@ function MimeifyPageRevision(&$page, &$revision, $forsvn) { + $LE = "\n"; // "\r\n" // $wikidb =& $revision->_wikidb; // $page = $wikidb->getPage($revision->getName()); // FIXME: add 'hits' to $params @@ -221,11 +225,11 @@ $out = MimeContentTypeHeader('application', 'x-phpwiki', $params); $out .= sprintf( - "Content-Transfer-Encoding: %s\r\n", + "Content-Transfer-Encoding: %s" . $LE, STRICT_MAILABLE_PAGEDUMPS ? 'quoted-printable' : 'binary' ); - $out .= "\r\n"; + $out .= $LE; foreach ($revision->getContent() as $line) { // This is a dirty hack to allow saving binary text files. See above. @@ -233,7 +237,7 @@ if (STRICT_MAILABLE_PAGEDUMPS) { $line = QuotedPrintableEncode(rtrim($line)); } - $out .= "$line\r\n"; + $out .= "$line" . $LE; } return $out; } Modified: trunk/pgsrc/ReleaseNotes =================================================================== --- trunk/pgsrc/ReleaseNotes 2025-02-15 21:03:33 UTC (rev 11112) +++ trunk/pgsrc/ReleaseNotes 2025-02-16 00:36:19 UTC (rev 11113) @@ -1,1223 +1,1225 @@ -Date: Sat, 15 Feb 2025 20:52:36 +0000 -Mime-Version: 1.0 (Produced by PhpWiki 1.6.5) -Content-Type: application/x-phpwiki; - pagename=ReleaseNotes; - flags=PAGE_LOCKED; - author=The%20PhpWiki%20Team; - charset=UTF-8 -Content-Transfer-Encoding: binary - -<<CreateToc with_toclink||=1 headers||=1,2,3 width=300px position=right>> - -== 1.6.5 2025-XX-XX Marc-Etienne Vargenau, Carsten Klapp == - -* Upgrade PEAR to release 1.10.16, PEAR DB to release 1.12.2 -* Readme for basic Windows 11 install instructions. -* Complete rewrite of ~SpaceWiki theme using modern css. -* passencrypt.php: Improved password encryption and random pw generation. - Added copy to clipboard buttons. -* Updated ##.htaccess## files to work with Apache 2.4. Will still work with - older versions but requires mod_version module which is available in - Apache 2.0.56 and later. -* Minor updates to Hawaiian theme and Portland theme. -* Fixed MacOSX theme buttons not loading, other visual improvements and - RecentChanges uses a table now. -* Improved formatting output for debugging, adjusted code for themes - which depend on default theme. Added signature template. This can be - disabled by adding this line to themeinfo.php: - ##$this->addImageAlias('signature', false);## -* Added 404 error to ~HttpClient.php which is displayed now in - ~PhotoAlbumPlugin. Removed url of defunct example website that broke - PhpWikiManual. -* **Important bugfix for PHP8.3 and newer:** Fixed garbled display of pages - due to depreciated errors. Also try harder to suppress depreciated errors on - all PHP versions. Set ##DEBUG=2## in ##config.ini## to view depreciated - errors, and ##DEBUG=1## for basic errors. Added hooks for css formatting of - depreciated errors. -* Improvements and bugfixes to loading and saving pages to filedumps: - - fixed download of individual dump files stalling in chrome (must always - click resume). - - fixed page lock status not always loading, especially for virgin wiki. - - Security: Prevented unlocking existing page when loading dumped file - without lock flag. - - Security: Page hits and acl are only loaded when page doesn't exist in - database. To do a complete restore of a page, delete it first. - - Fixed page metadata changes incorrectly being applied to database when - attempting to load a file and it was skipped. - - When a file is loaded the status now reports the loaded page lock status. - - Removed invalid http headers. - - Added dumpsvn action, mainly for developers and translators of pgsrc files. - - Fixed filenames sometimes not being urlencoded properly. - - Improved filtering of unknown page metadata being loaded into database. -* configurator.php is now in a less-broken state. Useable but needs more work. - -== 1.6.4 2024-03-13 Marc-Etienne Vargenau, Christof Meerwald == - -* Upgrade PEAR to relase 1.10.14, PEAR DB to release 1.12.1 -* Check for "shell_exec" before using it (Christof Meerwald) -* Improve RSS (Christof Meerwald) -* Add support for SQLite in PDO, add support for SQLite3 in PEAR (Christof Meerwald) - -== 1.6.3 2023-11-15 Marc-Etienne Vargenau == - -This is a bug-fix release. - -It fixes a bug in ~ExternalReferrer with PHP 8.2. -Reported by Thom Jeera. - -== 1.6.2 2023-07-13 Marc-Etienne Vargenau == - -PhpWiki 1.6.2 is the last release compatible with PHP 5. -It should work for all PHP releases from 5.3.3 to 8.2.x. -PhpWiki 1.7.0 will require at least PHP 7.4. - -=== Fixes === -* Make renaming of pages work for DATABASE_TYPE = PDO and file. -* Make WantedPages work for DATABASE_TYPE = dba and file -* Back links now work when the link is inside a table, in a template or in an included page. - -=== Misc === -* Add SourceForge Open Source Excellence badge to footer - -== 1.6.1 2022-01-24 Marc-Etienne Vargenau == - -This release makes ~PhpWiki compatible with PHP 8.1. -##READONLY## is renamed as ##ISREADONLY##, since ##readonly## is now a keyword in PHP 8.1. - -=== Fixes === -* Make list of pages work with PDO (~AllPages, ~MostPopular...). -* Better handling of theme change in ~UserPreferences. -* In DATABASE_TYPE = file, do not update metadata if page does not exist (reported by Harold Hallikainen). -* Make the toolbar image button work when ##UPLOAD_USERDIR## is set. -* blog theme improved. - -=== Changes === -* Warn user that leaving the page will lose modifications. -* Add button to create the page if it does not exist. -* TOOLBAR_IMAGE_PULLDOWN is true by default. -* Remove ADODB DATABASE_TYPE. Use SQL (Pear) or PDO. -* Add “Rename” tab in Sidebar theme. -* Page locking and unlocking is now saved in page history (in Edit mode). -* Add sample images for ~PhotoAlbum in blog theme. -* Remove EDITING_POLICY -* Remove ENABLE_XHTML_XML -* Remove USECACHE, always true -* More translations - -=== Plugins === -* Chart plugin: new argument “legend” -* UpLoad plugin: allow more filenames (e.g. with Chinese characters) -* ~PreferencesInfo plugin removed -* ~CategoryPage plugin removed, categories are better created with the button in the toolbar -* ~RecentChangesCached plugin removed, ~RecentChanges plugin is fast enough - -== 1.6.0 2021-08-12 Marc-Etienne Vargenau == - -Major release: -* PHP 7 and 8 compatible (works from PHP 5.3.3 to PHP 8.0) -* Full HTML 5: Add HTML 5 <main> <header> <footer> <nav> in all themes. Add ARIA roles. -* Flash is dead -* Internet Explorer is dead - -=== Fixes === -* Make function IsSafeURL more strict -* Make XHTML ZIP Snapshot work again (broken since ~PhpWiki 1.5.3) -* It was possible to rename a page to a name with illegal characters, like ~[~] -* Better handling of page names with slash -* Remove wrong calls to setTightness in ##lib/~InlineParser.php## (bug reported by Harold Hallikainen) -* Importing a ZIP from an old wiki in Latin 1 (ISO 8859-1) failed. Reported by Frank Michael. -* Better check arguments for ~GoogleMaps plugin -* Revert Subversion commit 9111, bad side effects; re-opening Bug#607 BackLinks do not work inside a ~RichTable -* Security fixes - -=== Changes === -* All revisions are kept. -* Add new button in Edit Toolbar: convert Tab Separated Values to Wikicreole table -* Update jQuery to 2.2.4 -* Pear: use ##mysqli## instead of ##mysql## -* Update PEAR.php to release 1.10.12 -* Update Pear DB library to 1.10.0 -* Update Pear Cache library to 1.5.6 -* Update Adodb to version 5.20.19 -* Update ASCIIMathPHP to version 2.1 (from Zefling/ASCIIMathPHP on github.com) -* Update highlight.js to version 9.15.6 -* Allow Wikicreole syntax for plugins in theme templates -* Valid HTML5 and CSS3 logos (in debug mode) -* Better is_localhost() function (allow IPv6, allow Windows IIS). Patch by Thierry Nabeth. -* Remove Fusionforge-specific files (g view.php wikiadmin.php wikilist.php) -* Remove USE_SAFE_DBSESSION (always true), DISABLE_HTTP_REDIRECT -* PDO patch by Sébastien Le Callonnec -* Updated pgsrc pages in all languages -* Adding SPDX-License-Identifier in PHP source files - -=== Plugins === -* ~UpLoad plugin: put date and author in history -* ~UpLoad plugin: don't inline images -* ~PhpWeather removed, uses deprecated mysql functions -* ~HtmlConverter plugin: check file is encoded in UTF-8; ~HtmlConverter plugin allowed in Fusionforge -* Use jquery.autoheight.js plugin for Transclude plugin -* Repair [[Help:PhotoAlbumPlugin|PhotoAlbumPlugin]] -* Rename action page ~DebugInfo as ~DebugBackendInfo (to be consistent with plugin name) -* Better check boolean arguments in plugins - -== 1.5.5 2015-12-11 Marc-Etienne Vargenau == - -* Fix tooltip translation in ~CreateToc plugin -* Remove access keys -* Check MAX_PAGENAME_LENGTH in CreatePage -* Fix fatal database error with multiple comma-delimited sortby args -* Remove forbidden characters: ~<~>~[~]~{~}~"~|~# from pagename -* New property: ALLOWED_LOAD giving list of directories from which it is allowed to load pages. -* Upload~: replace multiple spaces by single space -* Make functions merged and is_conflict public in lib/diff3.php (support request #162) - -== 1.5.4 2015-06-29 Marc-Etienne Vargenau == - -* Fix ~WantedPages for Fusionforge -* Remove ~WantedPagesOld (use ~WantedPages instead) -* Add WebM format in Video plugin -* Update jscalendar to 1.0 -* Remove Width and Height preferences modification in Edit Toolbar -* New icons in Edit Toolbar -* Make static templates in Edit Toolbar work -* Fix memory_limit for WIKI_SOAP -* Remove ~MockRequest -* Update jquery to 1.11.3 - -== 1.5.3 2015-03-04 Marc-Etienne Vargenau == - -* Fix Bug#648 Call to protected method -* easier file upload: forbidden characters in filename are replaced by dashes (instead of rejecting upload) -* improve handling of image insertion icon in edit toolbar (icon did not always appear after image uploading) -* bigger wikipaging font -* test again for function 'posix_times', it does not exist on Windows (reported by jdebert) -* remove FPDF, lib/gif.php, lib/font (were not used) -* rename plugin _Retransform to ~DebugRetransform -* use PHP ZIP class instead of home-made functions. ziplib renamed to mimelib -* add SOAP scripts -* rename FCKeditor to CKeditor -* load theme pgsrc, if it exists -* SUBPAGE_SEPARATOR removed, it must be '/' -* RateIt plugin for Fusionforge -* remove acdropdown and livesearch -* remove CVS backend - -== 1.5.2 2014-10-10 Marc-Etienne Vargenau == - -This is a security fix release. -* Fix CVE-2014-5519: vulnerability in Ploticus plugin. [[http://www.cvedetails.com/cve/CVE-2014-5519/]] - -This vulnerability is present in ~PhpWiki 1.5.0 and 1.5.1. All users are advised to upgrade to ~PhpWiki 1.5.2. - -== 1.5.1 2014-10-02 Marc-Etienne Vargenau == - -* fix Bug#456 'Optimizing Database' message sometimes printed on page -* remove ~FrameInclude plugin (frames are not supported in HTML 5) -* sort tables with [[http://tablesorter.com|tablesorter jQuery plugin]] instead of sortable.js -* fix Bug#636 Recursive include is not trapped -* fix Bug#647 undefined method {{{WikiDB_backend_dba::WikiDB_backend_dbaBase}}} -* correct total number of pages for AllPagesCreatedByMe, AllPagesOwnedByMe, AllPagesLastEditedByMe -* fix Bug#607 BackLinks do not work inside a [[Help:RichTablePlugin|RichTable]] -* fix Bug#646 Wrong number of links in BackLinks -* make <includeonly> work -* remove old ~WikiUser code (ENABLE_USER_NEW) -* admin always has rights to see and modify pages, regardless of ACLs, to avoid locking himself out -* add missing images in Sidebar theme - -== 1.5.0 2014-07-29 Marc-Etienne Vargenau == - -=== Main Changes === -* ~PhpWiki 1.5.0 needs at least PHP 5.3. It is compatible with PHP 5.3, 5.4 and 5.5. -* One single wiki markup, based on Wikicreole and compatible with classic phpWiki markup. -* Full HTML 5 and CSS 3. A modern browser is needed. -* Full UTF-8. - -=== Other Changes === -* Fix bad display in Toolbox menu (Sidebar and Monobook themes) reported by Harold Hallikainen -* Fix Captcha problem reported by Harold Hallikainen -* Merge ~OldTextFormattingRules into ~TextFormattingRules -* ~SyntaxHighlighter plugin is now implemented with [[http://highlightjs.org/]] instead of [[http://www.andre-simon.de]]. -* Chmod action is removed. -* New action: ~DeleteAcl -* Updated documentation pages in pgsrc. -* Updated translations. - -== 1.4.0 2014-07-25 Reini Urban, Marc-Etienne Vargenau, Sabri Labbenes, Sébastien Le Callonnec == - -~PhpWiki 1.4.0 is the same as ~PhpWiki 1.4.0RC1. It is the last release compatible with PHP 4. - -== 1.4.0RC1 2010-09-17 Reini Urban, Marc-Etienne Vargenau, Sabri Labbenes, Sébastien Le Callonnec == - -This is a new major release, where everything changed from 1.2, and lots of changes since 1.3.14. - -An important modification in this release is the implementation -of full Wikicreole 1.0 syntax, including additions. - -The "classic" Phpwiki syntax is still supported. - -The documentation pages found in pgsrc have been mostly converted to UTF-8 and -Wikicreole syntax (with the addition of tables in Mediawiki syntax, since Wikicreole 1.0 -does not support "complex" tables with block elements in cells, like lists or -paragraphs). - -Improved dumping, pageset handling for format= with ~ActionPages. -e.g. dump pagesets or multi-page pdf's. - -The Sidebar theme is now an extension of the Monobook theme (known from Wikipedia), -the new fusionforge theme is to be used together with [[http://fusionforge.org|FusionForge]] (the successor of Gforge). - -=== Fixes === -* fix ~PagePerm for multiple groups: not a member and undecided: check other groups -* fix rss button actions for special RecentChanges actions (UserContribs, PageHistory, ...) -* fix Bug#1749950 accesslog SQL duration float with "," -* fix template inclusion with a recursion cycle leading to crashes in blog PageInfo -* removed dynamic features from htmldump pages for more static pleasure -* ignore fatals and access-denied stowstoppers on multi-page dumps -* link only to existing pages on multi-page dumps (pagesets) -* fix Bug#1795420 by Sven Ginka: Use /U in preg_match -* ensure ending uploads slash even on user provided UPLOAD constants. Fixes plugin/~UpLoad -* stabilize Comment. substring search for basepages, do not tokenize. -* fix Bug#1792170 Handle " ( " or "(test" without closing ")" as plain word. Allow single string token "0" -* fix Bug#1752172 undefined method {{{TextSearchQuery_node_or::_sql_quote()}}} -* dba: fix sorting for empty mtime field -* ~LdapSearch: fix layout and logic -* ~FileInfo: fix ##Upload~:## links -* XHTML validation corrections (vargenau) -* avoid recursive modification when renaming a page like '~PageFoo to '~PageFooTwo' (vargenau) -* fix Bug#1808002 Table of contents plugin does not nest numbering (vargenau) -* fix Bug#1903815 Cannot put "0" in ~RichTable cell, cell becomes empty (vargenau) -* fix Bug#1904088 Some brackets links with \n cause the parser to crash -* fixed incorrect numbering in Table of Contents numbering (vargenau) -* fix Bug#1967147 ~FileInfoPlugin does not allow display=owner -* fix Bug#1992172 Interwiki link does not work in ~RichTable (vargenau) -* fix Bug#2010748 Missing image -* fix Bug#1831881 Fatal database error when sorting columns (vargenau) -* fix ~PageList prev/next links on multi-columns lists, improve handling of ordered lists - fixed slicing with list-based backends (dba, file). -* allow single "0" as not-empty page content -* fix action=rename, support new optional argument to=newpagename -* fix multiple USER_AUTH_METHOD where the first method did not succeed. - -=== Changes === -- changed ~SemanticSearch query semantics: all regex=auto terms with no regex chars (.+*?^$") - will be searched exact, and not with regex=auto. This means no word splitting, no substrings. -* ranked search for title and fulltext for non-SQL backends. Simple score function. -* allow comments in ~WikiGroup lists after username -* aesthetic request: remove ?action=edit after edit -* create interim pages as minor not see them in RecentChanges -* default theme: use standard search template (~LiveSearch) -* [[Help:CalendarPlugin]] changed default start_wday from 0 to 1 (Monday) -* [[Help:CalendarListPlugin]] pages now in parallel with Calendar: year + month args as start base. - The behaviour before 2007 with last/next_n_days was to start now. -* removed fpdf support. only use external converters -* change rename action from access perm change to edit: allow the signed-in user to rename. -* htmldump copies locally uploaded images also -* improve SemanticRelations layout: direct links, support attributes and relations filters -* ~LdapSearch: use default basedn -* WhoIsOnline cleans stale sessions -* remove Upload button from edit -* changed Wikiwyg editor workflow (labbenes) -* allow <s> to strike; update Help for <s> and <strike> (vargenau) -* ~RichTable plugin: enrich syntax for attributes (vargenau) -* more icons for toolbar (vargenau) -* UserPreferences: specific message when only one preference is updated (vargenau) -* renamed class Theme to ~WikiTheme to avoid Gforge name clash (vargenau) -* numeric cells in tables are now right-aligned by default (vargenau) -* <noinclude> and </noinclude> should not appear even when not included (vargenau) -* split PhpWikiAdministration in two pages: PhpWikiAdministration and PhpWikiDebug (vargenau) -* Improve handling of color text (especially in case of errors). More color names are allowed. (vargenau) -* ~SetAcl, Chown, Markup and Rename are marked as minor edits. (vargenau) -* Display "minor edit" for minor edits in ~RecentChanges (like in ~PageHistory). (vargenau) -* In WikiAdminSelect, put buttons in alphabetic order like in page ~PhpWikiAdministration. (vargenau) -* In ~PhpWikiAdministration, all pages are shown instead of first 50. No paging is done. (vargenau) -* In ~WikiAdminSearchReplace, only pages where a replacement was done are shown as feedback. (vargenau) -* In ~WikiAdminSearchReplace, show pages where replacement will be done. (vargenau) -* For file upload, use black list of extensions instead of white list. (vargenau) -* It is now possible to insert predefined icons in wiki text. See [[Help:PredefinedIcons]]. (vargenau) -* Allow "{{{#[[}}}" syntax for anchors. (vargenau) -* Handle redirections in Template plugin. (vargenau) -* Allow Wikicreole syntax for redirections in ~IncludePage plugin. (vargenau) -* New preference to avoid e-mail notifications for minor edits on Wiki (vargenau) -* No decoration for abbreviations when printing (vargenau) -* Add CSS3 code for page headers and footers (works for PDF generation with Prince XML) (vargenau) -* Remove superfluous scrollbar from printable pre's - -=== New === -* ~PageList supports listtype=ul,ol,dl. dl used by FullTextSearch -* pageable textsearch results -* external search button by using Search: and searchtype=external -* added ~UniversalWikiEditButton to ~MonoBook, default, blog. More themes later. -* add INSECURE_ACTIONS_LOCALHOST_ONLY for advanced security actions -* enable "^A or ^B" pages argument for ~PageLists: e.g. splitted actions for large htmldump's -* dba: add args to check and rebuild (full or links only) -* RecentChanges: add category, pagematch arguments -* add UriResolver needed for external rdf access -* AppendText: support pages argument: append to multiple pages -* new readonly database detection for dba, and optional config READONLY for maintenance -* new pages: SpecialPages, LockedPages (vargenau) -* implemented Mediawiki-like syntax for tables (vargenau) -* enable ~RecentChangesCached as box, improve performance. -* implemented Wikicreole 1.0 syntax, including additions (vargenau) -* implemented simple [[Help:Spreadsheet|spreadsheet]] functions for Wikicreole tables (vargenau) -* new plugin: [[Help:CurrentTimePlugin|CurrentTime]] (vargenau) -* new plugin: [[Help:ChartPlugin|Chart]] (vargenau) -* new mssqlnative backend (MS SQL Server 2005+) (chrisdpucci) - -== 1.3.14 July, 1 2007, Reini Urban == - -=== Fixes === -* Fix the broken LDAP fix from 1.3.13p1 -* fixed sortby with multiple pagelists - -=== Changes === -* changes all themeinfo.php files, moved global to method load() to be - easier derived from custom theme classes, main now calls $~WikiTheme->load -* ~MailNotify is now silent unless DEBUG - -=== New === -* added experimental ATOM support -* added Changes and Upload button to edit - -== 1.3.13p1 June, 9 2007, Reini Urban == - -An immediate security fix for 1.3.13, plus some minor fixes. - -=== Fixes === -* LDAP Auth: Disallow empty passwords! Certain ldap implementations return true - on empty passwords with ldap_bind(). -* LDAP Auth: fix password quoting -* fix action=upgrade for dba, rename nosql to nodb -* fixes ~SpamBlockList config file locations (config/two-level-tlds, config/whitelist) -* enable $~MailNotify->onChangePage -* fix display of pagenames containing ":" in certain lists -* fixed backend asArray access to iterators (~DebugInfo with SQL) -* fix wrong ~PhpWikiCvs InterWikiMap entry -* fix syntax error in pgsrc/Help%2FActionPage -* fix case in pgsrc/Help%2FAsciiSVGPlugin -* fix links in pgsrc/Help%2FSemanticRelations -* fix pgsrc/Help%2FWikiPlugin - -=== Changes === -* allow \n and single letter pages in ~{~{ ~}~} template syntax. - patch #1732793 by ~AlJeux and ~ReiniUrban -* with ENABLE_SPAMBLOCKLIST check only new external links: - max 5, allow interwiki links, and improve failed output. - -== 1.3.13 June, 2 2007, Reini Urban == - -This is major feature release which will be the base for the stable -1.4.0. The highlights are ~SemanticWeb support, basic support for -various WYSIWYG editors (not yet stable), a stable ~MonoBook (wikipedia) -and Blog theme, enabled acdropdown support (~LiveSearch), postgresql and -oracle enhancements, moving Help pages into Help/, support different -charsets in pgsrc and Windows NTLM auth support via ~HttpAuth, a lot -more plugins and enhancements. UTF-8 should work. - -=== Fixes === -* fix ~UpLoad to disallow all php extensions -* DB: use ANSI SQL statements (oracle by Bob Peele & Christopher Jones, - postgresql by Reini Urban) -* fixed blog, ~MonoBook, sidebar and wikilens theme layout -* fix Template and ~CreatePage variable expansion -* xhtml dump for subpages into subdirectories, fixed filenames and subdir names -* fixed loading pages into foreign charsets (such as utf-8) -* ~ErrorManager: patch #1438439 by Matt Brown: - Only set no-cache headers when error output is generated -* ~ImageLinks: patch #1348996 by Robert Litwiniec -* fix bug #1327912 numeric pagenames can break plugins (Joachim Lous) -* improve pdf output via external converter -* force integer constants to be set as integer -* partially fix CRC overflow in ziplib (Bob Apthorpe) -* testsuite: force C locale and EN $LANG -* fixed display of edited InterWikiMap. static var issue -* fixed display of "Merge and Edit: pagename" header in merge edit (hack!) -* ~WikiFormRich: fix name=value parsing. fix limit with plugin-list invocations -* plugin/Diff: fix lib/diff loading conflicts by removing duplicate classes -* plugin/Ploticus: support PLOTICUS_PREFABS config.ini setting (documented but never worked) -* fix edit:locked label selection: typo, was edit:lock -* fixed moacdropdown integration -* fixed fortune error handling -* fixed limit handling with multiple pagelists: don't overwrite request arg -* change PageDump Content-Type header for download to application/octet-stream to avoid - pesty .txt suffixes on Windows clients -* fixed wikilens with dba and RATING_STORAGE=SQL. RATING_STORAGE=WIKIPAGE not yet fixed. -* fixed action=diff error with external links - -=== Changes === -* add ~UpLoad policy DISABLE_UPLOAD_ONLY_ALLOWED_EXTENSIONS, default: false -* ~SemanticWeb: add linkrelation support, getPageLinks returns now an array of hashes. - optimize get_links for relations. -* add new linksyntax "~[:pagename~]" inside square brackets only, not to store backlinks. - ~[:~DontStoreLink~] (experimental) -* moved default help pages to Help/ subpages. Partially for "de" also. -* generalized ENABLE_HTMLAREA3 to ENABLE_WYSIWYG -* support more ~WikiFormRich method arguments: url, dynurl, xmlrpc, dynxmlrpc, plugin, - the autocomplete option for pulldown~[~] and editbox~[~] and the new combobox~[~] widget. - Improve ~WikiFormRich layout. -* DB: foreign key support in schemas, simplify methods -* remove user table: upgrade from SQL db. -* updated locale for it, de and es (google translation) -* improve loading multiple version archives such as full zipdumps. force temp. overwrite. - support loadfile for multipart archives (full dumps) automatically -* omit actionbar from pdf output -* support charsets in pagedumps for loadfile and virgin setup -* _~BackendInfoPlugin prints linkinfo also. -* ~ExternalSearchPlugin displays the button at the right. Change it with - EXTERNALSEARCH_DEFAULT_BUTTON_POSITION = left, or the argument button_position=left or none. -* disabled postgresql optimize() in favor of autovacuum, - enable it in the backend method if the web user is the table owner (security risk) -* print "Ignored stoplist words" on FullTextSearch, - add FULLTEXTSEARCH_STOPLIST constant, - make ~TextSearchQuery->_stoplist localizable -* fix arg order in WikiDB_backend_search() -* protected tests. only allow localhost -* optimize ~ArchiveCleaner for the new default case (since 1.3.11): Keep all revisions. -* changed the default DB backend from gdbm to dba db4 -* changed action=upgrade to check and store a db version -* don't loadfile *.orig files (this might be a limitation. sorry) -* rename _~AuthFile to ~DebugAuthFile in upgrade -* updated most template files for harmonisation -* changed default ~LiveSearch method in search.tmpl from url to xmlrpc. faster and less hackish. -* fixed all templates with missing revision check. can be false. -* rewrote and redefined {{{WikiDB::listRelations}}}. list only all relations as array. -* changed Semantic attribute syntax from ":-" to ":=" (relevant to cvs users only) -* change ~TextSearchQuery handling of regex=pcre: plain string, no parsing at all, - detect and apply modifiers. -* enhance text2png arguments and features. See [[Help:text2pngPlugin]] -* Template plugin: allow passing arbitrary args, not just in vars. -* added old gd support to ~PhotoAlbum thumbs (~ImageTile) -* Improve ~LdapSearch plugin and add action page. -* Improved wikilens theme. -* Changed all default Template vars to expanded to uppercase: PAGENAME, USERID, ... -* CSS: no ~MonoBook css hacks/requests, check special browser versions in php - -=== New === -* add ~SemanticRelations syntax, db structure and attribute units. - Sample: pagename=~SanDiego is_a :: city => ~SanDiego relation = is_a, linkto = city - population := 1,305,736 (numeric units) - Store unified attribute in pagedata. -* new experimental WYSIWYG edit library framework: - ~WikiWyg, tinymce, FCKeditor, htmlarea3, htmlarea2, spaw -* new wysiwyg_editor feature by Jean-Nicolas GEREONE and Sabri LABBENE (experimental) -* added postgresql tsearch2 support -* new experimental flatfile backend: readable page source files (experimental) -* added new xmlrpc and SOAP methods: ~listPlugins, ~getPluginSynopsis, ~mailPasswordToUser, - ~getUploadedFileInfo, ~listRelations, ~callPlugin, ~linkSearch -* new plugins: ~SemanticSearch, ~SemanticRelations, ~LinkSearch, ~ListRelations, - ~FileInfo, ~BoxRight, ~PasswordReset, ~WatchPage, ~SpellCheck, ~SearchHighlight, - AsciiSVG -* add <nowiki></nowiki> tag: Transform only html markup and entities -* new option DISABLE_MARKUP_WIKIWORD to force [ ] for links -* new option ENABLE_MARKUP_DIVSPAN (experimental) -* new option PLUGIN_MARKUP_MAP for xml-style plugin syntax (experimental) -* support Windows NTLM Auth via ~HttpAuth: mod_ntlm (apache1+2. also on linux) - and mod_auth_sspi (apache2. better, but windows only) -* new stable option ENABLE_SEARCHHIGHLIGHT with actionpage and plugin SearchHighlight. - In CVS for some time called USE_SEARCHHIGHLIGHT. -* patch #1377011 by Matt Brown: add DATABASE_OPTIMISE_FREQUENCY -* new options db-check and db-rebuild for ~WikiAdminPlugin. - You can now retransform all pages at once. -* new ~MailNotify class, simplified WikiDB.php -* added "Printable version" js to monobook theme. See License in - http://www.howtocreate.co.uk/jslibs/termsOfUse.html -* new ~ActionButton function for ~MonoBook with selected state. (tab state) -* added ~SyncWiki plugin to sync pages and uploads with a master wiki. - (foreign auth not yet solved) -* added boolean UPLOAD_USERDIR to upload into user-specific directory. -* added support for multiple page arguments in BackLinks. Logical AND. -* added wikidb->backend->rebuild() -* added "Keep old" and "Overwrite with new" buttons and actions for loadfile merge edit. -* added lib/~XmlRpcClient, xmlrpc methods to lib/~HttpClient and acdropdown.js. JSON not yet. -* created Help/~*Plugin stubs for *ALL* plugins in pgsrc -* added a new _DEBUG_REMOTE flag to debug into remote sessions (xmlrpc, ajax, ...) -* added {{{WikiDB::linkSearch}}} and backend/dumb/~LinkSearchIter.php. Mainly for ~SemanticSearch, - and LinkSearch, but can be used for ~SemanticSearchAdvanced (combined queries as <ask>) and - BackLinks et al also. -* added Calendar display_weeknum argument -* added new ~AsciiSVG plugin -* added new ~YouTube plugin -* added ~XmlRpcTest tests -* Added nopage argument to ~PageList and all its plugins. Unique rows only not yet. -* Added author, owner argument to RecentChanges and added action pages: - MyRecentChanges, MyRecentEdits, UserContribs -* added RecentChanges format=contribs for ~MonoBook theme: => UserContribs -* added ~MonoBook accesskeys - -== 1.3.12p3 Jun, 18 2006, Reini Urban == - -* fix ~[/Subpage~] links -* fix pref storing of already crypted passwords. bug #1327470 (Tom Harding) -* fix cache headers on errors (@ob_end_flush issue). (matt brown) -* fix ~BogoLogin when ENABLE_PAGEPERM=false. patch #1438392 by Matt Brown -* unique WIKI_ID cookies per WIKI_NAME. patch #1333957 by Matt Brown -* added DATABASE_OPTIMISE_FREQUENCY feature. patch #1377011 by Matt Brown -* don't check lock_table priv on action=upgrade -* fix _accesslog->logtable and _is_buffering_output warnings (uckelman) -* do not print wrong length header on url-rewriting. bug #1376007 -* fix pref->set: Error generated when login out. bug #1355533 (Thierry Nabeth) -* fix default preferences for editheight maxrows, by Manuel Vacelet. -* fix DBAUTH arguments to be position independent, bug #1358973 -* add ~PdoDbPassUser user -* fix output of Homepage prefs update -* update config-dist.ini format from CVS -* update configurator.php from CVS -* print optimize wikidb only when DEBUG -* simplify messages for translators -* added ~ImageTile.php -* added tsearch2 to doc/INSTALL.pgsql -* added basepage to {{{Cached_WikiLink::asXML}}} for subpages within ~CreateTOC -* print filename on dba access error -* use bind_textdomain_codeset. bug #1480077 (Kai Krakow) -* make ~TextSearchQuery->_stoplist localizable and overridable within config.ini -* fixes for mysql 5.x wantedpages join -* add rel=nofollow to more actions. patch by Matt Brown -* add verify to ~RevertPage, display reverted page as template -* update plugin/~CalendarList: patches by mpullen and banjo -* update plugin/~GraphViz -* added plugin/~PasswordReset -* fixed hash() in plugin/~RateIt -* plugin/_~AuthInfo: protect File passwords -* added Captcha to Crao edit template -* added MacOSX Pdf button -* fixed Portland and Wordpress editpage template -* removed Wordpress buttons, transparent default buttons should be used. -* disabled RelatedChanges button - -== 1.3.12p2 Mar, 7 2006, Reini Urban == - -* fix change prefs for File ~WikiUser -* fix ~HomepagePrefs update message -* remove plugin/Imdb -* apply ~PluginToolbarButton fix from cvs - -== 1.3.12p1 Mar, 4 2006, Reini Urban == - -* fix "Call-time pass-by-reference" in ~CreateBib -* fix parse error in ~SiteMap.php - -== 1.3.12 Mar, 4 2006, Reini Urban == - -Rename function hash() and method final() for php-5.1 compatibility. -Add various backports from cvs: - -=== Fixes === -* fix ~ZipReader -* Fix "Call-time pass-by-reference has been deprecated" errors, - allow_call_time_pass_reference = Off -* fix broken locale update for php-5.1.1 -* default locale fix by Thomas Harding -* fix Bug #1381464 "Duplicate functions" with php-5.1.1 -* InterWikiMap: allow spaces in paths, even implicitly. fixes bug #1218733 -* fix 'VOID' in ~TextSearchQuery -* remove LIMIT 1 in ADODB -* fix SQL WantedPages -* fixed fulltext search and stoplist handling -* fix bug #1327912 numeric pagenames can break plugins (Joachim Lous) -* fix xmlrpc and tests/unit for !register_long_arrays -* ensure absolute uploads path -* fix ~GoogleMaps syntax error -* fix ~ListPages for non-SQL backends. Add top3recs as default only if - ratings are available -* plugin/~PageTrail improved empty cookie -* plugin/_~WikiTranslation: protect against 2x define -* remove mysql specific ISNULL() -* fix signout pref error -* don't log on ACCESS_LOG_SQL < 2 - -=== Changes === -* cache ~EditToolbar popup content -* beautify SCRIPT lines -* added cfg-able markups only for default ~TextTransformation, not - for links and others -* add a proper Content-Encoding: gzip if compressed, and omit Content-Length then. - Trick to send the correct gzipped Content-Length -* set dsn after SQL/ADODB switches in WikiDB backends for easier unit testing -* e-mail notifications: better From: header -* add DBAUTH_PREF_INSERT: self-creating users. by John Stevens -* improved ~WikiUser/Ldap error description -* cache SystemInfo methods -* ~VisualWiki: remove INCLUDED from EXCLUDED, includes override excludes. -* improve postgresql schemas (tsearch2 and stored procedures not yet) - -=== New === -* added NUM_SPAM_LINKS as config.ini option -* new ENABLE_SPAMBLOCKLIST, lib/~SpamBlocklist.php: - check external links against surbl.org and bl.spamcop.net -* added Captcha class and better spiral -* added get_captcha_random_word() contributed by Dan Frankowski -* dumphtml when not at admin page: dump the current or given page -* added plugin ~FileInfo -* major ~PhotoAlbum feature enhancements by Thomas Harding: - slides mode, real thumbnails -* add more backends to the testsuite (PearDB_pgsql, ...) - -== 1.3.11p1 Sep, 18 2005, Reini Urban == - -=== Fixes === -* added missing pgsrc/~OldStyleTablesPlugin -* fixed ~OldStyleTables plugin with args -* protect against Content-Length if headers_sent() -* fixed ENABLE_MARKUP_TEMPLATE warning if undefined -* fixed writing unwanted accesslog sql entries -* fixed WikiAdminSelect preselection -* fixed passencrypt.php for PHP5 !register_long_arrays -* fixed configurator for DATABASE_DSN, USER_AUTH_ORDER - -=== Changes === -* optimized explodePageList to use SQL when available - (titleSearch instead of getAllPages) -* added optimization for a new ALL textsearch token - (* => pcre: .*, sql: %) -* configurator takes default description from config-dist.ini -* added some missing configurator constants - -== 1.3.11 Sep, 11 2005, Reini Urban, Joel Uckelman == - -Lots of bugfixes, and some feature and performance enhancements. - -A new EDIT_TOOLBAR from Mediawiki, more page permission enhancements, -reduced memory usage for pagelists which need no page content, -related improvement for ~OldMarkup crashes because of PCRE memory exhaustion. - -New <!plugin-list !> syntax and ~PhpWiki:~PageListLibrary args. - -Because of SQL changes you'd need to ?action=upgrade to update for SQL. - -=== Fixes === -* fixed crash after login, by eliminating endless recursion in - group isAdmin() checks -* fixed syntax errors in signin.tmpl -* fixed missing DEBUG warnings (Support #954260) -* ~PhpWiki is now allow_call_time_pass_reference = Off safe (php.ini) - Some external libraries are not (Pear_DB odbc, adodb oracle) -* fixed sql statements for pagedata where it is not needed, fixing the - typical ~PageList memory exhaustion on simple page lists. - cached_html is handled complete separate now. -* fixed and improved WikiDB pageid caching. -* fixed some ~WikiGroup errors for WIKIPAGE and DB -* fixed JS_SEARCHREPLACE -* fixed rename with dba -* fixed Today link in all templates if USE_PATH_INFO = false -* fixed PluginManager fatal error line 222 -* utf-8 pagenames fixed (typed foreign names from IE) -* CGI: no PATH_INFO fix -* fix some too loose PhpWiki:PagePermissions for signed, but not authenticated users - (admin, owner, creator), and edit and view for Bogo and Password users -* security fix for create ACL: action=edit is now checked for create -* fixed important WikiDB bug with DEBUG > 0: wrong assertion - around line 172 (#954648) -* fixed flatfile ~ArchiveCleaner assertion -* ~RssFeedPlugin stability fix for empty feeds or broken connections -* fixed Sidebar theme CSS, added existing dates to jscalendar -* fixed PhpWiki:ImageLinks, broken since 1.3.10 (Bug #956068) -* fixed lib/pear/File_Passwd loading -* ~TranslateText: verbatim needed a pagebreak -* fixed duplicate session_id warning with adodb -* fixed adodb ~DbPassUser login -* fixed external ~DbPassUser login -* fixed adodb action=upgrade -* fixed ~FilePassUser locking problems and session handling -* fixed a lot of LDAP auth and group issues -* fixed LDAP options handling (by John Cole) -* fixed possible security problems: allowing only posixly strict usernames, - and an actual LDAP Injection problem, detected by Steve Christey, MITRE. -* honor s=wildcard arguments for ~WikiAdmin plugins -* fixed flatfile assertion (#963268) - check existing previous version -* fixed all msg references from index.php to config/config.ini -* fixed immediate LANG and THEME in-session updates if not stored in prefs -* fixed USER_AUTH_POLICY=old, use only USER_AUTH_ORDER methods (besides ~HttpAuth) - and removed LDAP, POP3, IMAP default configs. -* RelatedChanges: fixed days links -* fix Rename: Change pagename in all linked pages -* fixed PhpWiki:~PageChangeNotification for not-current users -* fixed ~UpLoadPlugin for filenames with space (Bug #969532) -* fixed label support for ~CreateTocPlugin (Bug #969495) -* fixed Apache2 crashing with old markup and the ~CreateTocPlugin. -* catch fatals and request->args changes on dumping -* fixed unneeded UserPreferences plugin login screen on dumphtml -* catch SOAP fatal on ~GooglePlugin without GOOGLE_LICENSE_KEY -* silently ignore jshide argument on MacIE for ~AddCommentPlugin and ~CreateTocPlugin -* fixed xmlrpc to be able to use the native xmlrpc extension. -* fixed xmlrpc wiki.listLinks method: "name" => "page" param -* fixed xmlrpc security not using eval on usercode anymore -* fixed ~WikiAdminUtils behaviour on POST -* fixed strict login on "Db" (by Mikhail Vladimirov) -* more /tmp warnings on flatfile (by Joel Uckelman) - -=== Changes === -* ~WikiAdminSetAcl functional -* enabled PhpWiki:PagePermissions for all admin plugins (no admin required): - Remove, Rename, Replace, ~SetAcl, Chown -* renamed DB_Session.php to ~DbSession.php and moved libs to a subdir -* new Error-style with collapsed output of repeated messages -* whitespace trim pagenames to avoid abuse -* no double login page header, better login msg. -* improved ~FileFinder include_path logic (~normalizeLocalFileName, ...) -** init global ~FileFinder to add proper include paths at startup - adds PHPWIKI_DIR to the front if started from another dir, lib/pear to the end. -** fix slashify for Windows -* check more config-default and predefined constants -* ~AutoSplit pagenames at subpage separators, esp for Sidebar theme -* improve Pagelist layout by equal pagename width for limited lists -* added CPAN, ~OsFaq2, ~WikiLens to interwiki.map -* ~ExternalSearchPlugin useimage arg (RFE #952323) -* simplified some strings for easier translation -* added hash and object support for ~SessionPassUser userid session variable -* auth page=>DB ~PassUser upgrade: delete existing Page prefs, if Db prefs are saved. -* vastly improved french locale support, which is now complete (by Pierrick Meignen). - english, german and french are now completely translated. The others partially. -* improved ~SetupWiki (virgin setup) loading all required action pages in english, - if no foreign translation found (by Pierrick Meignen) -* show RelatedChanges only if minimum two links on the current page. -* PageDump: ~ViewSource link, better actionpage usage, MessageID TZ -* brought ~WikiUser (old) uptodate -* added owner and acl fields to dumps -* import GOOGLE_LICENSE_KEY and FORTUNE_DIR from config.ini -* renamed global $Theme to $~WikiTheme (Gforge nameclash) -* aggressive WikiDB and cache memory optimization: don't cache %content - and _cached_html if not needed. -* PageDump added format=backup: dump all revisions. -* force mysql to use auto_increment page.id for performance reasons. - call ?action=upgrade -* extended all plugins which take "pages" and "exclude" params to accept - <!plugin-list !> pagelists -* enabled limit, exclude and sortby ~PageList options for almost all db backends natively -* improved ~SqlResult: templates and variable expansion. - automatic paging not yet. -* use latest Pear DB features, which will break on older PearDB libs. - (escapeSimple). Use INCLUDE_PATH to override. -* INCLUDE_PATH is now prepended, not appended. PHPWIKI_DIR is forced to be first. -* rewrote ~OldTextFormattingRules, ~Anciennes~R%E8gles~DeFormatage - for proper importing (PCRE+memory related crashes on older php's) -* added extra page.cached_html column. ?action=upgrade or PhpWikiAdministration - "Convert cached_html" is needed to convert your old pagedata "_cached_html". -* page deletion is now undoable and being seen in RecentChanges. Purge pages - by new admin button. -* zipdump and dumphtml contains now images, buttons and css -* improved _~WikiTranslation performance with gettext extension -* moved ~DbSession methods to extra files as with ~WikiUser files. -* changed config.ini options: - KEYWORDS: "Category:Topic" => "Category* OR Topic*", - KEYWORD_LINK_REGEXP removed, -* action=dumphtml dumps only the current page unless done from PhpWikiAdministration - -=== New === -* new ENABLE_EDIT_TOOLBAR (from mediawiki), JS_SEARCHREPLACE, - ~AddCategory, ~AddPlugin buttons -* new other config options: -** ENABLE_PAGEPERM to turn off ACL (no owner at the statusline if off) -** FORTUNE_DIR to enable random quotes for new pages -** GOOGLE_LINKS_NOFOLLOW, ACCESS_LOG_SQL, BABYCART_PATH, BLOG_DEFAULT_EMPTY_PREFIX, - CATEGORY_GROUP_PAGE, DATABASE_PERSISTENT, DBADMIN_PASSWD, DBADMIN_USER, - DEFAULT_DUMP_DIR, DISABLE_GETIMAGESIZE, ENABLE_DOUBLECLICKEDIT, - ENABLE_LIVESEARCH, ENABLE_MODERATEDPAGE_ALL, ENABLE_RAW_HTML_LOCKEDONLY, - ENABLE_RAW_HTML_SAFE, ENABLE_SPAMASSASSIN, ENABLE_XHTML_XML, - GOOGLE_LICENSE_KEY, HTML_DUMP_DIR, LDAP_OU_GROUP, LDAP_OU_USERS - PLUGIN_CACHED_CACHE_DIR, PLUGIN_CACHED_DATABASE, PLUGIN_CACHED_FILENAME_PREFIX, - PLUGIN_CACHED_FORCE_SYNCMAP, PLUGIN_CACHED_HIGHWATER, - PLUGIN_CACHED_IMGTYPES, PLUGIN_CACHED_LOWWATER, PLUGIN_CACHED_MAXARGLEN, - PLUGIN_CACHED_MAXLIFETIME, PLUGIN_CACHED_USECACHE, TEMP_DIR, USECACHE, - USE_EXTERNAL_HTML2PDF, ENABLE_MARKUP_COLOR, ENABLE_MARKUP_TEMPLATE -* implemented WikiDB page creator and ownership -* added paging support for simple one-column pagelists -* added new ~PageList options: cols, azhead, comma, commasep, ordered and enabled the new args on most plugins. -* new pagename utf8 detection logic (from mediawiki) -* added action revert, with button from action=diff -* added new <!plugin-list ~PluginName args!> syntax within plugin args -* new plugin ~IncludePages, esp. for <!plugin-list !> -* added template variable expansion support to the ~CreatePagePlugin -* ~WikiSpam prevention: -** On GOOGLE_LINKS_NOFOLLOW add rel=nowfollow to all external links, unless the author was authenticated. -** max 20 new links hardcoded -** new babycart module interfacing ~SpamAssassin -* added ~WikiPluginCached support for image maps, static cache in uploads/ and SVG -* added case-sensitive/insensitive and regex searching, replace also -* added action=pdf: only page formatter missing, use USE_EXTERNAL_HTML2PDF instead -* new ~XmlParser, ~HtmlParser: new libs for HTML->wiki import and htmlarea3 support -* new action=chown|setacl|rename|dump action shortcuts pointing to the plugin -* new ~SyntaxHighlighter plugin (based on work by alecthomas), - needs highlight from http://www.andre-simon.de/ -* new ~PloticusPlugin. Full application/xhtml+xml support not yet - (javascript document.write() not supported with ENABLE_XHTML_XML) -* new ~ListPages plugin (by Dan Frankowski) -* new ~TeX2pngPlugin (by Pierrick Meignen) -* added support for ?force_unlock=1 parameter for stale File_Passwd locks - (should not be needed anymore, we lock only when we actually change the passwd) -* added mysql-4.1 fix at action=upgrade, - added CACHE_CONTROL NONE => NO_CACHE config.ini fix to action=upgrade -* author, owner, creator support for ~WikiAdmin* and AllPages plugins: -** AllPagesCreatedByMe, AllPagesLastEditedByMe, AllPagesOwnedByMe -* added option regex to ~WikiAdminSearchReplace and ~WikiAdminRename -* added oracle PearDB backend (by Philippe Vanhaesendonck) -* added experimental SearchHighlight feature (not for HTML yet) -* added experimental ~LiveSearch feature -* added ~[~OverWrite All] button to loadfile action on the first page. -* added ~[Load & ~OverWrite] button to PhpWikiAdministration -* performance: use cached static config/config.php, if it's writable by - the webserver. (experimental) -* added ACCESS_LOG_SQL &1: read, &2 write. new accesslog sql table. - for various log analysis: abuse prevention, recent referrers. -* added more ~PageChangeNotification on other actions: rename, remove. - changed subject on create. Collapse mult. emails to one. -* added new PhpWiki:~WikiFormRich plugin -* added new ~AppendTextPlugin (by Pascal Giard) -* added RSS2 link (format=rss2) in RecentChanges. (no cloud channel yet) -* added PhpWikiAdministration WikiDB buttons: - ~[Purge all empty unreferenced pages], ~[Convert cached_html] -* (nyi) new experimental ModeratedPage feature. (i.e. delayed POST actions) -* new edit "~[~] old markup ~[Convert~]" button to convert and save to new markup. -* new LinkDatabase plugin and actionpage for the http://touchgraph.sourceforge.net/ ~WikiBrowser -* new hyperwiki applet in the Sidebar theme. See http://hypergraph.sourceforge.net/ -* new xmlrpc methods: putPage, mailPasswordToUser -* new xmlrpc test framework -* action=upgrade performs now a mysql LOCK TABLE privileges check and fix -* action=upgrade asks now for the admin's user and password if not defined -* added lib/ASCIIMathPHP and ~AsciiMath plugin -* new ~AnalyseAccessLogSqlPlugin (by Charles Corrigan) -* new ~TemplatePlugin, optionally mediawiki-style ~{~{Template~}~} syntax -* new ENABLE_ACDROPDOWN moacdropdown library. fast xmlrpc communication nyi - -== 1.2.11 == -* support remove for $~WhichDatabase = file - -== 1.2.10 == -* support php5 with register_long_arrays = off - -== 1.2.9 bugfix == -* Jose Vina fixed MostPopular sorting for dba and dbm, - which was broken since 1.2.3 - -== 1.2.8 (the old-stable branch) Jan, 30 2005, Reini Urban == -* register_globals=off fix: - fix and centralize broken register_globals=off logic. -* update message catalog -* replace mysql_pconnect by mysql_connect - -== 1.2.7 (the old-stable branch) Jan, 6 2005, Reini Urban == - -~PhpWiki 1.2.7 backport cvs release-1_2-branch enhancements never released with 1.2.3-1.2.6: -* full xhtml conformity -* split_pagename in title and header to help google -* "INSTALL.Mac OS X" added from cvs -* lib/zipfile.php: Content-Disposition: attachment -* lib/config.php, lib/stdlib.php: support new USE_LINK_ICONS and AUTOSPLIT_WIKIWORDS, - better i18n $!~WikiNameRegexp -- re-added images/* LINK_ICONS, pre-calculate DATA_PATH -- locale/*: fix and update strings and templates esp. for german, -* index.php: urlparser extended to omit &start_debug=1 and other args -* added minor_edit checkbox -* print more meta tags: robots, favicon, language and PHPWIKI_VERSION - -== 1.2.6 (the old-stable branch) Dec, 19 2004, Reini Urban == - -Flatfile fixes and enhancement: -* fixed !TitleSearch and Backlinks for flatfile. -* enable MostPopular (hitcount storage) for flatfile - -== 1.2.5 (the old-stable branch) Nov, 28 2004, Reini Urban == -* works with register_globals=off -* adds user/password to pgsql, -* fix zip and dumpserial on dba, dbm, msql and file, -* and fixes a minor (un)lock issue, displaying the (un)locked page afterwards - and not the ~FrontPage. - -== 1.3.10 May, 13 2004, Reini Urban, Joby Walker == - -In short: paging support, adodb rewrite, permission problem fixed. - -=== Fixes === -* fixed severe permission problem: - Default permissions not honored. Everybody was able to edit. -* set UserPreferences for bool and int fixed -* POP3 auth -* dba open problems improved, but not generally fixed -* fixed dba session reading, but still broken -* support wikiword links and image links in ~RichTable content, - backlinks still not working. -* fixed navbar links in theme smaller, and made them default -* fixed loading of localized pagenames on action=upgrade -* fixed interwiki.map loading on certain ~PrettyWiki setups -* re-enabled php-4.0.6 support (broken since 1.3.8: superglobals, array_key_exists), - 4.0.4-pl1 and 4.0.5 do work, but not stable enough. -* fix running phpwiki in "http://server/" (empty DATA_PATH) -* fix PhpWiki:~PrettyWiki detection: starter script includes index.php, - and include main.php by its own to override certain config values. -* fix ~WikiAdminRemove arguments passed from WikiAdminSelect, - ~WikiAdminRemove deleted too many args if passed from WikiAdminSelect -* session transportation improved, no db objects stored -* ~PageGroup support for ~[links] and subpages -* ~HttpClient fixes for older php's -* ~RssFeed for allow_url_fopen=false, IMAGE support, empty ITEM list -* Theme buttons are now also searched in the default theme -* numerous other minor bugfixes. - -=== Changes === -* ADODB update from ancient mysql-only, to 4.21 with all supported databases. - transaction support, with mysql locking-workarounds -* pear not in our include_path anymore: either use your pear or our pear, - by adding it to your include_path or not. use now 1:1 copies of pear libs. -* ~CreateToc parses now headers with links and formatting optionally, if - TOC_FULL_SYNTAX is defined -* ~PageChangeNotification: userids, not emails are printed -* default theme navbar consistency: linkButtons instead of action buttons -* _~WikiTranslation what=buttons, noT=1, nolinks=1 -* ~SetupWiki (virgin setup) also loads all mandatory pages now - and overwrites ReleaseNotes -* ~PageChangeNotification changed subject to "~[~WikiName] Page change %s", - update your filters accordingly -* action=upgrade now linked in PhpWikiAdministration, - db: fix page.id auto_increment and ADD session.sess_ip -* some internal ~InlineParser optimization -* DBAuthParam statement syntax change: variables now like '$userid' - -=== New === -* new ini-style config instead of old index.php, by Joby Walker -* paging support for pagelists longer than limit -* ~PopularNearby plugin: same as the classic most popular footer -* formatted single-line plugins supported -* RelatedChanges plugin: only those which are links at the current page -* new ~GoogleLink pref: add "~[G]" lookup on unknown links -* added chinese language support, by Yan-ren Tsai (druryl) -* added missing MacOSX buttons, by Carsten Klapp. -* new Crao theme from http://wiki.crao.net, by Arnaud Fontaine and Laurent Lunati -* extended PhpWiki:InlineImages markup (size, border, ...) - -== 1.3.9-p1 May,5 2004, Reini Urban == - -Bugfix patch for the following 1.3.9 problems: -* Default permissions not honored. Everybody was able to edit. -* set UserPreferences for bool and int fixed -* dba open problems improved -* session transportation improved, no db objects stored -* php-4.0.6 support re-enabled (superglobals, array_key_exists) -* ~WikiAdminRemove deleted too many if args passed from WikiAdminSelect -* ~PageGroup support for ~[links] and subpages -* disabled default dba sessions, broken! -* ~HttpClient fixes for older php's -* ~RssFeed for allow_url_fopen=false, IMAGE support, empty ITEM list - -== 1.2.4 (the old-stable version) May, 4 2004, Reini Urban == -* improves possible deadlocks in DBA, -* fixes problems with DBA open failures. - -== 1.2.3 (the old-stable version) Apr, 29 2004, Reini Urban == -* added the most popular footer for dba -* added remove for dba -* fixed a warning on info page - -== 1.3.9 Apr, 12 2004, Reini Urban == - -Bugfix release for the following 1.3.8 problems: -* syntax errors in lib/plugin/~UpLoad.php -* syntax errors in lib/plugin/~WikiAdminRemove.php -* syntax error in schemas/mysql.sql -* several path issues (cannot findfile...), which were caused - by a chdir for bindtextdomain in lib/config.php. - Failed opening required 'lib/stdlib.php', - templates/html.tmpl: not found, and more -* added self-registration for ~DbPassUser -* added ~GoTo plugin, ~RateIt action page - -== 1.3.8 Jan-Apr 2004, Reini Urban == - -External plugable authentication, DB prefs and sessions, -some more fixes, docs, themes and plugins. - -* new ~WikiUserNew class (started by Carsten Klapp), -* new Preferences (optionally from DB, no cookies anymore) -* improved DB_Session (added ADODB + dba support, - WhoIsOnline support) -* enabled ~WikiGroup (Joby Walker and Reini Urban) -* new individual ~PagePermissions (enabled, but not yet enforced) -* new ~WikiAdminRename, ~WikiAdminSearchReplace, ~WikiAdminSetAcl -* several other new plugins: ~WikiPoll, WhoIsOnline, - ~CreateToc (experimental), ~AddComment, - _~WikiTranslation and ~TranslateText, ~NoCache, - ~UpLoad (by Nathan Gass, qubit and Reini Urban), - ~IncludeSiteMap (by cuthbertcat and Reini Urban), - ~RichTable (by Sameer D. Sahasrabuddhe), - ~CreatePage and ~RateIt (by Dan Frankowski), - ~RssFeed (by Arnaud Fontaine) -* added ~InterWiki image button support -* added Japanese language support (by Tadashi Jokagi) -* added sqlite support (thanks to Matthew Palmer) -* added theme and plugin-specific ~PageList column types and theme-specific UserPreferences -* added ~EmailVerification and ~PageChangeNotification (experimental) -* added new sess_ip column (DB_Session) for ip-based robot throttling - -* Pear DB update, minor performance improvement for PearDB -* ~PageList: enhanced sortby + limit support, sortable gridbuttons enforced, cleanup. -* minor theme/default overhaul, new theme/smaller, new experimental theme/wikilens -* new theme/Wordpress by Mike Pickering -* updated theme/Sidebar: box methods, fast jscalendar and easier to customize -* more ~OldStyleTable arguments, ~PhotoAlbum local fs support -* preliminary action=upgrade (To import new pgsrc pages only yet. not for DB) -* preliminary SOAP support -* added ~PdfOutput libraries -* experimental javascript Search&Replace edit buttons -* experimental old-browser compatibility code. -* fixed WikiAdminSelect, ~WikiAdminRemove -* fixed and improved XHTML dumps (css, images, unlinked pages, \r\r\n issue) -* fixed ADODB limit problem, fixed dba on Windows PHP 4.3.x -* fixed ~BlockParser problem with "0" as text -* fixed ~UnfoldSubpages sortby -* fixes for PHP5 compatibility started -* fixed gettext, setlocale and update_locale problems - -== 1.3.4 until 1.3.7, 2002-2003 Jeff, Carsten and Steve Wainstead == - -* several stable releases with better documentation (most plugins) and various bugfixes. -* ~EditMetaData (by Michael Van Dam) for example. (forgot what else was new) -* Jochen Kalmbach's new ~UserFileManagement and ~UserRegistration didn't went upstream. - (personal uploads, ...) - -== 1.3.3 early 2002, Jeff strikes back, with the help of Carsten Klapp == - -* major feature enhancements: -* Cache all output and use a clever page cache. Get rid of plugin-head. -* new ~PageType class. Formatter and Search engine rewrite. -* Validator -* ... [truncated message content] |