| #
d8186216 |
| 08-Sep-2006 |
Ben Coburn <btcoburn@silicodon.net> |
suppress boring errors
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-05
suppress boring errors
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
show more ...
|
| #
831800b8 |
| 03-Sep-2006 |
Andreas Gohr <andi@splitbrain.org> |
keyword meta header
The <meta name
darcs-hash:20060903161204-7ad00-61c823d3806e6fdc2ffa3d4978a90dc9953ef9ce.gz
|
| #
71726d78 |
| 30-Aug-2006 |
Ben Coburn <btcoburn@silicodon.net> |
scalable changelog redesign
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
scalable changelog redesign
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
show more ...
|
| #
7a24876f |
| 07-Aug-2006 |
Andreas Gohr <andi@splitbrain.org> |
make image details indexable
darcs-hash:20060807205738-7ad00-5492ba5fe3e854f9dc233254535e4e897847353c.gz
|
| #
11ea018f |
| 24-Jul-2006 |
Andreas Gohr <andi@splitbrain.org> |
add button lables to title attribute #862
Instead of only showing the accesskey in button's title tooltips now the button label is shown additionally. This helps blind users with screenreaders.
dar
add button lables to title attribute #862
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
show more ...
|
| #
818d04d3 |
| 14-Jul-2006 |
Andreas Gohr <andi@splitbrain.org> |
title attribute for search field #821
darcs-hash:20060714112025-7ad00-42f53ba7901132eb1fe6a3446c4d0a45ca5bb33c.gz
|
| #
75e487e9 |
| 14-Jul-2006 |
Andreas Gohr <andi@splitbrain.org> |
fix for old revision button and action disabling
darcs-hash:20060714093028-7ad00-6d5a07d8bb7a21e315ee52da237085321be1a7a9.gz
|
| #
d98d4540 |
| 10-Jul-2006 |
Ben Coburn <btcoburn@silicodon.net> |
fixing undefined variables
Fixing undefined variable notices and sometimes the underlying error that produced them.
darcs-hash:20060710114655-05dcb-073948171847f1f43f153e96c8382abd421da36a.gz
|
| #
746855cf |
| 10-Jul-2006 |
Ben Coburn <btcoburn@silicodon.net> |
cleanup undefined constant notices
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-
cleanup undefined constant notices
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
show more ...
|
| #
409d7af7 |
| 02-Jul-2006 |
Andreas Gohr <andi@splitbrain.org> |
disableactions support
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
disableactions support
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
show more ...
|
| #
a197105e |
| 19-Jun-2006 |
matthiasgrimm <matthiasgrimm@users.sourceforge.net> |
back button tear down walls
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 'ba
back button tear down walls
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
show more ...
|
| #
377f9e97 |
| 18-Jun-2006 |
Andreas Gohr <andi@splitbrain.org> |
simplified tpl_getparent
4th part of the global start series
darcs-hash:20060618121521-7ad00-8ea574bdb2c8a12560cf892c7ed53a4972af998d.gz
|
| #
796bafb3 |
| 18-Jun-2006 |
Andreas Gohr <andi@splitbrain.org> |
updated hierarchical breadcrumbs
Third part of the global start series
darcs-hash:20060618113532-7ad00-46a62cc819c41ead8a16bc3f6c6d1bf67d9c6bf4.gz
|
| #
7b877f51 |
| 20-May-2006 |
Andreas Gohr <andi@splitbrain.org> |
minor media manager tweaks
darcs-hash:20060520172118-7ad00-ad605bf51c8774d734012ece0071f70e6624788a.gz
|
| #
3138b5c7 |
| 19-May-2006 |
Andreas Gohr <andi@splitbrain.org> |
moved gzip compression to init.php
darcs-hash:20060519212751-7ad00-ace54b61706fdf4f1b7c2abdbabee215a1e256ab.gz
|
| #
3df72098 |
| 19-May-2006 |
Andreas Gohr <andi@splitbrain.org> |
new mediamanager
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 avail
new mediamanager
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
show more ...
|
| #
524be65d |
| 16-May-2006 |
Ben Coburn <btcoburn@silicodon.net> |
gzip content-encoding option
- 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. - S
gzip content-encoding option
- 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
show more ...
|
| #
c059e1a6 |
| 28-Apr-2006 |
Andreas Gohr <andi@splitbrain.org> |
tpl_actionlink() reports if a link was printed #777
darcs-hash:20060428195153-7ad00-7104d2ffc54902e8969202a9a3ac93f7df5dcbf7.gz
|
| #
24bb549b |
| 24-Apr-2006 |
chris <chris@jalakai.co.uk> |
event system revision
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
event system revision
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
show more ...
|
| #
8f4f35ec |
| 15-Apr-2006 |
chris <chris@jalakai.co.uk> |
event ACTION_TEMPLATE minor update
darcs-hash:20060415162247-9b6ab-d6c05736c0e4fb05331bc1cf06e48c5d61c64d5b.gz
|
| #
7ea0913c |
| 15-Apr-2006 |
chris <chris@jalakai.co.uk> |
events TPL_ACTION_HTML & TPL_DISPLAY_HTML
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
events TPL_ACTION_HTML & TPL_DISPLAY_HTML
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
show more ...
|
| #
5c752f6c |
| 14-Apr-2006 |
chris <chris@jalakai.co.uk> |
event ACTION_TEMPLATE
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
event ACTION_TEMPLATE
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
show more ...
|
| #
a6598f23 |
| 10-Apr-2006 |
Ben Coburn <btcoburn@silicodon.net> |
pagetitle as template pagename
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:20
pagetitle as template pagename
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
show more ...
|
| #
f5c2808f |
| 05-Apr-2006 |
Ben Coburn <btcoburn@silicodon.net> |
rewrite export URLs
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:
rewrite export URLs
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
show more ...
|
| #
d5197206 |
| 03-Apr-2006 |
chris <chris@jalakai.co.uk> |
move hsc() & ptln() functions from template.php to common.php
darcs-hash:20060403202815-9b6ab-1b499148333458ee8acb68b5e38ca72d3b1c9b3c.gz
|