| #
880f62fa |
| 22-Jun-2010 |
Andreas Gohr <andi@splitbrain.org> |
new auth capability 'logout'
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 met
new auth capability 'logout'
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...
show more ...
|
| #
9a9714ac |
| 28-Apr-2010 |
Dominik Eckelmann <eckelmann@cosmocode.de> |
Avoid broken ACL check if Auth Backend fails
|
| #
3371a8b4 |
| 24-Mar-2010 |
Adrian Lang <lang@cosmocode.de> |
Fixed selffail.
|
| #
689cba4d |
| 23-Mar-2010 |
Adrian Lang <lang@cosmocode.de> |
No warning for an undefined variable
|
| #
16905344 |
| 31-Jan-2010 |
Andreas Gohr <andi@splitbrain.org> |
first attempt to centralize all include loading
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
first attempt to centralize all include loading
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.
show more ...
|
| #
b5ee21aa |
| 15-Dec-2009 |
Adrian Lang <lang@cosmocode.de> |
Provide AFTER event for AUTH_LOGIN_CHECK
Ignore-this: 804d0837b9a04e4f82e6b54765f453cf
darcs-hash:20091215095430-e4919-19c61854c27fdade90caeed035445ee3396b0095.gz
|
| #
4369edaf |
| 28-Nov-2009 |
Andy Webber <dokuwiki@andywebber.com> |
correctly check auth capabilities on update profile FS#1329
Ignore-this: fb853b40911201a41c237d69d91f7d24
darcs-hash:20091128111547-6ad63-0432d3b190946b2b8f7c292119e034cdcdae3a00.gz
|
| #
beca106a |
| 24-Nov-2009 |
Adrian Lang <lang@cosmocode.de> |
Check whether $auth is set
darcs-hash:20091124152419-e4919-b4d55158c15d637a453b082eae6a80a828818934.gz
|
| #
e259aa79 |
| 15-Nov-2009 |
Andreas Gohr <andi@splitbrain.org> |
Added isCaseSensitive() to auth backends FS#1657
Ignore-this: 3591e5a36126c72bd9b931e4aa832da8
darcs-hash:20091115141725-7ad00-7c2fc662d1999731660673d05299c4f357b797b3.gz
|
| #
d752aede |
| 14-Nov-2009 |
Andreas Gohr <andi@splitbrain.org> |
more work on user and group cleaning
Ignore-this: b824c2941d3631bdf83350e325606d3e
darcs-hash:20091114123517-7ad00-d32833a88cb5f654a8874542d4d59f1f401d4453.gz
|
| #
191bb90a |
| 13-Nov-2009 |
Andreas Gohr <andi@splitbrain.org> |
Added group and user sanitation
Ignore-this: 26392125523d2c822580346074330ebe
darcs-hash:20091113102249-7ad00-4cede040a940d739bd34d548e12956e8d8609cfa.gz
|
| #
c66972f2 |
| 04-Nov-2009 |
Adrian Lang <lang@cosmocode.de> |
Emit less E_NOTICEs and E_STRICTs
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 $IN
Emit less E_NOTICEs and E_STRICTs
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
show more ...
|
| #
ab24fc7f |
| 23-Oct-2009 |
Adrian Lang <lang@cosmocode.de> |
Remove (unset) action param from AUTH_LOGIN_CHECK data, init $ACL before firing the event
darcs-hash:20091023085601-e4919-5c800a07bcf70c34720a39e7bca9a1250b973b32.gz
|
| #
db959ae3 |
| 20-Oct-2009 |
Andreas Gohr <andi@splitbrain.org> |
Coding Standard Cleanup
Ignore-this: 259cb5773c3144c6c706d87298dcf674
darcs-hash:20091020212338-7ad00-6bf1c5c403491f136a1c02af5ecd9f84d7227107.gz
|
| #
43ee7484 |
| 15-Oct-2009 |
Andreas Gohr <andi@splitbrain.org> |
Support for kmd5 passcrypt method
Ignore-this: c809bd207504f78e84685612b0a668a7
This is a MD5 based hashing method used in the Unclassified NewsBoard forum software (which is used for DokuWiki's su
Support for kmd5 passcrypt method
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
show more ...
|
| #
645c0a36 |
| 04-Oct-2009 |
Andreas Gohr <andi@splitbrain.org> |
encode parts in cookie seperatly. might fix FS#1437
Ignore-this: c9b92b33e2a3a3418fd0730bf4971b7e
darcs-hash:20091004135409-7ad00-51c902a832fef7486a9afca9e9481b172a6894e1.gz
|
| #
1698b983 |
| 04-Oct-2009 |
michael <michael@content-space.de> |
auth_(quick)aclcheck needs resolved and cleaned id
Ignore-this: 3e0ad635a6f8536ed05871704a29e1e2
This patch adds a small notice to the comment that the id given to auth_(quick)aclcheck needs to be
auth_(quick)aclcheck needs resolved and cleaned id
Ignore-this: 3e0ad635a6f8536ed05871704a29e1e2
This patch adds a small notice to the comment that the id given to auth_(quick)aclcheck needs to be resolved and cleaned.
darcs-hash:20091004093316-074e0-a4095962c52c16918d617d2ffecc783ba8fd0202.gz
show more ...
|
| #
4b7f9e70 |
| 28-May-2009 |
Tom N Harris <tnharris@whoopdedo.org> |
Change expensive uses of split to the much faster explode.
darcs-hash:20090528215438-6942e-bf1b875e689ade6bd1a17e3d812ce16bf35c84a6.gz
|
| #
2f9daf16 |
| 10-Apr-2009 |
Andreas Gohr <andi@splitbrain.org> |
Make more use of clientIP() FS#1668
Ignore-this: 13616da575fbe56064b2aa3d1d803bf5
darcs-hash:20090410181613-7ad00-b74c82c1f9296a2cb0d00b03316141b19821bda1.gz
|
| #
643bdba8 |
| 07-Apr-2009 |
Andreas Gohr <andi@splitbrain.org> |
pass correct event data in AUTH_LOGIN_CHECK
Ignore-this: ad04520c987ab71b4dcec5e5b38fae8a
darcs-hash:20090407172723-7ad00-81d06920a678c7aab73778e2ce4f8f1f44faf314.gz
|
| #
6080c584 |
| 12-Mar-2009 |
Robin Gareus <robin@gareus.org> |
Action Event wrappers around HTTP requests and authentication checks
Ignore-this: 9ffd0327c318a633e33a60e0a8ecf7f5
darcs-hash:20090312224454-b7b7f-12b7fa78c0b638c1795f6d5e1b1c1aa2cbab64d4.gz
|
| #
d4869846 |
| 10-Feb-2009 |
Andreas Gohr <andi@splitbrain.org> |
do not close session in auth_logoff FS#1519
Ignore-this: b30b94c67baa8a8916dd216424e9473c
As auth_logoff is called very early for all not-logged in users it prevented writing the breadcrumbs and mi
do not close session in auth_logoff FS#1519
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
show more ...
|
| #
85c6f7d0 |
| 30-Jan-2009 |
Andreas Gohr <andi@splitbrain.org> |
fixed logoff cookie problem
Ignore-this: 53d4440e4bffdcf66330ffc6b2b3372a
darcs-hash:20090130090624-7ad00-a6f6da5b1d42ac48cf4906e40addbd15e995125c.gz
|
| #
883179a4 |
| 16-Jan-2009 |
Andreas Gohr <andi@splitbrain.org> |
keep breadcrumbs for anonymous users FS#1519
darcs-hash:20090116145345-7ad00-153c9e6e0a83d937c48967ed5bc90578a5f49a15.gz
|
| #
06156f3c |
| 14-Jan-2009 |
Andreas Gohr <andi@splitbrain.org> |
fixed corrupt if statement introduced by earlier patch
darcs-hash:20090114175244-7ad00-22fe37641598c13f13266bf0b50c3b93fe912344.gz
|