Skip to content
Snippets Groups Projects
  1. Jul 14, 2012
  2. Jun 25, 2012
  3. Jun 24, 2012
    • Andreas Gohr's avatar
      Introducing a $_REQUEST/POST/GET wrapper · 89177306
      Andreas Gohr authored
      This new wrapper ensures types are correct and accessed parameters are
      actually set (with custom default fallbacks).
      
      The wrapper is available in the global $INPUT variable. It accesses
      $_REQUEST by default. If POST or GET is required, the post and get
      members can be used:
      
      $INPUT->int('foo',false); // access $_REQUEST['foo'], default false
      $INPUT->post->int('foo'); // access $_POST['foo'], default 0
      $INPUT->get->int('foo'); // access $_GET['foo'], default 0
      
      The codebase still needs to be updated to make use of this.
      89177306
  4. May 27, 2012
  5. Jan 30, 2012
    • Andreas Gohr's avatar
      DOKU_TPL* considered harmful · c4766956
      Andreas Gohr authored
      Some plugins want to dynamically switch the template based on users,
      namspaces or the phase of the moon. Having fixed paths in a unchangable
      constant prevents this.
      
      This changes deprecates the DOKU_TPL* constants in favor of two new
      tpl_* functions that return the correct paths based on the $conf
      variables which can be changed from the DOKUWIKI_STARTED event.
      c4766956
  6. Jan 24, 2012
  7. Jan 15, 2012
    • Michael Hamann's avatar
      Disable E_STRICT error reporting · 4fcd684a
      Michael Hamann authored
      This change disables the reporting of strict standard errors in PHP 5.4,
      in PHP versions prior to 5.4 E_STRICT wasn't part of E_ALL so for
      these versions this doesn't cause any change (however E_STRICT is
      available in all versions of PHP 5 so this doesn't cause any problems).
      See also FS#2427.
      4fcd684a
  8. Nov 19, 2011
  9. May 26, 2011
  10. Mar 21, 2011
  11. Feb 06, 2011
  12. Jan 16, 2011
  13. Jan 02, 2011
  14. Dec 29, 2010
  15. Dec 18, 2010
  16. Nov 05, 2010
  17. Oct 18, 2010
  18. Jun 27, 2010
  19. Jun 26, 2010
    • Andreas Gohr's avatar
      create title.idx with the correct length FS#1978 · 345b1674
      Andreas Gohr authored
      The title.idx file needs to have exactly the same length as the
      page.idx. This patch creates the file with the correct length if it
      doesn't exist yet.
      
      If you upgrade in between you need to delete your data/index/title.idx
      file
      345b1674
  20. Jun 16, 2010
  21. Mar 26, 2010
  22. Mar 15, 2010
  23. Feb 01, 2010
    • Andreas Gohr's avatar
      plugin related autoloading · c2a6d816
      Andreas Gohr authored
      This patch moved the place where DOKU_PLUGIN is defined. It no longer
      can be set from a normal config (only via preload)
      c2a6d816
  24. Jan 31, 2010
    • Andreas Gohr's avatar
      first attempt to centralize all include loading · 16905344
      Andreas Gohr authored
      Classes are loaded throug PHP5's class autoloader, all other
      includes are just loaded by default. This skips a lot of
      require_once calls.
      
      Parser and Plugin stuff isn't handled by the class loader yet.
      16905344
  25. Nov 04, 2009
    • Adrian Lang's avatar
      Emit less E_NOTICEs and E_STRICTs · c66972f2
      Adrian Lang authored
        Changes of behaviour are:
        * Allow the user name, title & description \e2\80\9c0\e2\80\9d
        * Default to Port 443 if using HTTPS
        * Set $INFO['isadmin'] and $INFO['ismanager'] to \e2\80\9cfalse\e2\80\9d even if no user is
          logged in
        * Do not pass empty fragment field in the event data for event
          ACTION_SHOW_REDIRECT
        * Handle chunked encoding in HTTPClient
      
      darcs-hash:20091104100115-e4919-5cf6397d4a457e3f98a8ca49fbdab03f2147721d.gz
      c66972f2
  26. Nov 03, 2009
  27. Oct 20, 2009
    • Andreas Gohr's avatar
      Coding Standard Cleanup · db959ae3
      Andreas Gohr authored
      Ignore-this: 259cb5773c3144c6c706d87298dcf674
      
      darcs-hash:20091020212338-7ad00-6bf1c5c403491f136a1c02af5ecd9f84d7227107.gz
      db959ae3
  28. Oct 16, 2009
    • furun's avatar
      Whitespace cleanup FS#1709 · 47583ff0
      furun authored
      Ignore-this: 27ea52110bce929b2c61ed8faba67cfc
      
      darcs-hash:20091016205526-c0bf4-35eba4e65d37980a667ba982f7f1ea5b7b07f01c.gz
      47583ff0
  29. Aug 01, 2009
  30. May 26, 2009
  31. Feb 05, 2009
  32. Jan 22, 2009
  33. Jan 19, 2009
  34. 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
    • 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
Loading