Skip to content
Snippets Groups Projects
  1. Nov 23, 2009
    • 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
  2. 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
  3. Oct 23, 2009
  4. Oct 20, 2009
    • Andreas Gohr's avatar
      Coding Standard Cleanup · db959ae3
      Andreas Gohr authored
      Ignore-this: 259cb5773c3144c6c706d87298dcf674
      
      darcs-hash:20091020212338-7ad00-6bf1c5c403491f136a1c02af5ecd9f84d7227107.gz
      db959ae3
  5. Jul 29, 2009
  6. Apr 10, 2009
  7. Oct 12, 2008
  8. 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
  9. May 28, 2007
  10. 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
  11. 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
  12. 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
  13. 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
  14. 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
  15. 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
  16. 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
  17. 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
  18. Feb 17, 2006
  19. Nov 25, 2005
  20. Oct 27, 2005
  21. Jun 08, 2005
    • andi's avatar
      session_write_close added #364 · 8746e727
      andi authored
      I just learned that PHP does lock it's session objects. This is realy
      bad if you have multiple images in a page as each one will call fetch.php
      which locks the session, so everything can only be loaded sequentially.
      The fix for this is to close the session after using it which is after doing
      the auth and the breadcrumbs. I added the needed calls everywhere.
      
      darcs-hash:20050608213514-9977f-f2dfc467ebbd06406e10e33a386fa1db6cb32dba.gz
      8746e727
  22. May 23, 2005
  23. Apr 29, 2005
    • andi's avatar
      more cleanup · 2a27e99a
      andi authored
      darcs-hash:20050429205436-9977f-762f3ded6f93cfb3e068f3acdc1bb80690ad658b.gz
      2a27e99a
    • andi's avatar
      added internal rewriting · 6c7843b5
      andi authored
      darcs-hash:20050429205320-9977f-6bf54f3b022104a0a9aefa882dfba09a98bc9c2a.gz
      6c7843b5
  24. Apr 17, 2005
    • andi's avatar
      section editing fixed · 15cfe303
      andi authored
      darcs-hash:20050417150906-9977f-96fcdc018414606bc58252631708c8b55d82354a.gz
      15cfe303
  25. Apr 16, 2005
  26. Apr 15, 2005
  27. Mar 20, 2005
    • andi's avatar
      backbutton fix · 81aafed4
      andi authored
      darcs-hash:20050320124910-9977f-737f333d5524b844011a69a4c0351c3366ecf62f.gz
      81aafed4
  28. Mar 06, 2005
  29. Mar 01, 2005
    • andi's avatar
      revison sanitizing · 258641c6
      andi authored
      darcs-hash:20050301181638-9977f-212463af48be9fb6c4e2f9e738f3eb57878c30f7.gz
      258641c6
  30. Feb 26, 2005
    • andi's avatar
      some feed tuning · 79b608ce
      andi authored
      darcs-hash:20050226133325-9977f-001fc0ae4081b812bdef84350074624bb530f6f7.gz
      79b608ce
  31. Feb 20, 2005
    • frank's avatar
      acl-administration rc1 · 10a76f6f
      frank authored
      darcs-hash:20050220104506-b7c55-01c85b4b688597c8405987e0f7ea30aa4fb1472f.gz
      10a76f6f
  32. Feb 19, 2005
  33. Feb 17, 2005
  34. Feb 14, 2005
  35. Feb 09, 2005
  36. Jan 29, 2005
  37. Jan 28, 2005
    • andi's avatar
      ACL security bugfix (#96) · e647351c
      andi authored
      darcs-hash:20050128084512-9977f-a13bc935d76c0401e0aa16c19adda2a3b78f3e94.gz
      e647351c
Loading