| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This event is advisory only.
Event data is the handler object.
There is no default action to prevent.
The event is signalled by the handler during its finalisation of the instruction list.
At the time of signalling the instruction list is complete except for three instrucitons,
meta, document_start & document_end.
Syntax plugins could register for this event to finalise processing of their data knowing
it is complete, e.g. an alternate footnote plugin.
darcs-hash:20060414201101-9b6ab-eba2d096ed3b82e1ec6b24ee90caaa9849f16093.gz
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The 'ACTION_DISPATCH' event[1] is triggered prior to any processing of the $ACT
variable[2]. This gives custom content the opportunity to add new "do" commands
and to process any custom form data.
This event is advisory only (there are no '_before' or '_after' advise)
Preventing default action will skip Dokuwiki's own processing of the $ACT value, this
includes its cleansing of the $ACT variable.
[1] also refer ACTION_TEMPLATE event
[2] $ACT is the do variable from the query string
darcs-hash:20060414195601-9b6ab-8ae62d2c3a7c6f8c09c77436d9adbaba5404f51b.gz
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch adds events and a third plugin type, "action" plugins, to DokuWiki.
The patch doesn't include any event signalling, that will be added in later patches.
Action plugins are loaded before most Dokuwiki processing takes place and at the
same time are given the opportunity to register handlers (or hooks) to receive
specific dokuwiki events.
Other parts of Dokuwiki (e.g. templates and syntax plugins) can also register
handlers to receive events.
Any part of Dokuwiki can create and signal events, including templates and plugins.
This patch also revises the admin plugin class by making it an extension of a
new class, DokuWiki_Plugin. The DokuWiki_Plugin_Action class also extends this
new class.
Further details of events, their signalling and handling, and of action plugins will
be added to wiki.splitbrain.org in due course :-)
darcs-hash:20060414193737-9b6ab-f23d3d9b93e4c50a3ad97ced03eabc6c0363650b.gz
|
|
|
|
|
|
| |
Now allows links like [[..:..:page]]
darcs-hash:20060414150358-7ad00-88394caabc6ee2ce7137694e2a0c0c98e7534ea5.gz
|
|
|
|
| |
darcs-hash:20060414110517-7ad00-a942f845647f301255365b162a22826cd9a983f6.gz
|
|
|
|
|
|
| |
Feeds are now parsed with SimplePie. The feed syntax was enhanced
darcs-hash:20060414110047-7ad00-6dd4b96845baab8683a2f837d6ad6fcb2fd53131.gz
|
|
|
|
|
|
|
| |
Now all filetype icons have the same style and work on light and dark
backgrounds. A test file was added to lib/images/fileicons/index.php
darcs-hash:20060412195703-7ad00-4d31a65788e8da0255ea6e064382595e8ae183ff.gz
|
|
|
|
| |
darcs-hash:20060412184125-7ad00-e51f8d531bf3011d230f62cb99fd18de8f150c41.gz
|
|
|
|
| |
darcs-hash:20060411182721-7ad00-0f34803c6228eb2918f0049284e6290a47ce51bd.gz
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
darcs-hash:20060410194333-7ad00-abb8bc33f647ccd8587edbcc151bc60895dd3ae0.gz
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- revisions to header class and section handling
header pattern simplified
header class now writes section open and close instructions
section call writer removed
check for and update meta['first_header'] if required (see below)
- meta instruction added
written by _finalize to front of instruction stack
holds first header information
plugins can now write first header information, or other page meta information
to this data structure.
- get_first_heading updated to make use of meta['first_header']
- plugin instruction structure changed to include lexer state in the data portion
of the instruction.
OLD INSTRUCTION: array('plugin', array(<plugin name>,<plugin_data>,$pos), $pos)
NEW INSTRUCTION: array('plugin', array(<plugin name>,<plugin_data>,$state), $pos)
- block handler/call writer update to better handle plugin PTypes 'block' & 'stack'.
Lexer states are mapped as follows:
DOKU_LEXER_ENTER, DOKU_LEXER_SPECIAL : block_open, stack_open
DOKU_LEXER_EXIT, DOKU_LEXER_SPECIAL : block_close, stack_close
DOKU_LEXER_MATCHED, DOKU_LEXER_UNMATCHED : plugin must handle <p>
Plugin writers can now use these PTypes as intended !
darcs-hash:20060409214958-9b6ab-cd2cef97a6a2521e3a02175075b8ff4648035f69.gz
|
|
|
|
| |
darcs-hash:20060410192459-7ad00-4212125ec31532656030b4d80984f6b45b5cf293.gz
|
|
|
|
| |
darcs-hash:20060410190409-919ab-f77447b1cb1b8de6e2a5790519d4aafc7baa577b.gz
|
|
|
|
|
|
|
| |
Update default plugins to ensure they exit immediately
if not called from within Dokuwiki
darcs-hash:20060409233841-9b6ab-555e4fced756849a5d7b9de6e4aaaea24c6da3ae.gz
|
|
|
|
| |
darcs-hash:20060409232533-9b6ab-13b2065c81b857a73b8e1175c9371978f8f76ab5.gz
|
|
|
|
|
|
|
|
|
|
|
| |
Tells standards compliant browsers that conditional requests for
CSS and JS need only be made once an hour. This should reduce page
display latency on some browsers.
Originated from the comment in this thread:
http://www.freelists.org/archives/dokuwiki/03-2006/msg00590.html
darcs-hash:20060410012723-05dcb-eccb42aefe85c9dbb4f35fdf03a9635561cf5710.gz
|
|
|
|
|
|
|
|
|
|
| |
This patch updates the feedcreator.class.php with a few non official changes
found at [1] - the download link didn't work at this page so [2] was used.
Some additional minor modifications were done.
feed.php now accepts the type
darcs-hash:20060409132507-7ad00-8e5986631146eca9606aa1fb48278cb045a5db0a.gz
|
|
|
|
|
|
|
|
| |
- Using the export modes 'handler', 'lexer', 'parser', or 'renderer'
now produces a nicer non-fatal error.
- The export mode 'wiki' is now ignored to avoid fatal errors.
darcs-hash:20060409045546-05dcb-89f4c56c23d9798f4cb2dd000804cb8c03524b6d.gz
|
|
|
|
| |
darcs-hash:20060409115740-7ad00-dd6cb62ccd4e0947ccb7566b0c0010eb807585e3.gz
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
darcs-hash:20060403202815-9b6ab-1b499148333458ee8acb68b5e38ca72d3b1c9b3c.gz
|
|
|
|
| |
darcs-hash:20060403194930-7ad00-499940017f74cfe297f2aa4e65d441243f8572a1.gz
|
|
|
|
| |
darcs-hash:20060403192537-7ad00-72b129ce494066bce491821a0396db7576873ec2.gz
|
|
|
|
|
|
|
| |
This ensures that the save button stays the default button of the
form again.
darcs-hash:20060331085543-7ad00-8db519b51a7bc65479ebc6b303f3cf016f8088be.gz
|
|
|
|
| |
darcs-hash:20060331082125-7ad00-f7038baf83932614ba07fa1617463b24b2f1b6be.gz
|
|
|
|
| |
darcs-hash:20060331081201-7ad00-ad95897fb68ce105c586c80ce7b1ff0ccb4840a6.gz
|
|
|
|
| |
darcs-hash:20060331080812-7ad00-45251cae2920cf73930be91f2b4f5768619b1b9c.gz
|
|
|
|
| |
darcs-hash:20060331075506-c38b2-1d316be73f07301c1b2862ff65278d2be65a5f0a.gz
|
|
|
|
| |
darcs-hash:20060331075028-5b00b-0a2a7b04653731991564f78004a2ffa24b2e84ab.gz
|
|
|
|
|
|
|
|
|
|
|
| |
The old pattern (left as a comment) allowed many PHP syntax errors
to be inserted into local.php for numeric values. This was breaking
the wiki... see bug #769.
This patch should eliminate the syntax errors by using a more restrictive
definition of numeric settings.
darcs-hash:20060327200700-05dcb-ccb8d532e5c123965fc6c8e79fb49c93170d827e.gz
|
|
|
|
| |
darcs-hash:20060327181005-05dcb-73b7a1f4400832ba29962efc543d9959ebc6b2db.gz
|
|
|
|
| |
darcs-hash:20060327152528-05dcb-415564ff328ca9dd1f0fbe758924a2ae6a5b74cc.gz
|
|
|
|
| |
darcs-hash:20060327133738-7ad00-d9b2615cc73c0924c25ef6039449ff66ef88aae1.gz
|
|
|
|
|
|
| |
change
darcs-hash:20060326122952-9b6ab-f6aef3c5b2f9e936d2f32ed148d19bbd8a9da2da.gz
|
|
|
|
|
|
|
|
| |
- Gives the wiki administrator control over how often the RSS feed is regenerated.
- The RSS feed now handles conditional requests and returns HTTP '304 Not Modified'
responses when possible.
darcs-hash:20060324133315-05dcb-3b814e28523f2a0717222a4940d6fbbb28576cf5.gz
|
|
|
|
| |
darcs-hash:20060324032426-05dcb-cca609254cfef5b583510b86904f1656dea98fc7.gz
|
|
|
|
|
|
| |
Removes some link underlining that would appear around the 'Back to top' button.
darcs-hash:20060321020948-05dcb-e0e5f2d30bd05bad37ad64d587fc4dc29abcb30b.gz
|
|
|
|
| |
darcs-hash:20060322140525-283c4-54953a1954beba0e78c896610b33a6f3c953cbb6.gz
|
|
|
|
| |
darcs-hash:20060322140200-283c4-c544d2dddf39a7d41c106a0d11d64d98fe8e8343.gz
|
|
|
|
| |
darcs-hash:20060322110832-283c4-d8e56c241f8a34827f1c188c4db7162ef658e010.gz
|
|
|
|
| |
darcs-hash:20060321005453-a08f5-274da46720f4487a03d8ba55b3ce1d48b6a5346c.gz
|
|
|
|
| |
darcs-hash:20060317203643-7ad00-9968464c2d9c41b1d99a6b16f415082f79af7a8d.gz
|
|
|
|
|
|
|
|
| |
This changes the order of how Stylesheets are loaded, loading template
styles *after* the plugin styles to allow template authors to simply
override those styles.
darcs-hash:20060317185142-7ad00-ac3f36a801babbbc09115124fa1472ee7470047e.gz
|
|
|
|
|
|
| |
Parser don't longer breaks if no smileys, acronyms or entities are configured
darcs-hash:20060317182631-7ad00-090248bae8cdeaa19127251e46dfaef80ef49f58.gz
|
|
|
|
| |
darcs-hash:20060317181744-7ad00-a3aaee786c48a1b37be5b753a8e1189324c87242.gz
|
|
|
|
| |
darcs-hash:20060317175725-919ab-396129b63c7077477c6d7bad1d7244bd7f0770cd.gz
|
|
|
|
|
|
| |
headers were not sent
darcs-hash:20060315120248-05dcb-5d5d4e06d0074a687185131cda2000b914346e19.gz
|
|
|
|
| |
darcs-hash:20060315115745-05dcb-6f50f3a070d2898ab51a32e59395631cab2ae09c.gz
|