[dokuwiki] Re: config and usermanager
- From: Andreas Gohr <andi@xxxxxxxxxxxxxx>
- To: dokuwiki@xxxxxxxxxxxxx
- Date: Thu, 26 Jan 2006 09:26:55 +0100
Chris Smith writes:
Config-Manager:
The choices for GD Lib Version should be:
autodetect
Version 1.x
GD Lib not available
Fixed (sort of). This seems an odd set of options and the description
in wiki:config isn't clear. What version are we trying to detect with
autodetect, 1.x or 2.x?
Config can attempt to determine if GD lib is available or not, should it?
Would that make GD Lib not available, "Do not use GD Lib" if GD lib was
detected?
Well it's a little bit complicated. In certain PHP/GD versions it is not
possible to detect if libGD is available, working and in which version it
comes. For newer releases the autodetect setting will detect if GD2 is
installed or no lib at all (Maybe late GD1 libs as well - can't remember).
For some older versions this detection will fail (I think it results in none
detected, even if GD1 is available) so for these users switching to GD1 is
the solution. Others do have some libGD but it isn't working correctly
(can't remember - there was a bugreport) and it will break image handling
completely. These user can disable GD with settingthe option to 0.
BTW. no GD is used as soon as an Image Magick convert path is configured.
I have removed it and the deprecated function in pluginutils, print_jscss()
allowdebug seems to be unknown for the manager
its not on wiki:config, means I don't know about it, means the plugin
didn't know about it. ;-)
:-) okay I will update the docs...
Should check if the auth backend is able to handle User-Management at
all. Currently it dies with "Call to undefined function:
getusercount()" in the LDAP backend
It should, thats a bug, probably a bad designer assumption. :-)
How should a auth plugin manifest that it doesn't support user management?
For now, I've implemented a check for canDo('retrieveUsers') and it
should no longer fail if getUserCount isn't provided.
I think thats fine. We should document which functin names are tested where
and for what reason...
The Delete Button should use a onclick and onkeypress handler calling
confirm($lang['reallydel'])
Can you do this? I expect it'll be faster for you, I'd need to
investigate how it all works to keep the js out of the html.
Will do :-)
Andi
--
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist
- References:
- [dokuwiki] config and usermanager
- From: Andreas Gohr
- [dokuwiki] Re: config and usermanager
- From: Chris Smith
Other related posts:
- » [dokuwiki] config and usermanager
- » [dokuwiki] Re: config and usermanager
- » [dokuwiki] Re: config and usermanager
- » [dokuwiki] Re: config and usermanager
- » [dokuwiki] Re: config and usermanager
- » [dokuwiki] Re: config and usermanager
- » [dokuwiki] Re: config and usermanager
- » [dokuwiki] Re: config and usermanager
- » [dokuwiki] Re: config and usermanager
- » [dokuwiki] Re: config and usermanager
Fixed (sort of). This seems an odd set of options and the description in wiki:config isn't clear. What version are we trying to detect with autodetect, 1.x or 2.x?Config-Manager:
The choices for GD Lib Version should be:
autodetect
Version 1.x
GD Lib not available
Config can attempt to determine if GD lib is available or not, should it? Would that make GD Lib not available, "Do not use GD Lib" if GD lib was detected?
allowdebug seems to be unknown for the managerits not on wiki:config, means I don't know about it, means the plugin didn't know about it. ;-)
:-) okay I will update the docs...
Should check if the auth backend is able to handle User-Management atIt should, thats a bug, probably a bad designer assumption. :-)
all. Currently it dies with "Call to undefined function:
getusercount()" in the LDAP backend
How should a auth plugin manifest that it doesn't support user management?
For now, I've implemented a check for canDo('retrieveUsers') and it should no longer fail if getUserCount isn't provided.
The Delete Button should use a onclick and onkeypress handler callingCan you do this? I expect it'll be faster for you, I'd need to investigate how it all works to keep the js out of the html.
confirm($lang['reallydel'])
Will do :-)
- [dokuwiki] config and usermanager
- From: Andreas Gohr
- [dokuwiki] Re: config and usermanager
- From: Chris Smith