New patches: [fs859 Configure location of auth.acl.php Grant Gardner **20070629121817 Allow $conf['aclfile'] to locate auth.acl.php away from the conf directory to facilitate backups / distributed wikis etc... ] { hunk ./conf/dokuwiki.php 62 +$conf['aclfile'] = "conf/acl.auth.php"; //Location of the acl control file hunk ./inc/auth.php 78 - if(is_readable(DOKU_CONF.'acl.auth.php')){ - $AUTH_ACL = file(DOKU_CONF.'acl.auth.php'); + if(is_readable($conf['aclfile'])){ + $AUTH_ACL = file($conf['aclfile']); hunk ./lib/plugins/acl/admin.php 60 + global $conf; hunk ./lib/plugins/acl/admin.php 96 - $AUTH_ACL = file(DOKU_CONF.'acl.auth.php'); + $AUTH_ACL = file($conf['aclfile']); hunk ./lib/plugins/acl/admin.php 201 - $acl_config = join("",file(DOKU_CONF.'acl.auth.php')); + global $conf; + + $acl_config = join("",file($conf['aclfile'])); hunk ./lib/plugins/acl/admin.php 214 - return io_saveFile(DOKU_CONF.'acl.auth.php', $new_config); + return io_saveFile($conf['aclfile'], $new_config); hunk ./lib/plugins/acl/admin.php 223 - $acl_config = file(DOKU_CONF.'acl.auth.php'); + global $conf; + $acl_config = file($conf['aclfile']); hunk ./lib/plugins/acl/admin.php 231 - return io_saveFile(DOKU_CONF.'acl.auth.php', join('',$new_config)); + return io_saveFile($conf['aclfile'], join('',$new_config)); hunk ./lib/plugins/config/lang/en/lang.php 87 +$lang['aclfile'] = 'Location of access control file'; hunk ./lib/plugins/config/settings/config.metadata.php 109 +$meta['aclfile'] = array('string'); } Context: [japanese language update Andreas Gohr **20070628191802] [check for auth object at certain functions Andreas Gohr **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 **20070626182639] [final release preps Andreas Gohr **20070626182517] [some more tweaks to the smart quote parser Andreas Gohr **20070626181735 Now all test cases succeed, but there is probably still trouble with certain conditions. ] [some cleanups / release preps Andreas Gohr **20070626173537] [Spanish language updates Andreas Gohr **20070626162556] [Bulgarian language updates Andreas Gohr **20070626162303] [fix for recent auth change Andreas Gohr **20070625210929] [degrade to unauthed user when auth backen unavailable FS#1168 Andreas Gohr **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 **20070625204256] [German language updates Andreas Gohr **20070625182759] [phpdoc comments added for TarLib Andreas Gohr **20070625181003 Added documentation from http://docs.maxg.info/index.php?script=5 to the comments of the class. ] [Chinese language updates Andreas Gohr **20070625172017] [workaround for PHP bug in config manager FS#1152 Andreas Gohr **20070624174903 Workaround for PHP bug 41773: http://bugs.php.net/bug.php?id=41773 ] [Esperanto language updates Andreas Gohr **20070624174148] [Galician translation updates Andreas Gohr **20070624174021] [Polish language update Andreas Gohr **20070624105948] [fix for colons in fragment identifiers FS#1062 Andreas Gohr **20070623142008] [greek language updates Andreas Gohr **20070622215242] [check for empty group array in LDAP backend FS#1004 Andreas Gohr **20070621194636] [Misc string fixes and fr update Guy Brand **20070619173914] [Code corrections in inc/auth/plain.class.php deleteUser() method Chris Smith **20070620163148] [Verbose errors for failed feed fetching Andreas Gohr **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 **20070616214657] [regex fix for JavaScript includes Tom N Harris **20070616214530] [two minor style fixes in GeSHi - sent to upstream Andreas Gohr **20070615000611] [update on the GeSHi default styles Andreas Gohr **20070614232042] [correct javascript escape for languagestring in windows share links FS#1147 Andreas Gohr **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 **20070613191542] [make typography option three staged FS#1142 Andreas Gohr **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 **20070613173817] [fix for encoding email addresses Andreas Gohr **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 **20070613152712] [typo fix in syntax page FS#1158 Andreas Gohr **20070613152342] [Japanese language update Andreas Gohr **20070604174939] [russian language updates Denis Simakov **20070604122134] [never use full URL in cookie paths FS#1146 Andreas Gohr **20070603191451 Introduces a DOKU_REL constant always pointing to the DokuWiki directory regardless of the used canonical setting. ] [Swedish language updates Per Foreby **20070603152100] [TAG develsnap 2007-06-01 Andreas Gohr **20070531230001] [Partial Fix FS#1085 Chris Smith **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 **20070528193451] [added RSS/ATOM Aggreation section to syntax page Michael Klier **20070524235338] [Fix infinite page redirects in getID Ben Coburn **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 **20070524173115] [release preparations Andreas Gohr **20070524172905] [russian updates Kae **20070523211728] [typographically correct minus sign in toc toggle (yet even bigger) Anika Henke **20070515223140] [Redirect after login and populate breadcrumbs (FS#1063) Guy Brand **20070516091909] [TOC toggle usability fix wingedfox@debugger.ru**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 **20070514225347] [fix for former patch (FS#744) Anika Henke **20070514224419] [FS#744 (template developers, heed the changes) Anika Henke **20070514222527] [fixed double http in config manager language files Andreas Gohr **20070514222947] [some more fixes for the toc toggle js Anika Henke **20070514205803] [fix for stupid JS bug in TOC toggle Andreas Gohr **20070514203709] [replaced TOC toggle images by CSS magic Andreas Gohr **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 **20070514165529] [disable any possibly configured global zlib compression FS#1132 Andreas Gohr **20070514164557] [tiny url fix in toc image js Anika Henke **20070513223948] [include_once support for javascript Andreas Gohr **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 **20070513220816] [javascript fix for recent mediamanager xhtml fix Andreas Gohr **20070513213350] [fixed xhtml validity issues in media manager Anika Henke **20070513212129] [fixed link in config descriptions for new bugtracker URLs Andreas Gohr **20070513193524] [variable button width in plugins plugin (FS#1131) Anika Henke **20070513183158] [fixed some xhtml validity issues in config manager Anika Henke **20070513174719] [rebuild $_REQUEST manually to avoid cookie interference FS#1104 Andreas Gohr **20070513181524] [deleted obsolete backtomedia functions Anika Henke **20070513124655] [same behaviour for do=recent actionlink as for button Anika Henke **20070513122005] [include support for JavaScript files Andreas Gohr **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] http://www.freelists.org/archives/dokuwiki/01-2007/msg00121.html ] [fixed copy'n'paste error for previous apostrophe fix Andreas Gohr **20070513114356] [make sure all needed data is given when creating users from backend FS#1096 Andreas Gohr **20070513101600] [properly escape values used in LDAP filters FS#1048 Andreas Gohr **20070513094851] [Fix for non removable proxy settings in config manager FS#1123 Andreas Gohr **20070513090309] [distinction between apostrophes and single quotes FS#1127 Andreas Gohr **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 **20070513072712] [disable alternative links for disabled actions Andreas Gohr **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 *-20070511200426] [remove deprecated ACL option from installer Andreas Gohr **20070511200912] [don't show page metadata for non accessible pages Andreas Gohr **20070511200426] [add sneaky_index option Andreas Gohr **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 **20070511192116 Note this wil also hide all namespaces below even if they have more relaxed permissions. ] [Bulgarian Translations Nikolay Vladimirov **20070511180244] [fix for missing alt attribute for captionless JPEGs FS#1126 Andreas Gohr **20070504184441] [fix spellchecker/list problems with Safari FS#1129 Bruno De Fraine **20070504183227] [TAG develsnap 2007-05-01 Andreas Gohr **20070430230001] [Typo in default nice_die message Guy Brand **20070424211611] [Use RLM character for breadcrumbs in RTL mode FS#1124 Katriel Traum **20070425181727] [Misc french strings fixes Guy Brand **20070422163049] [support for setting the MySQL charset for auth backend Thomas Koenig **20070423155220] [revert manager now reverts back to the last non-spammy revision Andreas Gohr **20070422141519] [Fix backlinks - See FS#1040 Guy Brand **20070330215042] [rel="nofollow" for all action links FS#1111 Andreas Gohr **20070422105629] [RTL stylesheet fixes FS#1118 Andreas Gohr **20070422104650] [don't capture blocked words in spam check Andreas Gohr **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 **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 **20070417175616] [english language correction Grzegorz Zur **20070417175818] [fix dbg_backtrace when arguments are an array or object Andreas Gohr **20070418174151] [fixed dokubug interwiki link Andreas Gohr **20070411194508] [fix for old revisions showing "external edit" without reason FS#1092 Andreas Gohr **20070411193230] [Hebrew fixes for config manager FS#1115 Katriel Traum **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 **20070408144321] [support rtl.css for plugins FS#1114 Andreas Gohr **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 **20070402043249] [better RTL support Katriel Traum **20070407164409 Attached is a patch I worked on with Dotan Kamber for better RTL support in Dokuwiki. ] [Rechtschreibkorrektur helmut@hullen.de**20070327135044 Rechtschreibung und Zeichensetzung ueberarbeitet (wenige Aenderungen) ] [GeSHi update to 1.0.7.19 Andreas Gohr **20070401192149] [TAG develsnap 2007-04-01 Andreas Gohr **20070331230002] [fix for breadcrumbs and "namespace:start" pages (FS#927) by Nathan Fritz Anika Henke **20070331213401] [Namespace autolinking from URL (FS#991 fix) Guy Brand **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 **20070331195443] [added ellipsis to entities.conf Anika Henke **20070330225252] [fix for FS#1071 (underline nested within italics) Anika Henke **20070330172031] [some test cleanups Andreas Gohr **20070326185533] [set scope for session cookies FS#1109 Andreas Gohr **20070326180948] [Escape Ctrl-Z so darcs stops treating utf8.php as binary. Tom N Harris **20070323030243] [Typo in plugin.php (FS#1094) Guy Brand **20070323075309] [fix for the new SimplePie Andreas Gohr **20070312203419 SimplePie changed the method to fetch the feed, this patch restores the usage of DokuWiki's own HTTP client. ] [SimplePie update Andreas Gohr **20070311215020] [always have a trailing newline in JavaScript output Andreas Gohr **20070308224331 This may fix https://bugzilla.mozilla.org/show_bug.cgi?id=316033 ] [js_compress updates Andreas Gohr **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 **20070307211110] [FS#1011-fix bernd@bzed.de**20070306005940] [dbg_backtrace() function added Andreas Gohr **20070305223458 This adds a useful debugging function for printing function call backtraces. ] [added JsStrip unit test files Andreas Gohr **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 **20070305165211] [French lang for revert plugin Guy Brand **20070305163850] [French language update Guy Brand **20070305140920] [unit test for auth_aclcheck Andreas Gohr **20070303225338] [fixed warning whith no search results FS#1088 Andreas Gohr **20070303220143] [added getFormat() function to renderer Andreas Gohr **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 **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 **20070303195008] [improved writability check for sitemap FS#1093 Andreas Gohr **20070303192836] [bulgarian translation Andreas Gohr **20070302180103] [skip images in links for metadata renderer Andreas Gohr **20070302102035] [Fix broken if in previous patch Guy Brand **20070302100506] [Allow @USER@ variable in ACLs Guy Brand **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 **20070301211751] [TAG develsnap 2007-03-01 Andreas Gohr **20070301000001] [INDEXER_PAGE_ADD event Esther Brunner **20070227124424] [TOOLBAR_DEFINE event Esther Brunner **20070227124005] [HTML_PROFILEFORM_INJECTION event Esther Brunner **20070227123428] [additions for the info plugin Esther Brunner **20070227123123] [helper plugin patch Esther Brunner **20070227122635] [page updates Andreas Gohr **20070226182110] [polish language update Grzegorz Zur **20070225133620] [Korean language update Andreas Gohr **20070226181011] [GeSHi update to 1.0.7.18 Andreas Gohr **20070226180035] [soted indexer is now default Andreas Gohr **20070226175529] [danish update David Lorentsen **20070224200424 Missing danish translation strings and files ] [Correction of German language in config plugin 'eModul '**20070226112359] [use dokubug as default interwiki tag for DokuWiki bugs #1045 Andreas Gohr **20070224144211] [pt-br translation fix (debian-bug #409064) Andreas Gohr **20070224133931] [German language updates Andreas Gohr **20070224133512] [added some comments about new XSS protection to mime.conf Andreas Gohr **20070224131623] [Test uploaded files for HTML tags FS#1077 Andreas Gohr **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 **20070224122418] [zh-tw language fix Andreas Gohr **20070224120324] [wiki:dokuwiki licence FAQ link David Lorentsen **20070224113223] [css fix for tpl_actionlink login David Lorentsen **20070224112634] [hide pageinfo if no access David Lorentsen **20070221133007] [fix rendered metadata detection problem chris@jalakai.co.uk**20070222162434 see http://www.freelists.org/archives/dokuwiki/02-2007/msg00207.html from Todd Augsburger ] [added missing files for patch by wingedfox Andreas Gohr **20070219210653] [JS checks for .hasOwnProperty wingedfox@debugger.ru**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@debugger.ru**20070111113557] [better red-green blindness compatibility FS#1065 Andreas Gohr **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 **20070218135700] [Fix namespace links and titles (FS 1005, 1006) Guy Brand **20070217220746] [Swedish update Andreas Gohr **20070218134846] [config plugin TOC refactoring Ben Coburn **20070215015318 Now uses the new toc_additem function in the Doku_Renderer_xhtml class. ] [RFC2047 fix for mail subjects (FS #1080) Guy Brand **20070215184609 Patch by Per Foreby ] [Avoid missing file error if no changes David Lorentsen **20070216070704] [all style sheet addition martin.tschofen@gmail.com**20070211024110] [removed obsolite id #sidebar form print.css Michael Klier **20070212153312] [send notify mails for uploaded files Andreas Gohr **20070212190216] [check if uploaded content matches the given mime type Andreas Gohr **20070211223230 A first attempt at fixing FS#1077 currently checks images and spam ] [disable text uploads by default Andreas Gohr **20070211201920 Spammers suck - see http://forum.dokuwiki.org/post/2213 ] [language-specific quotation marks (FS#438) Anika Henke **20070211172015] [Korean update Andreas Gohr **20070210201116] [compatibility fix for the recent render_TOC change Andreas Gohr **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 **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 **20070208120717] [do preconnects only once #1067 Stephane Chazelas **20070206191629] [give xhtml renderer method _xmlEntities standard parameter values chris@jalakai.co.uk**20070206021203] [refactor xhtml TOC creation into a class function, FS#1058 chris@jalakai.co.uk**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@jalakai.co.uk**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@jalakai.co.uk**20070206014428] [fix for slashes in phrase search #1066 Andreas Gohr **20070205191848] [Fix userewrite note in htaccess (FS#1013) 'Guy Brand '**20070128215856] [Encode/Decode numeric HTML entities correctly. Tom N Harris **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 **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 **20070202063800] [Use new index format in bin/indexer.php Tom N Harris **20070202063511] [TAG develsnap 2007-02-01 Andreas Gohr **20070201000001] [esperanto update Andreas Gohr **20070131182641] [fixed test cases for recent renderer to handler function moves Andreas Gohr **20070128115556] [small fix for metadata rendering if instructions aren't available Andreas Gohr **20070128113952] [fix FS#1010 chris@jalakai.co.uk**20070126204145] [added missing with/height attributes to opensearch image tag Michael Klier **20070124232113] [create an addPluginCall() method for the handler chris@jalakai.co.uk**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@jalakai.co.uk**20070125143848] [improve and centralise email regexp, fixes FS#1049 chris@jalakai.co.uk**20070125143421] [GeSHi update to 1.0.7.17 Andreas Gohr **20070124202520] [fixed broken table alignment Andreas Gohr **20070124201255] [moved interwiki resolve logic to base renderer class Andreas Gohr **20070124111438] [moved simple URL handling from renderer to handler Andreas Gohr **20070124101306] [move title function to base renderer Andreas Gohr **20070123083854] [Some renderer plugin updates Andreas Gohr **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 **20070119234945 This makes typical plugin functions available to render plugins. ] [moved plugin base class to inc Andreas Gohr **20070119233350] [added missing functions to renderer base class Andreas Gohr **20070115201107] [delete empty dir Andreas Gohr **20070115192509] [move tar and zip libs to inc Andreas Gohr **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 **20070109213258 Another injection event similar to the existing ones to insert custom HTML into the login form. ] [Check cookie auth data silently Andreas Gohr **20070109213155] [show lastmod datetime in mediamanager FS#964 Andreas Gohr **20070106125603] [make sure cachekey is a string in auth_nameencode FS#1000 Andreas Gohr **20070106122851] [Galician translation medulio@ciberirmandade.org**20070106112310] [readded two changes from recent rollback Andreas Gohr **20070106111209] [language updates Andreas Gohr **20070106111111] [regex_simpler.patch henning.noren@gmail.com*-20070104194953 Replaces some simple regular expressions with standard (faster) string functions ] [fixed a forgotten space in install.php Samuele Tognini **20070104201822] [faster_indent.patch henning.noren@gmail.com**20070104195358 Replaces a print-loop with str_repeat concatenated with the final output ] [regex_simpler.patch henning.noren@gmail.com**20070104194953 Replaces some simple regular expressions with standard (faster) string functions ] [tf_rename_lower.patch henning.noren@gmail.com**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 **20070102204857 to avoid problems like in http://forum.dokuwiki.org/thread/521 ] [TAG develsnap 2007-01-01 Andreas Gohr **20070101000001] [[config plugin] add support for multi-line setting string values chris@jalakai.co.uk**20061224005004] [fix for feed whith Apache auth and no ACL #981 Andreas Gohr **20061213192616] [fix rss refresh to take into account other refresh settings on the same page chris@jalakai.co.uk**20061212200847] [fix feed links and cache Ben Coburn **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 **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 **20061207165258] [delivering template print CSS was broken Tom N Harris **20061206231114] [string for constant fix Ben Coburn **20061207075815] [changelog type strings replaced with constants Ben Coburn **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 **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 **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 **20061207003216] [allow dynamic e-mail "from" addresses when doing notification Mike Frysinger **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 **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 **20061205200144] [pluggable renderers Andreas Gohr **20061203190138 Plugins can now provide their own renderer in lib/plugins//renderer.php The class inside this file needs to inherit from Doku_Renderer and has to be called Doku_Renderer_ To access the renderer the export action can be used eg: ?do=export_ ] [manager user/group Andreas Gohr **20061203134104 This patch adds support for a manager option as suggested in http://www.freelists.org/archives/dokuwiki/11-2006/msg00314.html ] [minor fixes for W3C CSS validator Andreas Gohr **20061202185945] [fixed display for file links with empty title #996 Andreas Gohr **20061202164826] [norwegian language update Andreas Gohr **20061201210155] [TAG develsnap 2006-12-01 Andreas Gohr **20061201000001] [special char encoding fix for breadcrumbs #993 Andreas Gohr **20061130202541] [conflict resolve for RSS title config option Andreas Gohr **20061127223356] [rss_summary_config Marc Mayfield **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 **20061127222845] [updateAccessKeyTooltip update Ben Coburn **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@jalakai.co.uk**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 http://www.freelists.org/archives/dokuwiki/11-2006/msg00221.html and any follow-up messages. ] [catalan language update Andreas Gohr **20061125161230] [experimental XMLRPC support Andreas Gohr **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 **20061124215413] [fixed paths in getVersion Andreas Gohr **20061124202533] [added missing .htaccess to inc directory #989 Andreas Gohr **20061123152828] [german language fixes Andreas Gohr **20061122194628] [use generated CSS for RSS feeds Tom N Harris **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 **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 **20061118160114] [fix for date display when diffing a deleted revision #983 David Lorentsen **20061118155255] [hide inline scripts from XML parsers Andreas Gohr **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 **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 **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 **20061116212937] [HTML_EDITFORM_INJECTION event added Andreas Gohr **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 **20061114210440] [obfuscate email address when it is used in mailto links (bug#977) chris@jalakai.co.uk**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@jalakai.co.uk**20061113122645] [Word-Length Indexer TNHarris **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 **20061112184437] [dutch language updates Andreas Gohr **20061112184102] [lv language update Andreas Gohr **20061112183810] [purge option support for js.php and css.php Andreas Gohr **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 **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 **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 **20061110134118] [revert plugin added Andreas Gohr **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 **20061106193135] [release preparations Andreas Gohr **20061106192948] [language updates Andreas Gohr **20061106175239] [russian translation (i_phpver) Denis Simakov **20061105230459] [fr lang sync Guy Brand gb@isis.u-strasbg.fr**20061105215024] [Spanish i_phpver translation miguel.pagano@gmail.com**20061105212008] [PHP version check in the installer Andreas Gohr **20061105204420] [backlinks fixes (bugs #795 & #937) chris@jalakai.co.uk**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@jalakai.co.uk**20061105135805] [fix email setting pattern for config plugin chris@jalakai.co.uk**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@jalakai.co.uk**20061104174349] [no forcing of ASCII in section IDs for metadata (#882) chris@jalakai.co.uk**20061104153643] [fix xhtml_links test case chris@jalakai.co.uk**20061104142639] [don't allow commas in full name registration FS#960 Andreas Gohr **20061103160700] [don't show .txt files as medianamespaces #963 Andreas Gohr **20061103150850] [russian update Denis Simakov **20061102000617] [accessible colors for admin form elements Anika Henke **20061101221737] [disable search form if search action is disabled, bug#955 chris@jalakai.co.uk**20061101171656] [Lithuanian language update Andreas Gohr **20061101162618] [$REV checking now works correctly with synced attic Ben Coburn **20061031224158] [disable HTML upload by default Andreas Gohr **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 **20061101161558] [TAG develsnap 2006-11-01 Andreas Gohr **20061101000001] [Hebrew language updates Andreas Gohr **20061031211100] [Spanish translations miguel.pagano@gmail.com**20061030194506 Added recent_days to lib/plugins/config/lang/es/lang.php ] [make importoldchangelog plugin more user friendly Ben Coburn **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 **20061030185024] [spanish translations miguel.pagano@gmail.com**20061030151008] [Hebrew language update Andreas Gohr **20061030184642] [do not transliterate cyrillic soft sign #958 Andreas Gohr **20061028113426] [fix conflicting edit cancel button Ben Coburn **20061027185046] [fix Old Revisions more and less buttons Ben Coburn **20061027174549] [synchronize changelog, attic, and external edits - update 1 Ben Coburn **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 **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@jalakai.co.uk**20061027004117] [plugin manager updates chris@jalakai.co.uk**20061027013208 - add $conf['fmode'] support, fixes bug #939 - fix problem with plugin list not being updated after download ] [code highlighting fragment cache update chris@jalakai.co.uk**20061027015051 expire the cache if GeSHi (inc/geshi.php) has been updated since cache creation ] [Traditional Chinese update Andreas Gohr **20061026205002] [GeSHi 1.0.7.15 update Andreas Gohr **20061026203942] [ignore line endings when checking the config file hash for the installer Andreas Gohr **20061023192008] [parse changelog date as int Ben Coburn **20061023051106] [do not auto escape the body of meta headers Andreas Gohr **20061022134224] [used named submitbuttons instead of localized labels Andreas Gohr **20061020164148] [fix for post support in HTTPClient Andreas Gohr **20061020163625] [TAG release candidate 2006-10-19 Andreas Gohr **20061019165908] [release preparations Andreas Gohr **20061019165805] [fix diff view for new pages Andreas Gohr **20061019104917] [fix for actionlink back #914 Andreas Gohr **20061019103310] [language updates Andreas Gohr **20061019101317] [French localization update 'Guy Brand '**20061019083731] [unlock files if write failed Andreas Gohr **20061018181931] [fix getRecents for multiple edits per second Andreas Gohr **20061018181837 This fixes the getRecent function when multiple edits occured during the same second. ] [better check for images in fetch.php Andreas Gohr **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 **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 **20061017091036] [russian update Denis Simakov **20061009103112] [docs update for tpl_button and tpl_actionlink Denis Simakov **20061011141043] [a bit of strictness for mediamgr + login form Anika Henke **20061015222040] [typo in do=check Anika Henke **20061015222615] [multiple language updates Andreas Gohr **20061013113521] [IT-20060829-patch polinnia@tin.it**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 **20061010111646] [lower chunksize in wordblock #938 Andreas Gohr **20061009165557 There were recent reports of exceeded patternsize in the wordblock function when used with PHP5 ] [TAG release candidate 2006-10-08 Andreas Gohr **20061008103720] [release candidate preparation Andreas Gohr **20061008103152] [strip controlchars in fetch.php #935 Andreas Gohr **20061008100523 Fixes a header injection/XSS vulnerability ] [remove unused code Andreas Gohr **20061008090624 This patch removes some commented code fragments and alternative snippet generators ] [fixed images in email links Andreas Gohr **20061008074029] [update p_get/set_metadata to use $INFO['meta'] chris@jalakai.co.uk**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 **20061006113409] [update config settings for dmode & fmode chris@jalakai.co.uk**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 **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 **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 **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 **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@jalakai.co.uk**20061002203925] [TAG develsnap 2006-10-01 Andreas Gohr **20060930230001] [install.php updates chris@jalakai.co.uk**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 **20060930143719] [TAG release candidate 2006-09-28 Andreas Gohr **20060928200926] [release candidate preparations Andreas Gohr **20060928200451 updated wwordblock.conf updated installer checksum increased msg num ] [more utf8_substr improvements (re FS#891 and yesterday's patch) chris@jalakai.co.uk**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@jalakai.co.uk**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 '**20060927091545] [utf8_substr fix for FS#891 chris@jalakai.co.uk**20060927033713 ] [security fixes for fetch.php #924 #962 Andreas Gohr **20060926200551 Fixes a shell injection and a DOS vulnerability ] [wordblock enhancement Andreas Gohr **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@jalakai.co.uk**20060925201222 rss syntax extended to include a refresh parameter 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@jalakai.co.uk**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 **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 **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 **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 **20060925182128] [fix problem with timezone in feed #424 Andreas Gohr **20060924195618] [fixed script error introduced in last patch Andreas Gohr **20060924175824] [doc updates Andreas Gohr **20060924171423] [progressbar script change Andreas Gohr **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@jalakai.co.uk**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 **20060924101329] [fix for sitemap creation with new compression option #919 Andreas Gohr **20060924100606] [fix recent changes cache ordering chris@jalakai.co.uk**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@jalakai.co.uk**20060923204905] [minor bugfix and boring error removal chris@jalakai.co.uk**20060923203609] [add authname memory cache chris@jalakai.co.uk**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@jalakai.co.uk**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 **20060923110047] [corrected typo Tom Hoover **20060923034943] [GeSHi upgrade to 1.0.7.14 Andreas Gohr **20060923105545] [croatian language files Andreas Gohr **20060921175655] [Store cache hits only while debugging Ben Coburn **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@jalakai.co.uk**20060917211445] [cache.php fixes chris@jalakai.co.uk**20060917193934 - add code to ensure page metadata is refreshed along with cache - bug fix for missing global $conf ] [disable debugging by default Andreas Gohr **20060917183150] [install script update II chris@jalakai.co.uk**20060917154659 - alter acl configuration to use @admin group as superuser ] [install script update I chris@jalakai.co.uk**20060917154208 - update hash for devel dokuwiki.php - remove changes.log creation, its no longer required - add allowdebug=0 setting ] [infoutils update chris@jalakai.co.uk**20060917153009 minor modifications to avoid php warnings if msg file is missing. ] [update for updatecheck function Andreas Gohr **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 **20060917140718] [Update french translation 'Guy Brand '**20060917075103] [event names renamed Andreas Gohr **20060917103450 HTML_EDIT_PAGETEMPLATE becomes HTML_PAGE_FROMTEMPLATE TPL_METAHEADER_PRINT becomes TPL_METAHEADER_OUTPUT ] [updatecheck feature Andreas Gohr **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 **20060916194626] [minor update to cache.php chris@jalakai.co.uk**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 **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 **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 **20060916145350] [japanese language update Andreas Gohr **20060916145219] [fix for previous pagetemplate event patch Andreas Gohr **20060916000515 Sorry, did mess up in testing the last patch. ] [HTML_EDIT_PAGETEMPLATE event added Andreas Gohr **20060915202321] [script fix for IE Andreas Gohr **20060915150152] [TAG develsnap 2006-09-13 Andreas Gohr **20060913191619] [fix for missing quotation mark in tpl_metaheaders Andreas Gohr **20060913185921] [slovak language update Ondrej vegh **20060913185616] [reorganize changelog code Ben Coburn **20060911023822 Moves changelog code to 'inc/changelog.php' and includes it from 'inc/common.php'. ] [changelog redesign update Ben Coburn **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 **20060908193433 Suppress any errors from set_time_limit, unlink, and file_exists functions. see: http://www.freelists.org/archives/dokuwiki/09-2006/msg00004.html ] [parser caching update chris@jalakai.co.uk**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@jalakai.co.uk**20060909093603 - main.php & detail.php add check for being run by DokuWiki, die() if not. ] [add sapi check to scripts in bin directory chris@jalakai.co.uk**20060909093314] [clientIP() update + additional unit test chris@jalakai.co.uk**20060908124315] [clientIP() update, data cleaning improvements chris@jalakai.co.uk**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 **20060908071356] [change non-breaking space encoding to utf-8 chris@jalakai.co.uk**20060906191207] [move AUTH defines higher up Andreas Gohr **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 **20060904182033] [removed superfluous
after inline tables Anika Henke **20060903193759] [https fix for window.onload Andreas Gohr **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 **20060903161204 The 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 **20060903101323] [german language update Andreas Gohr **20060903081832] [update backlink search to use metadata chris@jalakai.co.uk**20060901002016] [add unittests for bug#891 chris@jalakai.co.uk**20060831092146] [search improvements chris@jalakai.co.uk**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 **20060830210459] [scalable changelog redesign Ben Coburn **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//.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@jalakai.co.uk**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@jalakai.co.uk**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 **20060828190614] [init global memory cache arrays Ben Coburn **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@jalakai.co.uk**20060828092029] [update cleanID and wikiFN result caches to support unit testing chris@jalakai.co.uk**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@jalakai.co.uk**20060827153352] [utf8_correctIdx bounds checking and more unittests chris@jalakai.co.uk**20060827153254] [ft_snippet() update chris@jalakai.co.uk**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 **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@jalakai.co.uk**20060826095311] [code to remove bad UTF-8 bytes added Andreas Gohr **20060826082919 This adds code to remove or replace invalid UTF-8 bytes and uses it in the ft_snippets function. ] [update config plugin chris@jalakai.co.uk**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 **20060825174755] [no forcing of ASCII in section IDs Andreas Gohr **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@jalakai.co.uk**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 **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@rucksackreinigung.de**20060823211149] [update to previous ft_snippet() patch, improve snippet text selection chris@jalakai.co.uk**20060825134730] [ft_snippet optimisations chris@jalakai.co.uk**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= 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@jalakai.co.uk**20060823225137] [user manager update chris@jalakai.co.uk**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@jalakai.co.uk**20060823115006] [Estonian language update Andreas Gohr **20060818143213] [slovak language update Andreas Gohr **20060818142400] [typo fixes in german language #878 Andreas Gohr **20060811090311] [Add AJAX_CALL_UNKNOWN event Ben Coburn **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 unknown!' message appended to the output. ] [more unit test fixes chris@jalakai.co.uk**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@jalakai.co.uk**20060809160209 + fix missing utf8 deaccent character mapping + set utf-8 charset for HTMLReporter (unit tests) ] [update footnote unittests chris@jalakai.co.uk**20060809155755] [fix for footnote nesting chris@jalakai.co.uk**20060809155417] [plugin manager update - another fix for php5 chris@jalakai.co.uk**20060808131143] [make image details indexable Andreas Gohr **20060807205738] [japanese language update Andreas Gohr **20060807200813] [plugin manager update chris@jalakai.co.uk**20060807132242 fix ordering of plugins for php5 ] [GeSHi fixes Andreas Gohr **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 **20060806175611] [various language fixes Andreas Gohr **20060806143836 This patch makes sure all languages files have UNIX style line endings and use correct UTF-8 encoding ] [IT-20060806-patch polinnia@tin.it**20060806102829 fixed type mismatch ] [IT-20060806-patch polinnia@tin.it**20060806094947 completed IT translation for new release of Dokuwiki ] [semantic css placeholders - part 2 Anika Henke **20060805150015] [semantic css placeholders - part 1 Anika Henke **20060805141743] [fixed auth problem introduced in last unittest fix Andreas Gohr **20060805163147] [more unittest updates chris@jalakai.co.uk**20060805082442] [fix for bug #701, lists in footnotes in lists chris@jalakai.co.uk**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@jalakai.co.uk**20060804142243] [fix for E_NOTICE in _test/lib/testmanager.php chris@jalakai.co.uk**20060804000126 (possibly due to more stringent checking in PHP5 ???) ] [fix for php5's more stringent type checking in foreach (auth/mysql.class.php) chris@jalakai.co.uk**20060803231253 as described at http://wiki.splitbrain.org/wiki:auth:mysql#using_mysql_5 ] [Missing Spanish translations miguel.pagano@gmail.com**20060731224944] [http_conditionalRequest clean-up oliver@samera.com.py**20060801041118] [use translation for pag title in install.php Andreas Gohr **20060802180443] [polish lang update Grzegorz Zur **20060802132121] [ukrainian translation additions and corrections Oleksiy Voronin **20060801083018 Added missing files and strings for ukrainian translation. ] [fix in JS compressor Andreas Gohr **20060731223008 This fixes a problem with escaped backslashes in single and double quote strings. ] [spellchecker CSS changes #539 #824 Andreas Gohr **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 **20060731182514] [config plugin update chris@jalakai.co.uk**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 **20060731175331] [strip trailing line in higlighted code Andreas Gohr **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@m2.stud.ku.dk**20060729232120] [added missing install.html for german Andreas Gohr **20060730121014] [mediamanager uploadform: adjusted html + css Anika Henke **20060730111004] [French lang update Guy Brand **20060729182720] [inputshadow matthiasgrimm@users.sourceforge.net**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 **20060729144035] [added draft.txt and pwconfirm.txt larsch8@m2.stud.ku.dk**20060729003916] [Danish lang update larsch8@m2.stud.ku.dk**20060729003543] [installer - fix policy 1 + two appearance changes chris@jalakai.co.uk**20060728232930] [Provide a fragment cache for GeSHi output chris@jalakai.co.uk**20060728225649] [small fix for wiki:syntax Andreas Gohr **20060728221222] [config mgr: labels wrapped in span, not in a Anika Henke **20060728212333] [ukrainian_translation Oleksiy Voronin **20060728201449] [added missing draft.txt Andreas Gohr **20060728150839] [i18n update chris@jalakai.co.uk**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 **20060728103450] [save language in installer Andreas Gohr **20060728094028 The language chosen for the installer is now saved to local.php as well. ] [default policy for installer Andreas Gohr **20060728093653] [add error_reporting sanity chris@jalakai.co.uk**20060728090404 avoid many E_NOTICEs for those installations which run with E_ALL ] [installer updates Andreas Gohr **20060726201047 Restructured and cleaned up installer with full I18N support. Needs testing. ] [add missing closing parenthesis from yesterday's patch chris@jalakai.co.uk**20060725123522] [events.php update chris@jalakai.co.uk**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 **20060724195807] [minor fix in plugin manager chris@jalakai.co.uk**20060724193727] [additional events chris@jalakai.co.uk**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@jalakai.co.uk**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 **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 **20060723203232] [Danish lang update 3 larsch8@m2.stud.ku.dk**20060723030705] [title attribute for search field #821 Andreas Gohr **20060714112025] [two-stage password reset Andreas Gohr **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 **20060714093028] [greek language update Andreas Gohr **20060713204609] [bugfix for getRevisions Andreas Gohr **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 **20060710114655 Fixing undefined variable notices and sometimes the underlying error that produced them. ] [removed a useless line Ben Coburn **20060710112411 Commented out a wasteful line in the "DifferenceEngine" that was producing notices. ] [cleanup undefined constant notices Ben Coburn **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 **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@m2.stud.ku.dk**20060709214043] [fix event.target in IE Andreas Gohr **20060711181048 Just a simple addition to fix the event.target property in IE's JavaScript ] [Danish lang update larsch8@m2.stud.ku.dk**20060708164549] [using md5 in wikiLockFN Andreas Gohr **20060707115543 sha1 may not be available in all installs and md5 is sufficient for the job ] [optimize noNS Ben Coburn **20060705114601] [IO action events Ben Coburn **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 **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@jalakai.co.uk**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 **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 **20060701120325] [finish lang update Andreas Gohr **20060630092852] [use template name along with CSS cache file name 'Michael Klier '**20060628094419] [fix for FS#810 Anika Henke **20060624202448] [GeSHi update to 1.0.7.11 Andreas Gohr **20060621181256] [removed deprecated admin_acl.php file Andreas Gohr **20060621174752] [timeout for spell checker Andreas Gohr **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 **20060619173846] [back button tear down walls matthiasgrimm@users.sourceforge.net**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@jalakai.co.uk**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 **20060618173540] [css cleanup and fixes Anika Henke **20060618144346] [fixed stupid bug in search query parser Andreas Gohr **20060618134515] [simplified tpl_getparent Andreas Gohr **20060618121521 4th part of the global start series ] [updated hierarchical breadcrumbs Andreas Gohr **20060618113532 Third part of the global start series ] [2006-06-12-plugins-zh-tw.patch chinsan.tw@gmail.com**20060612032435] [zh-tw-20060612.patch chinsan.tw@gmail.com**20060612025041] [fixing edit section bugs Ben Coburn **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 **20060617125202] [create correct titles for namespace links Andreas Gohr **20060617111153 Second part of the global start patch series :-) ] [aspell fix #836 Andreas Gohr **20060616154906] [greek language updates Thanos Massias **20060616125101] [added missing settings to config plugin Andreas Gohr **20060616124539] [fixed transparency for IE in filetype icons Andreas Gohr **20060616120348] [JavaScript fixes for media manger on IE Andreas Gohr **20060616113600 Fixes the display of the checkbox options ] [better onload handling Andreas Gohr **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 **20060615202122 makes sure this directory is unpacked from the install tarball by dumb windows clients ] [register notify #826 Sebastian Harl **20060615194419 A small patch for dokuwiki which enables dokuwiki to notify the administrator about new user registrations ] [greek language update Andreas Gohr **20060615191700] [$conf['fetchsize'] added Andreas Gohr **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 **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 **20060611173240] [changed inheritance for pgsql auth backend Andreas Gohr **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@users.sourceforge.net**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@gmail.com**20060610073758] [fix media file permissions Ben Coburn **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 **20060608200438] [Czech lang update, added czech to config Bohumir Zamecnik **20060608085236] [mediamanager style fixes for IE Anika Henke **20060607211456] [Updated SimplePie to beta2 Andreas Gohr **20060607203012] [more semantic alt values in media tree Anika Henke **20060607193424] [reset title in metadata renderer Andreas Gohr **20060607073358] [user the MAILHEADER_EOL in quoted printable encoding Andreas Gohr **20060606191953] [Fix for privilege escalation bug #825 Andreas Gohr **20060606182742 This rechecks all ACLs a second time before the template is called, avoiding similar problems in the future. ] [bug#701 - partial fix chris@jalakai.co.uk**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@jalakai.co.uk**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@jalakai.co.uk**20060606083212] [fixed newlines in english texts Andreas Gohr **20060605200414] [fix for serious security bug #823 Andreas Gohr **20060604175833] [fix php warning in common.php during getRevisions chris@jalakai.co.uk**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@jalakai.co.uk**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 **20060531191114] [fixed parse-error in feed.php 'Michael Klier '**20060530063009] [bug#811 chris@jalakai.co.uk**20060530113123] [bug#808, add RewriteBase to .htaccess.dist chris@jalakai.co.uk**20060530114718] [enhanced getBaseURL() 'Michael Klier '**20060529154201] [fixed google sitemap pinging #815 Andreas Gohr **20060529183003] [Use meta data in RSS feed Andreas Gohr **20060528133552] [usability enhancements for the loginform #803 Andreas Gohr **20060527185238] [fixed short open tag problem Andreas Gohr **20060527150702] [small improvements on JS compressor (maybe fixes #807) Andreas Gohr **20060527140157] [be clever about extensions on upload Andreas Gohr **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 **20060526233349] [mediamanager focus fix Andreas Gohr **20060526232000] [fix for sitemap creation #813 Andreas Gohr **20060526223358] [update header test cases 20060526 Ben Coburn **20060526170229 Also resolves a small p_close anomaly introduced when section edits were given their own instruction. ] [resolve darcs conflict 20060526 Ben Coburn **20060526144958] [decouple section edit from header in renderer Ben Coburn **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 **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 **20060525175501] [validity fix in image meta edit form Andreas Gohr **20060525173150] [media manager validity fixes Andreas Gohr **20060525172718] [label for root of medianamespaces Andreas Gohr **20060525160758] [javascript to toggle editor wrapping Andreas Gohr **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 **20060525144000 This fixes some styling issues, the cookie handling and a bug in the JavaScript caching mechanism. ] [media manager fixes Andreas Gohr **20060521213334] [minor media manager tweaks Andreas Gohr **20060520172118] [hide media details Andreas Gohr **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 **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 **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 **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 **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 **20060525030452 Makes inc/common.php#getRevisions a little faster. Takes about half as much time as the preg_match. ] [updated_localisation_sk_SK ovegh@vsieti.sk**20060418090713] [gzip_output defaults to 0 now Andreas Gohr **20060525113648] [fixed rfc interwiki link Andreas Gohr **20060523191005] [fix: wrong secedit when page changes Denis Simakov **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 **20060522181314] [GeShi update to 1.0.7.10 Andreas Gohr **20060522175437] [russian translation update Denis Simakov **20060522115828] [MySQL Bug - PHP warning if query result is empty matthiasgrimm@users.sourceforge.net**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 **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 **20060519212751] [namespace-restricted fulltext-search part2 'Michael Klier '**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 '**20060518161855 - The fulltext-search can now be restricted to a given namespace seperated by an "@" ] [avoid trolling in io_lock() Andreas Gohr **20060517165023] [lt lang update Andreas Gohr **20060517105635] [gzip content-encoding option Ben Coburn **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 **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 **20060515190136] [nl update Andreas Gohr **20060515185820] [javascript fix to mak sumarry checking use addEvent Andreas Gohr **20060512073949] [add config plugin support for plugin defined setting classes chris@jalakai.co.uk**20060511083209] [more info is gathered on metaupdate in background indexer Andreas Gohr **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 **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 **20060507173508] Patch bundle hash: ca62c6ec98842b785ad48be0ffcd1b48fcb6f7f0