Skip to content
Snippets Groups Projects
  1. Jun 26, 2010
  2. Jun 22, 2010
    • Andreas Gohr's avatar
      new auth capability 'logout' · 880f62fa
      Andreas Gohr authored
      This patch implements what Adrian's patch "Hide logout button if auth
      backend cannot logout" intended to do.
      
      The 'logoff' capability was used to decide if a special method called
      $auth->logOff() should be called when the user logs out, not if the
      backend supports logouts at all. This was a superflous capability since
      an empty logOff() method is implemented in the base class anyway - it
      doesn't hurt to always call the method.
      
      The 'logoff' capability is now deprecated. Backends who want to do
      actions on logout simply need to overwrite logOff().
      
      A new capability 'logout' was added which defaults to true. Backends
      that can't logoff the user (eg. because they use some automatic
      login/logoff mechanism) can set this to false.
      
      Probably makes sense to add a 'login' capability as well...
      880f62fa
  3. Apr 28, 2010
  4. Mar 24, 2010
  5. Mar 23, 2010
  6. 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
  7. Jan 19, 2010
  8. Nov 28, 2009
  9. Nov 24, 2009
  10. Nov 15, 2009
  11. Nov 14, 2009
  12. Nov 13, 2009
  13. 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
  14. Oct 23, 2009
  15. Oct 20, 2009
    • Andreas Gohr's avatar
      Coding Standard Cleanup · db959ae3
      Andreas Gohr authored
      Ignore-this: 259cb5773c3144c6c706d87298dcf674
      
      darcs-hash:20091020212338-7ad00-6bf1c5c403491f136a1c02af5ecd9f84d7227107.gz
      db959ae3
  16. Oct 15, 2009
    • Andreas Gohr's avatar
      Support for kmd5 passcrypt method · 43ee7484
      Andreas Gohr authored
      Ignore-this: c809bd207504f78e84685612b0a668a7
      
      This is a MD5 based hashing method used in the Unclassified NewsBoard forum
      software (which is used for DokuWiki's supprt forum)
      
      darcs-hash:20091015184330-7ad00-38680848952bdb46052dcf3597fa5e91f892ca51.gz
      43ee7484
  17. Oct 04, 2009
  18. May 28, 2009
  19. Apr 10, 2009
  20. Apr 07, 2009
  21. Mar 12, 2009
  22. Feb 10, 2009
    • Andreas Gohr's avatar
      do not close session in auth_logoff FS#1519 · d4869846
      Andreas Gohr authored
      Ignore-this: b30b94c67baa8a8916dd216424e9473c
      
      As auth_logoff is called very early for all not-logged in users it
      prevented writing the breadcrumbs and might have broken some other
      things relying on a open session at beginning of the script.
      
      auth_logoff now makes sure the session is open but will not close
      it.
      
      Additionally the session is now explicitly closed before a redirect.
      
      darcs-hash:20090210100257-7ad00-50470f18edb9fdbeb555fbf5d8a470a3b077915d.gz
      d4869846
  23. Jan 30, 2009
    • Andreas Gohr's avatar
      fixed logoff cookie problem · 85c6f7d0
      Andreas Gohr authored
      Ignore-this: 53d4440e4bffdcf66330ffc6b2b3372a
      
      darcs-hash:20090130090624-7ad00-a6f6da5b1d42ac48cf4906e40addbd15e995125c.gz
      85c6f7d0
  24. Jan 16, 2009
  25. Jan 14, 2009
    • Andreas Gohr's avatar
      fixed corrupt if statement introduced by earlier patch · 06156f3c
      Andreas Gohr authored
      darcs-hash:20090114175244-7ad00-22fe37641598c13f13266bf0b50c3b93fe912344.gz
      06156f3c
    • Andreas Gohr's avatar
      make HTTP SSO possible for IIS or rewriting · 528ddc7c
      Andreas Gohr authored
      DokuWiki silently attemps to resuse received HTTP auth credentials for
      user logins. Unfortunately these are only passed to PHP when using
      mod_php. IIS provides a HTTP_AUTHORIZATION header which now will
      be decoded and used as well.
      
      This header can also be faked via mod_rewrite:
      
      <IfModule mod_rewrite.c>
      RewriteEngine on
      RewriteRule .* - [E
      
      darcs-hash:20090114153601-7ad00-6c75e8568eda6753834981642eed638b9eb01694.gz
      528ddc7c
  26. Dec 16, 2008
    • Andreas Gohr's avatar
      ACL user wildcard changed to %USER% FS#1504 :!: · 5d87b2cc
      Andreas Gohr authored
      DokuWiki supports a wildcard which gets replaced with the currently loggedin
      user in its ACL configuration file.
      
      This patch changes the wildcard from @USER@ to %USER% (case sensitive) and
      also makes sure the ACL Manager does not replace the wildcard when displaying
      the currently set rules.
      
      The change was needed for better compatibility with the User Manager without
      complicating the code. The old @USER@ wildcard is still supported, but
      changing an ACL rule using it, through the ACL manager will fail.
      
      It is recommended to update ACL rules using the @USER@ wildchar to use the
      new %USER% one instead.
      
      darcs-hash:20081216171126-7ad00-94ce0c2afa411abc936f13572efd0e31941901ee.gz
      5d87b2cc
  27. Dec 13, 2008
  28. Nov 17, 2008
  29. Nov 08, 2008
  30. Oct 13, 2008
  31. Oct 12, 2008
  32. Oct 11, 2008
  33. 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
  34. Aug 17, 2008
    • Gabriel Birke's avatar
      Wrap user modifications in events · 7d3c8d42
      Gabriel Birke authored
      Adds a wrapper function in the basic auth class which is used by the core code
      to modify the user database. The wrapper function signals events and delegates
      the action to the auth backend.
      
      darcs-hash:20080817141121-79ce3-3300a4342b62a7a18ebcc9a765d87b30a0264621.gz
      7d3c8d42
Loading