Skip to content
Snippets Groups Projects
  1. Jan 18, 2009
    • Chris Smith's avatar
      Major rework of pluginutils · 10e43949
      Chris Smith authored
      This patch completely reworks pluginutils to:
      - reduce the number of file accesses to enumerate and load plugins
      - change the way disabled plugins are recorded.
        a disabled plugin will now have ".disabled" added to its directory name
        (this halves the number of file accesses required to enumerate installed plugins)
      - place the guts of pluginutils code inside a class, Doku_Plugin_Controller,
        the existing access routines are preserved and no changes are required.
      - add two globals, $plugin_controller_class & $plugin_controller
        this allows preload.php to define its own plugin controller class
      - update config plugin to support new plugin structure
        config plugin now issues a PLUGIN_CONFIG_PLUGINLIST event before it
        finalizes the list of plugins it will be working with.  Handlers of this
        event can remove plugins from the list.
      - update plugin manager plugin to support new plugin structure
        plugin manager now issues a PLUGIN_PLUGINMANAGER_PLUGINLIST event similarly
        to config plugin.
      - plugin manager updated to redirect after changes to plugins and to use msg()
      
      Finally, this patch contains a one-shot action plugin which will automatically
      convert a plugins directory from the old style disabled file to the new style.
      
      Note for darcs users, the new disabled format will mean a couple of old oneshot
      plugins, importoldchangelog and importoldindex, will have their directory names
      changed, which could lead to darcs wanting to record the change.
      
      darcs-hash:20090118190143-f07c6-d2e79af546a49a4af5817dd0c5cc27066e67c4d0.gz
      10e43949
    • Chris Smith's avatar
      Add capability to send pre-compressed js & css files if the browser can accept them · ca2b464b
      Chris Smith authored
      - save a gzipped version of js & css files at the same time as the uncompressed version is cache
      - basic content negotiation to send the compressed files
      - uses sendfile (for compressed or uncompressed versions) if config indicates its available
      
      darcs-hash:20090118184354-f07c6-66c5b465ab147d83de409708bab2c47d1dafcf8d.gz
      ca2b464b
    • Chris Smith's avatar
      add http_sendfile() function · 6106ad89
      Chris Smith authored
      - update fetch.php to use the new function
      
      darcs-hash:20090118183600-f07c6-65c818bba58fab8856c9f353ff4953ead9b5221e.gz
      6106ad89
    • Chris Smith's avatar
      Rework configuration loading to use a predefined file list or cascade · cb043f52
      Chris Smith authored
      This change add the global $config_cascade which holds the list of files to be
      read for each configuration setting group.  Dokuwiki adds in its configuration
      file values after preload.php, giving preload.php to set its own configuration
      cascade.
      
      One side effect of the change is "local.protected.php" is part of the default
      cascade, removing the need for it to be included at the bottom of local.php.
      
      darcs-hash:20090118181204-f07c6-fea1c406da1bbdb0a52ab40914f11b835e797728.gz
      cb043f52
  2. Jan 19, 2009
  3. Jan 18, 2009
    • michael's avatar
      Media changelog added · 99c8d7f2
      michael authored
      There is a new media changelog now, with the flag RECENTS_MEDIA_CHANGES media changes can be requested from the getRecents()-function or the new getRecentsSince()-function, that returns all changes since a given timestamp and optionally before a given timestamp. The media upload and the XML-RPC-server have been changed to use these functions.
      
      Additionally, the event MEDIA_UPLOAD_FINISH has been extended, it has a new $data-attribute (the 5th), that contains a boolean if the file does already exist and will be overwritten.
      
      darcs-hash:20090118154345-074e0-5d9a90d269e86d8c6a156ecce5cf63115c827433.gz
      99c8d7f2
    • Luis Dantas's avatar
      Brazilian Portuguese language update · 5dfff279
      Luis Dantas authored
      darcs-hash:20090118200637-15659-d4230d3d5d713aa30d0034813b8f0828ca3d126e.gz
      5dfff279
    • Andreas Gohr's avatar
      fixed indexer which was broken by miscalculation in previous optimization · c5418046
      Andreas Gohr authored
      darcs-hash:20090118200357-7ad00-2d3a8dcb57ef5d19efe65fd4af8c26af261aef06.gz
      c5418046
  4. Jan 17, 2009
  5. Jan 16, 2009
  6. Jan 15, 2009
  7. Jan 14, 2009
    • Andreas Gohr's avatar
      removed punbb auth backend · 1e4a1d18
      Andreas Gohr authored
      Since PunBB 1.2.x is no longer current but PunBB 1.3.x is not supported by the
      backend it is removed from the default distribution. The code was put up on
      http://www.dokuwiki.org/auth:punbb
      
      Note, that changes making an 1.3.x compatible version possible where pushed
      earlier this day.
      
      darcs-hash:20090114203914-7ad00-07063accb48675952792b9d06760bf9a748d5cd1.gz
      1e4a1d18
    • Andreas Gohr's avatar
      function_exists checks in utf8 lib for compatibility with 3rd party libs · df957b36
      Andreas Gohr authored
      The DokuWiki UTF-8 library and its derivates are very popular in Open Source
      PHP software. This makes trouble due to name clashes, when 3rd party
      software libraries need to be loaded within DokuWiki.
      
      A common example is using the authentication libraries of popular forum
      systems (PHP3, PunBB3).
      
      With the checks added, DokuWiki will rely on the 3rd party UTF-8 functions
      instead of its own ones. As long as they are really the same, this will
      work.
      
      Users of 3rd party libs need to check compatibility between implementations
      themselves.
      
      darcs-hash:20090114201824-7ad00-40fcc2e1abec42adabef5596a6617fbaa22291d5.gz
      df957b36
    • Arne Pelka's avatar
      German language update · 6a83a919
      Arne Pelka authored
      darcs-hash:20090114194125-ce5f5-57ad64d6f969272d6d37dd7268146d2e5842b28e.gz
      6a83a919
    • Andreas Gohr's avatar
      fixed typo in tpl_license() · 1481facf
      Andreas Gohr authored
      darcs-hash:20090114185521-7ad00-3bb2c0be133fb4a3077613006b8e93f10b7d798a.gz
      1481facf
    • Michael Klier's avatar
      minor cosmetic fix for tpl_license() · 5bb99c63
      Michael Klier authored
      darcs-hash:20090114054432-23886-99834406fd085fd7d3f49fd4f6cffc618adfadc8.gz
      5bb99c63
    • Andreas Gohr's avatar
      fixed corrupt if statement introduced by earlier patch · 06156f3c
      Andreas Gohr authored
      darcs-hash:20090114175244-7ad00-22fe37641598c13f13266bf0b50c3b93fe912344.gz
      06156f3c
    • Andreas Gohr's avatar
      Added HTTP check for data directory security · 3b1dfc83
      Andreas Gohr authored
      The ?do
      
      darcs-hash:20090114174724-7ad00-cc45b798d930b7e87c3c820925982fb8201cf7f4.gz
      3b1dfc83
    • Andreas Gohr's avatar
      make HTTP SSO possible for IIS or rewriting · 528ddc7c
      Andreas Gohr authored
      DokuWiki silently attemps to resuse received HTTP auth credentials for
      user logins. Unfortunately these are only passed to PHP when using
      mod_php. IIS provides a HTTP_AUTHORIZATION header which now will
      be decoded and used as well.
      
      This header can also be faked via mod_rewrite:
      
      <IfModule mod_rewrite.c>
      RewriteEngine on
      RewriteRule .* - [E
      
      darcs-hash:20090114153601-7ad00-6c75e8568eda6753834981642eed638b9eb01694.gz
      528ddc7c
  8. Jan 13, 2009
  9. Jan 12, 2009
Loading