diff -r c0b7687bce3d -r 329b4f6d18b4 web/webconfig.py --- a/web/webconfig.py Mon Apr 19 12:42:54 2010 +0200 +++ b/web/webconfig.py Mon Apr 19 12:43:23 2010 +0200 @@ -70,20 +70,20 @@ {'type' : 'string', 'default': None, 'help': 'login of the CubicWeb user account to use for anonymous user (if you want to allow anonymous)', - 'group': 'main', 'inputlevel': 1, + 'group': 'main', 'level': 1, }), ('anonymous-password', {'type' : 'string', 'default': None, 'help': 'password of the CubicWeb user account to use for anonymous user, ' 'if anonymous-user is set', - 'group': 'main', 'inputlevel': 1, + 'group': 'main', 'level': 1, }), ('query-log-file', {'type' : 'string', 'default': None, 'help': 'web instance query log file', - 'group': 'main', 'inputlevel': 2, + 'group': 'main', 'level': 2, }), # web configuration ('https-url', @@ -97,20 +97,20 @@ 'differentiate between http vs https access. For instance: \n'\ 'RewriteRule ^/demo/(.*) http://127.0.0.1:8080/https/$1 [L,P]\n'\ 'where the cubicweb web server is listening on port 8080.', - 'group': 'main', 'inputlevel': 2, + 'group': 'main', 'level': 2, }), ('auth-mode', {'type' : 'choice', 'choices' : ('cookie', 'http'), 'default': 'cookie', 'help': 'authentication mode (cookie / http)', - 'group': 'web', 'inputlevel': 1, + 'group': 'web', 'level': 1, }), ('realm', {'type' : 'string', 'default': 'cubicweb', 'help': 'realm to use on HTTP authentication mode', - 'group': 'web', 'inputlevel': 2, + 'group': 'web', 'level': 2, }), ('http-session-time', {'type' : 'int', @@ -118,7 +118,7 @@ 'help': "duration in minutes of the cookie used to store session " "identifier. If 0, the cookie will expire when the user exist its " "browser. Should be 0 or greater than repository\'s session-time.", - 'group': 'web', 'inputlevel': 2, + 'group': 'web', 'level': 2, }), ('cleanup-session-time', {'type' : 'int', @@ -129,7 +129,7 @@ 'So even if http-session-time is 0 and the user don\'t close his ' 'browser, he will have to reauthenticate after this time of ' 'inactivity. Default to 24h.', - 'group': 'web', 'inputlevel': 2, + 'group': 'web', 'level': 2, }), ('cleanup-anonymous-session-time', {'type' : 'int', @@ -137,14 +137,14 @@ 'help': 'Same as cleanup-session-time but specific to anonymous ' 'sessions. You can have a much smaller timeout here since it will be ' 'transparent to the user. Default to 5min.', - 'group': 'web', 'inputlevel': 2, + 'group': 'web', 'level': 2, }), ('force-html-content-type', {'type' : 'yn', 'default': False, 'help': 'force text/html content type for your html pages instead of cubicweb user-agent based'\ 'deduction of an appropriate content type', - 'group': 'web', 'inputlevel': 2, + 'group': 'web', 'level': 2, }), ('embed-allowed', {'type' : 'regexp', @@ -152,14 +152,14 @@ 'help': 'regular expression matching URLs that may be embeded. \ leave it blank if you don\'t want the embedding feature, or set it to ".*" \ if you want to allow everything', - 'group': 'web', 'inputlevel': 1, + 'group': 'web', 'level': 1, }), ('submit-mail', {'type' : 'string', 'default': None, 'help': ('Mail used as recipient to report bug in this instance, ' 'if you want this feature on'), - 'group': 'web', 'inputlevel': 2, + 'group': 'web', 'level': 2, }), ('language-negociation', @@ -167,14 +167,14 @@ 'default': True, 'help': 'use Accept-Language http header to try to set user '\ 'interface\'s language according to browser defined preferences', - 'group': 'web', 'inputlevel': 2, + 'group': 'web', 'level': 2, }), ('print-traceback', {'type' : 'yn', 'default': CubicWebConfiguration.mode != 'system', 'help': 'print the traceback on the error page when an error occured', - 'group': 'web', 'inputlevel': 2, + 'group': 'web', 'level': 2, }), ('captcha-font-file', @@ -182,14 +182,14 @@ 'default': join(CubicWebConfiguration.shared_dir(), 'data', 'porkys.ttf'), 'help': 'True type font to use for captcha image generation (you \ must have the python imaging library installed to use captcha)', - 'group': 'web', 'inputlevel': 2, + 'group': 'web', 'level': 2, }), ('captcha-font-size', {'type' : 'int', 'default': 25, 'help': 'Font size to use for captcha image generation (you must \ have the python imaging library installed to use captcha)', - 'group': 'web', 'inputlevel': 2, + 'group': 'web', 'level': 2, }), ))