Skip to content
Snippets Groups Projects
  1. Apr 22, 2011
  2. Feb 06, 2011
  3. Jan 16, 2011
  4. Jan 14, 2011
    • Adrian Lang's avatar
      Deprecate $NS in doku.php · bced4159
      Adrian Lang authored
      $NS is only used in lib/exe/{ajax,mediamanager}.php when no $ID context
      is present. The two functions which use $NS in inc/template.php are only
      called through those both endpoints, not through doku.php. In doku.php,
      $ID is the only correct value, $NS is not kept synchronous with $ID.
      
      Use getNS($ID) in functions which are called through doku.php.
      bced4159
  5. Dec 08, 2010
  6. Nov 30, 2010
  7. Nov 26, 2010
    • Michael Hamann's avatar
      Fix for $conf['breadcrumbs'] < 0, FS#2107 · 48714142
      Michael Hamann authored
      This fixes an infinite loop in breadcrumbs() and makes the behaviors in
      all places where breadcrumbs are used consistent so that non-numeric
      values, values < 0 and 0 are treated the same way.
      48714142
  8. Nov 07, 2010
  9. Oct 27, 2010
  10. Oct 07, 2010
  11. Sep 22, 2010
  12. Aug 29, 2010
  13. Jun 27, 2010
  14. Jun 07, 2010
  15. Mar 09, 2010
  16. Feb 08, 2010
  17. 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
  18. Nov 23, 2009
    • Andreas Gohr's avatar
      made $JSINFO keys additional · 85b9dd81
      Andreas Gohr authored
      Ignore-this: 915f8388d50eed2e4aff90839c0854e8
      
      keeps keys added earlier (eg. in preload or config)
      
      darcs-hash:20091123180352-7ad00-c448925fc4f2adeaa3de2137878a99348e2bfdc1.gz
      85b9dd81
    • Andreas Gohr's avatar
      Replaced $INFO export with minimal $JSINFO · 72e0dc37
      Andreas Gohr authored
      Ignore-this: 3f1213cb6b403ad09e6999cd972e9f21
      
      Now only the global $JSINFO array is exported to JavaScript. Additional
      keys can be added here from plugins or preload.
      
      darcs-hash:20091123175546-7ad00-346856e8eecc52608edea805f408d4dbd33257fe.gz
      72e0dc37
  19. 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
  20. Oct 23, 2009
  21. Oct 20, 2009
    • Andreas Gohr's avatar
      Coding Standard Cleanup · db959ae3
      Andreas Gohr authored
      Ignore-this: 259cb5773c3144c6c706d87298dcf674
      
      darcs-hash:20091020212338-7ad00-6bf1c5c403491f136a1c02af5ecd9f84d7227107.gz
      db959ae3
  22. Jul 29, 2009
  23. Apr 10, 2009
  24. Oct 12, 2008
  25. Sep 30, 2007
    • Andreas Gohr's avatar
      don't use fullpath() before initialized · d0a27cb0
      Andreas Gohr authored
      darcs-hash:20070930201133-7ad00-a35a6c40f880116009efd9e50cb002bd75733369.gz
      d0a27cb0
    • 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
  26. May 28, 2007
  27. Sep 25, 2006
    • Andreas Gohr's avatar
      remove metadebug again, improve doÞbug instead · 100a97e3
      Andreas Gohr authored
      This adds the complete $INFO array (contains the metadata) to the usual
      debug output and removes the metadebug parameter again.
      
      darcs-hash:20060925201052-7ad00-c9a15b921466803b3f2bd50b0d72211cf68658c5.gz
      100a97e3
    • Andreas Gohr's avatar
      metadebug parameter added · c1b9dbaf
      Andreas Gohr authored
      With DokuWiki's reliance on certain page metadata, it is sometimes necessary to
      view the metadata of a page. This patch allows developers to append the parameter
      ?metadebug
      
      darcs-hash:20060925193202-7ad00-6a42c7458aaa1cc40df3c7a61ad70df5d64be152.gz
      c1b9dbaf
  28. Sep 16, 2006
    • Andreas Gohr's avatar
      updatecheck feature · c29dc6e4
      Andreas Gohr authored
      This patch adds a feature to let DokuWiki automatically check if updates are
      available or any other important messages (like security warnings) and then
      display this info to the admin user.
      
      DokuWiki will contact the URL http://www.splitbrain.org/lib/exe/msg.php
      with a parameter telling it which messages it already know (read from
      conf/msg) - the server side script then will return all new messages.
      
      The messages will be displayed until DokuWiki was upgraded or conf/msg
      was updated manually. Messages are cached and only checked once a day.
      
      The messenger URL will probably change before the next release.
      
      darcs-hash:20060916210229-7ad00-7ac592650e171ae4144b0eb47a751a4ca480f031.gz
      c29dc6e4
  29. Jul 10, 2006
    • Ben Coburn's avatar
      fixing undefined variables · d98d4540
      Ben Coburn authored
      Fixing undefined variable notices and sometimes
      the underlying error that produced them.
      
      darcs-hash:20060710114655-05dcb-073948171847f1f43f153e96c8382abd421da36a.gz
      d98d4540
  30. May 07, 2006
    • Andreas Gohr's avatar
      metadata hnalding updates, header fixes · a4a2d4cf
      Andreas Gohr authored
      This removes the meta instruction again in favour of the new meta renderer.
      Most tests work now again, a few tweaks were done on the header handler
      to render certain headers as it did in earlier versions.
      
      darcs-hash:20060507153113-7ad00-bd299fbe1762482c72d109f9bca776f12bcea7c8.gz
      a4a2d4cf
  31. Apr 24, 2006
    • chris's avatar
      event system revision · 24bb549b
      chris authored
      This is a major revision of DokuWiki's event system.  There are changes to class names,
      function names, function parameters and their order and event names.
      
      For action plugin writers the following changes are important:
      
      - <event_name> is no longer signalled, only <event_name>_BEFORE and <event_name>_AFTER.
      - note the case change for _BEFORE and _AFTER
      - calling stopPropagation while processing a _BEFORE signal no longer prevents an
        _AFTER signal. The events _continue value is reset before the _AFTER signal is made.
      - events have a new readonly property, canPreventDefault. This lets the event handling
        hook know whether or not the event honours preventDefault calls.
      
      - parameters have changed for the register_hook method, parameters are now
        $event_name,
        $advise (can be 'BEFORE' or 'AFTER')
        $object
        $method
        $param  (this parameter is now optional)
      - parameter order has changed for the hook event handler callback functions
        &$event
        $param  (can now be left off)
      
      Event names have changed, they are now structured
        <dokuwiki name>_<event data name>_<action_name or state if no action>
      
      DOKUWIKI_START
      
      darcs-hash:20060424220152-9b6ab-00e366288f7ec8a85b85dc83694a5f43a07aa082.gz
      24bb549b
  32. Apr 15, 2006
    • chris's avatar
      add events, DOKUWIKI_START & DOKUWIKI_END · a4b5ae12
      chris authored
      event DOKUWIKI_START
      
      This event is advisory only.
      There is no event data
      There is no default action
      
      The event is signalled after Dokuwiki has completed its initialisation phase and
      before it closes the session.  Most Dokuwiki globals will have been created and
      populated, the global $_SESSION var will still be in existence.
      
      Note: Even after $_SESSION has been closed a plugin can reopen the session to
      access session data - as long as headers have not already been sent.  For more
      information refer to lib/plugins/config/admin.php.
      
      event DOKUWIKI_END
      
      This event is advisory only.
      There is no event data
      There is no default action
      
      The event is signalled after all processing has been completed as the last thing
      doku.php does before exiting. It is possible that under certain circumstances
      dokuwiki will exit without returning to doku.php and this event may not then be
      signalled.
      
      darcs-hash:20060415152444-9b6ab-1e41d0265f2a6660ad497dd387c7930251dc4030.gz
      a4b5ae12
  33. Apr 14, 2006
    • chris's avatar
      action plugins · f65bfee1
      chris authored
      This patch adds events and a third plugin type, "action" plugins, to DokuWiki.
      
      The patch doesn't include any event signalling, that will be added in later patches.
      
      Action plugins are loaded before most Dokuwiki processing takes place and at the
      same time are given the opportunity to register handlers (or hooks) to receive
      specific dokuwiki events.
      
      Other parts of Dokuwiki (e.g. templates and syntax plugins) can also register
      handlers to receive events.
      
      Any part of Dokuwiki can create and signal events, including templates and plugins.
      
      This patch also revises the admin plugin class by making it an extension of a
      new class, DokuWiki_Plugin. The DokuWiki_Plugin_Action class also extends this
      new class.
      
      Further details of events, their signalling and handling, and of action plugins will
      be added to wiki.splitbrain.org in due course :-)
      
      darcs-hash:20060414193737-9b6ab-f23d3d9b93e4c50a3ad97ced03eabc6c0363650b.gz
      f65bfee1
  34. Feb 24, 2006
    • Troels Liebe Bentsen's avatar
      Fix umask bug and do a code cleanup of chmod/mkdir usage so set the correct... · 44881d27
      Troels Liebe Bentsen authored
      Fix umask bug and do a code cleanup of chmod/mkdir usage so set the correct permissions, this should also fix problems with dokuwiki making setuid files on some umasks.
      
        * Don't set the umask() anymore, this is not good form and we don't really know what is it in the old code anyway as it was not done properly.
        * Retire the dmask config option introduce 2 new ones called fmode and dmode, this is more in line with posix and should make more sense.
        * Use chmod for setting the correct permissions but only if it's needed.
        * Set changing of permissions off by default as i should work properly in most Apache setups without and it does not make sense on windows anyway.
      
      darcs-hash:20060224211655-ee6b9-68f7bb59417d6f0033cfd3764146923daa4dcf1b.gz
      44881d27
  35. Feb 17, 2006
Loading