Skip to content
Snippets Groups Projects
  1. Apr 20, 2006
    • Ben Coburn's avatar
      smart cache-control headers for media fetch · 83730152
      Ben Coburn authored
      The HTTP Cache-Control header output now respects the Dokuwiki media parameters
      'cache', 'recache', and 'nocache'.
        - cache: cachetime or one hour (which ever is larger)
        - recache: remaining cachetime + 10 seconds so the newly recached media is used
        - nocache: no caching
      
      Notes:
        - 'proxy-revalidate' should ensure that public caches always revalidate, this
          will keep caches from (accidentally) ignoring Dokuwiki's ACL rules.
        - 'no-transform' should keep media from being modified in transit by caches.
      
      Impact:
      Speeds up page layout/display by browsers when they already have the media
      in their [memory] cache. For example the 2nd time a page is viewed. This
      also reduces server load by eliminating most of the overhead needed to
      return '304 Not Modified' responses each time an image is viewed.
      
      darcs-hash:20060421025424-05dcb-23ff26c5cb410bcd166299a840f4c500fa0d112e.gz
      83730152
    • Ben Coburn's avatar
      bugfix fetch remote media (recache and nocache) · 4f3c4962
      Ben Coburn authored
      Fixes a major bug in fetching remote media with 'recache' and improves
      the efficiency of 'nocache'.
      
      Recache:
        - Used to reload the remote media on EVERY request.
        - Now it behaves as intended and only reloads the remote media
          into the Dokuwiki cache every $conf['cachetime'] time.
      
      Nocache:
        - No longer stores remote media in the Dokuwiki cache.
        - No longer loads, saves, and forwards remote media -- just redirects.
        - No longer resizes images on the server because the cached results
          can not be reused.
      Overall this is faster for Dokuwiki. The bandwidth usage for
      the 3rd party server is the same (less for Dokuwiki). Page loading
      should also be faster because data is not being forwarded through
      Dokuwiki (and the 3rd part server's cache control headers will be
      respected automatically).
      
      darcs-hash:20060421012210-05dcb-a6029baa0fad218ace28e0e3c2f442b1ca645a99.gz
      4f3c4962
  2. Apr 27, 2006
    • Ben Coburn's avatar
      accesskey tooltip rewriting · b1112787
      Ben Coburn authored
      Does client-side rewriting of accesskey tooltip text so that it will be
      more OS and browser specific. Dokuwiki should output all accesskey tooltips
      as [ALT+<key>] because this patch matches on "[ALT+".
      
      darcs-hash:20060428015158-05dcb-0102a1b2068c053e81dd21ad3927c78b6c9f349e.gz
      b1112787
  3. 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
  4. Apr 16, 2006
  5. Apr 14, 2006
    • chris's avatar
      action plugins · f65bfee1
      chris authored
      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
      f65bfee1
  6. Apr 12, 2006
    • Andreas Gohr's avatar
      consistent filetype icons · c6480b76
      Andreas Gohr authored
      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
      c6480b76
  7. Apr 10, 2006
  8. Apr 09, 2006
  9. Mar 27, 2006
  10. Mar 26, 2006
  11. Mar 23, 2006
  12. Mar 20, 2006
    • Ben Coburn's avatar
      'Back to top' style bug fix · 0e99f6d7
      Ben Coburn authored
      Removes some link underlining that would appear around the 'Back to top' button.
      
      darcs-hash:20060321020948-05dcb-e0e5f2d30bd05bad37ad64d587fc4dc29abcb30b.gz
      0e99f6d7
  13. Mar 22, 2006
  14. Mar 20, 2006
    • larsch8's avatar
      Danish lang update · 902ea3be
      larsch8 authored
      darcs-hash:20060321005453-a08f5-274da46720f4487a03d8ba55b3ce1d48b6a5346c.gz
      902ea3be
  15. Mar 17, 2006
  16. Mar 15, 2006
  17. Mar 14, 2006
  18. Mar 13, 2006
    • Andreas Gohr's avatar
      experimental shadow effect for input controls · b8bf26bf
      Andreas Gohr authored
      This adds a shadow effect to input fields and buttons for the default
      template. It uses alphatransparency PNGs so it will may look bad for IE
      in some cases. I think it adds some nice 3D effect making inputs and
      buttons easily distictable without any complicated CSS markup.
      
      darcs-hash:20060313221312-7ad00-73e0d0c23d8bb151c0e05dd1b92c7e4286da591b.gz
      b8bf26bf
  19. Mar 12, 2006
    • larsch8's avatar
      Danish lang update · f1fb9de9
      larsch8 authored
      darcs-hash:20060312214049-a08f5-181fb8115f702521bab9f2e95700f8bd9ab7316d.gz
      f1fb9de9
  20. Mar 11, 2006
  21. Mar 09, 2006
  22. Mar 08, 2006
Loading