- Nov 10, 2006
-
-
Andreas Gohr authored
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 darcs-hash:20061110151453-7ad00-298ad77603854a604a642c0afd3975a997b8dc09.gz
-
- Nov 01, 2006
-
-
chris authored
darcs-hash:20061101171656-9b6ab-1f3f9de870380a91e907db96d6645d3480951f0e.gz
-
- Oct 22, 2006
-
-
Andreas Gohr authored
darcs-hash:20061022134224-7ad00-f5c26c5104869719db3bf01e326e137eb8f4c725.gz
-
- Oct 19, 2006
-
-
Andreas Gohr authored
darcs-hash:20061019103310-7ad00-0de42af92587989d155f55831956480b7976d6e8.gz
-
- Oct 11, 2006
-
-
Denis Simakov authored
darcs-hash:20061011141043-3c565-9509bda5d864e0fbb42088d04d5b6f337dd18eb7.gz
-
- Oct 06, 2006
-
-
Michael Klier authored
darcs-hash:20061006113409-23886-166f573a8ae5c897011282ef22a581cea1dbce86.gz
-
- Sep 30, 2006
-
-
Ben Coburn authored
darcs-hash:20060930143719-05dcb-251992d688e64ed221dbfe3d9c198fae603e2531.gz
-
- Sep 26, 2006
-
-
Andreas Gohr authored
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. darcs-hash:20060926192420-7ad00-519df90a5953b690428bfa0928de37b3053031b0.gz
-
- Sep 23, 2006
-
-
chris authored
darcs-hash:20060923203609-9b6ab-ecca679faa254a29772868508050fcf3206b0814.gz
-
- Sep 17, 2006
-
-
Andreas Gohr authored
HTML_EDIT_PAGETEMPLATE becomes HTML_PAGE_FROMTEMPLATE TPL_METAHEADER_PRINT becomes TPL_METAHEADER_OUTPUT darcs-hash:20060917103450-7ad00-405f3533915b54ee4d4050cfccbf27d43ff7435f.gz
-
- Sep 16, 2006
-
-
Andreas Gohr authored
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. darcs-hash:20060916154722-7ad00-b22ab79803d1abad4ca579b84b6a3fa466403619.gz
-
- Sep 13, 2006
-
-
Andreas Gohr authored
darcs-hash:20060913185921-7ad00-8ee85b4a39944484d660c8a1d710bd548feac26b.gz
-
- Sep 08, 2006
-
-
Ben Coburn authored
Suppress any errors from set_time_limit, unlink, and file_exists functions. see: http://www.freelists.org/archives/dokuwiki/09-2006/msg00004.html darcs-hash:20060908193433-05dcb-013617431870ab5bfb2ce8c6e99ba5af13493228.gz
-
- Sep 03, 2006
-
-
Andreas Gohr authored
The <meta name darcs-hash:20060903161204-7ad00-61c823d3806e6fdc2ffa3d4978a90dc9953ef9ce.gz
-
- Aug 30, 2006
-
-
Ben Coburn authored
This patch provides a rewritten changelog system that is designed to run efficiently on both small and large wikis. The patch includes a plugin to convert changelogs from the current format. The conversion is non-destructive and happens automatically. For more information on the new changelog format see "http://wiki.splitbrain.org/wiki:changelog". Structure In short the changelog is now stored in per-page changelog files, with a recent changes cache. The recent changes cache is kept in "/data/meta/_dokuwiki.changes" and trimmed daily. The per-page changelogs are kept in "/data/meta/<ns>/<page_id>.changes" files. To preserve revision information for revisions stored in the attic, the "*.changes" files are not removed when their page is deleted. This allows the full life-cycle of page creation, deletion, and reversion to be tracked. Format The changelog line format now uses a general "line type" field in place of the special "minor" change syntax. There is also an extra field that can be used to store arbitrary data associated with special line types. The reverted line type (R) is a good example. There the extra field holds the revision date used as the source for reverting the page. See the wiki for the complete syntax description. Code Notes The changelog functions have been rewritten to load the whole file only if it is small. For larger files, the function loads only the relevant chunk(s). Parsed changelog lines are cached in memory to speed future function calls. getRevisionInfo A binary search is used to locate the chunk expected to contain the requested revision. The whole chunk is parsed, and adjacent lines are optimistically cached to speed consecutive calls. getRevisions Reads the changelog file backwards (newest first) in chunks until the requested number of lines have been read. Parsed changelog lines are cached for subsequent calls to getRevisionInfo. Because revisions are read from the changelog they are no longer guaranteed to exist in the attic. (Note: Even with lines of arbitrary length getRevisionInfo and getRevisions never split changelog lines while reading. This is done by sliding the "file pointer" forward to the end of a line after each blind seek.) isMinor Removed. To detect a minor edit check the type as follows: $parsed_logline['type'] darcs-hash:20060830182753-05dcb-1c5ea17f581197a33732a8d11da223d809c03506.gz
-
- Aug 07, 2006
-
-
Andreas Gohr authored
darcs-hash:20060807205738-7ad00-5492ba5fe3e854f9dc233254535e4e897847353c.gz
-
- Jul 24, 2006
-
-
Andreas Gohr authored
Instead of only showing the accesskey in button's title tooltips now the button label is shown additionally. This helps blind users with screenreaders. darcs-hash:20060724165158-7ad00-056481f9120c383cac03b1b2c6c397e829b7d103.gz
-
- Jul 14, 2006
-
-
Andreas Gohr authored
darcs-hash:20060714112025-7ad00-42f53ba7901132eb1fe6a3446c4d0a45ca5bb33c.gz
-
Andreas Gohr authored
darcs-hash:20060714093028-7ad00-6d5a07d8bb7a21e315ee52da237085321be1a7a9.gz
-
- Jul 10, 2006
-
-
Ben Coburn authored
Fixing undefined variable notices and sometimes the underlying error that produced them. darcs-hash:20060710114655-05dcb-073948171847f1f43f153e96c8382abd421da36a.gz
-
Ben Coburn authored
Undefined constants replaced with strings, see http://www.php.net/manual/en/language.types.array.php#language.types.array.foo-bar darcs-hash:20060710091820-05dcb-cfccff2bdd633b929470c60d8eee096f50ab4c18.gz
-
- Jul 02, 2006
-
-
Andreas Gohr authored
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. darcs-hash:20060702121622-7ad00-1e80e77bcfb0ae561fe7abd79cfbe1bb158be720.gz
-
- Jun 19, 2006
-
-
matthiasgrimm authored
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. darcs-hash:20060619171023-7ef76-baac3ad5367d6c6397125401aa7d8beab5122faa.gz
-
- Jun 18, 2006
-
-
Andreas Gohr authored
4th part of the global start series darcs-hash:20060618121521-7ad00-8ea574bdb2c8a12560cf892c7ed53a4972af998d.gz
-
Andreas Gohr authored
Third part of the global start series darcs-hash:20060618113532-7ad00-46a62cc819c41ead8a16bc3f6c6d1bf67d9c6bf4.gz
-
- May 20, 2006
-
-
Andreas Gohr authored
darcs-hash:20060520172118-7ad00-ad605bf51c8774d734012ece0071f70e6624788a.gz
-
- May 19, 2006
-
-
Andreas Gohr authored
darcs-hash:20060519212751-7ad00-ace54b61706fdf4f1b7c2abdbabee215a1e256ab.gz
-
Andreas Gohr authored
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 darcs-hash:20060519165023-7ad00-4932b4553fc919aa4a8b8187958b823acf4f8cee.gz
-
- May 16, 2006
-
-
Ben Coburn authored
- 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. darcs-hash:20060516084132-05dcb-d8d1c7911a951b00e166c5a94f46a2cf1cfa5846.gz
-
- Apr 28, 2006
-
-
Andreas Gohr authored
darcs-hash:20060428195153-7ad00-7104d2ffc54902e8969202a9a3ac93f7df5dcbf7.gz
-
- Apr 24, 2006
-
-
chris authored
This is a major revision of DokuWiki's event system. There are changes to class names, function names, function parameters and their order and event names. For action plugin writers the following changes are important: - <event_name> is no longer signalled, only <event_name>_BEFORE and <event_name>_AFTER. - note the case change for _BEFORE and _AFTER - calling stopPropagation while processing a _BEFORE signal no longer prevents an _AFTER signal. The events _continue value is reset before the _AFTER signal is made. - events have a new readonly property, canPreventDefault. This lets the event handling hook know whether or not the event honours preventDefault calls. - parameters have changed for the register_hook method, parameters are now $event_name, $advise (can be 'BEFORE' or 'AFTER') $object $method $param (this parameter is now optional) - parameter order has changed for the hook event handler callback functions &$event $param (can now be left off) Event names have changed, they are now structured <dokuwiki name>_<event data name>_<action_name or state if no action> DOKUWIKI_START darcs-hash:20060424220152-9b6ab-00e366288f7ec8a85b85dc83694a5f43a07aa082.gz
-
- Apr 15, 2006
-
-
chris authored
darcs-hash:20060415162247-9b6ab-d6c05736c0e4fb05331bc1cf06e48c5d61c64d5b.gz
-
chris authored
event TPL_ACTION_HTML data $ACT action tpl_content_core (formerly tpl_content) This event is a wrapper for tpl_content() (now tpl_content_core()) and as such is a full trigger, meaning it issues three advises: - TPL_ACTION_HTML_before - TPL_ACTION_HTML - TPL_ACTION_HTML_after Event handlers can output HTML before and/or after the main Dokuwiki page output and can prevent the default dokuwiki page generation taking place. Example uses could include: - replacements for dokuwiki command handlers like index. - appending a discussion section to the page by handling TPL_ACTION_HTML_after event TPL_DISPLAY_HTML data html output produced by tpl_content_core[1] action send output to browser Event handlers can post process the HTML output before it is sent to the client browser. This is a full trigger, meaning it issues three advises - TPL_DISPLAY_HTML_before - TPL_DISPLAY_HTML - TPL_DISPLAY_HTML_after darcs-hash:20060415160847-9b6ab-d7affcb1aaf49aecfaf9bc1e78a82ceb8ae409f7.gz
-
- Apr 14, 2006
-
-
chris authored
This event is advisory only. Event data is the $ACT variable The default action is to display an "unknown action" message The event is triggered by tpl_content if it does not recognise the $ACT value. It is the complement to event 'ACTION_DISPATCH'. Handlers of this event can output XHTML which will be displayed in the main dokuwiki window - ie. where the wiki page would normally be displayed. darcs-hash:20060414201705-9b6ab-f8ede6a2fb601d734c115ee09bb57195ad7d1e2b.gz
-
- Apr 10, 2006
-
-
Ben Coburn authored
Uses the first heading as the page name in the default template if $conf['useheading'] is set. Updates tpl_pagetitle() so that it can return this value. darcs-hash:20060410234311-05dcb-b4636f7c0d8f98658a6097ea9ee4dff1ee2de8b4.gz
-
- Apr 04, 2006
-
-
Ben Coburn authored
This patch rewrites export urls so that robots.txt can be used to request that some (or all) export types are ignored by robots when indexing the wiki. For example: User-agent: * Disallow: _export/ or for example: User-agent: * Disallow: _export/raw/ Note: This rewriting is only done when $conf['userewrite'] is set to '1' for using the rewrite rules from '.htaccess.dist'. darcs-hash:20060405025621-05dcb-b1b5f48681f78d75d25b1e75fab79346fcc8b84e.gz
-
- Apr 03, 2006
-
-
chris authored
darcs-hash:20060403202815-9b6ab-1b499148333458ee8acb68b5e38ca72d3b1c9b3c.gz
-
- Mar 31, 2006
-
-
Andreas Gohr authored
darcs-hash:20060331080812-7ad00-45251cae2920cf73930be91f2b4f5768619b1b9c.gz
-
- Mar 22, 2006
-
-
Esther Brunner authored
darcs-hash:20060322140200-283c4-c544d2dddf39a7d41c106a0d11d64d98fe8e8343.gz
-
- Mar 11, 2006
-
-
Andreas Gohr authored
DokuWiki now automatically creates a draft file of the currently edited page. In case of an editing interuption (eg. Browsercrash) the draftfile can be continued later. darcs-hash:20060311200148-7ad00-919337a51e001136178d175a1755cd26122e9726.gz
-