Skip to content
Snippets Groups Projects
  1. Apr 28, 2006
  2. 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
  3. Apr 15, 2006
    • chris's avatar
      event ACTION_TEMPLATE minor update · 8f4f35ec
      chris authored
      darcs-hash:20060415162247-9b6ab-d6c05736c0e4fb05331bc1cf06e48c5d61c64d5b.gz
      8f4f35ec
    • chris's avatar
      events TPL_ACTION_HTML & TPL_DISPLAY_HTML · 7ea0913c
      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
      7ea0913c
  4. Apr 14, 2006
    • chris's avatar
      event ACTION_TEMPLATE · 5c752f6c
      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
      5c752f6c
  5. Apr 10, 2006
    • Ben Coburn's avatar
      pagetitle as template pagename · a6598f23
      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
      a6598f23
  6. Apr 04, 2006
    • Ben Coburn's avatar
      rewrite export URLs · f5c2808f
      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
      f5c2808f
  7. Apr 03, 2006
  8. Mar 31, 2006
  9. Mar 22, 2006
  10. 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
  11. Mar 08, 2006
  12. Mar 06, 2006
  13. Mar 05, 2006
  14. Mar 02, 2006
  15. Feb 28, 2006
  16. Feb 26, 2006
  17. Feb 24, 2006
  18. Feb 17, 2006
  19. Feb 03, 2006
  20. Jan 27, 2006
  21. Jan 24, 2006
  22. Jan 21, 2006
    • Andreas Gohr's avatar
      urlencode -> rawurlencode (related to #685) · b6c6979f
      Andreas Gohr authored
      This changes nearly all occurences of urlencode to rawurlencode. The latter
      encodes spaces as %20 while the former uses a + sign. For the use in browser
      URLs %20 is the correct form.
      
      darcs-hash:20060121192747-7ad00-6563b77368a41f071609495c6a145982938a8301.gz
      b6c6979f
    • Andreas Gohr's avatar
      removed graphical list bullet · 0c6b58a8
      Andreas Gohr authored
      Unordered lists used a graphic for the list bullet. Using the same technique
      as in the ordered lists we don't need an image just to have the color. This
      has two advantages:
      
      1. The list bullets still have the correct color when colors are adjusted
      in style.ini
      
      2. List bullets grow and shrink correctly with the fontsize
      
      It has a disadvantage as well: All list items need to be marked up like this:
      
      <li><div class
      
      darcs-hash:20060121121435-7ad00-c6455f9b58c6e78b630c1121499e2052525fb556.gz
      0c6b58a8
  23. Jan 15, 2006
  24. Jan 14, 2006
  25. Nov 25, 2005
  26. Nov 18, 2005
  27. Nov 11, 2005
  28. Nov 03, 2005
    • Andreas Gohr's avatar
      hidepages configoption · 0dc92c6f
      Andreas Gohr authored
      This new option accepts a RegExp to filter certain pages from all automatic
      listings (RSS, recent changes, search results, index). This is useful to
      exclude certain pages like the ones used in the sitebar templates. The
      regexp is matched against the full page ID with a leading colon. If it
      matches the page is assumed to be a hidden one.
      
      IMPORTANT: this is not related to ACL. A hidden page is still visible to all
      users (if not restricted by ACL) when linked or called directly.
      
      darcs-hash:20051103101726-6e07b-8d45912a1b4f6cfc9e3fce147c15f84a58ea7ca2.gz
      0dc92c6f
  29. Nov 01, 2005
  30. Oct 29, 2005
  31. Oct 28, 2005
    • Andreas Gohr's avatar
      JavaScript refactoring · bad31ae9
      Andreas Gohr authored
      This patch addes a first go on a central javascript and CSS dispatcher
      which builds a single script from all needed scripts, does optimizing
      and caching.
      
      darcs-hash:20051029002652-7ad00-7558b569c2bf65f5e41820644580d97c62edd0d6.gz
      bad31ae9
  32. Oct 21, 2005
  33. Oct 20, 2005
  34. Oct 15, 2005
    • Andreas Gohr's avatar
      insert media with leading colon · 6e37f3d9
      Andreas Gohr authored
      fixes a bug when a mediafile from the top namespace is referenced in
      a subnamespace. Thanks to Otto Vainio for reporting
      
      darcs-hash:20051015191850-7ad00-b5c2c965b6032b081973e25d02adb2a9408b54de.gz
      6e37f3d9
    • Andreas Gohr's avatar
      more unobstrusive javascript · 5e163278
      Andreas Gohr authored
      The edit form now is free of inline event handlers. There are still other
      places where inline javascript and even document.write is used which should
      be fixed as well. Currently the window.onload event is used to initialize
      everything which may not the best way to do so. Dean Edwards may have a
      solution: http://dean.edwards.name/weblog/2005/09/busted/
      
      darcs-hash:20051015184404-7ad00-2404744d008e5ea7e1b5800c96800824b532ff47.gz
      5e163278
  35. Oct 08, 2005
Loading