Skip to content
Snippets Groups Projects
  1. May 19, 2006
  2. May 16, 2006
    • Ben Coburn's avatar
      jpg quality option · 2b03e74d
      Ben Coburn authored
        - Adds a jpg quality setting for scaled images
          (Some images were getting too many jpg artifacts
           at the hard-coded compression setting.)
        - Creates a group for the media settings in the
          config plugin.
      
      darcs-hash:20060516062321-05dcb-a175b0de3264322a335cf60d8ee96317f7b03144.gz
      2b03e74d
  3. 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
  4. Mar 15, 2006
  5. Mar 02, 2006
  6. Dec 03, 2005
  7. Oct 21, 2005
  8. Sep 22, 2005
    • Andreas Gohr's avatar
      fixed bug in fetch.php on windows systems · 7bc7a78e
      Andreas Gohr authored
      fetch.php used is_executable() to check for the ImageMagick convert
      tool. The function is not available prior PHP 5 for Windows systems.
      fetch now only checks if the config variable is set.
      
      darcs-hash:20050922165540-7ad00-f787b5be5c4e9ce4eb31399a1f3ce8dcd1654c60.gz
      7bc7a78e
  9. Sep 11, 2005
    • Pavel Vitis's avatar
      support for ImageMagicks convert in fetch.php · 68375754
      Pavel Vitis authored
      This patch allows one to set $conf['im_convert'] to use ImageMagick
      instead of PHPs libGD to resize images. convert is more powerful
      than libGD - it can resize animated gifs for example.
      
      darcs-hash:20050911140225-c484b-10fbb66d003c839debc98edf814e261bddea3aa6.gz
      68375754
  10. Aug 27, 2005
  11. Aug 14, 2005
    • Andreas Gohr's avatar
      URL rewriting for media files · 6de3759a
      Andreas Gohr authored
      This patch adds nicer URLs for media files (for fetch.php and
      detail.php)
      
      !IMPORTANT! Users of rewrite mode 1 need to adjust their .htaccess
      See .htaccess.dist for an example
      
      darcs-hash:20050814101834-7ad00-37ef1dea00affc9d808d9ee1289fa7454199cd24.gz
      6de3759a
  12. Jul 28, 2005
  13. Jun 26, 2005
    • andi's avatar
      directory cleanup · 98407a7a
      andi authored
      This cleans up the directory structure as discussed on the mailning
      list. Users should delete their previous _cache directories to
      recover diskspace.
      
      darcs-hash:20050626100913-9977f-83c0fdc32047db2090fc52a843ffae50cbf12248.gz
      98407a7a
  14. Jun 08, 2005
    • andi's avatar
      session_write_close added #364 · 8746e727
      andi authored
      I just learned that PHP does lock it's session objects. This is realy
      bad if you have multiple images in a page as each one will call fetch.php
      which locks the session, so everything can only be loaded sequentially.
      The fix for this is to close the session after using it which is after doing
      the auth and the breadcrumbs. I added the needed calls everywhere.
      
      darcs-hash:20050608213514-9977f-f2dfc467ebbd06406e10e33a386fa1db6cb32dba.gz
      8746e727
  15. Jun 06, 2005
    • matthiasgrimm's avatar
      cache control header · ea19fb87
      matthiasgrimm authored
      This patch adds a cache control header to fetch.php. Without
      this header media files can't be opened and viewed with third
      party programs directly from the IE browser window. For eg.
      Acrobat Reader will display an error message after clicking
      on a link to a PDF file. Firefox will work without it.
      
      darcs-hash:20050606154420-7ef76-2b46b0eb626488cec122a00cc32f86a28542b161.gz
      ea19fb87
  16. Jun 05, 2005
    • matthiasgrimm's avatar
      fetch directory structure fix · b1a72e3d
      matthiasgrimm authored
      fetch.php was not fully adapted to the new directory structure - fixed
      
      darcs-hash:20050605130154-7ef76-22d557d49733aaa8d992e767ebfed16c92fb3c76.gz
      b1a72e3d
    • andi's avatar
      directory layout cleanup !IMPORTANT · f62ea8a1
      andi authored
      This patch changes the directory structure of dokuwiki as suggested
      in http://www.freelists.org/archives/dokuwiki/06-2005/msg00045.html
      
      As the changes.log is not managed through darcs you need to move it your
      self to the new location in data/changes.log
      
      I think I modified the code at all nessessary places, but I may have
      forgotten a few things.
      
      darcs-hash:20050605103842-9977f-af20f63c1d604888375d175d89ac6bd71566d47d.gz
      f62ea8a1
  17. May 11, 2005
    • andi's avatar
      fix for fetch.php · 6e57b36b
      andi authored
      there is no need to close the filehandle after calling fpassthru
      which does close the handle itself
      
      darcs-hash:20050511175144-9977f-59252300c856d170b28581cdc46646ed68cd5acc.gz
      6e57b36b
  18. May 04, 2005
  19. May 01, 2005
  20. Apr 16, 2005
  21. Apr 15, 2005
  22. Apr 14, 2005
    • andi's avatar
      more fetch.php hacking · 426d8ff4
      andi authored
      darcs-hash:20050414205219-9977f-abd598794c5261b12a89d402e481d3425851d2b9.gz
      426d8ff4
  23. Apr 13, 2005
Loading