Hi again,somehow I must have been blind and I wonder why it worked at first, but I've forgotten to add a wl() around the redirect_id, so here (in the attachment) is the (hopefully) corrected version. Sorry.
Regards, Michael Hamann
Tue Aug 19 13:57:08 CEST 2008 Michael Hamann <michael@xxxxxxxxxxxxxxxx> * new parameter redirect_id This new parameter redirect_id is stored in $RID and specifies the page-id a user is redirected to after he has saved something. This is implemented for act_save() and may be useful e.g. in combination with the include-plugin. Tue Aug 19 16:16:40 CEST 2008 Michael Hamann <michael@xxxxxxxxxxxxxxxx> * fix for previous patch, the redirect-url has to be an absolute url (and not only the id) New patches: [new parameter redirect_id Michael Hamann <michael@xxxxxxxxxxxxxxxx>**20080819115708 This new parameter redirect_id is stored in $RID and specifies the page-id a user is redirected to after he has saved something. This is implemented for act_save() and may be useful e.g. in combination with the include-plugin. ] { hunk ./doku.php 36 + $RID = getID('redirect_id'); hunk ./inc/actions.php 288 + global $RID; hunk ./inc/actions.php 306 - $go = wl($ID,'',true); + if(empty($RID)){ + $go = wl($ID,'',true); hunk ./inc/actions.php 309 - //get section name when coming from section edit - if($PRE && preg_match('/^\s*==+([^=\n]+)/',$TEXT,$match)){ - #FIXME duplicates code from xhtml renderer - $title = $match[0]; - $title = str_replace(':','',cleanID($title)); - $title = ltrim($title,'0123456789._-'); - if(empty($title)) $title='section'; - $go .= '#'.$title; + //get section name when coming from section edit + if($PRE && preg_match('/^\s*==+([^=\n]+)/',$TEXT,$match)){ + #FIXME duplicates code from xhtml renderer + $title = $match[0]; + $title = str_replace(':','',cleanID($title)); + $title = ltrim($title,'0123456789._-'); + if(empty($title)) $title='section'; + $go .= '#'.$title; + } + }else{ + $go = $RID; hunk ./inc/html.php 1008 + global $RID; hunk ./inc/html.php 1092 + $form->addHidden('redirect_id', $RID); } [fix for previous patch, the redirect-url has to be an absolute url (and not only the id) Michael Hamann <michael@xxxxxxxxxxxxxxxx>**20080819141640] hunk ./inc/actions.php 319 - $go = $RID; + $go = wl($RID,'',true); Context: [tpl_actiondropdown added Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080817203841 This new template function allows a dropdown menu to be used to access all the DokuWiki do actions with minimal space requirement. ] [Wrap user modifications in events Gabriel Birke <Gabriel.Birke@xxxxxxxxx>**20080817141121 Adds a wrapper function in the basic auth class which is used by the core code to modify the user database. The wrapper function signals events and delegates the action to the auth backend. ] [Turkish language update Aydin Coskuner <aydinweb@xxxxxxxxx>**20080817134530] [strip default parameters from media URLs Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080817134207 Default parameters like cache=cache or empty width or heights are stripped from media URLs now. ] [fixed all remaining links to wiki.splitbrain.org and to restructured pages Anika Henke <anika@xxxxxxxxxxxxxxx>**20080815134211] [fixed links in lang files Anika Henke <anika@xxxxxxxxxxxxxxx>**20080815130000] [display the (shortened) namespace for page quicksearch Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080814194826 When displaying pagename matches in the Ajax quick search or normal search, the namespace of the page is shown behind the pagename. This makes it easier to distinguish the pages when the same namespace is used in different namespaces. To avoid breaking the layout in deep nested namespace hierarchies, the namespace is shortened in the middle when needed. This patch also disables the effect of the useheadings option in the Ajax quick search. After all the results should show what was found and since the search works on pagenames not headings it should show pagenames as result. ] [fetch.php file not existing and devision by zero gweissbach@xxxxxxxxxxxxxxx**20080805132309 If the cache file does not exist after it should have been generated via an action plugin or via resizing filemtime fails with a file not found. This has to be fixed by @filemtime. Another fix is the check for the $INFO before resizing an image in get_resized. get_croped has already been fixed ] [Explicite TypeCast for searchIndex gweissbach@xxxxxxxxxxxxxxx**20080804112444 Running the /bin/indexer.php or the searchindex plugin fails in php5 with several type cast errors. This can be fixed using explicite type casts. Secondly the include plugin requires the auth.php to be present. As some other plugins might use quick-acl or the $auth too, indexer.php should require the auth.php just as the lib/exe/indexer.php does. ] [french language fix colin@xxxxxxxxxxxxxx**20080813153052] [German language update Leo Moll <leo@xxxxxxxxxxx>**20080813205330] [XMLRPC: run indexer on putPage() Michael Klier <chi@xxxxxxxxxxx>**20080813200614] [add third parameter to plugin_load(), $new, to allow return of a new plugin object instance Chris Smith <chris.eureka@xxxxxxxxxxxxx>**20080813125929] [Allow syntax plugin handle() function to return false to indicate do not create plugin render instruction Chris Smith <chris.eureka@xxxxxxxxxxxxx>**20080813125334] [don't resort pages in html_search() Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080812202134] [Better search for pagename quick searches Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080812200649 The pagename matching search (AJAX and "real" search) now sort results based on the namespace hierarchy levels before doing an alphabetically search. This means pages with fewer namespace (ie. higher up in the hierarchy) wil be shown first. ] [Add SEARCH_QUERY_FULLPAGE & SEARCH_QUERY_PAGELOOKUP events Chris Smith <chris.eureka@xxxxxxxxxxxxx>**20080811110656 SEARCH_QUERY_FULLPAGE event wraps around ft_pageSearch() call, the function which handles the search action and feed searching. The event data is the parameters of this function: data['query'] => (string) the search query data['highlight'] => (array reference) to array to hold words to be highlighted The result is an associative array of page ids (key) and search term occurrence counts (values) sorted in descending order. SEARCH_QUERY_PAGELOOKUP event wraps around the ft_pageLookup() call, the function which provides page names for the ajax based quick search. The event data is the parameters of this function: data['id'] => (string) the page name fragment to search on data['pageonly'] => (bool) true, search page names only; false search namespaces and page names The result is an arrary of page names sorted in ascending order ] [Update HTTPClient to encode posted variable names Chris Smith <chris.eureka@xxxxxxxxxxxxx>**20080811102501] [added apr1 to the config manager choices of the passcrypt option Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080810192632] [updated links to the DokuWiki website Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080810173029 The official wiki is now at www.dokuwiki.org ] [base relative URLs in userstyle.css on the DokuWiki base Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080801094448] [TAG develsnap 2008-08-01 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080731230003] [Ukrainian language update <serg_stetsuk@xxxxxxx>**20080728193850] [Enhancements for password hashing (maybe fixes FS#1440) Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080728181616 This patch adds support for Apache style salted MD5 hashs (apr1). It also fixes smd5 for systems where crypt() does not support MD5 hashs. Unit tests were added. ] [fixed an error and added a few entries in acronyms.conf FS#1454 FS#1455 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080727180710] [Avoid div by zero in get_cropped() FS#1453 Gerry Weissbach <gerry.w@xxxxxxxxxxxxxxxxxx>**20080727180206] [Spanish language update Javier Matos Odut <niseteocurra@xxxxxxxxx>**20080727074656] [Norwegian language update Jakob Vad Nielsen <jakobvadnielsen@xxxxxxxxx>**20080727074535] [Russian language update EvilSnake <evil_snake@xxxxxxxxxxx>**20080723180314] [Serbian language update Ivan Petrovic <ivan.petrovic@xxxxxxxxxxxx>**20080723180101] [Traditional Chinese language update Wing Ho Tang <Wingho.Tang@xxxxxxxxxxxx>**20080723175913] [Chinese language update Wing Ho Tang <Wingho.Tang@xxxxxxxxxxxx>**20080723175803] [Brazilian Portuguese language update Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080722183638] [Swedish language update Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080721190206] [replaced my 1 outdated + 1 soon outdated email addresses Anika Henke <anika@xxxxxxxxxxxxxxx>**20080720121704] [removed all occurrences of onkeypress (FS#1449) Anika Henke <a.c.henke@xxxxxxxx>**20080720110738] [Fix author names in RSS feeds FS#1448 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080716192343] [run summary check when inserting text via the toolbar Gabriel Birke <Gabriel.Birke@xxxxxxxxx>**20080716191515] [Japanese language update Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080716190625] [Swedish language update Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080715221248] [Check file size of uploaded data Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080715215345 This will abort the upload process when the uploaded temp file has zero bytes. This can occur when the disk is full. ] [remove sensitive data from debug output more aggressively Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080715211616 This patch adds a new function that is used to remove sensitive data from the debug output in a broader way. It will remove some innocent data but should make sure most passwords and similar data can not be accessed even when stored in some plugin's configuration data. Disabling the debug option is still highly recommended. ] [XML-RPC: added putAttachment() Michael Klier <chi@xxxxxxxxxxx>**20080713165645] [XML-RPC: added getAttachments() Michael Klier <chi@xxxxxxxxxxx>**20080713165210] [XML-RPC: added aclCheck() Michael Klier <chi@xxxxxxxxxxx>**20080713123837] [Dutch language update Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080713170315] [Romanian language update Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080713170116] [Czech language update Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080713165852] [Better write handling in HTTPClient Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080708204703 This patch takes care of a problem when sending large data to a remote server through via HTTP. The write to a socket might not always send the whole chunk in one piece. Now data is written in a loop until all bytes where sent to the socket. ] [Polish language update Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080704205953] [TAG develsnap 2008-07-01 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080630230001] [support for an option inc/preload.php file Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080627222629 This patch readds the possibilities previously gained by the DOKUWIKI_INIT event by adding support for including a file named inc/preload.php. When available, it will be included before any defines for dokuwiki are set. ] [DOKUWIKI_INIT patch rollback Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080627214831] [fixed the sitemap submission URL for MS Live Search Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080623175256] [MEDIA_SENDFILE event added Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080623172020 This new event wraps around the sendFile function in lib/exe/fetch.php and allows intercepting mediafile downloads. ] [added DOKUWIKI_INIT event Michael Klier <chi@xxxxxxxxxxx>**20080622144154 This patch adds a new event DOKUWIKI_INIT to the event system. The event is triggered in inc/init.php right after DOKU_INC has been defined and allows action plugins to interfere with DokuWiki s init process. ] [HTTPClient: Allow limited retrieval without aborting Gina Haeussge <osd@xxxxxxxxxx>**20080622092105 Introduces a new member variable "max_bodysize_abort" into the HTTP client. If this is set to true (which is the default), the HTTP client shows it current behvaiour of aborting with an error condition if the given max_bodysize is exceeded during retrieval. If it is set to false however, the HTTP client just stops retrieval but returns what it already got. This allows the retrieval of e.g. the first 10K of a web document for searching for pingback data. ] [Added JavaScript delete confirm in usermanager Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080622084804] [show xmp metadata in default template hakan.sandell@xxxxxxxxx**20080518152928] [xmp metadata support hakan.sandell@xxxxxxxxx**20080518152722] [fix for UNC paths ilya@xxxxxxxxxxx**20080412124628 This patch fixes use of UNC path in $conf['savedir'] and calling of /bin/ scripts. ] [syntax page update for recent GeSHi update Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080622074515] [Polish language update Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080622074424] [GeSHi update to 1.0.7.22 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080620160628] [fixed title for UniversalEditButton Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080620134528] [Italian language update Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080619230104] [Korean language update Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080619225835] [Support for the Universal Edit Button autodetection Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080619214233 See http://universaleditbutton.org for details ] [Slovenian language update Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080613200344] [French language update Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080613072708] [HTML fixes for id translation Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080611181211] [Latvian language update Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080611161132] [Last fixes for Japanese Romanization. Now all 22893 tests succeed. Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080608113523] [Basque language update Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080608112343] [let tpl_pageinfo optionally return instead of printing FS#1407 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080608111736] [single button functions for subribe and subscribens FS#1408 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080608111117] [check ACLs correctly if only groups but no user is given FS#1415 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080608101051 When only an array of groups but no username where passed to auth_aclcheck() it defaulted to use the @ALL group only. This is not critical because this does not happen anywhere in the code. Only exception is when building the plain english explanation of an ACL rule in the ACL manager. ] [class redeclaration error in test cases fixed Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080608100906] [typo fix FS#1416 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080608094859] [experimental Flash based multi upload Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080606222849 This patch adds experimental support for uploading multiple files in one go. This is achieved by using Flash for selecting multiple images and intitiating the HTTP upload. When Flash 8 or higher is detected, an additional icon is added to the usual upload form. Clicking it will swith the form to the Flash based upload queue. Things that need work: * Better Icon * Feedback if Flash detection works on all Flash 8 supported platforms * Progress feedback seems not to work on Linux (might be Adobe bug) * No final feedback how many images were uploaded correctly The flash sources are located in lib/_fla/ Any feedback and help would be appreciated. ] [Basque language update Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080605213504] [Ukrainian language update Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080603195032] [Brazilian Portuguese langugage corrections Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080603194745] [reopen the session for storing the auth token Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080603203138] [authentication via session tokens Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080603193450 This patch adds a way to create a token for an authenticated user which is stored in the session. When a subsequent request resends this token, the request will be authenticated automatically without the need for any cookies or credential rechecking. The auth token expires with the session. Requesting a new token will invalidate the old one. Sending a wrong token will result in a 401 and any existing token will be revoked. This is currently not used anywhere in the code but can be used for browser intitiated client software (flash, applets, ...). Note this is unreleated to the anti CSRF sectoken implementation. Users who want to make use of this mechanism will probably need to pass the session id and a valid sectoken in addtion to the authtoken ] [Slovenian language update Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080602194330] [Brazilian Portuguese language update Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080602194136] [TAG develsnap 2008-06-01 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080531230001] [always crop when height is given Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080516131348] [prefer the upper part of portrait photos when cropping Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080516122354] [removed debugging code Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080516114051] [image cropping support in fetch.php - no syntax yet Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080516113856] [Slovenian language update Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080515172051 This time with new strings merged from the sent in data ] [Rollback of slovenian update (decreased translation percantage) Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080515143145] [Slovenian language update Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080515142807] [Chinese language update Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080513203934] [Russian language update Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080513203642] [Swedish language update Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080513203441] [Chinese language update Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080513203126] [Italian language update Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080513203022] [Japanese romanization update Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080508212444 Down to 57 fails ] [Support RSS feeds that don't have item links Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080506210040] [Updates for Japanese romanization support FS#1363 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080506203707 This patch adds some fixes for the romanization lookup table and a test case for more than 20000 phrases and their correct romanization. About 2100 tests currently fail. ] [Romanian language update Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080506201051] [jump to edited section after editing FS#643 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080506205011 This patch adds a mecanism that tries to scroll down to the section that was just edited when using section editing. The approach used is not failsafe, but should work in most cases. It will not work correctly when: * multiple sections on the page have the same headline * the edited section no longer starts with a headline ] [TAG release stable 2008-05-05 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080505170856] [release preparations Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080505170542] [actionOK() should honour Michael Klier <chi@xxxxxxxxxxx>**20080505142356] [TAG release stable 2008-05-04 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080504185616] [release preparations Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080504185355] [Call-time pass-by-reference problem in test suite fixed Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080504183111] [fixed date display in revert manager Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080504163416] [fix for possible XSS vulnerability in html_revisions() Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080504163149] [French strings update Guy Brand <gb@xxxxxxxxxxxxxxxxx>**20080504114652] [German language update Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080504102926] [Polish language update Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080504102742] [Danish language update Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080504101835] [keep chosen language on retry in installer FS#1396 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080504101546] [Fixed TOC for HTML export modes FS#1384 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080504092410] [Allow variables for mailfrom option in config manager Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080504090526] [fixed typo :-/ Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080502132023] [correctly expire the cache for geshi highlighted strings Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080502130234] [Latvian language update Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080501155116] [Spanish language update Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080501154829] [Swedish language update Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080501154542] [acl select button translated hakan.sandell@xxxxxxxxx**20080501140424] [TAG develsnap 2008-05-01 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080430230002] [Norwegian language update Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080428182157] [popularity_lang_sv_utf hakan.sandell@xxxxxxxxx**20080426080624] [Popularity lang sv hakan.sandell@xxxxxxxxx**20080425193512] [Remove single new lines from wiki texts in lang/en Chris Smith <chris.eureka@xxxxxxxxxxxxx>**20080421191518] [Update GetBaseURL() to avoid multiple consecutive slashes in absolute return values (incl. test cases) Chris Smith <chris.eureka@xxxxxxxxxxxxx>**20080418101946] [call io_readWikiPage() instead of io_readfile() on page load GalaxyMaster <gm.outside+dokuwiki@xxxxxxxxx>**20080417205233 A patch to call IO_READ_WIKIPAGE properly. Without this patch any plugin which wants to intercept IO_READ_WIKIPAGE will catch almost nothing. ] [FS#1386, replace AUTH_WRITE with AUTH_EDIT Chris Smith <chris.eureka@xxxxxxxxxxxxx>**20080417094010] [TAG release candidate 2008-04-11 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080411141144] [release preparations Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080411141012] [avoid infinite loop in ldap auth backend FS#1365 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080410193008] [fix parsing of email addresses with uppercase letters FS#1378 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080410190757] [fixed problem in inc/clieopts.php which caused argument parsing to break Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080410185705] [try to increase the PCRE backtrack limit Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080409181615 This should avoid problems with larger pages on newer PHP versions. See //www.freelists.org/archives/dokuwiki/04-2008/msg00049.html ] [fixed AJAX in index for IE FS#1367 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080409171637] [FS#1370 - use / instead of DIRECTORY_SEPARATOR Gina Haeussge <osd@xxxxxxxxxx>**20080408185530] [FS#1361 - fix missing error message (also remove a couple of extraneous slashes) Chris Smith <chris.eureka@xxxxxxxxxxxxx>**20080408022118] [FS#1360 - Update Plugin Manager to use $conf['tmpdir'] rather than its own. Chris Smith <chris.eureka@xxxxxxxxxxxxx>**20080408014747 Also remove ap_mkdir(), io_mkdir_p() is a drop in replacement ] [update io_mktmpdir() to use $conf['tmpdir'] and mt_rand() Chris Smith <chris.eureka@xxxxxxxxxxxxx>**20080408014339] [form_listboxfield now produces valid output of a listbox including label Gina Haeussge <osd@xxxxxxxxxx>**20080407193747] [Fixes for Japanese romanization FS#1363 Denis Scheither <amorphis@xxxxxxxxxxxxx>**20080407174238] [Norwegian language update Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080407172417] [Avoid double newlines on section edits FS#1221 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080407175410] [work around strftime character limit on parsing namespace templates FS#1366 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080406174718] [XMLRPC requests are to be made using POST according to spec Gina Haeussge <osd@xxxxxxxxxx>**20080405214737] [XMLRPC client needs to call constructor of parent class Gina Haeussge <osd@xxxxxxxxxx>**20080405214710] [Polish language update Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080405203030] [Notify subscribers to parent namespaces. And avoid redundant checks. Tom N Harris <tnharris@xxxxxxxxxxxxx>**20080405031301] [Fix of invalid reference to request headers in XMLRPC client Gina Haeussge <osd@xxxxxxxxxx>**20080405112253] [Update character class for template names to include dash Chris Smith <chris.eureka@xxxxxxxxxxxxx>**20080401194032] [Japanese language update Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080401184546] [TAG develsnap 2008-04-01 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080331230001] [Make sure there is never posted data on GET requests Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080331223807 This is an addition to the previous patch to make sure there can not accidentally $data be passed on a GET request. ] [fixed bug in HTTPClient breaking GET requests on certain servers Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080331221016 The change of a parameter default made the HTTP client send data after sending the headers for a GET request. ] [Slovak language update Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080331210452] [TAG release candidate 2008-03-31 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080331180924] [release preparations Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080331180649] [XMLRPC: getPage() should honour namespace templates Michael Klier <chi@xxxxxxxxxxx>**20080331095402] [fixed search engine referrer highlighting Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080331175353] [Italian language update Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080331173931] [Updates to unit tests for FS#1350 patch Chris Smith <chris.eureka@xxxxxxxxxxxxx>**20080329195213] [Fix for FS#1350 Chris Smith <chris.eureka@xxxxxxxxxxxxx>**20080329194443 Inline modes, <php> and <html>, when their associated config setting is off, will generate highlighted text wrapped in a <code> element. There is a slight change in behaviour for p_xhtml_cached_geshi(), it will now strip leading and trailing blank lines from the input code string. Also fixes an issue where global $conf wasn't declared, preventing the ['target']['extern'] setting being passed to GeSHi ] [fix multidiff when one revision is current FS#1355 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080329131438] [Chinese language update Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080328090214] [GeSHi update to 1.0.7.21 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080326211755] [purge non-persistent meta data on page deletion Michael Klier <chi@xxxxxxxxxxx>**20080326200231 With this patch applied the persistent meta data of pages is kept when a page is deleted. This way the original page creator as well as the creation time of the page is preserved. ] [fixed metaFiles() Michael Klier <chi@xxxxxxxxxxx>**20080326192614] [allow numbers in interwiki descriptors FS#1358 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080325185208] [Some Italian updates Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080325182839] [Set cache permissions after image resize FS#1359 Otto Vainio <otto@xxxxxxxxxxxx>**20080325181825] [Make popularity plugin available for managers Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080320233725] [Norwegian language update Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080320232512] [Hungarian language update Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080320232136] [Spanish language update Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080320232033] [fixed test cases for recent search highlight changes Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080319202909] [completed PCRE error checking in lexer Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080319195345] [Brazilian Portuguese language update Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080319191119] [Esperanto language update Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080319190838] [Catalan language update Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080319190607] [Fix message displayed after (un)subscribens action Guy Brand <gb@xxxxxxxxxxxxxxxxx>**20080318221659] [French strings update Guy Brand <gb@xxxxxxxxxxxxxxxxx>**20080318214152] [German language update Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080318215744] [Hebrew language update Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080318214535] [Galician language update Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080318214014] [Dutch language update Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080318213723] [Typo fix Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080318200005] [Norwegian language update Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080318195612] [Dutch language update Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080318195257] [Donation link changed Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080318194751 Linking to wiki:donate instead of a direct Paypal call to avoid future trouble with Paypal. ] [Catalan language update Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080317225245] [Latvian language update Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080317224956] [Galician language update Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080317222638] [Hebrew language update Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080316215845] [Esperanto language update Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080316212105] [Romanian language update Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080316211854] [Brazilian Portuguese language update Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080316181102] [Japanese language update Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080316180958] [Hebrew language update Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080315230147] [Galician language update Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080315180230] [Japanese Language update Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080315175515] [Propritary Nginx X-Accel-Redirect header pierre.pracht@xxxxxxxxx**20080315155631 Example nginx configuration : location /var/www/dokuwiki0/ { internal; alias /var/www/dokuwiki/dokuwiki0/; } ] [Fix for password updates FS#1352 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080315105202] [IE compatibility fixes for ACL manager FS#1343 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080315104339] [Czech language update Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080314153420] [Catalan language update Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080314153122] [added namespace subscription tpl_actionlink() Michael Klier <chi@xxxxxxxxxxx>**20080313201111] [Hungarian language update Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080313221017] [Polish language update Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080313220826] [fix for acl editor "wrapping bug" (for smaller widths) Anika Henke <a.c.henke@xxxxxxxx>**20080313012706] [stricter xhtml for revert, acl and sectok forms Anika Henke <a.c.henke@xxxxxxxx>**20080313012547] [Add metadata, settings class and language strings for $conf['renderer_xhtml'] Chris Smith <chris.eureka@xxxxxxxxxxxxx>**20080313204505] [update preformatted syntax mode to ignore entire blocks of white space Chris Smith <chris.eureka@xxxxxxxxxxxxx>**20080313203950 This patch only updates the actual "preformatted" syntax mode, that is only preformatted blocks caused by leading blanks on a line. If the entire block is empty, it is ignored. ie. if a block of preformatted text has leading or trailing empty lines and some non-empty lines, the leading and trailing content are preserved. ] [correct missing '/' between directory and filename in metaFiles() return value Chris Smith <chris.eureka@xxxxxxxxxxxxx>**20080313213021] [Add support for plugin renderers to replace standard renderers Chris Smith <chris.eureka@xxxxxxxxxxxxx>**20080312005647 This patch is the fourth in a series aimed at making it easier for DW to allow plugins to modify the standard handling of line-breaks. It adds: - new config setting 'renderer_xhtml', default value 'xhtml' - new renderer method 'reset()' which is used by reusable renderers when used to render second and subsequent data. (*) An extra step has been added to the renderer selection process. - check $conf["renderer_$mode] for renderer name. If it doesn't exist use $mode as the renderer name. (*) It maybe that the 'document_start()' method can be used for this. However the current xhtml does not correctly reset itself for reuse. ] [change line-break replacement character to '\n' Chris Smith <chris.eureka@xxxxxxxxxxxxx>**20080312000924 This patch is the third in a series aimed at making it easier for DW to allow plugins to modify the standard handling of line-breaks. It effectively leaves the new-line character '\n' in the 'cdata' instruction allowing the renderer to process the character as it chooses. No changes have been made to the renderers. This change is neutral to xhtml renderers as xhtml treats spaces and new-lines identically (as white-space). Writers of renderer plugins are advised to check their plugin against the new patch. ] [Update handler to merge consecutive 'cdata' instructions (incl. test case updates) Chris Smith <chris.eureka@xxxxxxxxxxxxx>**20080312000248 This patch is the second in the series designed to make it easier for DW to allow plugins to modify the standard handling of line-breaks. Like the first this patch doesn't alter line-break behaviour at all, but introduces improvements that reduce to a minimum the number of 'cdata' instructions generated by the handler. ] [XMLRPC: added https rewrite rules to .htaccess.dist Michael Klier <chi@xxxxxxxxxxx>**20080312122250] [XMLRPC: pageVersions() should return the current version too Michael Klier <chi@xxxxxxxxxxx>**20080310233733] [another change in highlight handling Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080310214939 Now higlighting phrases are passed as an array which then is quoted correctly when used in a regexp. This should make phrase highlighting work completely correct. Please everyone test it. ] [fixed search result linking of pagenames which consist of numbers only Michael Klier <chi@xxxxxxxxxxx>**20080310203620] [allow dynamic passing of template to use for css.php Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080310201630 This patch makes it possible to pass the template name to use to the lib/exe/css.php dispatcher. When passed the $conf['template'] option is ignored by the disaptcher and the given template is used instead. This makes it possible to switch templates dynamically without loosing the CSS dispatcher functionality. This might be useful for things like the multitemplate template or for loading a template based on the user agent. ] [French strings update Guy Brand <gb@xxxxxxxxxxxxxxxxx>**20080309211804] [Change handler to use a defined character for line-break replacement Chris Smith <chris.eureka@xxxxxxxxxxxxx>**20080309201116 This patch is the first in a series aimed at making it easier for DW to allow plugins to modify the standard handling of line-breaks. Currently the handler "eats" line-break characters replacing them with a space. This patch changes the replacement character to a define, DOKU_PARSER_EOL and updates all the test cases to use the new define. DOKU_PARSER_EOL is left as a space. ] [Make config plugin aware of NS subscriptions and superuser/manager's list Guy Brand <gb@xxxxxxxxxxxxxxxxx>**20080309201527] [more robust replacement for last highlight regexp fix Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080309174810] [make sure there are no leading or trailing pipes on search highlight regexp Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080309173538] [Fix Unit Test Guy Brand <gb@xxxxxxxxxxxxxxxxx>**20080302184514 - README: test unit is under _test/ - form: use security token - form: reordered elements - pageid: playground start page (broken since ns autolinking?) ] [XMLRPC: new function pageVersions() Michael Klier <chi@xxxxxxxxxxx>**20080305195532 This function can be used to retrieve a list of revisions for a given wiki page. ] [XMLRPC: fix for IXR_Date which returned a wrong formatted UTC timestamp Michael Klier <chi@xxxxxxxxxxx>**20080305193802] [XMLRPC: putPage() throw IXR_ERROR when attempting to save a empty new page Michael Klier <chi@xxxxxxxxxxx>**20080304215619] [XMLRPC: putPage() autoset summary on created/deleted pages if no summary was given Michael Klier <chi@xxxxxxxxxxx>**20080304214919] [XMLRPC: removed useless test for missing text in putPage() Michael Klier <chi@xxxxxxxxxxx>**20080302175105] [TAG develsnap 2008-03-01 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080301000001] [multiple fixes for the zip library Aurelien Bompard <aurelien@xxxxxxxxxxx>**20080227231447 1. A recursive zip function. "$basedir" will be stripped from the path in the archive. 2. and 3. : Documentation 4. : Avoid a PHP "Notice" 5., 6. and 7. : handle ODT files where some headers are equal to 0. 8.: Avoid a PHP "Notice" ] [Added dummy file to tmp directory Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080227222926] [introducing io_mktmpdir() Michael Klier <chi@xxxxxxxxxxx>**20080227221631] [introducing the new tmp dir Michael Klier <chi@xxxxxxxxxxx>**20080227215640] [use DokuHTTPClient in XMLRPC library Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080227215408 The code should work but is completely untested because it is currently not used. ] [added config option to enable/disable the XML-RPC interface Michael Klier <chi@xxxxxxxxxxx>**20080227213050] [fixed dates for aggregated RSS Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080227215222] [Missing trailing space in signature of sent emails Guy Brand <gb@xxxxxxxxxxxxxxxxx>**20080227155613] [Superuser and manager now can be comma separated lists Guy Brand <gb@xxxxxxxxxxxxxxxxx>**20080227142515 This patch allows $conf['superuser'] and $conf['manager'] to be lists of values instead of only a single value. So one can put: $conf['superuser'] = 'joe,user,@admin,root'; in the wiki config and have users joe, user and root be superusers and also any user of group @admin. Some additional test cases related to the change are also provided. ] [Add namespace changes mail notifications Guy Brand <gb@xxxxxxxxxxxxxxxxx>**20080227155024 This patch lets DokuWiki send mail notifications when any page inside a namespace gets modified. Two actions are introduced: subscribens and unsubscribens and two new buttons also appear in the bundled template. ] [Update php & html tests in preformatted test file to reflect changes in parser Chris Smith <chris@xxxxxxxxxxxxx>**20080223063145 This test file examines the handler. The decisions on htmlok & phpok settings have been moved from the handler to the renderer changing the nature of the test that can be carried out on these syntax modes in this file. Refer other patch adding xhtml renderer tests for 'phpok' & 'htmlok' and their associated syntax modes in parser_preformatted.test.php ] [Test cases for 'phpok' & 'htmlok' config settings Chris Smith <chris@xxxxxxxxxxxxx>**20080223062428] [Fix for FS#1334, see also FS#1090 Chris Smith <chris@xxxxxxxxxxxxx>**20080223025539 FS#1090 ensured DW would never rebuild instructions in the same run by forcing subsequent instruction requests to use the version cached on the first request. That introduced problems when the caching of the instructions failed (FS#1334). This patch allows subsequent rebuilds when cache storage failed. ] [fix usage of is_admin in auth_aclcheck Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080226172257 There were a few problems with name encoding for groups and users introduced in the recent aclcheck change ] [Don't depend on plugin for Zip/TarLib Tom N Harris <tnharris@xxxxxxxxxxxxx>**20080226005222] [INDEXER_TASKS_RUN event for index-time hooks Tom N Harris <tnharris@xxxxxxxxxxxxx>**20080226011940 The event INDEXER_TASKS_RUN is fired by lib/exe/indexer.php when a page is viewed. Plugins should only hook BEFORE the event if it is important for the task to be run as often as possible. Otherwise, hook AFTER the even to be run only when other tasks have completed. Plugin authors must call stopPropagation() and preventDefault() if any work is done. If your plugin does nothing, then you must allow the event to continue. Not following these rules may cause DokuWiki to exceed the PHP execution time limit. ] [use fulltext index to search for used media files FS#1336 FS#1275 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080223205254 This changes how DokuWiki looks for reference toa media file which is about to deleted. Instead of doing a full grep through all pages it now uses the fulltext index first, then does an exact match on the found pages. This speeds up the search significantly on larger wikis. However the fulltext search limits now apply: images with names shorter than 3 charcters may not be found. This needs extensive testing! ] [Table Row And Col Classes Pierre Spring <pierre.spring@xxxxxxx>**20080223175808 This patch adds classes to the table rows and cells (td and th). This can be of usage when templating and within syntax plugins. ] [cope with non-RFC-conform webservers in HTTPClient FS#1340 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080223183639 This fixes problems in the HTTP client for web servers which separate their response headers with Unix linfeeds only (instead of CRLFs as stated in RFC 2616). ] [Check memory settings on ?do=check Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080223180701 This should help with diagnosing memory related problems ] [correct diff display when dealing with deleted or newly created pages Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080223143711] [wl(): don't include empty id parameter FS#1138 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080223133200] [mysql auth backend: check DB query result correctly FS#1039 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080223130827] [alway initialize an empty toolbar first FS#1337 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080223125855] [use strftime() instead of date() FS#1335 :!: Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080223124045 This patch replaces the use of the date() function with the strftime() function. The latter will respect a set locale and will use localized strings for things like month names. Because the format options for strftime differ from the ones used in date, DokuWiki will rest the value of $conf['dformat'] if it contains an old date format string (detected by missing % characters). Plugins or templates using the $conf['dformat'] need to be updated. ] [renamed justlink option to linkonly Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080223101426] [media_justlink Pierre Spring <pierre.spring@xxxxxxx>**20080221160833] [popularity plugin: record PCRE infos Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080220213222] [updated year in copyright notice Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080220201711] [add gidnumber to LDAP auth userdata FS#1338 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080219165659] [popularity plugin added Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080219165223 This new default plugin allows to send feedback to the DokuWiki developers. An introduction is available at http://www.splitbrain.org/blog/2008-02/17-gathering_dokuwiki_usage_data ] [Finnish language update Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080217172914] [fix for plugin manager breaking multibyte chars Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080215214857] [do case insensitive search word highlighting in page FS#1297 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080215180239] [fix highlighting of search engine referer keywords for recent highlight change Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080215175816] [better highlighting for phrase searches FS#1193 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080215174653 This patch makes the highlighting of phrases in search snippets and on the pages itself much better. Now a regexp gets passed to the ?s= parameter. I ask everybody to test this feature throughly especially for the handling of malicious inputs and the use of non-latin characters. ] [Use auth backend to verify password on profile update FS#1328 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080215154316] [fix for resetting timelimit in fetch.php FS#1243 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080215152132] [Make session reference file check overridable for auth backends Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080215121716] [invalidate all user session cache when userdatabase is changed FS#1085 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080215114923 A reference file is now stored in data/cache/sessionpurge and is used to check if user sessions are still valid. To accomondate for slow auth backends DokuWiki caches user info for a certain time in the user session. ] [redirect to root namespace in mediamanager when namespace was deleted FS#1286 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080215105251] [correctly encode namespace in mediapopup URL FS#1319 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080215094453] [fix line endings for meta data editing in media manager FS#1324 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080215091527] [add title attribute on page title FS#1330 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080215090454] [LDAP backend: try to rebind with current user for getUserData() FS#1053 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080215085556] [fix for earlier phpok & htmlok path Chris Smith <chris@xxxxxxxxxxxxx>**20080214113350] [French strings update Guy Brand <gb@xxxxxxxxxxxxxxxxx>**20080213214113] [make sure not supported profile fields are not accepted FS#1329 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080213214505] [check modMail capability correctly FS#1329 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080213213322] [Hungarian update Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080213204325] [filter usernames case-insensitive in user manager Gabriel Birke <Gabriel.Birke@xxxxxxxxx>**20080213194342] [Importoldchangelog: Added metadata support 'Simon Coffey <spc03@xxxxxxxxxxxx>'**20080213145734 Added function savePerPageMetadata() to populate creator and contributor fields of metadata array from old-style changes.log. ] [Rationalise Parser PHP & HTML syntax mode handling to renderer only. Chris Smith <chris@xxxxxxxxxxxxx>**20080213024941 This patch corrects the problems with the previously (reversed) patch "remove htmlok and phpok tests from Doku_Handler". The handler will now write php, phpblock, html & htmlblock instructions and let the renderer decide how these instructions should be processed. The xhtml renderer will follow the "phpok" and "htmlok" config settings. If these settings are turned off the any instructions will be rendered as code with php or html syntax highlighting (as appropriate). ] [Have aclcheck use auth_isadmin Guy Brand <gb@xxxxxxxxxxxxxxxxx>**20080212213222] [Hungarian update Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080209092859] [make sure $ID is set correct when rendering metadata Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080208212733] [removed security token requirement for login Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080208200733 This was discussed a while ago on the mailing list. We want to work cross-site logins keep working. ] [TAG develsnap 2008-02-01 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080201000001] [Norwegian update Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080130222205] [Hungarian update Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080130220034] [remove htmlok and phpok tests from Doku_Handler Spring Pierre <pierre.spring@xxxxxxx>*-20080117222648 there is no necessity for the "htmlok" and "phpok" testing in the Doku_Handler, taken the fact that the page renderer does it too. and it gives the possibility to the renderer to choose, what to do with such blocks. ] [Hungarian update Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080128211824] [Support for deep namespace templates and strftime placeholders Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080126165959 This patch addes namespace templates will be used for all new namespaces in the same namespace and the namespaces below. They have to be named __template.txt Additionally can strftime() place holders be used in namespace templates to insert any part of the current time into a template. ] [XMLRPC: use correct date format in getRecentChanges() Michael Klier <chi@xxxxxxxxxxx>**20080125173529] [XMLRC: refactored putPage() Michael Klier <chi@xxxxxxxxxxx>**20080125171834] [Italian language update Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080125101516] [Italian update Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080124211845] [Probably fixes cookie loss on https/http switch FS#1174 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080124211231] [typo fix FS#1316 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080122222402] [mor nofollow for links to non-existant pages FS#1260 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080122203104] [fix problems with gzip compression Jens Wilke <jw_list@xxxxxxxxxxxxx>**20080122185828] [Hungarian language update Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080122185359] [czech language update Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080122185140] [gethostsbyaddrs() must check if only one IP was supplied Michael Klier <chi@xxxxxxxxxxx>**20080122175535] [use <sup> to markup footnote anchors Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080119010614 Using the <sup> HTML tag ensures that footnotes are shown correctly when displayed outside the DokuWiki stylesheet (eg. in feedreaders) ] [correct fix for FS#1227 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080119005310] [mediamanager style fixes for ie7 Anika Henke <a.c.henke@xxxxxxxx>**20080118235811] [XMLRPC: added getRecentChanges() Michael Klier <chi@xxxxxxxxxxx>**20080118230312] [prevent error on buggy syntax plugin FS#1218 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080118234120] [partial fix for TOC displayed on deleted pages FS#1222 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080118230442] [Always show pageids for "matching pagenames" FS#1227 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080118225518] [correct UTF-8 trimming of abstracts in metarenderer FS#1233 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080118224834] [add rel=nofollow for links to non-existing pages FS#1260 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080118223507] [try to warn about pcre.backtrack_limit errors FS#1258 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080118214138] [bzopen does not like 'b' open mode FS#1239 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080118213300] [add leading colon for media inserted via manager Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080118212849] [skip invalid filenames in media directory list (related to FS#1312 FS#1306) Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080118205511 Invalid media files (like uppercase names) are no longer listed in the media manager. Instead a warning is shown. ] [fixed XML encoding for RSS 1.0 image title FS#1307 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080118202958] [Show proxy path in notify mails FS#1308 Glen Harris <astfgl@xxxxxxxxxxx>**20080118201511] [remove htmlok and phpok tests from Doku_Handler Spring Pierre <pierre.spring@xxxxxxx>**20080117222648 there is no necessity for the "htmlok" and "phpok" testing in the Doku_Handler, taken the fact that the page renderer does it too. and it gives the possibility to the renderer to choose, what to do with such blocks. ] [Add revert plugin to protected plugins list Chris Smith <chris@xxxxxxxxxxxxx>**20080116152844] [Arabic update Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080114173625] [Kurdish translation Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080108202749] [Hungarian update Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080107204755] [Dutch update Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080107201607] [Dutch update Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080106201511] [transparent_gif s_wienecke@xxxxxx**20071221181419] [parenthesis_escaper_fix stephane.chazelas@xxxxxxxxxxx**20080104145301] [French update Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080104143832] [Dutch update Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080104141457] [Polish update Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080104140951] [Brazilian Portuguese update Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080104140733] [TAG develsnap 2008-01-01 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20080101000001] [Trigger IO_WIKIPAGE_WRITE on page delete Gabriel Birke <Gabriel.Birke@xxxxxxxxx>**20071221150130 DokuWiki will fire two IO_WIKIPAGE_WRITE events instead of one when a page is deleted. The first event has no revision and empty text in the data. Now the code conforms with the documentation at http://wiki.splitbrain.org/wiki:events_list#io_wikipage_write Now action plugins can act on page delete. ] [make hashs escapable in configfile #1282 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20071218141030 If a hash is needed in config files (parsed by confToHash) it can be escaped as \# (backslash hash) to avoid having it treated as comment start ] [Romanian language update Andreas Gohr <andi@xxxxxxxxxxxxxx>**20071214105324] [read a file from a ZIP without diskwrite Danjer <Danjer@xxxxxxxxxxxx>**20071210191826] [Italian language update Andreas Gohr <andi@xxxxxxxxxxxxxx>**20071210190648] [added info on control macros on syntax page Andreas Gohr <andi@xxxxxxxxxxxxxx>**20071204222503] [romanian language update Andreas Gohr <andi@xxxxxxxxxxxxxx>**20071204202246] [removed debug statement from ACL manager script code Andreas Gohr <andi@xxxxxxxxxxxxxx>**20071203204115] [no write check for users.auth.php when non-plain backend is used FS#1271 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20071203202342] [getUserData should really be implemented always... (FS#1272) Andreas Gohr <andi@xxxxxxxxxxxxxx>**20071203201532 ... but with this patch DokuWiki will not break completely when left out for trustExternal() auth backends ] [construct toolbar signature from $INFO (FS#1274) Andreas Gohr <andi@xxxxxxxxxxxxxx>**20071203191945] [romanian language update Andreas Gohr <andi@xxxxxxxxxxxxxx>**20071203183011] [TAG develsnap 2007-12-01 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20071201000001] [removed obsolete language strings Andreas Gohr <andi@xxxxxxxxxxxxxx>**20071130234249] [Swedish language update Andreas Gohr <andi@xxxxxxxxxxxxxx>**20071130233509] [Spanish language update Andreas Gohr <andi@xxxxxxxxxxxxxx>**20071130233302] [Spellchecker removed Andreas Gohr <andi@xxxxxxxxxxxxxx>**20071123125840 With spell checkers available in all modern browsers, having a spell checker in DokuWiki's core code is no longer necessary. This patch removes the spell checking feature. It will be made available as optional plugin. ] [make toolbar JS functions accept absolute image paths Andreas Gohr <andi@xxxxxxxxxxxxxx>**20071123102814] [Catalan language update Andreas Gohr <andi@xxxxxxxxxxxxxx>**20071121203902] [Catalan language update Andreas Gohr <andi@xxxxxxxxxxxxxx>*-20071118103614] [german language update Andreas Gohr <andi@xxxxxxxxxxxxxx>**20071118105953] [Catalan language update Andreas Gohr <andi@xxxxxxxxxxxxxx>**20071118103614] [added missing pix folder for acl plugin Andreas Gohr <andi@xxxxxxxxxxxxxx>**20071117214220] [ACL Manager rewritten Andreas Gohr <andi@xxxxxxxxxxxxxx>**20071117155740 This patch replaces the old ACL manager plugin with a new, completely rewritten one. The ACL manager is now independent of the page from which it was called, instead all pages and namespaces are selectable from an AJAX enhanced list similar to the one used in the media manager. This should take care of a major complain by new users. Another major confusion was that the old manager only showed relevant rules. This new manager always shows *all* defined ACL rules. ] [added XMLRPC linkList() Michael Klier <chi@xxxxxxxxxxx>**20071109112720] [fix problems if $USERINFO['grps'] is not set Andreas Gohr <andi@xxxxxxxxxxxxxx>**20071102181850] [russian language update Andreas Gohr <andi@xxxxxxxxxxxxxx>**20071102181710] [utf8_trim bugfix Andreas Gohr <andi@xxxxxxxxxxxxxx>**20071102181430 Fixes the utf8_trim() function when a charlist is given ] [TAG develsnap 2007-11-01 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20071101000001] [added makeFileField method to form class Michael Klier <chi@xxxxxxxxxxx>**20071029141013] [CSS update for media form Michael Klier <chi@xxxxxxxxxxx>**20071029135607] [refactored media upload form Michael Klier <chi@xxxxxxxxxxx>**20071029134739] [allow enctype setting in form class Michael Klier <chi@xxxxxxxxxxx>**20071029134359] [Revert change to DOKU_INC introduced by xmlrpc_putpage patch Guy Brand <gb@xxxxxxxxxxxxxxxxx>**20071027202616] [Add the Universal Wiki Edit Button to the deafault template Andreas Gohr <andi@xxxxxxxxxxxxxx>**20071026213115 The "Universal Wiki Edit Button" is a movement to make Wikis easily recognizable to users regardless of the used engine or template. The aim is to create an icon which is as easy to recognize as the now well known RSS icon. The hope is to spread the Wiki idea and make more people aware of the use of Wikis outside the scope of Wikipedia. The logo is added through a background CSS defined in UWEB.css More info about the Universal Wiki Edit Button can be found at http://www.aboutus.org/uweb - you may also add your thoughts about it there. ] [adds a second class to action buttons Andreas Gohr <andi@xxxxxxxxxxxxxx>**20071026210930] [Galician language update Andreas Gohr <andi@xxxxxxxxxxxxxx>**20071026205405] [Turkish update Andreas Gohr <andi@xxxxxxxxxxxxxx>**20071026185916] [Translatable JavaScript strings for plugins Gabriel Birke <Gabriel.Birke@xxxxxxxxx>**20071026131130 Strings to be used in plugin provided JavaScript can now be put into the plugin's lang.php files. It has to be stored as subkeys of $lang['js']. Eg the following in lib/plugins/blah/lang/en/lang.php $lang['js']['foo'] = "bar"; will be available from JavaScript code as LANG['plugins']['blah']['foo'] ] [Brasilian Portuguese Update Frederico Goncalves Guimaraes <frederico@xxxxxxxxxxx>**20071026110711] [Malagasy translation added infogasy.net <contact@xxxxxxxxxxxx>**20071026105801] [Latvian language update Andreas Gohr <andi@xxxxxxxxxxxxxx>**20071019063310] [Allow HTML from inline RSS (typo fix) Tom N Harris <tnharris@xxxxxxxxxxxxx>**20071015225606] [Fix border condition on recent change update Tom N Harris <tnharris@xxxxxxxxxxxxx>**20071015225711] [header support for renderer plugins Andreas Gohr <andi@xxxxxxxxxxxxxx>**20071016185626 Renderer plugins now can store HTTP header information in 'format <mode>' which will be used to send their output. Also fixes a problem with loading cache files. ] [fixed Thai romanization Andreas Gohr <andi@xxxxxxxxxxxxxx>**20071015170603] [tiny compatibility fix for FeedParser Andreas Gohr <andi@xxxxxxxxxxxxxx>**20071015121248 This should make older plugins working with a SimplePie Beta wor with Dokuwiki's current SimplePie version ] [Reduce memory requirement for indexer Tom N Harris <tnharris@xxxxxxxxxxxxx>**20071012000327] [fixed URLs in plugin and user manager Andreas Gohr <andi@xxxxxxxxxxxxxx>**20071013191842 For the new plugin repository, plugins should use a page named after their class at wiki.splitbrain.org ] [xmlrpc_putpage Dennis Ploeger <develop@xxxxxxxxxxxxxx>**20071012135930 Adds the putpage-method to the xmlrpc-server-code ] [X-Sendfile support for fetch.php Andreas Gohr <andi@xxxxxxxxxxxxxx>**20071008185019 This patch enables the use of the X-Sendfile extension offered by certain webservers to deliver static files after running a dynamic script. This combines the flexibility of a PHP file to check for authorization, caching and resizing with the low memory footprint and high performance of static file delivery of the webserver. See http://blog.lighttpd.net/articles/2006/07/02/x-sendfile for details ] [esperanto update Andreas Gohr <andi@xxxxxxxxxxxxxx>**20071007191109] [corrections for earlier MAIL_MESSAGE_SEND patch :) Chris Smith <chris@xxxxxxxxxxxxx>**20070930124603] [fixes for p_get_metadata() & p_set_metadata (incl. resolution of FS#1254) Chris Smith <chris@xxxxxxxxxxxxx>**20070930022739 - add page existence check to prevent attempts to render metadata for non-existent pages (FS#1254) - add key & subkey existence checks to avoid PHP warnings ] [add page_exists function (inc/pageutils.php) Chris Smith <chris@xxxxxxxxxxxxx>**20070930021040 bool page_exists($id, $rev='', $clean=true) checks wiki page existence, returns true if page exists, false if it doesn't. Parameters are the same as for wikiFN() $id -- page id $rev -- page revision $clean -- flag indicating whether or not $id requires cleaning ] [ptln parameter spelling correction Chris Smith <chris@xxxxxxxxxxxxx>**20070930020815] [Add MAIL_MESSAGE_SEND event (resolution of FS#1007) Chris Smith <chris@xxxxxxxxxxxxx>**20070930014728 Wrapper around DokuWiki's mail_send() function. For full details refer http://wiki.splitbrain.org/wiki:events_list#mail_message_send Also see discussion at //www.freelists.org/archives/dokuwiki/09-2007/msg00077.html ] [Avoid duplicate attributes in forms Tom N Harris <tnharris@xxxxxxxxxxxxx>**20071006195720] [Remove extraneous print statement Tom N Harris <tnharris@xxxxxxxxxxxxx>**20071001192639] [TAG develsnap 2007-10-01 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070930230001] [fullpath fix for Windows Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070930214958] [don't use fullpath() before initialized Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070930201133] [don't use realpath() anymore (FS#1261 and others) Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070930184250 The use of realpath() to clean up relative file names caused some trouble in certain setups relying on symlinks or having restricitve file structure setups. This patch replaces all realpath() calls with a PHP only replacement which should solve those problems. ] [media meta chmod fix Otto Vainio <oiv@xxxxxx>**20070926190419 Media metadata update changes file permissions to default. Should call chmod if needed. ] [Fix not checking capture in metadata renderer Tom N Harris <tnharris@xxxxxxxxxxxxx>**20070925201030] [Don't create bogus blank entries in metadata Tom N Harris <tnharris@xxxxxxxxxxxxx>**20070919194756] [Remove obsolete words from search index Tom N Harris <tnharris@xxxxxxxxxxxxx>**20070919194244 Creates another index file 'pagewords.idx' for the words in each page. Words that are deleted from a page can then be removed from the word index. The indexer version is incremented to force rebuilding of the index. Also, a minor flaw in the regexp for asian words is fixed. ] [New event MEDIA_UPLOAD_FINISH Michael Klier <chi@xxxxxxxxxxx>**20070909003843 This adds a new event MEDIA_UPLOAD_FINISH which is triggered when a media file is uploaded via the mediamanager. (The event is preventable) Event data: data[0] temporary file name (read from $_FILES) data[1] file name of the file being uploaded data[2] future directory id of the file being uploaded data[3] the mime type of the file being uploaded ] [Variable typo fix in inc/media.php Michael Klier <chi@xxxxxxxxxxx>**20070914202618] [typo fix and quiet option for bin/indexer.php FS#1249 Gabriel Birke <Gabriel.Birke@xxxxxxxxx>**20070912182759] [Fix for Basic HTTP authentication Michael Klier <chi@xxxxxxxxxxx>**20070908222540] [Indonesian update Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070908192004] [CSRF SecurityToken added to the media manager Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070908143307] [Small fix for CSRF check in config and ACL plugins Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070908142300] [Use Content-Length in HTTP client Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070906194435 If a Server supplies a Content-Length header we stop reading when the specified number of bytes was read. This fixes problems with Servers not closing the connection after sending the body. ] [send security token on login/logout Michael Klier <chi@xxxxxxxxxxx>**20070904185355] [Esperanto update Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070906183038] [respect DOKU_BASE in CSS cache file name Michael Klier <chi@xxxxxxxxxxx>**20070906125503] [TAG develsnap 2007-09-01 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070831230001] [Part 2 of the SecurityToken patch to avaoid CSRF attacks Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070830191429 This patch adds a security token to all forms generated through the new form class. However it is only checked for possible dangerous actions like editing or profile changes. ] [CSRF prevention for admin plugins Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070829201538 This patch adds a session based token to all form in the default action plugins. The validity of the token is checked before any administrative function is executed aiming to protect DokuWiki's admin functions from Cross-site request forgery (CSRF) attacks. Another patch will follow to add the same functionality on other, less critical functions. More details on CSRF attacks can be found at http://en.wikipedia.org/wiki/Cross-site_request_forgery ] [moved lockfile check out of search() to callback functions Michael Klier <chi@xxxxxxxxxxx>**20070828194406] [Revert plugin die if DOKU_INC undefined Guy Brand <gb@xxxxxxxxxxxxxxxxx>**20070826201745] [Arbitrary Button types in JS toolbar Gabriel Birke <Gabriel.Birke@xxxxxxxxx>**20070826192206 This is my patch for creating toolbar buttons with arbitrary button types, tested with Firefox, Opera and IE7. If you want to create a new type of button, you must have a function in the script.js file of your plugin. The function name must begin with "addBtnAction", followed by the type name, for example for the type "myType" the function must be called "addBtnActionMyType" (bear in mind that the first char of the type must be uppercased in the function name). The function has four parameters: "btn" is the HTML element for the button where you attach the onclick handler "props" is an associative array of the array properties that come from the toolbar array that was created by toolbar.php "edid" (optional) is the id of the editor textarea "id" (optional) is a "unique" number for each button: the index variable of the for loop where the buttons get created. ] [removed unused file from french translation Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070821174710] [german update Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070821174336] [alter p_get_first_heading() default $render value to true Chris Smith <chris@xxxxxxxxxxxxx>**20070821021008 Calls to p_get_first_heading() are most likely to expect to get the first heading even if it needs to be generated, that is a $render value of true. Only the metadata renderer itself needs a value of false in order to prevent mutual dependency probelms. This fix should finally complete FS#1010 & problems breadcrumbs have with use_first_headings when metadata doesn't exist. Also see, //www.freelists.org/archives/dokuwiki/08-2007/msg00018.html & //www.freelists.org/archives/dokuwiki/08-2007/msg00132.html ] [Fix $conf['compression'] setting values (was using 'bzip' instead of 'bz2'); FS#1185 Chris Smith <chris@xxxxxxxxxxxxx>**20070821120916] [french update Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070821173805] [typo fix in action plugin prototype class Michael Klier <chi@xxxxxxxxxxx>**20070820175842] [fix for magic quote fixing inside array keys Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070819211952] [quote fix in auth_nameencode Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070819211829] [typo fix FS#1229 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070818222239] [esperanto update Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070818222029] [finish language update Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070816182508] [greek language update Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070813220053] [added nothing found message to backlinks output Michael Klier <chi@xxxxxxxxxxx>**20070813160452] [span added to breadcrumbs label Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070813190912] [correctly URL encode idx parameter in index view Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070810082232] [Optimize loading the index with AJAX Ben Coburn <btcoburn@xxxxxxxxxxxxx>**20070810040430 Improves the perceptual latency of the AJAX based index view. - Only show the throbber for AJAX calls that are slow. Currently this applies to calls that take more than 500 ms. - Reuse the results of AJAX calls. This makes a namespace open, close, open, cycle much faster. Also reduces the number of AJAX calls to the server. (To reload the index, just reload the page as usual.) ] [Fix for not working iconv call in SimplePie Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070809234320 See http://simplepie.org/support/viewtopic.php?pid=3819#p3819 Patch sent to upstream ] [typo fix for plugin manager which caused blank error message FS#1216 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070809221830] [show correct megabyte size for image details FS#1217 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070809213753] [don't allow export formats in Google index FS#1219 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070809212728] [spelling fix FS#1220 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070809212154] [stripped comments from el lang file Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070809212044] [dutch language update Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070808214818] [Portuguese language update Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070808180825] [german language update Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070807221400] [TOC fixed Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070807171844 This fixes some small bugs which were introduced with recent TOC changes ] [Protect auth_ismanager() from auth modules that don't always provide group data in array (FS#1196) Chris Smith <chris@xxxxxxxxxxxxx>**20070805203312] [fixed function check in install.php FS#1215 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070806185341] [Add checks for supported attic compression methods to config plugin (FSâ#1185) Chris Smith <chris@xxxxxxxxxxxxx>**20070805193638] [minor fixes for recent tpl_toc() patch chris@xxxxxxxxxxxxx**20070805163833] [separated TOC from page Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070805132405 This patch introduces a tpl_toc() function which can be used to freely place the Table of Contents in a template. When used, tpl_content should be called with a parameter of false to supress the automatic TOC placement. Note: if tpl_toc() us run *before* tpl_content(), TOCs will not work in the preview. A work around is to run tpl_content() in a output buffer first. This patch also adds a getTOC() function for admin plugins which allows plugin authors to put create their own TOC which will be placed correctly in the template. A convenience function html_mktocitem() is available. The config manager was adjusted to make ue of this new feature, but some bugs might remain. ] [generic search engines result highlighting Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070804125124] [test case adjustments for recent spacing fix in forms Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070804081605] [fulltext search fixes FS#1191 FS#1192 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070804081226] [Support for $inner param in tpl_actionlink Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070804071934 This allows template authors to use their own HTML content as link body. Eg. to use images. Defaults to the appropriate language string. ] [Space between label and input element for new form handler Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070804071840] [Skip only empty strings not 0 in buildAttributes Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070804071749] [New structured forms and action events Tom N Harris <tnharris@xxxxxxxxxxxxx>**20070730215007 Replaces a number of *FORM_INJECTION events with a more flexible way of modifying forms. Forms are created with a Doku_Form class (inc/form.php) that can be manipulated by plugins prior to output. Plugins register a HTML_{$name}FORM_OUTPUT event which can modify the form object prior to output. Available forms are: LOGIN DRAFT CONFLICT REGISTER UPDATEPROFILE EDIT RESENDPWD Documentation for the Doku_Form class is in inc/form.php. ] [update breadcrumbs to generate metadata when necessary for use_first_heading Chris Smith <chris@xxxxxxxxxxxxx>**20070802174401] [TAG develsnap 2007-08-01 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070731230001] [PGSQL auth backend - connect via socket FS#1198 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070730171227 If the server field is empty in configuration the postgres backend will try to connect via a local socket to the server ] [Galician translation Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070730164939] [skipempty parameter for buildAttributes Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070725211324] [use file_get_contents to read files Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070725190021] [JavaScript fix Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070725184035] [SimplePie update to 1.0.1 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070725182527] [fix for multiple categories in feeds Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070723220336] [removed unnessary UTF-8 replacement functions Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070719130041] [fix for XSS in spellchecker FS#1195 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070719122538] [several speed improvements in UTF-8 lib Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070719110142] [SimplePie upgrade to 1.0 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070719080638] [better name for previously added action event Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070718122311] [Action plugin hook for manipulating feed items Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070718122011] [update plugin component file search to ignore hidden files (files beginning with '.') Chris Smith <chris@xxxxxxxxxxxxx>**20070627184840] [update email address validation to support 'museum' & 'travel' tlds Chris Smith <chris@xxxxxxxxxxxxx>**20070627184603] [use UTF-8 chars instead of HTML entities Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070718110715] [fix for phrase search FS#1189 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070718104839] [show diff between arbitrary revisions FS#14 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070718102204 You can now compare any choosen revision of a page to any other. Todo: add some JavaScript to avoid choosing more than two revisions ] [fix asian word search FS#1188 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070718073121] [RSS feeds for search results Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070718071053 Lets you subscribe to the result of a full text search ] [some feed fixes Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070717152000] [fix for rare wordblock fail FS#1179 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070716201347] [small javascript fix Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070716185356] [AJAX for the index view Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070716184605 This makes the index view much more responsive by loading sub namespaces through AJAX if JavaScript is available. The used throbber image probably looks bad on dark backgrounds. If someone could provide a better one it would be greatly appreciated. ] [another language file fix FS#1186 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070715091847] [fixed unclean language files FS#1186 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070715090528] [slightly modfied donation button Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070711213825 See http://www.splitbrain.org/blog/2007-07/10-paypal_oddities ] [improved feed creation Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070711213624 The feed now can export diff views (unified and HTML) as well as full HTML page content. Some things might be broken. Everybody please test it! ] [correct hilighting of empty summary on preview Tom N Harris <tnharris@xxxxxxxxxxxxx>**20070705215447] [fix ID resolving with useslash FS#1176 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070709183346] [check data/index permissions in installer FS#1181 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070709182725] [GeSHi update to 1.0.7.20 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070702200715] [Norwegian language update Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070702195324] [TAG develsnap 2007-07-01 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070630230001] [Slovak language updates Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070630110132] [More Portuguese language updates Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070629212340] [Show config option names in config manager Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070629210648 This patch outputs the config name in the config manager (instead of using a title tag) which makes it easier to search (ctrl-f) for a specific option. ] [adjusted wiki:syntax to additional <HTML>+<PHP> syntax Anika Henke <a.c.henke@xxxxxxxx>**20070518095536] [deleted unnecessary htmlok+phpok checks Anika Henke <a.c.henke@xxxxxxxx>**20070517234228] [added block mode for embedded html+php (FS#541) -- same syntax but in capital letters (<HTML>+<PHP>) Anika Henke <a.c.henke@xxxxxxxx>**20070517233213] [Portuguese language updates Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070629192938] [Slovak language updates Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070629192559] [Czech language updates Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070629134741] [japanese language update Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070628191802] [check for auth object at certain functions Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070627194910 This is a follow up on the previous patch to disable authtentication without disabling ACL on backend problems. It fixes a few errors that might occour in this rare situation. ] [TAG release 2007-06-26 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070626182639] [final release preps Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070626182517] [some more tweaks to the smart quote parser Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070626181735 Now all test cases succeed, but there is probably still trouble with certain conditions. ] [some cleanups / release preps Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070626173537] [Spanish language updates Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070626162556] [Bulgarian language updates Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070626162303] [fix for recent auth change Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070625210929] [degrade to unauthed user when auth backen unavailable FS#1168 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070625205228 Instead of disabling the whole ACL feature when the auth backend is unavailable just degrade the user to an anonymous user. ] [fixed problem with #section added to all links Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070625204256] [German language updates Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070625182759] [phpdoc comments added for TarLib Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070625181003 Added documentation from http://docs.maxg.info/index.php?script=5 to the comments of the class. ] [Chinese language updates Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070625172017] [workaround for PHP bug in config manager FS#1152 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070624174903 Workaround for PHP bug 41773: http://bugs.php.net/bug.php?id=41773 ] [Esperanto language updates Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070624174148] [Galician translation updates Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070624174021] [Polish language update Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070624105948] [fix for colons in fragment identifiers FS#1062 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070623142008] [greek language updates Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070622215242] [check for empty group array in LDAP backend FS#1004 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070621194636] [Misc string fixes and fr update Guy Brand <gb@xxxxxxxxxxxxxxxxx>**20070619173914] [Code corrections in inc/auth/plain.class.php deleteUser() method Chris Smith <chris@xxxxxxxxxxxxx>**20070620163148] [Verbose errors for failed feed fetching Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070618172904 When the allowdebug option is set, the error message generated by the feed parser will be put in an HTML comment. ] [RTL stylsheet fix Tom N Harris <tnharris@xxxxxxxxxxxxx>**20070616214657] [regex fix for JavaScript includes Tom N Harris <tnharris@xxxxxxxxxxxxx>**20070616214530] [two minor style fixes in GeSHi - sent to upstream Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070615000611] [update on the GeSHi default styles Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070614232042] [correct javascript escape for languagestring in windows share links FS#1147 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070613193351 This piece of code should be replaced by some unobstrusive code in the future ] [fixed URL in file upload notify mail FS#1160 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070613191542] [make typography option three staged FS#1142 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070613184015 Because correct smart quote parsing with regular expressions is nearly impossible, especially when dealing with quote usage in languages different from english, the typography configuration option was changed. 0 means to completely disable any typography replacements 1 will only handle the multiply entitity and double quotes, this should nearly always work without problems and is the new default 2 will add singlequote parsing. This might break because single quotes and apostrophes are not always easily distinguishable. Especially in languages where single quote openings and apostrophes are different characters you might experience problems. For english it should nearly always work. ] [some small improvement for smart quote parsing FS#1142 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070613173817] [fix for encoding email addresses Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070613153201 There was a problem in the mail header builder which left out a space between real names and the email address, which broke certain mailers. ] [no ampersand encoding in URLs for emails FS#1157 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070613152712] [typo fix in syntax page FS#1158 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070613152342] [Japanese language update Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070604174939] [russian language updates Denis Simakov <akinoame1@xxxxxxxxx>**20070604122134] [never use full URL in cookie paths FS#1146 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070603191451 Introduces a DOKU_REL constant always pointing to the DokuWiki directory regardless of the used canonical setting. ] [Swedish language updates Per Foreby <per@xxxxxxxxx>**20070603152100] [TAG develsnap 2007-06-01 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070531230001] [Partial Fix FS#1085 Chris Smith <chris@xxxxxxxxxxxxx>**20070528194747 This fix adds a new configuration setting, 'auth_security_timeout', which controls the duration (seconds) before authentication information is rechecked. The default value is set to 900 seconds (15 minutes). Wiki installations particularly concerned about security should set this value to 0. DokuWiki maintains a copy of the most recent authentication details in both a browser cookie and server session. Normally these values are compared on each page visit. If the comparison passes the user is accepted. The same data will be used over and over until either the cookie or the session expires. FS#1085 is concerned with updates to the original authentication data not being able to affect this comparison. The new 'auth_security_timeout' setting will force expiration of the saved data after the specified period has elapsed. Re-authentication may affect page response, especially on systems which use remote authentication systems. This fix is considered partial and should be reviewed after the next release with a view to extending the authentication class to allow those mechanisms which are able to control when DW should revoke authentication. ] [send 404 only for show or export action FS#1141 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070528193451] [added RSS/ATOM Aggreation section to syntax page Michael Klier <chi@xxxxxxxxxxx>**20070524235338] [Fix infinite page redirects in getID Ben Coburn <btcoburn@xxxxxxxxxxxxx>**20070526094501 Fix infinite page redirects in getID Loading "start:" was causing a loop of page redirects. Page IDs like "start:" now resolve correctly to an ID like "start". ] [TAG release candidate 2007-05-24 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070524173115] [release preparations Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070524172905] [russian updates Kae <kaens@xxxxxxxxx>**20070523211728] [typographically correct minus sign in toc toggle (yet even bigger) Anika Henke <a.c.henke@xxxxxxxx>**20070515223140] [Redirect after login and populate breadcrumbs (FS#1063) Guy Brand <gb@xxxxxxxxxxxxxxxxx>**20070516091909] [TOC toggle usability fix wingedfox@xxxxxxxxxxx**20070515045800 Changes: 1. click event handler moved to the toc__header, because plus and minus signs are too small and not usable because of this 2. minus sign replaced with the bigger one, see http://debugger.ru/temp/cross-plus-9x9.html testcases 3. added the pointer cursor to the toc header ] [test fixes for FS#744 changes Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070514225347] [fix for former patch (FS#744) Anika Henke <a.c.henke@xxxxxxxx>**20070514224419] [FS#744 (template developers, heed the changes) Anika Henke <a.c.henke@xxxxxxxx>**20070514222527] [fixed double http in config manager language files Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070514222947] [some more fixes for the toc toggle js Anika Henke <a.c.henke@xxxxxxxx>**20070514205803] [fix for stupid JS bug in TOC toggle Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070514203709] [replaced TOC toggle images by CSS magic Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070514180903 Instead of relying on images to show the toggle button for hiding the table of contents, now some CSS is used to simulate an arrow. ] [typo fix in compression method check FS#919 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070514165529] [disable any possibly configured global zlib compression FS#1132 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070514164557] [tiny url fix in toc image js Anika Henke <a.c.henke@xxxxxxxx>**20070513223948] [include_once support for javascript Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070513222421 The include syntax was changed and enhanced by a include_once statement. Syntax: /* DOKUWIKI:include somefile.js */ /* DOKUWIKI:include_once someotherfile.js */ Note: include_once uses the basename of the inlcuded file to determine if it was previously loaded. You need to use something unique for it to make sure it is correctly loaded. Note: included files are not checked for updates by the cache logic. You need to touch the master file for updating the cache Note: includes are *not* supported inside included files to avoid any circular references ] [fix of js fix of xhtml fix of mediamanager *g* Anika Henke <a.c.henke@xxxxxxxx>**20070513220816] [javascript fix for recent mediamanager xhtml fix Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070513213350] [fixed xhtml validity issues in media manager Anika Henke <a.c.henke@xxxxxxxx>**20070513212129] [fixed link in config descriptions for new bugtracker URLs Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070513193524] [variable button width in plugins plugin (FS#1131) Anika Henke <a.c.henke@xxxxxxxx>**20070513183158] [fixed some xhtml validity issues in config manager Anika Henke <a.c.henke@xxxxxxxx>**20070513174719] [rebuild $_REQUEST manually to avoid cookie interference FS#1104 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070513181524] [deleted obsolete backtomedia functions Anika Henke <a.c.henke@xxxxxxxx>**20070513124655] [same behaviour for do=recent actionlink as for button Anika Henke <a.c.henke@xxxxxxxx>**20070513122005] [include support for JavaScript files Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070513123230 This patch adds support for include calls in JavaScript files as discussed in [1] The syntax looks like this: /* !!include script.js */ All whitespaces are optional (except between !!include and script of course) [1] //www.freelists.org/archives/dokuwiki/01-2007/msg00121.html ] [fixed copy'n'paste error for previous apostrophe fix Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070513114356] [make sure all needed data is given when creating users from backend FS#1096 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070513101600] [properly escape values used in LDAP filters FS#1048 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070513094851] [Fix for non removable proxy settings in config manager FS#1123 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070513090309] [distinction between apostrophes and single quotes FS#1127 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070513084024 This patch adds another parser mode for apostrophes. Now single quote closing markers are handled different from apostrophes for better local typograpy support. Needs testing and languages updates. ] [spelling fix FS#1130 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070513072712] [disable alternative links for disabled actions Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070513072127 When export_raw or export_xhtml is disabled no rel="alternative" links for these export formats are generated anymore. ] [don't show page metadata for non accessible pages Andreas Gohr <andi@xxxxxxxxxxxxxx>*-20070511200426] [remove deprecated ACL option from installer Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070511200912] [don't show page metadata for non accessible pages Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070511200426] [add sneaky_index option Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070511200235 This disables the last patch and adds an option to enable it on demand. ] [hide namespaces from index when no read permissions are available FS#427 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070511192116 Note this wil also hide all namespaces below even if they have more relaxed permissions. ] [Bulgarian Translations Nikolay Vladimirov <nikolay@xxxxxxxxxxxxxxx>**20070511180244] [fix for missing alt attribute for captionless JPEGs FS#1126 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070504184441] [fix spellchecker/list problems with Safari FS#1129 Bruno De Fraine <bruno@xxxxxxxxxxxx>**20070504183227] [TAG develsnap 2007-05-01 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070430230001] [Typo in default nice_die message Guy Brand <gb@xxxxxxxxxxxxxxxxx>**20070424211611] [Use RLM character for breadcrumbs in RTL mode FS#1124 Katriel Traum <katriel@xxxxxxxxxxxxxx>**20070425181727] [Misc french strings fixes Guy Brand <gb@xxxxxxxxxxxxxxxxx>**20070422163049] [support for setting the MySQL charset for auth backend Thomas Koenig <thomas.k@xxxxxxxxxxxx>**20070423155220] [revert manager now reverts back to the last non-spammy revision Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070422141519] [Fix backlinks - See FS#1040 Guy Brand <gb@xxxxxxxxxxxxxxxxx>**20070330215042] [rel="nofollow" for all action links FS#1111 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070422105629] [RTL stylesheet fixes FS#1118 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070422104650] [don't capture blocked words in spam check Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070422100519 In the checkwordblock check, the blocked word isn't used, so there is no need to capture it. This might improve the spam check speed (untested). See http://forum.dokuwiki.org/thread/752 ] [removed ACTION_REGISTER event Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070422095013 This event was undocumented and only used in the CAPTCHA plugin. The event is not needed as the same action can be carried out in ACTION_ACT_PREPROCESS. Users of the CAPTCHA plugin need to update it. ] [polish language update Grzegorz Zur <grzegorz.zur@xxxxxxxxx>**20070417175616] [english language correction Grzegorz Zur <grzegorz.zur@xxxxxxxxx>**20070417175818] [fix dbg_backtrace when arguments are an array or object Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070418174151] [fixed dokubug interwiki link Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070411194508] [fix for old revisions showing "external edit" without reason FS#1092 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070411193230] [Hebrew fixes for config manager FS#1115 Katriel Traum <katriel@xxxxxxxxxxxxxx>**20070411180459 1. Typo Fix in lang/he 2. add rtl.css for correct display of config tables ] [FS#1079 - made TOC images part of template Michael Klier <chi@xxxxxxxxxxx>**20070408144321] [support rtl.css for plugins FS#1114 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070407165027 A rtl.css file is loaded for plugins when the language direction is right to left. ] [opensearch uses correct path to templates Tom N Harris <tnharris@xxxxxxxxxxxxx>**20070402043249] [better RTL support Katriel Traum <katriel@xxxxxxxxxxxxxx>**20070407164409 Attached is a patch I worked on with Dotan Kamber for better RTL support in Dokuwiki. ] [Rechtschreibkorrektur helmut@xxxxxxxxx**20070327135044 Rechtschreibung und Zeichensetzung ueberarbeitet (wenige Aenderungen) ] [GeSHi update to 1.0.7.19 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070401192149] [TAG develsnap 2007-04-01 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070331230002] [fix for breadcrumbs and "namespace:start" pages (FS#927) by Nathan Fritz <fritzn@xxxxxxxxx> Anika Henke <a.c.henke@xxxxxxxx>**20070331213401] [Namespace autolinking from URL (FS#991 fix) Guy Brand <gb@xxxxxxxxxxxxxxxxx>**20070330212802 You can now request doku.php?id=ns: or doku.php?id=ns/ if you have the useslash option activated and have DokuWiki return the $conf['start'] page from that namespace. See issue #991. ] [some additional chars for the picker Anika Henke <a.c.henke@xxxxxxxx>**20070331195443] [added ellipsis to entities.conf Anika Henke <a.c.henke@xxxxxxxx>**20070330225252] [fix for FS#1071 (underline nested within italics) Anika Henke <a.c.henke@xxxxxxxx>**20070330172031] [some test cleanups Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070326185533] [set scope for session cookies FS#1109 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070326180948] [Escape Ctrl-Z so darcs stops treating utf8.php as binary. Tom N Harris <tnharris@xxxxxxxxxxxxx>**20070323030243] [Typo in plugin.php (FS#1094) Guy Brand <gb@xxxxxxxxxxxxxxxxx>**20070323075309] [fix for the new SimplePie Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070312203419 SimplePie changed the method to fetch the feed, this patch restores the usage of DokuWiki's own HTTP client. ] [SimplePie update Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070311215020] [always have a trailing newline in JavaScript output Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070308224331 This may fix https://bugzilla.mozilla.org/show_bug.cgi?id=316033 ] [js_compress updates Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070308223644 This ports the fixes from the original python code to DokuWiki's js_compress functions. The unit tests now pass. ] [Latvian language updates Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070307211110] [FS#1011-fix bernd@xxxxxxx**20070306005940] [dbg_backtrace() function added Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070305223458 This adds a useful debugging function for printing function call backtraces. ] [added JsStrip unit test files Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070305223025 This patch adds unit test files from the new release of JsStrip [1]. Some of the tests currently fail pointing to bugs which are fixed in the new JsStrip release. The fixes need to be ported to DokuWiki's js_compress function. This patch also adds a way to output additional info when a test fails. It misuses SimpleTest's signalling which is probably a bad idea but works for now. http://code.google.com/p/jsstrip/ ] [Several small french language corrections Guy Brand <gb@xxxxxxxxxxxxxxxxx>**20070305165211] [French lang for revert plugin Guy Brand <gb@xxxxxxxxxxxxxxxxx>**20070305163850] [French language update Guy Brand <gb@xxxxxxxxxxxxxxxxx>**20070305140920] [unit test for auth_aclcheck Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070303225338] [fixed warning whith no search results FS#1088 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070303220143] [added getFormat() function to renderer Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070303214102 Each renderer has to supply a getFormat() function returning the format it produces. Usually this is the same as the classname of the renderer (or Plugin) says but it does not need to be necessarily. Fixes a problem with the wrong format being reported to plugins when a render plugin was used. ] [never build instructions twice in the same run FS#1090 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070303202232 When a page was called with purge=1 the instructions were built multiple times for the multiple renderers. This is not only an unnessary ressource hog it could also make certain plugins fail which. This patch makes sure that instructions for a source file are not built more than once per run. ] [only debug when in xhtml mode in parserutils.php Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070303195008] [improved writability check for sitemap FS#1093 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070303192836] [bulgarian translation Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070302180103] [skip images in links for metadata renderer Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070302102035] [Fix broken if in previous patch Guy Brand <gb@xxxxxxxxxxxxxxxxx>**20070302100506] [Allow @USER@ variable in ACLs Guy Brand <gb@xxxxxxxxxxxxxxxxx>**20070301230309 This saves a lot of ACL lines for users namespaces for example: users:* @ALL 1 users:@USER@ @USER@ 8 ] [fix pass by reference problem in indexer.php Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070301211751] [TAG develsnap 2007-03-01 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070301000001] [INDEXER_PAGE_ADD event Esther Brunner <wikidesign@Âgmail.com>**20070227124424] [TOOLBAR_DEFINE event Esther Brunner <wikidesign@Âgmail.com>**20070227124005] [HTML_PROFILEFORM_INJECTION event Esther Brunner <wikidesign@Âgmail.com>**20070227123428] [additions for the info plugin Esther Brunner <wikidesign@Âgmail.com>**20070227123123] [helper plugin patch Esther Brunner <wikidesign@Âgmail.com>**20070227122635] [page updates Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070226182110] [polish language update Grzegorz Zur <grzegorz.zur@xxxxxxxxx>**20070225133620] [Korean language update Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070226181011] [GeSHi update to 1.0.7.18 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070226180035] [soted indexer is now default Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070226175529] [danish update David Lorentsen <zyberdog@xxxxxxxxxxxx>**20070224200424 Missing danish translation strings and files ] [Correction of German language in config plugin 'eModul <emodul@xxxxxxx>'**20070226112359] [use dokubug as default interwiki tag for DokuWiki bugs #1045 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070224144211] [pt-br translation fix (debian-bug #409064) Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070224133931] [German language updates Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070224133512] [added some comments about new XSS protection to mime.conf Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070224131623] [Test uploaded files for HTML tags FS#1077 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070224124458 Following the problem with IE's mimetype handling described at http://www.splitbrain.org/blog/2007-02/12-internet_explorer_facilitates_cross_site_scripting this patch adds a new option (on by default) to check the first 256 bytes of uploaded files against a list of a few HTML tags and denies the upload of such a file. In rare occasions this may block harmless and valid files, but that's price we have to pay for Microsoft's stupidity. Users who need HTML uploads should disable this check. (Don't do that on open Wikis!) ] [return time in GMT for conditional requests #1081 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070224122418] [zh-tw language fix Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070224120324] [wiki:dokuwiki licence FAQ link David Lorentsen <zyberdog@xxxxxxxxxxxx>**20070224113223] [css fix for tpl_actionlink login David Lorentsen <zyberdog@xxxxxxxxxxxx>**20070224112634] [hide pageinfo if no access David Lorentsen <zyberdog@xxxxxxxxxxxx>**20070221133007] [fix rendered metadata detection problem chris@xxxxxxxxxxxxx**20070222162434 see //www.freelists.org/archives/dokuwiki/02-2007/msg00207.html from Todd Augsburger ] [added missing files for patch by wingedfox Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070219210653] [JS checks for .hasOwnProperty wingedfox@xxxxxxxxxxx**20070111114236 This patch includes - several helper functions - is* checks - hasOwnProperty method emulator - checks for .hasOwnProperty in all for..in loops ] [Rar mime type added wingedfox@xxxxxxxxxxx**20070111113557] [better red-green blindness compatibility FS#1065 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070218142625 This adds a dashed border for non-existing links to make it easier to distinguish between existing and non existing links for users with color-blindness. ] [minor spelling fix in German language Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070218135700] [Fix namespace links and titles (FS 1005, 1006) Guy Brand <gb@xxxxxxxxxxxxxxxxx>**20070217220746] [Swedish update Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070218134846] [config plugin TOC refactoring Ben Coburn <btcoburn@xxxxxxxxxxxxx>**20070215015318 Now uses the new toc_additem function in the Doku_Renderer_xhtml class. ] [RFC2047 fix for mail subjects (FS #1080) Guy Brand <gb@xxxxxxxxxxxxxxxxx>**20070215184609 Patch by Per Foreby ] [Avoid missing file error if no changes David Lorentsen <zyberdog@xxxxxxxxxxxx>**20070216070704] [all style sheet addition martin.tschofen@xxxxxxxxx**20070211024110] [removed obsolite id #sidebar form print.css Michael Klier <chi@xxxxxxxxxxx>**20070212153312] [send notify mails for uploaded files Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070212190216] [check if uploaded content matches the given mime type Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070211223230 A first attempt at fixing FS#1077 currently checks images and spam ] [disable text uploads by default Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070211201920 Spammers suck - see http://forum.dokuwiki.org/post/2213 ] [language-specific quotation marks (FS#438) Anika Henke <a.c.henke@xxxxxxxx>**20070211172015] [Korean update Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070210201116] [compatibility fix for the recent render_TOC change Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070208195457 render_TOC now behaves like before when called non-statically without an argument Fixes a problem in the config manager and probably other plugins using the function as well ] [workaround config for FS#852 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070208195145 On certain platforms the ignore_user_abort function does not work as expected, resulting in a non working indexer webbug. Users with such a broken system (IIS+PHP as CGI) can enable this option to work around the problem (resulting in longer load times for the webbug). ] [polish language update Grzegorz Zur <grzegorz.zur@xxxxxxxxx>**20070208120717] [do preconnects only once #1067 Stephane Chazelas <stephane@xxxxxxxxxxxxx>**20070206191629] [give xhtml renderer method _xmlEntities standard parameter values chris@xxxxxxxxxxxxx**20070206021203] [refactor xhtml TOC creation into a class function, FS#1058 chris@xxxxxxxxxxxxx**20070206015454 - changed inc/parser/xhtml.php, render_TOC() function it now takes a toc array as a parameter - refactor render_TOC() and _tocitem() into static class functions The xhtml renderer can build its TOC using $this->render_TOC($this->toc) Templates can create a separate TOC using echo Doku_Renderer_xhtml::render_TOC(p_get_metadata($ID, 'description tableofcontents')); ] [refactor renderer header() to separate out adding toc items chris@xxxxxxxxxxxxx**20070206014821 adds a new render method toc_additem($id, $text, $level) This allows toc items to be added separately from the header() function, allowing plugins to generate their own table of content items without having to copy dw core code (which may in the future change). ] [alter search callback to use call_user_func() chris@xxxxxxxxxxxxx**20070206014428] [fix for slashes in phrase search #1066 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070205191848] [Fix userewrite note in htaccess (FS#1013) 'Guy Brand <gb@xxxxxxxxxxxxxxxxx>'**20070128215856] [Encode/Decode numeric HTML entities correctly. Tom N Harris <tnharris@xxxxxxxxxxxxx>**20070202070509 utf8_tohtml handles all codepoints, and the inverse function, utf8_unhtml, is added. ] [Return true/false from all template output functions. Tom N Harris <tnharris@xxxxxxxxxxxxx>**20070202064949 Any tpl_* function that doesn't otherwise return a value will return true if something was printed. ] [Show file name in debug comment when creating new cache. Tom N Harris <tnharris@xxxxxxxxxxxxx>**20070202063800] [Use new index format in bin/indexer.php Tom N Harris <tnharris@xxxxxxxxxxxxx>**20070202063511] [TAG develsnap 2007-02-01 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070201000001] [esperanto update Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070131182641] [fixed test cases for recent renderer to handler function moves Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070128115556] [small fix for metadata rendering if instructions aren't available Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070128113952] [fix FS#1010 chris@xxxxxxxxxxxxx**20070126204145] [added missing with/height attributes to opensearch image tag Michael Klier <chi@xxxxxxxxxxx>**20070124232113] [create an addPluginCall() method for the handler chris@xxxxxxxxxxxxx**20070125144103 refactor plugin() method to use new function this provides an interface for plugins to write their own instructions directly when returning a single instruction is not sufficient and saves plugin authors from hacking the handler's calls stack ] [additional unit tests for email addresses chris@xxxxxxxxxxxxx**20070125143848] [improve and centralise email regexp, fixes FS#1049 chris@xxxxxxxxxxxxx**20070125143421] [GeSHi update to 1.0.7.17 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070124202520] [fixed broken table alignment Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070124201255] [moved interwiki resolve logic to base renderer class Andreas Gohr <gohr@xxxxxxxxxxxx>**20070124111438] [moved simple URL handling from renderer to handler Andreas Gohr <gohr@xxxxxxxxxxxx>**20070124101306] [move title function to base renderer Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070123083854] [Some renderer plugin updates Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070120002731 The namingscheme for renderer plugins now matches the other types, the plugin manager now returns info on renderer plugins, too ] [Renderer now inherits from Doku_Plugin Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070119234945 This makes typical plugin functions available to render plugins. ] [moved plugin base class to inc Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070119233350] [added missing functions to renderer base class Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070115201107] [delete empty dir Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070115192509] [move tar and zip libs to inc Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070115192414 Move the compression libs of the plugin manager toa mre common place to make them available to plugin authors. ] [HTML_LOGINFORM_INJECTION event Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070109213258 Another injection event similar to the existing ones to insert custom HTML into the login form. ] [Check cookie auth data silently Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070109213155] [show lastmod datetime in mediamanager FS#964 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070106125603] [make sure cachekey is a string in auth_nameencode FS#1000 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070106122851] [Galician translation medulio@xxxxxxxxxxxxxxxxxx**20070106112310] [readded two changes from recent rollback Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070106111209] [language updates Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070106111111] [regex_simpler.patch henning.noren@xxxxxxxxx*-20070104194953 Replaces some simple regular expressions with standard (faster) string functions ] [fixed a forgotten space in install.php Samuele Tognini <samuele@xxxxxxxxxxxxxxx>**20070104201822] [faster_indent.patch henning.noren@xxxxxxxxx**20070104195358 Replaces a print-loop with str_repeat concatenated with the final output ] [regex_simpler.patch henning.noren@xxxxxxxxx**20070104194953 Replaces some simple regular expressions with standard (faster) string functions ] [tf_rename_lower.patch henning.noren@xxxxxxxxx**20070103205700 Name the TRUE/FALSE-constants consistently as lowercase everywhere. This might also be an tiny optimization in some environments. ] [check for preg_replace in install.php Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070102204857 to avoid problems like in http://forum.dokuwiki.org/thread/521 ] [TAG develsnap 2007-01-01 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20070101000001] [[config plugin] add support for multi-line setting string values chris@xxxxxxxxxxxxx**20061224005004] [fix for feed whith Apache auth and no ACL #981 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20061213192616] [fix rss refresh to take into account other refresh settings on the same page chris@xxxxxxxxxxxxx**20061212200847] [fix feed links and cache Ben Coburn <btcoburn@xxxxxxxxxxxxx>**20061208065933 Fixed a double escaping error with & when no url rewriting was done. Also made the feeds more responsive to changes in the wiki preferences. ] [make setup error a little more verbose Mike Frysinger <vapier@xxxxxxxxxx>**20061211194244 if a subdir is not setup properly, then init_paths() in inc/init.php will use the pretty name ("datadir" instead of "pages"; "olddir" instead of "attic"). attached patch simply includes the actual directory name in the output so people dont have to look it up in the source code. ] [fix opensearch icon search Mike Frysinger <vapier@xxxxxxxxxx>**20061207165258] [delivering template print CSS was broken Tom N Harris <tnharris@xxxxxxxxxxxxx>**20061206231114] [string for constant fix Ben Coburn <btcoburn@xxxxxxxxxxxxx>**20061207075815] [changelog type strings replaced with constants Ben Coburn <btcoburn@xxxxxxxxxxxxx>**20061207074906 Using more verbose constant names in the place of single character strings should make the code much more readable. This does not change the behavior of the changelog. ] [identify external edits in UI Ben Coburn <btcoburn@xxxxxxxxxxxxx>**20061207032825 Some changes to clearly identify when wiki pages have been edited outside Dokuwiki. Also correctly attributes external changes from an unknown author. Avoids sending extra emails when recording old external edits. Adds a new language string: $lang['external_edit'] = 'external edit'; ] [recache and uncache the last_change from metadata Ben Coburn <btcoburn@xxxxxxxxxxxxx>**20061207011005 The most recent changelog entry is already cached in the metadata as 'last_change' to avoid reading the page changelog on every request. - Recache the last change if it is missing and still valid. This is needed for when the metadata has been rerendered. - Uncaches the last change when it has been invalidated by an external edit. Ensures that external edits are not credited to the wrong author. ] [rerender and save metadata fix Ben Coburn <btcoburn@xxxxxxxxxxxxx>**20061207003216] [allow dynamic e-mail "from" addresses when doing notification Mike Frysinger <vapier@xxxxxxxxxx>**20061205201957 this patch allows you to use @USER@ / @NAME@ / @MAIL@ in the "from" address when sending a mail notification e-mail ] [add some helpful user/group information to ?do=check Mike Frysinger <vapier@xxxxxxxxxx>**20061205201753 this simple patch adds user/group output when viewing a page with ?do=check ... i find it pretty useful when doing dokuwiki updates/installs to make sure my database settings are all OK ] [fix for diff links in feed Andreas Gohr <andi@xxxxxxxxxxxxxx>**20061205200144] [pluggable renderers Andreas Gohr <andi@xxxxxxxxxxxxxx>**20061203190138 Plugins can now provide their own renderer in lib/plugins/<name>/renderer.php The class inside this file needs to inherit from Doku_Renderer and has to be called Doku_Renderer_<name> To access the renderer the export action can be used eg: ?do=export_<name> ] [manager user/group Andreas Gohr <andi@xxxxxxxxxxxxxx>**20061203134104 This patch adds support for a manager option as suggested in //www.freelists.org/archives/dokuwiki/11-2006/msg00314.html ] [minor fixes for W3C CSS validator Andreas Gohr <andi@xxxxxxxxxxxxxx>**20061202185945] [fixed display for file links with empty title #996 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20061202164826] [norwegian language update Andreas Gohr <andi@xxxxxxxxxxxxxx>**20061201210155] [TAG develsnap 2006-12-01 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20061201000001] [special char encoding fix for breadcrumbs #993 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20061130202541] [conflict resolve for RSS title config option Andreas Gohr <andi@xxxxxxxxxxxxxx>**20061127223356] [rss_summary_config Marc Mayfield <celf@xxxxxxxxxx>**20061101023313 Add a configuration option to control whether or not the edit/revision summary is displayed with the title of RSS feeds. The default is to show the summary, the same as DokuWiki did prior to this addition. ] [GeSHi 1.0.7.16 update Andreas Gohr <andi@xxxxxxxxxxxxxx>**20061127222845] [updateAccessKeyTooltip update Ben Coburn <btcoburn@xxxxxxxxxxxxx>**20061126211257 Fix to DOMLib removal patch. All Mac browsers default to CTRL for tooltips except Opera. This includes Mozilla, so test for OS not browser. ] [metadata update to support both persistent and non-persistent metadata chris@xxxxxxxxxxxxx**20061126152144 Key changes: - metadata stored on disk in two arrays, 'current' & 'persistent' - p_set_metadata has an additional parameter, $persistent, which defaults to true - metadata set within the renderer defaults to non-persistent - new event hook, PARSER_METADATA_RENDER, which wraps around metadata rendering process. For full details of this event refer to the event list documentation at splitbrain. The patch includes automatic conversion of metadata in current form to the new format For more details also see //www.freelists.org/archives/dokuwiki/11-2006/msg00221.html and any follow-up messages. ] [catalan language update Andreas Gohr <andi@xxxxxxxxxxxxxx>**20061125161230] [experimental XMLRPC support Andreas Gohr <andi@xxxxxxxxxxxxxx>**20061124232744 This adds experimental XMLRPC support to DokuWiki. A subset of the Wiki XMLRPC API v2 [1] is implemented. You need to remove the die() call in lib/exe/xmlrpc.php to use it. [1] http://www.jspwiki.org/wiki/WikiRPCInterface2 ] [trim pagename returned by ft_pageLookup Andreas Gohr <andi@xxxxxxxxxxxxxx>**20061124215413] [fixed paths in getVersion Andreas Gohr <andi@xxxxxxxxxxxxxx>**20061124202533] [added missing .htaccess to inc directory #989 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20061123152828] [german language fixes Andreas Gohr <andi@xxxxxxxxxxxxxx>**20061122194628] [use generated CSS for RSS feeds Tom N Harris <tnharris@xxxxxxxxxxxxx>**20061115101549 plugins can include styles with feed.css, templates can use the media type feed in style.ini ] [renamed tar and zip libraries in plugin manager #974 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20061118161242 The zip class was renamed to avoid name clashes with a certain PHP extension the tar lib was renamed to make it match the zip naming ;-) ] [don't print messages #980 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20061118160114] [fix for date display when diffing a deleted revision #983 David Lorentsen <zyberdog@xxxxxxxxxxxx>**20061118155255] [hide inline scripts from XML parsers Andreas Gohr <andi@xxxxxxxxxxxxxx>**20061118154333 This patch addes some comment magic to inline scripts to hide them from XML parsers (like the W3C CSS validator). ] [Indexer asian language fixes and speed-ups Tom N Harris <tnharris@xxxxxxxxxxxxx>**20061117123032 Make Chinese and Japanese work better with the new indexer. Some missing punctuation added to utf8_stripspecials. Misc. other changes to make indexing faster. The indexes will expire on backend upgrades, so you don't have to delete *.indexed ] [sitemapper update Andreas Gohr <andi@xxxxxxxxxxxxxx>**20061117150030 The Google sitemap protocol was recently adopted by Yahoo and Microsoft and made a common standard. This patch changes the XML namespace URL to the new sitmaps.org site and ups the version to 0.9 Pinging of Yahoo and Microsoft was added to the existing Google ping. The microsoft ping currently fails with a "Bad format" error for unknown reason. This will hopefully change when either Microsoft fixes their URL or releases some documentation. ] [two more event hooks Andreas Gohr <andi@xxxxxxxxxxxxxx>**20061116212937] [HTML_EDITFORM_INJECTION event added Andreas Gohr <andi@xxxxxxxxxxxxxx>**20061114220825 A simple event to inject additional HTML into the editform. This probably needs to be improved. ] [bracket fix in inc/indexer.php Andreas Gohr <andi@xxxxxxxxxxxxxx>**20061114210440] [obfuscate email address when it is used in mailto links (bug#977) chris@xxxxxxxxxxxxx**20061113124108 This patch applies when no alternate link text is supplied and the actual email address would be used as the link text. ] [fixes for stricter php5 typing (bug#978) chris@xxxxxxxxxxxxx**20061113122645] [Word-Length Indexer TNHarris <telliamed@xxxxxxxxxxx>**20061112194900 A modification to the indexer that sorts words based on length. This should make searching a little bit more efficient. After the patch is applied, your old index will be automatically converted to the new format (when you visit a page). The new index format is: 1. Index files are stored in savedir/index 2. Word lists are stored as wlen.idx. This used to be word.idx. 3. Word indexes are stored as ilen.idx. This used to be index.idx. 4. The page list, page.idx, is simply copied to the new location. Any plugins you have, such as the blog plugin, that read the index files need to be updated. ] [czech stopword update Andreas Gohr <andi@xxxxxxxxxxxxxx>**20061112184437] [dutch language updates Andreas Gohr <andi@xxxxxxxxxxxxxx>**20061112184102] [lv language update Andreas Gohr <andi@xxxxxxxxxxxxxx>**20061112183810] [purge option support for js.php and css.php Andreas Gohr <andi@xxxxxxxxxxxxxx>**20061112143440 adding ?purge=1 to the calls of css.php and js.php will cause a new build without using the cache. As suggested by Gabriel Birke. ] [DOMlib removed Andreas Gohr <andi@xxxxxxxxxxxxxx>**20061110201541 The DOMlib javascript library was removed. It was only used for footnote tooltips and access key fixup. Removing the library creates a much smaller JavaScript footprint. The size of the compacted non-edit Javascript output was reduces from 56110 bytes down to 29296 bytes. The footnote tooltip was completely rewritten and tested in FireFox 2.0, IE 6 and Opera 9.02. Please test other browsers as well. The acces key fixup might beahve different now on Mac platforms. ] [OpenSearch support Andreas Gohr <andi@xxxxxxxxxxxxxx>**20061110151453 This adds support for the OpenSearch specification to autodetect DokuWiki's search engine. The patch was submitted by Mike Frysinger some time ago. Some changes were made to the original patch. Only tested in FireFox 2.0 ] [revert manager GUI updates Andreas Gohr <andi@xxxxxxxxxxxxxx>**20061110134118] [revert plugin added Andreas Gohr <andi@xxxxxxxxxxxxxx>**20061109204743 This plugin allows an admin to mass revert a lot of edits at once. It's in a very rough state and needs to be improved. ] [TAG release 2006-11-06 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20061106193135] [release preparations Andreas Gohr <andi@xxxxxxxxxxxxxx>**20061106192948] [language updates Andreas Gohr <andi@xxxxxxxxxxxxxx>**20061106175239] [russian translation (i_phpver) Denis Simakov <akinoame1@xxxxxxxxx>**20061105230459] [fr lang sync Guy Brand gb@xxxxxxxxxxxxxxxxx**20061105215024] [Spanish i_phpver translation miguel.pagano@xxxxxxxxx**20061105212008] [PHP version check in the installer Andreas Gohr <andi@xxxxxxxxxxxxxx>**20061105204420] [backlinks fixes (bugs #795 & #937) chris@xxxxxxxxxxxxx**20061105195453 - add deaccented and romanised page names to index word list - remove stop words from tokens used in backlink search ] [use encodeURIComponent instead of encodeURI for variable values chris@xxxxxxxxxxxxx**20061105135805] [fix email setting pattern for config plugin chris@xxxxxxxxxxxxx**20061104213543 in addition to a single valid email it will now accept: - no email - multiple comma separate email addresses ] [add standard username cleaning to resend password (fixes bug#961) chris@xxxxxxxxxxxxx**20061104174349] [no forcing of ASCII in section IDs for metadata (#882) chris@xxxxxxxxxxxxx**20061104153643] [fix xhtml_links test case chris@xxxxxxxxxxxxx**20061104142639] [don't allow commas in full name registration FS#960 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20061103160700] [don't show .txt files as medianamespaces #963 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20061103150850] [russian update Denis Simakov <akinoame1@xxxxxxxxx>**20061102000617] [accessible colors for admin form elements Anika Henke <a.c.henke@xxxxxxxx>**20061101221737] [disable search form if search action is disabled, bug#955 chris@xxxxxxxxxxxxx**20061101171656] [Lithuanian language update Andreas Gohr <andi@xxxxxxxxxxxxxx>**20061101162618] [$REV checking now works correctly with synced attic Ben Coburn <btcoburn@xxxxxxxxxxxxx>**20061031224158] [disable HTML upload by default Andreas Gohr <andi@xxxxxxxxxxxxxx>**20061101161813 Spammers use unprotected wikis to upload spammy HTML pages. This disables HTML upload by default ] [fix for cookie handling problem in HTTPClient and PHP5 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20061101161558] [TAG develsnap 2006-11-01 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20061101000001] [Hebrew language updates Andreas Gohr <andi@xxxxxxxxxxxxxx>**20061031211100] [Spanish translations miguel.pagano@xxxxxxxxx**20061030194506 Added recent_days to lib/plugins/config/lang/es/lang.php ] [make importoldchangelog plugin more user friendly Ben Coburn <btcoburn@xxxxxxxxxxxxx>**20061030023710 The plugin places all the changelog lines into the recent changes cache. Truncating this cache is left to the code that normally trims the recent changes cache. $conf['recent_days'] defines the maximum age of changes to be considered "recent". If no changes are "recent" the changelog cache trimmer will leave some stale changes in the cache to avoid emptying it completely. ] [fixed parse error in spanish lang file Andreas Gohr <andi@xxxxxxxxxxxxxx>**20061030185024] [spanish translations miguel.pagano@xxxxxxxxx**20061030151008] [Hebrew language update Andreas Gohr <andi@xxxxxxxxxxxxxx>**20061030184642] [do not transliterate cyrillic soft sign #958 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20061028113426] [fix conflicting edit cancel button Ben Coburn <btcoburn@xxxxxxxxxxxxx>**20061027185046] [fix Old Revisions more and less buttons Ben Coburn <btcoburn@xxxxxxxxxxxxx>**20061027174549] [synchronize changelog, attic, and external edits - update 1 Ben Coburn <btcoburn@xxxxxxxxxxxxx>**20061027000043 Removed a minor error that could be caused by a page back-dated into the past. Also, added some more code comments. ] [synchronize changelog, attic, and external edits Ben Coburn <btcoburn@xxxxxxxxxxxxx>**20061023052133 The changelog list and the attic now are kept in sync. This allows a changelog entry to be automatically constructed for a page that was manually edited from outside dokuwiki. ] [fix bug#956 (also sp. in pluginutils) chris@xxxxxxxxxxxxx**20061027004117] [plugin manager updates chris@xxxxxxxxxxxxx**20061027013208 - add $conf['fmode'] support, fixes bug #939 - fix problem with plugin list not being updated after download ] [code highlighting fragment cache update chris@xxxxxxxxxxxxx**20061027015051 expire the cache if GeSHi (inc/geshi.php) has been updated since cache creation ] [Traditional Chinese update Andreas Gohr <andi@xxxxxxxxxxxxxx>**20061026205002] [GeSHi 1.0.7.15 update Andreas Gohr <andi@xxxxxxxxxxxxxx>**20061026203942] [ignore line endings when checking the config file hash for the installer Andreas Gohr <andi@xxxxxxxxxxxxxx>**20061023192008] [parse changelog date as int Ben Coburn <btcoburn@xxxxxxxxxxxxx>**20061023051106] [do not auto escape the body of meta headers Andreas Gohr <andi@xxxxxxxxxxxxxx>**20061022134224] [used named submitbuttons instead of localized labels Andreas Gohr <andi@xxxxxxxxxxxxxx>**20061020164148] [fix for post support in HTTPClient Andreas Gohr <andi@xxxxxxxxxxxxxx>**20061020163625] [TAG release candidate 2006-10-19 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20061019165908] [release preparations Andreas Gohr <andi@xxxxxxxxxxxxxx>**20061019165805] [fix diff view for new pages Andreas Gohr <andi@xxxxxxxxxxxxxx>**20061019104917] [fix for actionlink back #914 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20061019103310] [language updates Andreas Gohr <andi@xxxxxxxxxxxxxx>**20061019101317] [French localization update 'Guy Brand <gb@xxxxxxxxxxxxxxxxx>'**20061019083731] [unlock files if write failed Andreas Gohr <andi@xxxxxxxxxxxxxx>**20061018181931] [fix getRecents for multiple edits per second Andreas Gohr <andi@xxxxxxxxxxxxxx>**20061018181837 This fixes the getRecent function when multiple edits occured during the same second. ] [better check for images in fetch.php Andreas Gohr <andi@xxxxxxxxxxxxxx>**20061018124942 This patch is an enhancement to yesterday's changes. The ability to download external content could be used for XSS attacks, when faking the sent MIME type. This patch adds a check on the received data for valid images. ] [restrict fetch.php's download abilities Andreas Gohr <andi@xxxxxxxxxxxxxx>**20061017175329 This patch changes fetch.php ability to download external files. It now checks for the returned MIME type and will only download images. For all other MIME types a redirect is sent back to the browser. This reduces the risc of being misused as open proxy. Additionally the download facility is disabled completly by default by setting the fetchsize option to 0. Users who want the feature need to overwrite the option in their local.php. Background: The ability to download external files is needed to resize external images on the server side. When disabled, a redirect is sent to the browser which will download the fullsize image and rescale it on the client side which is more bandwidth and CPU intensive. ] [read old revisons from the attic additionally to the changelog infos Andreas Gohr <andi@xxxxxxxxxxxxxx>**20061017091036] [russian update Denis Simakov <akinoame1@xxxxxxxxx>**20061009103112] [docs update for tpl_button and tpl_actionlink Denis Simakov <akinoame1@xxxxxxxxx>**20061011141043] [a bit of strictness for mediamgr + login form Anika Henke <a.c.henke@xxxxxxxx>**20061015222040] [typo in do=check Anika Henke <a.c.henke@xxxxxxxx>**20061015222615] [multiple language updates Andreas Gohr <andi@xxxxxxxxxxxxxx>**20061013113521] [IT-20060829-patch polinnia@xxxxxx**20060829170241 - translated new strings in registermail.txt, config e usermanager plugins - fixed changed parameter in config plugin ] [fix user group name in install.php Andreas Gohr <andi@xxxxxxxxxxxxxx>**20061010111646] [lower chunksize in wordblock #938 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20061009165557 There were recent reports of exceeded patternsize in the wordblock function when used with PHP5 ] [TAG release candidate 2006-10-08 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20061008103720] [release candidate preparation Andreas Gohr <andi@xxxxxxxxxxxxxx>**20061008103152] [strip controlchars in fetch.php #935 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20061008100523 Fixes a header injection/XSS vulnerability ] [remove unused code Andreas Gohr <andi@xxxxxxxxxxxxxx>**20061008090624 This patch removes some commented code fragments and alternative snippet generators ] [fixed images in email links Andreas Gohr <andi@xxxxxxxxxxxxxx>**20061008074029] [update p_get/set_metadata to use $INFO['meta'] chris@xxxxxxxxxxxxx**20061004210030 This patch updates p_get_metadata() to utilise the in memory copy copy of the current page's metadata ($INFO['meta']) when appropriate. The patch also updates p_set_metadata() to synchronise any changes to the current page's metadata with $INFO['meta']. $INFO hash is updated with two new elements: 'id' => the current page id 'rev' => the current page rev This isn't redundant (nominally $ID and $REV also hold this information), as some functions (e.g. p_wiki_xhtml) temporarily alter these values (should this behaviour be changed?) Note: I analysed normal DokuWiki behaviour and found that metadata for any given page was only accessed once, making a general metadata cache unnecessary. ] [added draft-feature to tpl_actionlink Michael Klier <chi@xxxxxxxxxxx>**20061006113409] [update config settings for dmode & fmode chris@xxxxxxxxxxxxx**20061005223141 - change validation pattern to allow 3 or 4 octal digits and hence setting of SUID, SGID and sticky bit on systems which support them ] [better datachecking in install.php Andreas Gohr <andi@xxxxxxxxxxxxxx>**20061004183516 This patch automatically lowercases the superuser name like DokuWiki will do itself later on. It also fixes the email check and requires it to have at least an @ character. ] [always bind as superuser for getting userinfo (LDAP) #751 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20061003153018 Rebind as superuser even on a previous successful bind as normal user, when superuser credentials are available. LDAP access restrictions may need it. ] [use DOKU_URL as key for sessions and auth cookie #896 #581 #884 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20061003121546 This patch changes the DOKU_COOKIE define to be based on the DOKU_URL define. DOKU_COOKIE is now used as session key as well, making sessions no longer dependend on the title option. This should fix problems with multiple wikis on the same host (using the same title) and wikis accessed through different URLs. ] [force rebind after opening new LDAP connection #751 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20061003104320 This patch sets the private bound variable back to false if a new connection is opened. ] [add comment to tpl_indexerWebBug() call in default template main.php chris@xxxxxxxxxxxxx**20061002203925] [TAG develsnap 2006-10-01 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20060930230001] [install.php updates chris@xxxxxxxxxxxxx**20060930170121 - add retry button (as suggested by Diego Georgini) - correct error color, from green to red (spotted by Diego Georgini) - add utf8_decode and utf8_encode to required function list, when mb_string functions are not available. - remove extra backslash from reported file names. ] [fix rel=start header Ben Coburn <btcoburn@xxxxxxxxxxxxx>**20060930143719] [TAG release candidate 2006-09-28 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20060928200926] [release candidate preparations Andreas Gohr <andi@xxxxxxxxxxxxxx>**20060928200451 updated wwordblock.conf updated installer checksum increased msg num ] [more utf8_substr improvements (re FS#891 and yesterday's patch) chris@xxxxxxxxxxxxx**20060928165122 - rework utf8_substr() NOMBSTRING code to always use pcre - remove work around for utf8_substr() and large strings from ft_snippet() ] [unit_test fixes/changes chris@xxxxxxxxxxxxx**20060927101118 - auth_nameencode.test, add teardown code to clear new $cache_authname memory cache - utf8_substr.test, correct expected result for last test ] [Fix link in french translation 'Guy Brand <gb@xxxxxxxxxxxxxxxxx>'**20060927091545] [utf8_substr fix for FS#891 chris@xxxxxxxxxxxxx**20060927033713 ] [security fixes for fetch.php #924 #962 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20060926200551 Fixes a shell injection and a DOS vulnerability ] [wordblock enhancement Andreas Gohr <andi@xxxxxxxxxxxxxx>**20060926192420 The default wordblock.conf provided by the guys at chonqed.org matches agaist URLS beginning with http. But DokuWiki also links simple www.example.com links. Spammers used this method to place blacklisted URLs in the Wiki. This patch constructs full URLs from these shortcut-URLs before applying the blacklist regexp. The patch also fixes a problem with the toolbar not appearing when the blacklist hit and denied saving. ] [amendments to previous patch updating rss & cache chris@xxxxxxxxxxxxx**20060925201222 rss syntax extended to include a refresh parameter <digits><period> period can be d,h,m for days, hours, minutes respectively if not specified will default to 4 hours dokuwiki imposes a minimum of 10 minutes metadata now used "date valid age" (seconds) rather than "date valid end" ] [cache, metadata & purgefile updates chris@xxxxxxxxxxxxx**20060924202157 Cache - add dependency for metadata renderer file - check metadata for end of page life, "date valid end". Metadata Renderer - RSS syntax mode now sets rendered page expiry, "date valid end" and includes the feed URL in "relation haspart". Purgefile For all wiki installations the purgefile records the earliest time before which no cache purge (based on data consistency) is required. Cache files older than this time MAY need to be purged. - remove purgeonadd configuration setting ] [remove metadebug again, improve do=debug instead Andreas Gohr <andi@xxxxxxxxxxxxxx>**20060925201052 This adds the complete $INFO array (contains the metadata) to the usual debug output and removes the metadebug parameter again. ] [metadebug parameter added Andreas Gohr <andi@xxxxxxxxxxxxxx>**20060925193202 With DokuWiki's reliance on certain page metadata, it is sometimes necessary to view the metadata of a page. This patch allows developers to append the parameter ?metadebug=1 to the URL to get a dump of the metadata array. This only available when the allowdebug option is enabled. ] [don't link non-existing revisions Andreas Gohr <andi@xxxxxxxxxxxxxx>**20060925185434 The new changelog mechanism shows all revisions of a document, even if the old revisions are deleted (eg. by a maintenence script). This patch removes the links for non existing revisions. ] [japanes language update Andreas Gohr <andi@xxxxxxxxxxxxxx>**20060925182128] [fix problem with timezone in feed #424 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20060924195618] [fixed script error introduced in last patch Andreas Gohr <andi@xxxxxxxxxxxxxx>**20060924175824] [doc updates Andreas Gohr <andi@xxxxxxxxxxxxxx>**20060924171423] [progressbar script change Andreas Gohr <andi@xxxxxxxxxxxxxx>**20060924170354 The progressbar script used in the search accessed parts of the DOM before it was completely parsed which caused problems in IE. This patch moves back to document.write for outputting the image. ] [update to previous changes cache patch chris@xxxxxxxxxxxxx**20060924162105 - fix potential array key collisions - restore ability to keep a minimum number ($conf['recent']) of recent changes irregardless of date of change ] [fix for reversed RSS feeds #918 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20060924101329] [fix for sitemap creation with new compression option #919 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20060924100606] [fix recent changes cache ordering chris@xxxxxxxxxxxxx**20060923235109 This patch fixes a bug in indexer.php which resulted in the order of the recent changes cache being reversed each time it was trimmed. It also adds sorting to both getRecents() and runTrimRecentChanges() as a defensive measure against the order of the file being corrupted. ] [p_get_first_heading simplification chris@xxxxxxxxxxxxx**20060923204905] [minor bugfix and boring error removal chris@xxxxxxxxxxxxx**20060923203609] [add authname memory cache chris@xxxxxxxxxxxxx**20060923161206 actions which concern multiple pages (e.g. search, backlinks, recents) end up repeatedly encoding the current user's name and groups. This change caches the results of the encoding allowing them to be reused. ] [utf8_stripspecials optimization chris@xxxxxxxxxxxxx**20060923151937 Add preconverted utf-8 string of special characters. The (once only) conversion of the special character unicode array into utf-8 occurs on every DokuWiki page view, irrespective of action or caching, and takes about one third of the time involved in delivering a wiki page straight from cache. The original unicode array has been left in place in the file to make any future amendments easier. ] [fixed md5 sum for installer Andreas Gohr <andi@xxxxxxxxxxxxxx>**20060923110047] [corrected typo Tom Hoover <tom@xxxxxxxxxxx>**20060923034943] [GeSHi upgrade to 1.0.7.14 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20060923105545] [croatian language files Andreas Gohr <andi@xxxxxxxxxxxxxx>**20060921175655] [Store cache hits only while debugging Ben Coburn <btcoburn@xxxxxxxxxxxxx>**20060917230403 Reduce overhead by only storing cache hit stats while the allowdebug option is enabled. ] [parser update, add 'rss' to block mode lists, see FS#888. chris@xxxxxxxxxxxxx**20060917211445] [cache.php fixes chris@xxxxxxxxxxxxx**20060917193934 - add code to ensure page metadata is refreshed along with cache - bug fix for missing global $conf ] [disable debugging by default Andreas Gohr <andi@xxxxxxxxxxxxxx>**20060917183150] [install script update II chris@xxxxxxxxxxxxx**20060917154659 - alter acl configuration to use @admin group as superuser ] [install script update I chris@xxxxxxxxxxxxx**20060917154208 - update hash for devel dokuwiki.php - remove changes.log creation, its no longer required - add allowdebug=0 setting ] [infoutils update chris@xxxxxxxxxxxxx**20060917153009 minor modifications to avoid php warnings if msg file is missing. ] [update for updatecheck function Andreas Gohr <andi@xxxxxxxxxxxxxx>**20060917145025 Messages are now displayed to all users if ACL is not enabled. The update-URL changed to http://update.dokuwiki.org/check/ ] [no gzipping in indexer.php Andreas Gohr <andi@xxxxxxxxxxxxxx>**20060917140718] [Update french translation 'Guy Brand <gb@xxxxxxxxxxxxxxxxx>'**20060917075103] [event names renamed Andreas Gohr <andi@xxxxxxxxxxxxxx>**20060917103450 HTML_EDIT_PAGETEMPLATE becomes HTML_PAGE_FROMTEMPLATE TPL_METAHEADER_PRINT becomes TPL_METAHEADER_OUTPUT ] [updatecheck feature Andreas Gohr <andi@xxxxxxxxxxxxxx>**20060916210229 This patch adds a feature to let DokuWiki automatically check if updates are available or any other important messages (like security warnings) and then display this info to the admin user. DokuWiki will contact the URL http://www.splitbrain.org/lib/exe/msg.php with a parameter telling it which messages it already know (read from conf/msg) - the server side script then will return all new messages. The messages will be displayed until DokuWiki was upgraded or conf/msg was updated manually. Messages are cached and only checked once a day. The messenger URL will probably change before the next release. ] [cleanID on passforgot action #861 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20060916194626] [minor update to cache.php chris@xxxxxxxxxxxxx**20060915144735 this update changes the processing sequence slightly to make the cache item's dependencies ($this->depends) available before _useCache is called. ie. the dependencies will be available to and modifiable by handlers of the PARSER_USE_CACHE event. ] [better getVersion when working on a darcs tree Andreas Gohr <andi@xxxxxxxxxxxxxx>**20060916182955 getVersion tries to find the date of the latest applied patch from _darcs/inventory - this patch makes it only read the last 2000 byte of the file instead of loading the whole file. ] [TPL_METAHEADER_PRINT event hook added Andreas Gohr <andi@xxxxxxxxxxxxxx>**20060916154722 This patch changes the tpl_metaheaders function to emit an event to intercept the creation of HTML metadata. The usually generated meta headers are passed in an array structure for easy modification and enhancement. ] [permission setting in io_rename fixed #912 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20060916145350] [japanese language update Andreas Gohr <andi@xxxxxxxxxxxxxx>**20060916145219] [fix for previous pagetemplate event patch Andreas Gohr <andi@xxxxxxxxxxxxxx>**20060916000515 Sorry, did mess up in testing the last patch. ] [HTML_EDIT_PAGETEMPLATE event added Andreas Gohr <andi@xxxxxxxxxxxxxx>**20060915202321] [script fix for IE Andreas Gohr <andi@xxxxxxxxxxxxxx>**20060915150152] [TAG develsnap 2006-09-13 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20060913191619] [fix for missing quotation mark in tpl_metaheaders Andreas Gohr <andi@xxxxxxxxxxxxxx>**20060913185921] [slovak language update Ondrej vegh <ovegh@xxxxxxxxx>**20060913185616] [reorganize changelog code Ben Coburn <btcoburn@xxxxxxxxxxxxx>**20060911023822 Moves changelog code to 'inc/changelog.php' and includes it from 'inc/common.php'. ] [changelog redesign update Ben Coburn <btcoburn@xxxxxxxxxxxxx>**20060911014738 - Improves handling of deleted revisions. - Import plugin disables after import. - Check act reports if plugin is still enabled after the import. - Import correctly handles summaries without the minor prefix. - Newlines and tabs are now striped out of type, sum, and extra in the changelog. ] [suppress boring errors Ben Coburn <btcoburn@xxxxxxxxxxxxx>**20060908193433 Suppress any errors from set_time_limit, unlink, and file_exists functions. see: //www.freelists.org/archives/dokuwiki/09-2006/msg00004.html ] [parser caching update chris@xxxxxxxxxxxxx**20060911021418 This patch primarily updates p_cached_xhtml() and p_cached_instructions() to allow their caching logic to be surrounded by an event trigger. p_cached_xhtml() has been rewritten as the more general p_cached_output() to support other render output formats besides 'xhtml'. All calls to p_cached_xhtml() have been changed to refer to the new function. New event: name: PARSER_CACHE_USE data: cache object (see below) action: determine if cache file can be used preventable: yes result: bool, true to use cache file, false otherwise Cache operations have been generalised in a new class, cache, extended to cache_parser, cache_renderer & cache_instructions. Details can be found in inc/cache.php For handling of above event, key properties are: - page, if present the wiki page id, may not always be present, e.g. when called for locale xhtml files - file, source file - mode, renderer mode (e.g. 'xhtml') or 'i' for instructions Other changes: - cache class counts cache hits against attempts, results are stored in {cache_dir}/cache_stats.txt - adds metadata dependency to renderer page cache - replaces purgefile dependency for renderer cache with metadata 'relation references' (internal link) dependency for wiki pages only ] [minor update to default template chris@xxxxxxxxxxxxx**20060909093603 - main.php & detail.php add check for being run by DokuWiki, die() if not. ] [add sapi check to scripts in bin directory chris@xxxxxxxxxxxxx**20060909093314] [clientIP() update + additional unit test chris@xxxxxxxxxxxxx**20060908124315] [clientIP() update, data cleaning improvements chris@xxxxxxxxxxxxx**20060908122744 as per recent security warning, clientIP() could return other arbitrary data along with an IP address. This fix ensures only IP addresses can be returned by this function. ] [.htaccess added to bin directory Andreas Gohr <andi@xxxxxxxxxxxxxx>**20060908071356] [change non-breaking space encoding to utf-8 chris@xxxxxxxxxxxxx**20060906191207] [move AUTH defines higher up Andreas Gohr <andi@xxxxxxxxxxxxxx>**20060906184814 This moves the defines for the different AUTH levels higher up in inc/auth.php to set them before including any auth modules. This fixes a problem with the phpBB auth module posted at http://wiki.splitbrain.org/wiki:tips:integrate_with_phpbb#another_phpbb.class.php ] [another update for the IE+HTTPS init event problem Andreas Gohr <andi@xxxxxxxxxxxxxx>**20060904182033] [removed superfluous <br /> after inline tables Anika Henke <a.c.henke@xxxxxxxx>**20060903193759] [https fix for window.onload Andreas Gohr <andi@xxxxxxxxxxxxxx>**20060903162438 This should fix an issue with IE6 and https where the window.onload magic would raise a security warning. See http://dean.edwards.name/weblog/2006/06/again/#comment5776 http://dean.edwards.name/weblog/2006/06/again/#comment5788 needs testing ] [keyword meta header Andreas Gohr <andi@xxxxxxxxxxxxxx>**20060903161204 The <meta name="keywords"> header is now set using either the namespace hierarchy or the metadata saved by the blog plugins tagging component. ] [other languages for FS#876 (only languages are missing that miss registermail anyway) Anika Henke <a.c.henke@xxxxxxxx>**20060903101323] [german language update Andreas Gohr <andi@xxxxxxxxxxxxxx>**20060903081832] [update backlink search to use metadata chris@xxxxxxxxxxxxx**20060901002016] [add unittests for bug#891 chris@xxxxxxxxxxxxx**20060831092146] [search improvements chris@xxxxxxxxxxxxx**20060831003413 ft_snippet() - make utf8 algorithm default - add workaround for utf8_substr() limitations, bug #891 - fix some indexes which missed out on conversion to utf8 character counts - minor improvements idx_lookup() - minor changes to wildcard matching code to improve performance (changes based on profiling results) utf8 - specifically set mb_internal_coding to utf-8 when mb_string functions will be used. ] [conflict resolution for memory cache init Andreas Gohr <andi@xxxxxxxxxxxxxx>**20060830210459] [scalable changelog redesign Ben Coburn <btcoburn@xxxxxxxxxxxxx>**20060830182753 This patch provides a rewritten changelog system that is designed to run efficiently on both small and large wikis. The patch includes a plugin to convert changelogs from the current format. The conversion is non-destructive and happens automatically. For more information on the new changelog format see "http://wiki.splitbrain.org/wiki:changelog";. Structure In short the changelog is now stored in per-page changelog files, with a recent changes cache. The recent changes cache is kept in "/data/meta/_dokuwiki.changes" and trimmed daily. The per-page changelogs are kept in "/data/meta/<ns>/<page_id>.changes" files. To preserve revision information for revisions stored in the attic, the "*.changes" files are not removed when their page is deleted. This allows the full life-cycle of page creation, deletion, and reversion to be tracked. Format The changelog line format now uses a general "line type" field in place of the special "minor" change syntax. There is also an extra field that can be used to store arbitrary data associated with special line types. The reverted line type (R) is a good example. There the extra field holds the revision date used as the source for reverting the page. See the wiki for the complete syntax description. Code Notes The changelog functions have been rewritten to load the whole file only if it is small. For larger files, the function loads only the relevant chunk(s). Parsed changelog lines are cached in memory to speed future function calls. getRevisionInfo A binary search is used to locate the chunk expected to contain the requested revision. The whole chunk is parsed, and adjacent lines are optimistically cached to speed consecutive calls. getRevisions Reads the changelog file backwards (newest first) in chunks until the requested number of lines have been read. Parsed changelog lines are cached for subsequent calls to getRevisionInfo. Because revisions are read from the changelog they are no longer guaranteed to exist in the attic. (Note: Even with lines of arbitrary length getRevisionInfo and getRevisions never split changelog lines while reading. This is done by sliding the "file pointer" forward to the end of a line after each blind seek.) isMinor Removed. To detect a minor edit check the type as follows: $parsed_logline['type']==='e'; (The old method signature is incompatible with the new changelog format that stores an explicit logline type.) parseChangelogLine Added. Parses a line in the new changelog format into an associative array. See the wiki for changelog syntax details. array_dichotomic_search and hasTimeStamp Removed because the new changelog system does not require them. saveMetadata Refactored and removed. This code was rolled into addLogEntry because the meta data now caches the current log line, and because it was only being called from saveWikiText (which calls addLogEntry). html_revisions Now paginates revisions with the same "page size" as recent changes. INFO (global var) The page metadata is now stored in the $INFO global as $INFO['meta']. The parsed changelog line for the current page revision is stored in the metadata as 'last_change', so to get the current revision use $INFO['meta']['last_change']. runTrimRecentChanges Used in the indexer to limit the size of the recent changes changelog cache. The cache is trimmed to the latest $conf['changes_days'] days, or one "page" of changes on inactive wikis. The 'changes_days' setting is a new configuration parameter added for this purpose. It takes an integer value of days because the changelog cache is trimmed (at most) once every 24 hours. This function also triggers a private action event to import the old changelog as needed. importoldchangelog (plugin) Used to import and convert the old changelog. Per-page changelog files are created for all page-ids in the changelog. Recent changes are added to the recent changes cache. The changelog importer also reconstructs changelog information for revisions in the attic that are missing changelog lines. These reconstructed changes use the default "reverted" summary string surrounded with parentheses as their summary. For example "(old revision restored)". Changes reconstructed from the attic will also be missing the author's IP address, user name, and summary which were lost with the missing changelog line. The importoldchangelog plugin will run automatically without any need for user intervention. (Note: Very large wikis running on servers with php in "safe mode" may run out of time because the execution time limit can not be increased by the code.) do=check (dokuwiki act) The "check" action will now report if an old changelog exists and is being or has been imported. If the import ran out of time, "check" should issue a warning that the import did not finish. To try the import again remove the "/data/meta/_dokuwiki.changes" and "/data/meta/_dokuwiki.changes_*" files. (It is also possible to do the import on another server that is not in "safe mode" and copy the "/data/meta" directory to the "safe mode" server.) NOTE TO WIKI USERS: Do not delete the "/data/meta" directory. It now contains changelog information that can not be regenerated from the other wiki data. ] [further update to global memory cache arrays chris@xxxxxxxxxxxxx**20060829134806 - remove initialisation of caches in inc/pageutils.php - add global declaration to init.php to support init.php being included from within a function, e.g. unit testing ;-) - minor change to utf8_substr, remove non-essential brackets added as part of an earlier patch ] [bug #876, additional data for new user notification email chris@xxxxxxxxxxxxx**20060822072444 This patch updates only the english version of the localised "registermail.txt" file. Other versions need to be updated also. ] [GeSHi update to 1.0.7.13 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20060828190614] [init global memory cache arrays Ben Coburn <btcoburn@xxxxxxxxxxxxx>**20060828071205 Update to 'add function result caching for cleanID and wikiFN'. Makes certain that arrays exist for the caches, without checking on each function call. Properly create multidimensional arrays in wikiFN(). ] [utf8_substr() fix, it wasn't using mb_substr results when available chris@xxxxxxxxxxxxx**20060828092029] [update cleanID and wikiFN result caches to support unit testing chris@xxxxxxxxxxxxx**20060827183327 - move caches into global scope (they were static in function scope) - add teardown() method to clean_id unit test - to clear its cache ] [add function result caching for cleanID and wikiFN chris@xxxxxxxxxxxxx**20060827153352] [utf8_correctIdx bounds checking and more unittests chris@xxxxxxxxxxxxx**20060827153254] [ft_snippet() update chris@xxxxxxxxxxxxx**20060826234333 - correct "opt1" algorithm for multibyte utf8 - minor improvement to "opt2" for short pages - add "utf8" algorithm, this algorithm endeavours to work with whole utf8 character as much as possible. The resulting snippet will tend to 100 characters, rather than the 100 bytes of "opt1" and "opt2". ] [strip tags from title #883 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20060826180943 This patch no longer uses htmlspecialchars on $conf['title'] when used in the page title - instead strip_tags is applied. This streamlines the use of $conf['title'] ] [ft_snippet() update, fix utf8 problems chris@xxxxxxxxxxxxx**20060826095311] [code to remove bad UTF-8 bytes added Andreas Gohr <andi@xxxxxxxxxxxxxx>**20060826082919 This adds code to remove or replace invalid UTF-8 bytes and uses it in the ft_snippets function. ] [update config plugin chris@xxxxxxxxxxxxx**20060825223047 - add $conf['compression'] meta data and en lang strings - remove $conf['usegzip'] meta data and en lang strings Other language strings will need to be updated. ] [typo fix for compression check Andreas Gohr <andi@xxxxxxxxxxxxxx>**20060825174755] [no forcing of ASCII in section IDs Andreas Gohr <andi@xxxxxxxxxxxxxx>**20060825173653 XHTML allows non-ASCII chars in ids and names, so there is no need to forcibly romanize section header ids ] [update wikiFN with third paramter, $clean chris@xxxxxxxxxxxxx**20060825144112 value defaults to true patch also includes an update to idx_parseIndexLine to make use of the new parameter - the index file (if built by DokuWiki's methods) will contain already "clean" IDs. ] [compression fallback Andreas Gohr <andi@xxxxxxxxxxxxxx>**20060825144739 This updates the availability check of the choosen compression method. If bzip2 is configured but not available it falls back to gzip if available. ] [Added bz2 compression support for Attic marcel@xxxxxxxxxxxxxxxxxxxx**20060823211149] [update to previous ft_snippet() patch, improve snippet text selection chris@xxxxxxxxxxxxx**20060825134730] [ft_snippet optimisations chris@xxxxxxxxxxxxx**20060825104046 This patch includes two alternative algorithms for ft_snippet(), the code which prepares the snippets seen on the search page - and the most time consuming part of the production of that page. If you have $conf['allowdebug'] on, you can specify the search algorithm to use by adding &_search=<algorithm> to the search page url. Possible values are: orig : current dokuwiki algorithm opt1 : first cut at improvement, reasonably similar to orig opt2 : more optimisation, more different from orig process ] [finnish translation of install.php (thanks Roope Järvinen) chris@xxxxxxxxxxxxx**20060823225137] [user manager update chris@xxxxxxxxxxxxx**20060823115626 - add capability to send notification emails to users on creation and password modification (bug#640) - add success and fail messages for new user addition - fix bug when modification of username wasn't allowed, 'Edit user' fields weren't populated - fix (php5 only?) bug where default group wasn't given to a new user if no groups were specified - added explanatory notes concerning default group and password notification emails This patch adds several new strings to the plugin's lang.php ] [minor en lang string fix chris@xxxxxxxxxxxxx**20060823115006] [Estonian language update Andreas Gohr <andi@xxxxxxxxxxxxxx>**20060818143213] [slovak language update Andreas Gohr <andi@xxxxxxxxxxxxxx>**20060818142400] [typo fixes in german language #878 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20060811090311] [Add AJAX_CALL_UNKNOWN event Ben Coburn <btcoburn@xxxxxxxxxxxxx>**20060809194501 Allows action plugins to support custom ajax calls. The event data is the call name from $_POST['call']. When handling a custom ajax call, remember to use $event->preventDefault(); to avoid having the 'AJAX call <call> unknown!' message appended to the output. ] [more unit test fixes chris@xxxxxxxxxxxxx**20060809192115 - move parser.test.php => parser.inc.php. The file no longer holds any tests and its naming style was confusing simpletest, leading to multiple inclusion errors - explicitly declare $conf as a global in auth.php to overcome issue when auth.php is included from within a function during unit testing - replace static declaration in earlier footnote fix with a private property on the handler class to overcome preservation of static variable values across object destruction and recreation, particularly during unit testing. - comment out notoc test (parser_headers.test.php), if still valid, the test needs to be reworked to match current parser/handler behaviour. ] [cleanID unit tests chris@xxxxxxxxxxxxx**20060809160209 + fix missing utf8 deaccent character mapping + set utf-8 charset for HTMLReporter (unit tests) ] [update footnote unittests chris@xxxxxxxxxxxxx**20060809155755] [fix for footnote nesting chris@xxxxxxxxxxxxx**20060809155417] [plugin manager update - another fix for php5 chris@xxxxxxxxxxxxx**20060808131143] [make image details indexable Andreas Gohr <andi@xxxxxxxxxxxxxx>**20060807205738] [japanese language update Andreas Gohr <andi@xxxxxxxxxxxxxx>**20060807200813] [plugin manager update chris@xxxxxxxxxxxxx**20060807132242 fix ordering of plugins for php5 ] [GeSHi fixes Andreas Gohr <andi@xxxxxxxxxxxxxx>**20060806204258 This fixes a bug in GeSHi which adds an addtional newline (patch sent to upstream) and makes sure the code highlighting cache honors the purge request variable. ] [few minor fixes in wiki:syntax Anika Henke <a.c.henke@xxxxxxxx>**20060806175611] [various language fixes Andreas Gohr <andi@xxxxxxxxxxxxxx>**20060806143836 This patch makes sure all languages files have UNIX style line endings and use correct UTF-8 encoding ] [IT-20060806-patch polinnia@xxxxxx**20060806102829 fixed type mismatch ] [IT-20060806-patch polinnia@xxxxxx**20060806094947 completed IT translation for new release of Dokuwiki ] [semantic css placeholders - part 2 Anika Henke <a.c.henke@xxxxxxxx>**20060805150015] [semantic css placeholders - part 1 Anika Henke <a.c.henke@xxxxxxxx>**20060805141743] [fixed auth problem introduced in last unittest fix Andreas Gohr <andi@xxxxxxxxxxxxxx>**20060805163147] [more unittest updates chris@xxxxxxxxxxxxx**20060805082442] [fix for bug #701, lists in footnotes in lists chris@xxxxxxxxxxxxx**20060804220100 added Doku_Handler_Nest class & "nest" render instruction These allows render instructions to be nested within the "nest" render instruction, isolating them from the outer list of render instructions. Not being able to do this is a particular problem for the current Doku_Handler_* classes as they process the list of intructions generated during their life without any recognition that some of the instructions may not belong to them being nested within another syntax mode. This also makes it easier for plugins to generate cacheable nested instructions rather than using the expensive p_render() function which has to create a new renderer. ] [unittest fixes chris@xxxxxxxxxxxxx**20060804142243] [fix for E_NOTICE in _test/lib/testmanager.php chris@xxxxxxxxxxxxx**20060804000126 (possibly due to more stringent checking in PHP5 ???) ] [fix for php5's more stringent type checking in foreach (auth/mysql.class.php) chris@xxxxxxxxxxxxx**20060803231253 as described at http://wiki.splitbrain.org/wiki:auth:mysql#using_mysql_5 ] [Missing Spanish translations miguel.pagano@xxxxxxxxx**20060731224944] [http_conditionalRequest clean-up oliver@xxxxxxxxxxxxx**20060801041118] [use translation for pag title in install.php Andreas Gohr <andi@xxxxxxxxxxxxxx>**20060802180443] [polish lang update Grzegorz Zur <grzegorz.zur@xxxxxxxxx>**20060802132121] [ukrainian translation additions and corrections Oleksiy Voronin <raven@xxxxxxxxxxxx>**20060801083018 Added missing files and strings for ukrainian translation. ] [fix in JS compressor Andreas Gohr <andi@xxxxxxxxxxxxxx>**20060731223008 This fixes a problem with escaped backslashes in single and double quote strings. ] [spellchecker CSS changes #539 #824 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20060731192807 This patch now assigns the needed proprietary CSS attributes for the spellchecker through JavaScript. This makes the CSS valid again (at least it appears to be ;-)) I also fixed a problem with leading single spaces in IE ] [replaced inlinestyle with class Andreas Gohr <andi@xxxxxxxxxxxxxx>**20060731182514] [config plugin update chris@xxxxxxxxxxxxx**20060731105910 - improvements in handling of default values for multi-checkbox settings (e.g. defaultactions) - minor style tweaks to cater for IE/Win ] [another try at the uploadform Andreas Gohr <andi@xxxxxxxxxxxxxx>**20060731175331] [strip trailing line in higlighted code Andreas Gohr <andi@xxxxxxxxxxxxxx>**20060730201442 The current code add 2 unwanted trailing lines in highlighted code. One is produced by DokuWiki's syntax and is fixed by this patch. The second one is created somewhere inside GeShi. A bug report was submitted upatream [1] [1] http://sourceforge.net/tracker/index.php?func=detail&aid=1531373&group_id=114997&atid=670231 ] [rest of Danish lang minus installer larsch8@xxxxxxxxxxxxx**20060729232120] [added missing install.html for german Andreas Gohr <andi@xxxxxxxxxxxxxx>**20060730121014] [mediamanager uploadform: adjusted html + css Anika Henke <a.c.henke@xxxxxxxx>**20060730111004] [French lang update Guy Brand <gb@xxxxxxxxxxxxxxxxx>**20060729182720] [inputshadow matthiasgrimm@xxxxxxxxxxxxxxxxxxxxx**20060729095224 the existing text entry shadow is very dominant and makes it difficult to read the text (especcially if background colours other than white are used). This patch replaces the input shadow file with a less dominant one. ] [init_paths points to the installer now Andreas Gohr <andi@xxxxxxxxxxxxxx>**20060729144035] [added draft.txt and pwconfirm.txt larsch8@xxxxxxxxxxxxx**20060729003916] [Danish lang update larsch8@xxxxxxxxxxxxx**20060729003543] [installer - fix policy 1 + two appearance changes chris@xxxxxxxxxxxxx**20060728232930] [Provide a fragment cache for GeSHi output chris@xxxxxxxxxxxxx**20060728225649] [small fix for wiki:syntax Andreas Gohr <andi@xxxxxxxxxxxxxx>**20060728221222] [config mgr: labels wrapped in span, not in a Anika Henke <a.c.henke@xxxxxxxx>**20060728212333] [ukrainian_translation Oleksiy Voronin <raven@xxxxxxxxxxxx>**20060728201449] [added missing draft.txt Andreas Gohr <andi@xxxxxxxxxxxxxx>**20060728150839] [i18n update chris@xxxxxxxxxxxxx**20060728093913 set correct values for "lang" and "dir" when english "install.html" is substituted for missing text in the selected language. ] [german language update Andreas Gohr <andi@xxxxxxxxxxxxxx>**20060728103450] [save language in installer Andreas Gohr <andi@xxxxxxxxxxxxxx>**20060728094028 The language chosen for the installer is now saved to local.php as well. ] [default policy for installer Andreas Gohr <andi@xxxxxxxxxxxxxx>**20060728093653] [add error_reporting sanity chris@xxxxxxxxxxxxx**20060728090404 avoid many E_NOTICEs for those installations which run with E_ALL ] [installer updates Andreas Gohr <andi@xxxxxxxxxxxxxx>**20060726201047 Restructured and cleaned up installer with full I18N support. Needs testing. ] [add missing closing parenthesis from yesterday's patch chris@xxxxxxxxxxxxx**20060725123522] [events.php update chris@xxxxxxxxxxxxx**20060725123219 fixes issue whereby event handler objects (e.g. action plugins) were being copied rather than accessed by reference. ] [fixed syntax error in install.php Andreas Gohr <andi@xxxxxxxxxxxxxx>**20060724195807] [minor fix in plugin manager chris@xxxxxxxxxxxxx**20060724193727] [additional events chris@xxxxxxxxxxxxx**20060724193434 PARSER_WIKITEXT_PREPROCESS RENDERER_CONTENT_POSTPROCESS Both have been implemented as signals, that is without any action and therefore there will be no results during the _AFTER event ] [installation script chris@xxxxxxxxxxxxx**20060724185404 This installation script doesn't so much install DokuWiki as configure a brand new DokuWiki installation for first use by: - setting the Wiki name - turning on ACL - creating the super user - creating the changes.log file ] [add button lables to title attribute #862 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20060724165158 Instead of only showing the accesskey in button's title tooltips now the button label is shown additionally. This helps blind users with screenreaders. ] [GeSHi update to 1.0.7.12 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20060723203232] [Danish lang update 3 larsch8@xxxxxxxxxxxxx**20060723030705] [title attribute for search field #821 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20060714112025] [two-stage password reset Andreas Gohr <andi@xxxxxxxxxxxxxx>**20060714110548 This patch changes the password reset function to a two-stage process. After requesting a new password a confirmation email is sent first, only if the link contained in this mail is used the password is changed for real. This makes sure malicious people can't reset passwords for other users. ] [fix for old revision button and action disabling Andreas Gohr <andi@xxxxxxxxxxxxxx>**20060714093028] [greek language update Andreas Gohr <andi@xxxxxxxxxxxxxx>**20060713204609] [bugfix for getRevisions Andreas Gohr <andi@xxxxxxxxxxxxxx>**20060711191433 This fixes a bug where the list of old revisions isn't build correctly if pagename exists within another one. ] [fixing undefined variables Ben Coburn <btcoburn@xxxxxxxxxxxxx>**20060710114655 Fixing undefined variable notices and sometimes the underlying error that produced them. ] [removed a useless line Ben Coburn <btcoburn@xxxxxxxxxxxxx>**20060710112411 Commented out a wasteful line in the "DifferenceEngine" that was producing notices. ] [cleanup undefined constant notices Ben Coburn <btcoburn@xxxxxxxxxxxxx>**20060710091820 Undefined constants replaced with strings, see http://www.php.net/manual/en/language.types.array.php#language.types.array.foo-bar ] [error reporting E_ALL switch Ben Coburn <btcoburn@xxxxxxxxxxxxx>**20060707232525 - Adds a constant DOKU_E_LEVEL for globally overriding the error reporting level. - Adds a file based switch for enabling E_ALL errors without changing the code. This is convenient for developers debugging new patches. It also ensures that the new patch will not accidentally record manual changes to the error reporting level. To enable E_ALL errors globally, create the file 'conf/report_e_all'. ] [More Danish lang update larsch8@xxxxxxxxxxxxx**20060709214043] [fix event.target in IE Andreas Gohr <andi@xxxxxxxxxxxxxx>**20060711181048 Just a simple addition to fix the event.target property in IE's JavaScript ] [Danish lang update larsch8@xxxxxxxxxxxxx**20060708164549] [using md5 in wikiLockFN Andreas Gohr <andi@xxxxxxxxxxxxxx>**20060707115543 sha1 may not be available in all installs and md5 is sufficient for the job ] [optimize noNS Ben Coburn <btcoburn@xxxxxxxxxxxxx>**20060705114601] [IO action events Ben Coburn <btcoburn@xxxxxxxxxxxxx>**20060705105652 Adds page and namespace events: IO_WIKIPAGE_READ IO_WIKIPAGE_WRITE IO_NAMESPACE_CREATED IO_NAMESPACE_DELETED The namespace events are purely advisory, while the wikipage events allow page content to be modified between DokuWiki and the disk. These events are primarily intended to simplify keeping other tools in sync with the semantic structure of a DokuWiki site. As an added benefit, the events allow plugins to conduct automated processing of raw wiki page content. The namespace events cover the separate namespace trees for both pages and media. The "name" of the tree that the event belongs to is included in the event data. ] [refactor wiki page edit locking Ben Coburn <btcoburn@xxxxxxxxxxxxx>**20060705033135 - Adds a new function in 'inc/pageutils.php', wikiLockFN($id) - All page edit locks should now be created with the file name generated by wikiLockFN($id). - wikiLockFN - Generates wiki page editing locks in the 'data/locks' directory where they belong. - This avoids polluting the 'data/pages' directory with lock files, which were causing namespaces to be created before they logically should exist. ] [disabled actions addition to config plugin chris@xxxxxxxxxxxxx**20060705012142 This patch adds a new generic settings class, setting_multicheckbox. The class displays each of a list of possible choices as a checkbox and an additional text input field for "other" values. The final result is saved in the config file as a comma separated list. It also supports an additional, optional, parameter, "_combine" which can be used to group complimentary values, allowing them to be set or unset together with one checkbox. ] [disableactions support Andreas Gohr <andi@xxxxxxxxxxxxxx>**20060702121622 This patch adds a config option to disable certain internal action commands of DokuWiki's main dispatcher. The options resendpasswd and openregister were removed because they can now set through this new option. The config plugin needs to be adjusted. ] [check if ignore_user_abort was successful (maybe fix for #852) Andreas Gohr <andi@xxxxxxxxxxxxxx>**20060701120325] [finish lang update Andreas Gohr <andi@xxxxxxxxxxxxxx>**20060630092852] [use template name along with CSS cache file name 'Michael Klier <chi@xxxxxxxxxxx>'**20060628094419] [fix for FS#810 Anika Henke <a.c.henke@xxxxxxxx>**20060624202448] [GeSHi update to 1.0.7.11 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20060621181256] [removed deprecated admin_acl.php file Andreas Gohr <andi@xxxxxxxxxxxxxx>**20060621174752] [timeout for spell checker Andreas Gohr <andi@xxxxxxxxxxxxxx>**20060620205616 This adds a timeout of 13 seconds to the spell checker. This doesn't fix anything but ensures editing can be continued on a backend problem. ] [fixed css of secedit button Anika Henke <a.c.henke@xxxxxxxx>**20060619173846] [back button tear down walls matthiasgrimm@xxxxxxxxxxxxxxxxxxxxx**20060619171023 The 'back' currently works only inside a namespace and hide the button, if the namespace startpage has been reached. This patch tear down the namespace wall. Now the 'back' button of the namespace startpage addresses the start page of the parent namespace instead of being hidden. With this patch the 'back' button works as before the 'startpage' patch series. ] [js.php fix chris@xxxxxxxxxxxxx**20060619104613 - correct begin/end comment, plugin filename wasn't being used - add file exists check, to avoid bloating js with comments for non-existent plugin js. Many (most?) plugins don't have javascript. ] [pluginmgr independent from tpl style.ini Anika Henke <a.c.henke@xxxxxxxx>**20060618173540] [css cleanup and fixes Anika Henke <a.c.henke@xxxxxxxx>**20060618144346] [fixed stupid bug in search query parser Andreas Gohr <andi@xxxxxxxxxxxxxx>**20060618134515] [simplified tpl_getparent Andreas Gohr <andi@xxxxxxxxxxxxxx>**20060618121521 4th part of the global start series ] [updated hierarchical breadcrumbs Andreas Gohr <andi@xxxxxxxxxxxxxx>**20060618113532 Third part of the global start series ] [2006-06-12-plugins-zh-tw.patch chinsan.tw@xxxxxxxxx**20060612032435] [zh-tw-20060612.patch chinsan.tw@xxxxxxxxx**20060612025041] [fixing edit section bugs Ben Coburn <btcoburn@xxxxxxxxxxxxx>**20060617223723 - Final edit section now ignored when there is only one header. - The configuration property 'maxseclevel' is now honored again. - Instructions are not created by the handler for edit sections that have a level higher than 'maxseclevel'. These ignored edit sections are merged into the previous edit section. ] [testcase for utf8_substr Andreas Gohr <andi@xxxxxxxxxxxxxx>**20060617125202] [create correct titles for namespace links Andreas Gohr <andi@xxxxxxxxxxxxxx>**20060617111153 Second part of the global start patch series :-) ] [aspell fix #836 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20060616154906] [greek language updates Thanos Massias <tm@xxxxxxxxxxx>**20060616125101] [added missing settings to config plugin Andreas Gohr <andi@xxxxxxxxxxxxxx>**20060616124539] [fixed transparency for IE in filetype icons Andreas Gohr <andi@xxxxxxxxxxxxxx>**20060616120348] [JavaScript fixes for media manger on IE Andreas Gohr <andi@xxxxxxxxxxxxxx>**20060616113600 Fixes the display of the checkbox options ] [better onload handling Andreas Gohr <andi@xxxxxxxxxxxxxx>**20060616104539 This patch improves the way the window.oninit JavaScript function is called. This function is used to initialiaze all JavaScript funcions attached to the DOM so it needs to be executed **after** the full DOM was parsed by the browser. Unfortunately currently only Mozilla supports a DOMContentLoaded event. In all other browsers we had to wait for the window.onload event which will only be called after **all** content (including images) was loaded - this caused a visible delay on all JavaScript generated content (like the toolbar) in non-Mozilla browsers. Dean Edwards now presented a solution [1] which will work for all the bigger Browsers and is used in this patch. The following browsers now should fire the init event right after parsing the DOM: All Mozilla based browsers Internet Explorer Safari Opera >= 9.0b2 All other browsers will continue to use the window.onload event. [1] http://dean.edwards.name/weblog/2006/06/again/ ] [dummy file for meta dir Andreas Gohr <andi@xxxxxxxxxxxxxx>**20060615202122 makes sure this directory is unpacked from the install tarball by dumb windows clients ] [register notify #826 Sebastian Harl <sh@xxxxxxxxxx>**20060615194419 A small patch for dokuwiki which enables dokuwiki to notify the administrator about new user registrations ] [greek language update Andreas Gohr <andi@xxxxxxxxxxxxxx>**20060615191700] [$conf['fetchsize'] added Andreas Gohr <andi@xxxxxxxxxxxxxx>**20060615184847 This patch adds an option to configure the maximum size for files the fetch.php will ever download. Setting this to 0 completely turns of the caching of external media files. Disadvantages of setting a low or zero fetchsize: * fetch.php needs to download images to be able to resize them. When the used fetchsize prevents the downloading the images can only be resized by the browser which means the browser will need to download the fullsized image first. * If the linked external media files vanishes it will no longer display in the wiki because it is not cached. Advantages of setting a low or zero fetchsize: * fetch.php may be used for a possible denial of service attack by requesting many big external files. * The created cache files may take a lot of space on the server I recommend to leave the setting at 2MB for internal and private wikis and lower the setting to about 200 to 500 Kb for bigger public Wikis. Note: the caching of files uploaded through the media manager is not affected by this setting. ] [namespace linking first part Andreas Gohr <andi@xxxxxxxxxxxxxx>**20060611184453 This patch adds namespace linking - formerly known as globalstart patch. It differs somewhat from the original patch. It is not implemented in getID() but in resolve_pageid(). It is now possible to link to a "default" file of a namespace ending the linkid with a colon: [[foo:bar:]] To which page the link links is dependent on the xistance of certain named files. For the above mentioned link [[foo:bar:]] the following pages are checked: foo:bar:start foo:bar:bar foo:bar The pages are checked in the order above whatever page is found first will be linked to. If no page is found foo:bar:start will be chosen. BTW: 'start' is the value configured in $conf['start'] Note: autoplural linking is not done for those links This is just the first patch. Several other locations of the code need to be adjusted to reflect this change and some testing needs to be done (first test cases are supplied within the patch bundle) Things that maybe need adjustment: - tpl_youarehere (hierarchical breadcrumbs) - tpl_button back - maybe others (search?) Patches would be welcome. The best aproach to fix things that don't work is probably making calls to resolve_pageid() instead of simple cleanID() calls. ] [make sure UTF8 lookup tables are always global Andreas Gohr <andi@xxxxxxxxxxxxxx>**20060611173240] [changed inheritance for pgsql auth backend Andreas Gohr <andi@xxxxxxxxxxxxxx>**20060611170748 Because of incompatible SQL syntax the postgres backend can no longer inherit the retrieveUsers method from the MySQL backend ] [MySQL 3.23 compatibility issue matthiasgrimm@xxxxxxxxxxxxxxxxxxxxx**20060611164347 MySQL 3.23 doesn't support the keyword OFFSET in the LIMIT statement. This patch changes the code to the second alternative syntax. ] [update-zh-tw chinsan.tw@xxxxxxxxx**20060610073758] [fix media file permissions Ben Coburn <btcoburn@xxxxxxxxxxxxx>**20060609072434 Always chmod media because they may be saved with different permissions than expected from the php umask. ] [fix for utf8_strpos #827 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20060608200438] [Czech lang update, added czech to config Bohumir Zamecnik <bohumir@xxxxxxxxxxxx>**20060608085236] [mediamanager style fixes for IE Anika Henke <a.c.henke@xxxxxxxx>**20060607211456] [Updated SimplePie to beta2 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20060607203012] [more semantic alt values in media tree Anika Henke <a.c.henke@xxxxxxxx>**20060607193424] [reset title in metadata renderer Andreas Gohr <gohr@xxxxxxxxxxxx>**20060607073358] [user the MAILHEADER_EOL in quoted printable encoding Andreas Gohr <andi@xxxxxxxxxxxxxx>**20060606191953] [Fix for privilege escalation bug #825 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20060606182742 This rechecks all ACLs a second time before the template is called, avoiding similar problems in the future. ] [bug#701 - partial fix chris@xxxxxxxxxxxxx**20060606131200 This patch resolves issues with how call writers merge their instructions into the main handler instruction list. - writeCalls will now only merge instructions into the list of the next higher call writer - all call writers have been given a finalise() method to use when the call writer needs to be terminated gracefully at the end of parsing when the wiki markup didn't provide its expected exit syntax. I have only tested finalise with lists. It still requires testing with wiki markup which results in improperly closed tables, quotes and preformatted text (it may not be possible to improperly terminate some of these syntax modes). ] [msg styles, minor update chris@xxxxxxxxxxxxx**20060606083232 add overflow:hidden to the three msg styles. This will allow them to display neatly adjacent to floated content. At present the background colour will continue under the float (e.g. TOC). ] [bug#775, fix access control of resend password page chris@xxxxxxxxxxxxx**20060606083212] [fixed newlines in english texts Andreas Gohr <andi@xxxxxxxxxxxxxx>**20060605200414] [fix for serious security bug #823 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20060604175833] [fix php warning in common.php during getRevisions chris@xxxxxxxxxxxxx**20060601212928 A php warning can occur when the page name used in a revision check clashes with a namespace (sub-directory) in the same directory. The strpos() call generates the warning as the offset used is longer than the directory name. ] [tidy format patterns chris@xxxxxxxxxxxxx**20060601101231 The bug preventing use of '<' & '>' in look ahead patterns was fixed some time ago. This patch replaces the '\x3C' & '\x3E' in those syntax pattern where they were still in use. ] [XSS bugfix #820 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20060531191114] [fixed parse-error in feed.php 'Michael Klier <chi@xxxxxxxxxxx>'**20060530063009] [bug#811 chris@xxxxxxxxxxxxx**20060530113123] [bug#808, add RewriteBase to .htaccess.dist chris@xxxxxxxxxxxxx**20060530114718] [enhanced getBaseURL() 'Michael Klier <chi@xxxxxxxxxxx>'**20060529154201] [fixed google sitemap pinging #815 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20060529183003] [Use meta data in RSS feed Andreas Gohr <andi@xxxxxxxxxxxxxx>**20060528133552] [usability enhancements for the loginform #803 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20060527185238] [fixed short open tag problem Andreas Gohr <andi@xxxxxxxxxxxxxx>**20060527150702] [small improvements on JS compressor (maybe fixes #807) Andreas Gohr <andi@xxxxxxxxxxxxxx>**20060527140157] [be clever about extensions on upload Andreas Gohr <andi@xxxxxxxxxxxxxx>**20060527100310 This patch makes it possible to enter filenames without an extension in the upload as field when the uploaded file it self has a known extension. It also prints a warning when an extension was changed by the user. ] [made text in mediamanger more clear Andreas Gohr <andi@xxxxxxxxxxxxxx>**20060526233349] [mediamanager focus fix Andreas Gohr <andi@xxxxxxxxxxxxxx>**20060526232000] [fix for sitemap creation #813 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20060526223358] [update header test cases 20060526 Ben Coburn <btcoburn@xxxxxxxxxxxxx>**20060526170229 Also resolves a small p_close anomaly introduced when section edits were given their own instruction. ] [resolve darcs conflict 20060526 Ben Coburn <btcoburn@xxxxxxxxxxxxx>**20060526144958] [decouple section edit from header in renderer Ben Coburn <btcoburn@xxxxxxxxxxxxx>**20060522060004 This patch achieves a partial decoupling of the section edit buttons from the header syntax. A new 'section_edit' instruction is added to the instruction list. The default set of these instructions is generated from the header handler and the _finalize function. A generic 'section_edit' renderer is now part of the renderer. To rewrite the section semantics, add, or remove section edit buttons the header handler and renderer no longer need to be modified. Changes can be dynamically made to the section edit buttons through the 'PARSER_HANDLER_DONE' action event. An action plugin that registers this event can then modify the calls list of the handler object before it is rendered. In short, this patch makes it possible to change the behavior of the section edit buttons without having to change unrelated code. This patch should be entirely transparent to DokuWiki users and cleanly written plugins. ] [added id to namespace headline Andreas Gohr <andi@xxxxxxxxxxxxxx>**20060526144011 This makes the currently in the medaia manager selected namespace available to any JavaScript files ] [fixed an AJAX problem for the media manager Andreas Gohr <andi@xxxxxxxxxxxxxx>**20060525175501] [validity fix in image meta edit form Andreas Gohr <andi@xxxxxxxxxxxxxx>**20060525173150] [media manager validity fixes Andreas Gohr <andi@xxxxxxxxxxxxxx>**20060525172718] [label for root of medianamespaces Andreas Gohr <andi@xxxxxxxxxxxxxx>**20060525160758] [javascript to toggle editor wrapping Andreas Gohr <andi@xxxxxxxxxxxxxx>**20060525152357 This patch adds a way to sisable and enable the automating wrapping in the editor textarea. Disabling the wrapping is especially useful when editing large tables. ] [more mediamanager fixes Andreas Gohr <andi@xxxxxxxxxxxxxx>**20060525144000 This fixes some styling issues, the cookie handling and a bug in the JavaScript caching mechanism. ] [media manager fixes Andreas Gohr <andi@xxxxxxxxxxxxxx>**20060521213334] [minor media manager tweaks Andreas Gohr <andi@xxxxxxxxxxxxxx>**20060520172118] [hide media details Andreas Gohr <andi@xxxxxxxxxxxxxx>**20060520124854 This adds an option to hide the details (thumbnail, metadata) in the media manager. The selected choice is remembered in a cookie. ] [media manager enhancements Andreas Gohr <andi@xxxxxxxxxxxxxx>**20060519202900 Separate scrolling for right and left side of the manager (like frames) Show syntax example for simple copy'n'paste if no JavaScript available. ] [link to media manager Andreas Gohr <andi@xxxxxxxxxxxxxx>**20060519175959 This patch add a link to the media manager when no JavaScript is available. Users can upload and browse for pictures now without the need for JavaScript only inserting has to be done manually then. ] [new mediamanager Andreas Gohr <andi@xxxxxxxxxxxxxx>**20060519165023 This patch adds a completely rewritten media popup. The following noteworthy changes were made: - media manager uses a collapsible namespace tree - media manager uses AJAX if available - media manager popup can be kept open when selecting a media file - only one template is used for the media manager :!: Template - Editable image metadata is configured in conf/mediameta.php now - The JS cookie mechanism was enhanced to store key/value pairs - Language strings can be exported to JS in js.php ] [getRevisionInfo much faster (cached) Ben Coburn <btcoburn@xxxxxxxxxxxxx>**20060525083202 Makes getRevisionInfo much faster when loading all the revisions of a page. This is done by efficiently parsing the 'changes.log' data and caching the results (in memory) so that future calls to getRevisionInfo return immediately without reloading the 'changes.log' file. (Note: the changelog system in DokuWiki should still be rewritten so that changes are not logged into one huge file!) ] [makes getRevisions faster Ben Coburn <btcoburn@xxxxxxxxxxxxx>**20060525030452 Makes inc/common.php#getRevisions a little faster. Takes about half as much time as the preg_match. ] [updated_localisation_sk_SK ovegh@xxxxxxxxx**20060418090713] [gzip_output defaults to 0 now Andreas Gohr <andi@xxxxxxxxxxxxxx>**20060525113648] [fixed rfc interwiki link Andreas Gohr <andi@xxxxxxxxxxxxxx>**20060523191005] [fix: wrong secedit when page changes Denis Simakov <akinoame1@xxxxxxxxx>**20060522182043 Binds secedit buttons to file modification stamp ('lastmod'), so that if the page changes in between, editing of the old revision starts. ] [Lithuanian update Andreas Gohr <andi@xxxxxxxxxxxxxx>**20060522181314] [GeShi update to 1.0.7.10 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20060522175437] [russian translation update Denis Simakov <akinoame1@xxxxxxxxx>**20060522115828] [MySQL Bug - PHP warning if query result is empty matthiasgrimm@xxxxxxxxxxxxxxxxxxxxx**20060522162327 If a database query has no result, the returned array is not valid. This caused a PHP warning in the user manager if the filter is set in a way that the result list is empty. ] [config plugin ui update 20060520 Ben Coburn <btcoburn@xxxxxxxxxxxxx>**20060520103718 This patch hides settings that are missing config metadata and optionally provides a list of warnings about settings that are not properly configured. - Warnings about settings are listed if $conf['allowdebug'] is true. - Warnings are listed by the $conf string as it appears in local.php. - Warnings show the $meta string as it would appear in the correct settings metadata file. - There are 3 kinds of warnings. - undefined There is no $meta information defined for this setting. - no class The setting class specified in $meta can not be found. This setting does have a $meta entry. - no default The setting is missing a default value. The setting does have a $meta entry with a valid setting class. - Note: Settings with metadata but other warnings are allowed to appear in the normal config settings list. Also... - Templates can now define their own settings classes. - Removed an XHTML validation error from the first patch. - More language strings to go with the new warnings. The warnings under the 'Undefined Settings' heading are intended to provide developers with a list of any settings that they have forgotten to finish preparing for the config plugin. This list should be blank for stable releases. ] [moved gzip compression to init.php Andreas Gohr <andi@xxxxxxxxxxxxxx>**20060519212751] [namespace-restricted fulltext-search part2 'Michael Klier <chi@xxxxxxxxxxx>'**20060518204647 - now its possible to restrict the fulltext-search to multible namespaces Examples: searchword @ns1 @ns2 @ns3 "exact phrase" @ns1 @ns2 @ns3 ] [namespace restricted fulltext-search 'Michael Klier <chi@xxxxxxxxxxx>'**20060518161855 - The fulltext-search can now be restricted to a given namespace seperated by an "@" ] [avoid trolling in io_lock() Andreas Gohr <andi@xxxxxxxxxxxxxx>**20060517165023] [lt lang update Andreas Gohr <andi@xxxxxxxxxxxxxx>**20060517105635] [gzip content-encoding option Ben Coburn <btcoburn@xxxxxxxxxxxxx>**20060516084132 - Enables gzip compression of output xhtml for browsers that support it. For example the wiki:syntax page takes up 46.80KB raw, but only 9.88KB gzip encoded. - Setting is configurable through the config plugin. ] [jpg quality option Ben Coburn <btcoburn@xxxxxxxxxxxxx>**20060516062321 - Adds a jpg quality setting for scaled images (Some images were getting too many jpg artifacts at the hard-coded compression setting.) - Creates a group for the media settings in the config plugin. ] [fr update Andreas Gohr <andi@xxxxxxxxxxxxxx>**20060515190136] [nl update Andreas Gohr <andi@xxxxxxxxxxxxxx>**20060515185820] [javascript fix to mak sumarry checking use addEvent Andreas Gohr <andi@xxxxxxxxxxxxxx>**20060512073949] [add config plugin support for plugin defined setting classes chris@xxxxxxxxxxxxx**20060511083209] [more info is gathered on metaupdate in background indexer Andreas Gohr <andi@xxxxxxxxxxxxxx>**20060511191450 The background indexer now gathers info on contributors and modification dates from the changelog when adding the missing meta info. A new io_grep function was added which might be useful for other parts in the Wiki as well. ] [config plugin ui organization Ben Coburn <btcoburn@xxxxxxxxxxxxx>**20060510065732 - organizes the configuration settings list into chunks - provides a table of contents for the configuration chunks - provides one chunk for each plugin with configurable settings - provides one chunk for the active template (if it has settings) - provides the config file setting as a tool-tip on the setting label ex. $conf['start'] - provides for localization of useful strings - generates a "smart" fallback name for plugins and templates - plugin and template sections are only shown if they have settings - current configuration list is organized into chunks Note: There are NEW strings to translate into the non-english language files. ] [TAG develsnap 2006-05-07 Andreas Gohr <andi@xxxxxxxxxxxxxx>**20060507173508] Patch bundle hash: 877810952e836e09c74a7b4e237cd9cffc635639