Skip to content
Snippets Groups Projects
  1. Feb 28, 2009
    • Gina Haeussge's avatar
      Split confToHash into confToHash and linesToHash · edcb01e5
      Gina Haeussge authored
      New function linesToHash (which now is used by existing function
      confToHash) allows for parsing of given strings into a config
      hash.
      
      darcs-hash:20090228130423-2b4f5-e4f08c80350d83d3d93a4652aa8db1aae96e3a13.gz
      edcb01e5
  2. Jan 27, 2009
  3. Jan 22, 2009
    • Chris Smith's avatar
      further updates to config_cascade patch · f8121585
      Chris Smith authored
      - add mediameta and license config files into the cascade
      - update the cache validity code in cache.php, css.php & js.php to use config_cascade
      - redo inclusion of main config files to avoid suppression of errors in config files
      - add getConfigFiles($type) function
      - minor updates elsewhere to use config_cascade rather than hardcoded config file names
      
      darcs-hash:20090122114457-f07c6-98ad5627fd5df93edf8dd03289b9cf6d81962afe.gz
      f8121585
  4. Jan 19, 2009
  5. Jan 18, 2009
    • 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
  6. Dec 13, 2008
  7. Dec 02, 2008
    • Andreas Gohr's avatar
      Make content-disposition configurable in mime.conf FS#1541 · ecebf3a8
      Andreas Gohr authored
      With this patch it is possible to define if a file should be served as download
      or be displayed inside the browser (if supported) by configuring it in
      conf/mime.conf
      
      Mimetypes that should be served with a "Content-Disposition: attachment" header
      need to be prefixed with a exclamation mark. All others will be served inline.
      
      This will also fix a Problem with Flash 10.
      
      darcs-hash:20081202210322-7ad00-6e7ef30aff9322cd135311be77809187da121f3b.gz
      ecebf3a8
  8. Nov 19, 2008
    • Chris Smith's avatar
      FS#630: allow $conf['useheading'] to individually apply to content links and/or navigation links · fe9ec250
      Chris Smith authored
      $conf['useheading'] values are now:
      - 0            : off, use page name in link text
      - 'content'    : use first heading text for links in wiki page content
      - 'navigation' : use first heading text for links in non-page content, e.g. breadcrumps, backlinks, search results, etc.
      - 1            : use first heading text in all links
      (for backwards compatibility, any other values are mapped to 0 or 1 by empty() function.)
      
      $conf['useheading'] value should now be checked using the useHeading($linktype) function,
      where linktype can be "content" or "navigation"
      
      darcs-hash:20081119140758-f07c6-6e26456d50dcecc949fada31b0d4e72877fde1cc.gz
      fe9ec250
  9. Oct 12, 2008
  10. May 05, 2008
  11. Dec 18, 2007
    • Andreas Gohr's avatar
      make hashs escapable in configfile #1282 · 03ff8795
      Andreas Gohr authored
      If a hash is needed in config files (parsed by confToHash) it can be escaped
      as \# (backslash hash) to avoid having it treated as comment start
      
      darcs-hash:20071218141030-7ad00-4c0c7317f2f049537d8ed02b47c6c2a18627ee86.gz
      03ff8795
  12. 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
  13. 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
  14. Feb 17, 2006
  15. Jan 21, 2006
  16. Dec 13, 2005
  17. Jul 29, 2005
  18. Jul 23, 2005
    • Andreas Gohr's avatar
      Local configuration files #349 · 4a9a52be
      Andreas Gohr authored
      Local configs can now be added to the following files to make
      updating simpler:
      
      acronyms.local.conf
      mime.local.conf
      smileys.local.conf
      entities.local.conf
      interwiki.local.conf
      
      darcs-hash:20050723204824-7ad00-18b8e238f41bce4d3ac25c89bff5b9abf33620f4.gz
      4a9a52be
  19. Jun 27, 2005
    • Steven Danz's avatar
      local_acronyms.patch · d2ee49ce
      Steven Danz authored
      Add the option of using a local.acronyms.conf file to specify local acronyms
      without having to edit the default set
      
      darcs-hash:20050628023628-3ed6d-2740b411efc124671f235ff9ebfc292c7d331709.gz
      d2ee49ce
  20. Apr 29, 2005
    • andi's avatar
      comments and cleanup · 3fd0b676
      andi authored
      darcs-hash:20050429114925-9977f-ff5b6dcf702b533a2dd64397522da7cd7b97f092.gz
      3fd0b676
  21. Apr 26, 2005
    • andi's avatar
      more interwiki fixes #273 · 27a2b085
      andi authored
      darcs-hash:20050426181358-9977f-3b12ff92c5671e6703d67ad518379961042da0c3.gz
      27a2b085
  22. Apr 16, 2005
  23. Apr 15, 2005
  24. Apr 14, 2005
    • andi's avatar
      more fetch.php hacking · 426d8ff4
      andi authored
      darcs-hash:20050414205219-9977f-abd598794c5261b12a89d402e481d3425851d2b9.gz
      426d8ff4
  25. Apr 13, 2005
  26. Apr 10, 2005
    • andi's avatar
      new parser - more fixes · 4de671bc
      andi authored
      darcs-hash:20050410170115-9977f-620a5fccdc80d5af01d0b9aec9f8b1fb8e4c667d.gz
      4de671bc
Loading