Skip to content
Snippets Groups Projects
  1. Nov 21, 2008
  2. Nov 17, 2008
  3. Oct 12, 2008
  4. Oct 11, 2008
  5. Sep 29, 2008
    • Andreas Gohr's avatar
      keep undisplayed messages over redirects · 14a122de
      Andreas Gohr authored
      When act_redirect is executed (post data was received and mode show is called)
      all undisplayed messages (from calls to msg()) are saved in the session now.
      These messages are then revived in inc/init.php. This makes sure no errors
      that occured before the redirect are lost.
      
      darcs-hash:20080929203831-7ad00-d0869fd3093f57c1ea64ccbaf05d7fd98f68c5e1.gz
  6. Sep 01, 2008
  7. Aug 28, 2008
    • Michael Klier's avatar
      new event ACTION_EXPORT_POSTPROCESS · f6dad9fd
      Michael Klier authored
      	This event allows action plugins to postprocess the output of a page
      	requested for export.
      
      	Event data:
      		data[id]      -- the page id
      		data[mode]    -- requested export mode
      		data[headers] -- headers of the requested export mode
      		data[output]  -- export output
      
      darcs-hash:20080828200321-23886-6676682f33fa5c2d9f0c0a21fa26154baf4e137a.gz
      f6dad9fd
  8. Aug 25, 2008
  9. Aug 23, 2008
    • Andreas Gohr's avatar
      redirect on show/POST · 69cd1e27
      Andreas Gohr authored
      Now a redirect is always done when the final action is show, but the reqeuest
      method is POST. This handles actions like cncel autmatically and ensures nice
      URLs are reinstated.
      A new event ACTION_SHOW_REDIRECT wraps the redirect.
      
      darcs-hash:20080823174550-7ad00-4969a9467b5bca12412507fd6b177088a1c5363f.gz
      69cd1e27
  10. May 06, 2008
    • Andreas Gohr's avatar
      jump to edited section after editing FS#643 · f951a474
      Andreas Gohr authored
      This patch adds a mecanism that tries to scroll down to the section that was
      just edited when using section editing. The approach used is not failsafe, but
      should work in most cases. It will not work correctly when:
      
        * multiple sections on the page have the same headline
        * the edited section no longer starts with a headline
      
      darcs-hash:20080506205011-7ad00-9d213d4436c4f01840d3f62277c3fee9e316d447.gz
  11. May 04, 2008
  12. Mar 18, 2008
  13. Feb 27, 2008
    • Guy Brand's avatar
      Add namespace changes mail notifications · 52b0dd67
      Guy Brand authored
      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
      52b0dd67
  14. Feb 08, 2008
  15. Oct 16, 2007
    • Andreas Gohr's avatar
      header support for renderer plugins · 85767031
      Andreas Gohr authored
      Renderer plugins now can store HTTP header information in 'format <mode>' which
      will be used to send their output. Also fixes a problem with loading cache files.
      
      darcs-hash:20071016185626-7ad00-c0e18a90b310daf0d3a3c01d7a73f3524ced803d.gz
      85767031
  16. Sep 30, 2007
    • Andreas Gohr's avatar
      don't use realpath() anymore (FS#1261 and others) · 00976812
      Andreas Gohr authored
      The use of realpath() to clean up relative file names caused some
      trouble in certain setups relying on symlinks or having restricitve
      file structure setups.
      
      This patch replaces all realpath() calls with a PHP only replacement
      which should solve those problems.
      
      darcs-hash:20070930184250-7ad00-512ff04c95f57fc9eaf104f80372237a3c94286f.gz
      00976812
  17. Aug 30, 2007
  18. Aug 09, 2007
  19. May 16, 2007
  20. Apr 22, 2007
    • Andreas Gohr's avatar
      removed ACTION_REGISTER event · b3510079
      Andreas Gohr authored
      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.
      
      darcs-hash:20070422095013-7ad00-179a3784f9edb5840cdb8fb5296015a60c79859e.gz
      b3510079
  21. Dec 03, 2006
    • Andreas Gohr's avatar
      pluggable renderers · 2d5ccb39
      Andreas Gohr authored
      Plugins can now provide their own renderer in lib/plugins/<name>/renderer.php
      The class inside this file needs to inherit from Doku_Renderer and has to be
      called Doku_Renderer_<name>
      
      To access the renderer the export action can be used eg: ?do
      
      darcs-hash:20061203190138-7ad00-f56b470b5dd043e1168ff2101c677eb8a9851627.gz
      2d5ccb39
    • Andreas Gohr's avatar
      manager user/group · f8cc712e
      Andreas Gohr authored
      This patch adds support for a manager option as suggested in
      http://www.freelists.org/archives/dokuwiki/11-2006/msg00314.html
      
      darcs-hash:20061203134104-7ad00-72ff6422bbb4f79be325c7e77255e1eee32d0f6b.gz
      f8cc712e
  22. Nov 16, 2006
  23. Oct 27, 2006
  24. Oct 20, 2006
  25. Sep 23, 2006
  26. Jul 10, 2006
  27. Jul 02, 2006
    • Andreas Gohr's avatar
      disableactions support · 409d7af7
      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
      409d7af7
  28. Jun 06, 2006
  29. Apr 24, 2006
    • chris's avatar
      event system revision · 24bb549b
      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
      24bb549b
  30. Apr 15, 2006
    • chris's avatar
      event SEND_HEADERS · f63a2007
      chris authored
      Event data an array of headers dokuwiki will send[1].
      The default action is to output all the headers in order using the header() function.
      
      This event is a full trigger, meaning there are three advises:
      - SEND_HEADERS_before
      - SEND_HEADERS
      - SEND_HEADERS_after
      
      Handlers of this event can add/modify/delete the headers in the event data. The event
      data must remain an array, even if emptied.
      
      [1] There is one dokuwiki header 'Content-Type: text/html; charset
      
      darcs-hash:20060415160210-9b6ab-841bd034b797c7f1b8d4bbc66f90185a16e5a043.gz
      f63a2007
  31. Apr 14, 2006
    • chris's avatar
      add ACTION_DISPATCH event · c2e830f2
      chris authored
      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
      c2e830f2
  32. Mar 11, 2006
    • Andreas Gohr's avatar
      Automatic draft saving · ee4c4a1b
      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
      ee4c4a1b
  33. Mar 07, 2006
  34. Mar 04, 2006
  35. Feb 24, 2006
  36. Feb 17, 2006
  37. Feb 03, 2006
    • Andreas Gohr's avatar
      fix special char ID handling · 0868021b
      Andreas Gohr authored
      A given ID consisting of special chars only (either added manually in the URL
      or in the search box) will be ignored correctly now.
      
      darcs-hash:20060203153945-7ad00-60fc38b49604f45bb2ca912a9c76c619ad60ac44.gz
      0868021b
Loading