summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Add metadata, settings class and language strings for $conf['renderer_xhtml']Chris Smith2008-03-13
| | | | darcs-hash:20080313204505-f07c6-ad0d4b9f155117f6be01925a8bfece1e35efa39f.gz
* update preformatted syntax mode to ignore entire blocks of white spaceChris Smith2008-03-13
| | | | | | | | | | This patch only updates the actual "preformatted" syntax mode, that is only preformatted blocks caused by leading blanks on a line. If the entire block is empty, it is ignored. ie. if a block of preformatted text has leading or trailing empty lines and some non-empty lines, the leading and trailing content are preserved. darcs-hash:20080313203950-f07c6-9d0745b157e45b61b06ff0c7d85bec8558946c1e.gz
* correct missing '/' between directory and filename in metaFiles() return valueChris Smith2008-03-13
| | | | darcs-hash:20080313213021-f07c6-f81c4638918b6a9eafc594f10bb6383975333769.gz
* Add support for plugin renderers to replace standard renderersChris Smith2008-03-12
| | | | | | | | | | | | | | | | | | | This patch is the fourth in a series aimed at making it easier for DW to allow plugins to modify the standard handling of line-breaks. It adds: - new config setting 'renderer_xhtml', default value 'xhtml' - new renderer method 'reset()' which is used by reusable renderers when used to render second and subsequent data. (*) An extra step has been added to the renderer selection process. - check $conf["renderer_$mode] for renderer name. If it doesn't exist use $mode as the renderer name. (*) It maybe that the 'document_start()' method can be used for this. However the current xhtml does not correctly reset itself for reuse. darcs-hash:20080312005647-f07c6-ff2cb960c05927f5c6f3e916a364fcad470c2ce3.gz
* change line-break replacement character to '\n'Chris Smith2008-03-12
| | | | | | | | | | | | | | | | | This patch is the third in a series aimed at making it easier for DW to allow plugins to modify the standard handling of line-breaks. It effectively leaves the new-line character '\n' in the 'cdata' instruction allowing the renderer to process the character as it chooses. No changes have been made to the renderers. This change is neutral to xhtml renderers as xhtml treats spaces and new-lines identically (as white-space). Writers of renderer plugins are advised to check their plugin against the new patch. darcs-hash:20080312000924-f07c6-a6dab2d16c7bc42e9dc8eb137648c6f984b4f2e6.gz
* Update handler to merge consecutive 'cdata' instructions (incl. test case ↵Chris Smith2008-03-12
| | | | | | | | | | | | | updates) This patch is the second in the series designed to make it easier for DW to allow plugins to modify the standard handling of line-breaks. Like the first this patch doesn't alter line-break behaviour at all, but introduces improvements that reduce to a minimum the number of 'cdata' instructions generated by the handler. darcs-hash:20080312000248-f07c6-f6ce1b5aac43a52cbe31215c517b048679ae20a7.gz
* XMLRPC: added https rewrite rules to .htaccess.distMichael Klier2008-03-12
| | | | darcs-hash:20080312122250-23886-6ea6a1197505c66c25c840c2c6549dd2d6eea4d6.gz
* XMLRPC: pageVersions() should return the current version tooMichael Klier2008-03-11
| | | | darcs-hash:20080310233733-23886-79cb51e12374a51ac2595298bf331e1525962a2f.gz
* another change in highlight handlingAndreas Gohr2008-03-10
| | | | | | | | | | Now higlighting phrases are passed as an array which then is quoted correctly when used in a regexp. This should make phrase highlighting work completely correct. Please everyone test it. darcs-hash:20080310214939-7ad00-1abefb02dde40edeead50b4fa5c866c46b95ca3a.gz
* fixed search result linking of pagenames which consist of numbers onlyMichael Klier2008-03-10
| | | | darcs-hash:20080310203620-23886-c6b6828f4cbd47cac4f904a25ca454403adef41c.gz
* allow dynamic passing of template to use for css.phpAndreas Gohr2008-03-10
| | | | | | | | | | | | This patch makes it possible to pass the template name to use to the lib/exe/css.php dispatcher. When passed the $conf['template'] option is ignored by the disaptcher and the given template is used instead. This makes it possible to switch templates dynamically without loosing the CSS dispatcher functionality. This might be useful for things like the multitemplate template or for loading a template based on the user agent. darcs-hash:20080310201630-7ad00-2062fa939b1f868540031ea42a42e948dd82bbb4.gz
* French strings updateGuy Brand2008-03-09
| | | | darcs-hash:20080309211804-19e2d-4e81cf2b81572a6edf2d96d0d6f02223c3dad789.gz
* Change handler to use a defined character for line-break replacementChris Smith2008-03-09
| | | | | | | | | | | | | This patch is the first in a series aimed at making it easier for DW to allow plugins to modify the standard handling of line-breaks. Currently the handler "eats" line-break characters replacing them with a space. This patch changes the replacement character to a define, DOKU_PARSER_EOL and updates all the test cases to use the new define. DOKU_PARSER_EOL is left as a space. darcs-hash:20080309201116-f07c6-21edb4f6955da8fa5ba0f9346d859a7c5c69a239.gz
* Make config plugin aware of NS subscriptions and superuser/manager's listGuy Brand2008-03-09
| | | | darcs-hash:20080309201527-19e2d-35f2f183214981ee3532e210f68fe8a5d6121c36.gz
* more robust replacement for last highlight regexp fixAndreas Gohr2008-03-09
| | | | darcs-hash:20080309174810-7ad00-16f8bee9e9ce13f6255e59de42685e49b3854bac.gz
* make sure there are no leading or trailing pipes on search highlight regexpAndreas Gohr2008-03-09
| | | | darcs-hash:20080309173538-7ad00-07893a25205632ff4bc5d8b90595e7d1c9e49ff4.gz
* Fix Unit TestGuy Brand2008-03-02
| | | | | | | | | - README: test unit is under _test/ - form: use security token - form: reordered elements - pageid: playground start page (broken since ns autolinking?) darcs-hash:20080302184514-19e2d-087390c75f1e60e369162219f253a7ed513ce1f6.gz
* XMLRPC: new function pageVersions()Michael Klier2008-03-05
| | | | | | | This function can be used to retrieve a list of revisions for a given wiki page. darcs-hash:20080305195532-23886-dee2ffff8dcdc21532fb62674edce8a74d6c5525.gz
* XMLRPC: fix for IXR_Date which returned a wrong formatted UTC timestampMichael Klier2008-03-05
| | | | darcs-hash:20080305193802-23886-b786952c122c36e63676dd82d771494d763b9569.gz
* XMLRPC: putPage() throw IXR_ERROR when attempting to save a empty new pageMichael Klier2008-03-04
| | | | darcs-hash:20080304215619-23886-14f495ef056aa44d6cf17a04c73822ea1a4f9961.gz
* XMLRPC: putPage() autoset summary on created/deleted pages if no summary was ↵Michael Klier2008-03-04
| | | | | | given darcs-hash:20080304214919-23886-2e443173de79d2d6a4b8fa2ed253c15a64c13a4a.gz
* XMLRPC: removed useless test for missing text in putPage()Michael Klier2008-03-02
| | | | darcs-hash:20080302175105-23886-8f67f9bdfdf69e8cee1f58f60984b53fb8a27ac9.gz
* multiple fixes for the zip libraryAurelien Bompard2008-02-28
| | | | | | | | | | | | | | | 1. A recursive zip function. "$basedir" will be stripped from the path in the archive. 2. and 3. : Documentation 4. : Avoid a PHP "Notice" 5., 6. and 7. : handle ODT files where some headers are equal to 0. 8.: Avoid a PHP "Notice" darcs-hash:20080227231447-5a6cd-45ff763079ad0a7d8f4029639cf53fe10faa4389.gz
* Added dummy file to tmp directoryAndreas Gohr2008-02-27
| | | | darcs-hash:20080227222926-7ad00-9ebc8782bf65f13ac8c2c064a8a2f7a086de433b.gz
* introducing io_mktmpdir()Michael Klier2008-02-27
| | | | darcs-hash:20080227221631-23886-1ce689e9616b6dd5d2cc55613b86ddff4e1808be.gz
* introducing the new tmp dirMichael Klier2008-02-27
| | | | darcs-hash:20080227215640-23886-606fc55ada5d6c3c80f14967746ec6aa0a4b3321.gz
* use DokuHTTPClient in XMLRPC libraryAndreas Gohr2008-02-27
| | | | | | The code should work but is completely untested because it is currently not used. darcs-hash:20080227215408-7ad00-952ebba433991bde0c4282beeb4887c637eb25aa.gz
* added config option to enable/disable the XML-RPC interfaceMichael Klier2008-02-27
| | | | darcs-hash:20080227213050-23886-e55353ab04f9d23675ec11a9e97ba6affec719fc.gz
* fixed dates for aggregated RSSAndreas Gohr2008-02-27
| | | | darcs-hash:20080227215222-7ad00-6fc84f0d572490b4b6183602b8be7e6c61199aeb.gz
* Missing trailing space in signature of sent emailsGuy Brand2008-02-27
| | | | darcs-hash:20080227155613-19e2d-20831d5772b1daed30f919f0893aebdcb7fbb1fc.gz
* Superuser and manager now can be comma separated listsGuy Brand2008-02-27
| | | | | | | | | This patch allows $conf['superuser'] and $conf['manager'] to be lists of values instead of only a single value. So one can put: $conf['superuser'] darcs-hash:20080227142515-19e2d-c160914589f71531583e7ddaab1fc6a81996efa1.gz
* Add namespace changes mail notificationsGuy Brand2008-02-27
| | | | | | | | This patch lets DokuWiki send mail notifications when any page inside a namespace gets modified. Two actions are introduced: subscribens and unsubscribens and two new buttons also appear in the bundled template. darcs-hash:20080227155024-19e2d-8ce5bd66f4e870db31d6b438516599f294365ce1.gz
* Update php & html tests in preformatted test file to reflect changes in parserChris Smith2008-02-23
| | | | | | | | | | | This test file examines the handler. The decisions on htmlok & phpok settings have been moved from the handler to the renderer changing the nature of the test that can be carried out on these syntax modes in this file. Refer other patch adding xhtml renderer tests for 'phpok' & 'htmlok' and their associated syntax modes in parser_preformatted.test.php darcs-hash:20080223063145-d26fc-3b449c7bd36f52fd278528f05c5df04f1df86771.gz
* Test cases for 'phpok' & 'htmlok' config settingsChris Smith2008-02-23
| | | | darcs-hash:20080223062428-d26fc-59a5f3a4c230c953db1488a829c814f2901180e4.gz
* Fix for FS#1334, see also FS#1090Chris Smith2008-02-23
| | | | | | | | | FS#1090 ensured DW would never rebuild instructions in the same run by forcing subsequent instruction requests to use the version cached on the first request. That introduced problems when the caching of the instructions failed (FS#1334). This patch allows subsequent rebuilds when cache storage failed. darcs-hash:20080223025539-d26fc-26202a049a6969816553d950a2bb8f71a02ae76e.gz
* fix usage of is_admin in auth_aclcheckAndreas Gohr2008-02-26
| | | | | | | There were a few problems with name encoding for groups and users introduced in the recent aclcheck change darcs-hash:20080226172257-7ad00-d591f0d2f2219a2b23f93060c65b8fb5f46bd1d7.gz
* Don't depend on plugin for Zip/TarLibTom N Harris2008-02-26
| | | | darcs-hash:20080226005222-6942e-20808aa2678aec95a22c93fce81c1f822975493d.gz
* INDEXER_TASKS_RUN event for index-time hooksTom N Harris2008-02-26
| | | | | | | | The event INDEXER_TASKS_RUN is fired by lib/exe/indexer.php when a page is viewed. Plugins should only hook BEFORE the event if it is important for the task to be run as often as possible. Otherwise, hook AFTER the even to be run only when other tasks have completed. Plugin authors must call stopPropagation() and preventDefault() if any work is done. If your plugin does nothing, then you must allow the event to continue. Not following these rules may cause DokuWiki to exceed the PHP execution time limit. darcs-hash:20080226011940-6942e-09291b73bab84a2c4445b1d1c4de8b3bba743243.gz
* use fulltext index to search for used media files FS#1336 FS#1275Andreas Gohr2008-02-23
| | | | | | | | | | | | | | | This changes how DokuWiki looks for reference toa media file which is about to deleted. Instead of doing a full grep through all pages it now uses the fulltext index first, then does an exact match on the found pages. This speeds up the search significantly on larger wikis. However the fulltext search limits now apply: images with names shorter than 3 charcters may not be found. This needs extensive testing! darcs-hash:20080223205254-7ad00-486de0a4125d51b4e7999827f710d1d9de8bc60d.gz
* Table Row And Col ClassesPierre Spring2008-02-23
| | | | | | This patch adds classes to the table rows and cells (td and th). This can be of usage when templating and within syntax plugins. darcs-hash:20080223175808-c3d3e-73384884597c56deac774a8a52cd20b639b3039b.gz
* cope with non-RFC-conform webservers in HTTPClient FS#1340Andreas Gohr2008-02-23
| | | | | | | | This fixes problems in the HTTP client for web servers which separate their response headers with Unix linfeeds only (instead of CRLFs as stated in RFC 2616). darcs-hash:20080223183639-7ad00-057b05a1134cbe2b8edb2d38d5a74912360cd071.gz
* Check memory settings on ?doAndreas Gohr2008-02-23
| | | | | | This should help with diagnosing memory related problems darcs-hash:20080223180701-7ad00-1308829c3d7432b1d0c23c3f1acc8228c0a41e1e.gz
* correct diff display when dealing with deleted or newly created pagesAndreas Gohr2008-02-23
| | | | darcs-hash:20080223143711-7ad00-2dceefca4ce2efcfee5a3b04cfc6f1107c630c02.gz
* wl(): don't include empty id parameter FS#1138Andreas Gohr2008-02-23
| | | | darcs-hash:20080223133200-7ad00-409ee76b0bb36a1dff7b6f09181692e0742a86fd.gz
* mysql auth backend: check DB query result correctly FS#1039Andreas Gohr2008-02-23
| | | | darcs-hash:20080223130827-7ad00-3c9ba32b002a34548df1696a26bd92616e763ccc.gz
* alway initialize an empty toolbar first FS#1337Andreas Gohr2008-02-23
| | | | darcs-hash:20080223125855-7ad00-c8e1a3d81bc1cd71d7bdb4b70ffe588aa11fec04.gz
* use strftime() instead of date() FS#1335 :!:Andreas Gohr2008-02-23
| | | | | | | | | | | | | | This patch replaces the use of the date() function with the strftime() function. The latter will respect a set locale and will use localized strings for things like month names. Because the format options for strftime differ from the ones used in date, DokuWiki will rest the value of $conf['dformat'] if it contains an old date format string (detected by missing % characters). Plugins or templates using the $conf['dformat'] need to be updated. darcs-hash:20080223124045-7ad00-6afb2b839afc58781463e25577e06adb675fff79.gz
* renamed justlink option to linkonlyAndreas Gohr2008-02-23
| | | | darcs-hash:20080223101426-7ad00-ceacdc83e829f1da7aa272eb597277a8c78113be.gz
* media_justlinkPierre Spring2008-02-21
| | | | darcs-hash:20080221160833-c3d3e-1afe0835f9ba1af27712bd34e8b0b65e6165284f.gz
* popularity plugin: record PCRE infosAndreas Gohr2008-02-20
| | | | darcs-hash:20080220213222-7ad00-b573be21ba534bbd1a2d0616112d0d622338eaf8.gz