Skip to content
Snippets Groups Projects
  1. Mar 26, 2010
  2. Mar 15, 2010
  3. 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
  4. 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
  5. 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
  6. Nov 03, 2009
  7. Oct 20, 2009
    • Andreas Gohr's avatar
      Coding Standard Cleanup · db959ae3
      Andreas Gohr authored
      Ignore-this: 259cb5773c3144c6c706d87298dcf674
      
      darcs-hash:20091020212338-7ad00-6bf1c5c403491f136a1c02af5ecd9f84d7227107.gz
      db959ae3
  8. Oct 16, 2009
    • furun's avatar
      Whitespace cleanup FS#1709 · 47583ff0
      furun authored
      Ignore-this: 27ea52110bce929b2c61ed8faba67cfc
      
      darcs-hash:20091016205526-c0bf4-35eba4e65d37980a667ba982f7f1ea5b7b07f01c.gz
      47583ff0
  9. Aug 01, 2009
  10. May 26, 2009
  11. Feb 05, 2009
  12. Jan 22, 2009
  13. Jan 19, 2009
  14. 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
  15. Dec 12, 2008
  16. Dec 13, 2008
    • Andreas Gohr's avatar
      don't check for file existance in fullpath() by default · b328697d
      Andreas Gohr authored
      In most (all) calls to fullpath() the existance of the resulting path is not
      important or is checked externally, so checking inside fullpath() is a waste
      of CPU cycles.
      
      darcs-hash:20081213083355-7ad00-4987a85950a13e5d3c527b3b17b1092e0fa1c567.gz
      b328697d
  17. Dec 12, 2008
  18. Oct 12, 2008
  19. Sep 29, 2008
    • Andreas Gohr's avatar
      keep undisplayed messages over redirects · 14a122de
      Andreas Gohr authored
      When act_redirect is executed (post data was received and mode show is called)
      all undisplayed messages (from calls to msg()) are saved in the session now.
      These messages are then revived in inc/init.php. This makes sure no errors
      that occured before the redirect are lost.
      
      darcs-hash:20080929203831-7ad00-d0869fd3093f57c1ea64ccbaf05d7fd98f68c5e1.gz
  20. Sep 14, 2008
    • Andreas Gohr's avatar
      rewrote the fullpath function FS#1462 · 4761d30c
      Andreas Gohr authored
      The fullpath function now correctly handles windows drive letter paths and UNC
      paths making sure that those are not destroyed with upper dir .. notation.
      
      Unit tests where added.
      
      darcs-hash:20080914134744-7ad00-9abf5931d910a0b12979b1f69b090e8ecd568c71.gz
      4761d30c
  21. Sep 12, 2008
    • Andreas Gohr's avatar
      more cookie security FS#1490 · f5c6743c
      Andreas Gohr authored
      This patch adds the httponly option to the PHP session cookies and DokuWiki's
      auth cookie when supported by the PHP version.
      
      It also adds a new config option 'securecookie' which is enabled by default.
      It makes sure the browser will not sent a cookie set via HTTPS over a
      non-secured connection. This option has to be disabled for wikis that only
      protect the login with SSL but not the whole wiki.
      
      darcs-hash:20080912224922-7ad00-d5275147ba9d17a9f6defa8a51ca720da74ba8a0.gz
      f5c6743c
    • Andreas Gohr's avatar
      avoid warning on file_exists FS#1428 · de9104dd
      Andreas Gohr authored
      darcs-hash:20080912212311-7ad00-26249ceb7fb08a442888942072ef2dd8279ab3d2.gz
      de9104dd
  22. Aug 24, 2008
  23. Jun 27, 2008
    • Andreas Gohr's avatar
      support for an option inc/preload.php file · 48beefec
      Andreas Gohr authored
      This patch readds the possibilities previously gained by the DOKUWIKI_INIT event
      by adding support for including a file named inc/preload.php. When available, it
      will be included before any defines for dokuwiki are set.
      
      darcs-hash:20080627222629-7ad00-a663ded7ac08369f011e1f63e1c60fa81ec05b51.gz
      48beefec
    • Andreas Gohr's avatar
      DOKUWIKI_INIT patch rollback · a81c8802
      Andreas Gohr authored
      darcs-hash:20080627214831-7ad00-d6eee0ddd406c972455871da75d04c5f5fc8a307.gz
      a81c8802
  24. Jun 22, 2008
    • Michael Klier's avatar
      added DOKUWIKI_INIT event · 7ba41511
      Michael Klier authored
      	This patch adds a new event DOKUWIKI_INIT to the event system. The event is
      	triggered in inc/init.php right after DOKU_INC has been defined and allows
      	action plugins to interfere with DokuWiki s init process.
      
      darcs-hash:20080622144154-23886-5153094bd78c2cea7f97e24c7b41cac6c641f49f.gz
      7ba41511
  25. Apr 12, 2008
    • ilya's avatar
      fix for UNC paths · b934b851
      ilya authored
      This patch fixes use of UNC path in $conf['savedir'] and calling of /bin/ scripts.
      
      darcs-hash:20080412124628-51399-9f85214fa4d787d5ad3a3b3c1ca655a29efc07e4.gz
      b934b851
  26. Apr 18, 2008
  27. Apr 09, 2008
  28. Feb 27, 2008
  29. Feb 23, 2008
    • Andreas Gohr's avatar
      use strftime() instead of date() FS#1335 :!: · e656dcd4
      Andreas Gohr authored
      This patch replaces the use of the date() function with the strftime()
      function. The latter will respect a set locale and will use localized
      strings for things like month names.
      
      Because the format options for strftime differ from the ones used in date,
      DokuWiki will rest the value of $conf['dformat'] if it contains an old
      date format string (detected by missing % characters).
      
      Plugins or templates using the $conf['dformat'] need to be updated.
      
      darcs-hash:20080223124045-7ad00-6afb2b839afc58781463e25577e06adb675fff79.gz
      e656dcd4
  30. Jan 24, 2008
  31. Sep 30, 2007
    • Andreas Gohr's avatar
      fullpath fix for Windows · ef38bfe8
      Andreas Gohr authored
      darcs-hash:20070930214958-7ad00-bc8ca26f86ea4c9e68ea2b8f3cacc2a598543122.gz
    • 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
  32. Aug 19, 2007
  33. Aug 05, 2007
    • Andreas Gohr's avatar
      separated TOC from page · b8595a66
      Andreas Gohr authored
      This patch introduces a tpl_toc() function which can be used to freely place
      the Table of Contents in a template. When used, tpl_content should be called
      with a parameter of false to supress the automatic TOC placement.
      
      Note: if tpl_toc() us run *before* tpl_content(), TOCs will not work in the
      preview. A work around is to run tpl_content() in a output buffer first.
      
      This patch also adds a getTOC() function for admin plugins which allows plugin
      authors to put create their own TOC which will be placed correctly in the
      template. A convenience function html_mktocitem() is available.
      
      The config manager was adjusted to make ue of this new feature, but some bugs
      might remain.
      
      darcs-hash:20070805132405-7ad00-77d2c3cdf66cc62b2d408cc6580f938636a109af.gz
Loading