move rarely used (imo) settings to inputlevel3 in cwctl create oldstable
authorAlexandre Fayolle <alexandre.fayolle@logilab.fr>
Wed, 28 Apr 2010 14:05:50 +0200
brancholdstable
changeset 5428 98e0b7421e51
parent 5424 8ecbcbff9777
child 5431 84d8b4357528
move rarely used (imo) settings to inputlevel3 in cwctl create
cwconfig.py
etwist/twconfig.py
server/serverconfig.py
server/sources/ldapuser.py
web/webconfig.py
--- a/cwconfig.py	Wed Apr 28 12:15:52 2010 +0200
+++ b/cwconfig.py	Wed Apr 28 14:05:50 2010 +0200
@@ -351,7 +351,7 @@
           'default': False,
           'help': "don't display actual email addresses but mangle them if \
 this option is set to yes",
-          'group': 'email', 'inputlevel': 2,
+          'group': 'email', 'inputlevel': 3,
           }),
         )
     # static and class methods used to get instance independant resources ##
--- a/etwist/twconfig.py	Wed Apr 28 12:15:52 2010 +0200
+++ b/etwist/twconfig.py	Wed Apr 28 14:05:50 2010 +0200
@@ -74,7 +74,7 @@
          {'type' : 'string',
           'default': None,
           'help': 'profile code and use the specified file to store stats if this option is set',
-          'group': 'main', 'inputlevel': 2,
+          'group': 'main', 'inputlevel': 3,
           }),
         ('pyro-server',
          {'type' : 'yn',
--- a/server/serverconfig.py	Wed Apr 28 12:15:52 2010 +0200
+++ b/server/serverconfig.py	Wed Apr 28 14:05:50 2010 +0200
@@ -125,20 +125,20 @@
          {'type' : 'time',
           'default': '30min',
           'help': 'session expiration time, default to 30 minutes',
-          'group': 'main', 'inputlevel': 1,
+          'group': 'main', 'inputlevel': 3,
           }),
         ('connections-pool-size',
          {'type' : 'int',
           'default': 4,
           'help': 'size of the connections pools. Each source supporting multiple \
 connections will have this number of opened connections.',
-          'group': 'main', 'inputlevel': 1,
+          'group': 'main', 'inputlevel': 3,
           }),
         ('rql-cache-size',
          {'type' : 'int',
           'default': 300,
           'help': 'size of the parsed rql cache size.',
-          'group': 'main', 'inputlevel': 1,
+          'group': 'main', 'inputlevel': 3,
           }),
         ('undo-support',
          {'type' : 'string', 'default': '',
@@ -146,20 +146,20 @@
 [C]reate [U]pdate [D]elete entities / [A]dd [R]emove relation. Leave it empty \
 for no undo support, set it to CUDAR for full undo support, or to DR for \
 support undoing of deletion only.',
-          'group': 'main', 'inputlevel': 1,
+          'group': 'main', 'inputlevel': 3,
           }),
         ('keep-transaction-lifetime',
          {'type' : 'int', 'default': 7,
           'help': 'number of days during which transaction records should be \
 kept (hence undoable).',
-          'group': 'main', 'inputlevel': 1,
+          'group': 'main', 'inputlevel': 3,
           }),
         ('multi-sources-etypes',
          {'type' : 'csv', 'default': (),
           'help': 'defines which entity types from this repository are used \
 by some other instances. You should set this properly so those instances to \
 detect updates / deletions.',
-          'group': 'main', 'inputlevel': 1,
+          'group': 'main', 'inputlevel': 3,
           }),
 
         ('delay-full-text-indexation',
@@ -168,7 +168,7 @@
           ' to be done when entity are added/modified by users, activate this '
           'option and setup a job using cubicweb-ctl db-rebuild-fti on your '
           'system (using cron for instance).',
-          'group': 'main', 'inputlevel': 1,
+          'group': 'main', 'inputlevel': 3,
           }),
 
         # email configuration
@@ -181,7 +181,7 @@
 modes are "default-dest-addrs" (emails specified in the configuration \
 variable with the same name), "users" (every users which has activated \
 account with an email set), "none" (no notification).',
-          'group': 'email', 'inputlevel': 1,
+          'group': 'email', 'inputlevel': 2,
           }),
         ('default-dest-addrs',
          {'type' : 'csv',
@@ -189,7 +189,7 @@
           'help': 'comma separated list of email addresses that will be used \
 as default recipient when an email is sent and the notification has no \
 specific recipient rules.',
-          'group': 'email', 'inputlevel': 1,
+          'group': 'email', 'inputlevel': 2,
           }),
         ('supervising-addrs',
          {'type' : 'csv',
@@ -205,7 +205,7 @@
           'help': 'Pyro server host, if not detectable correctly through \
 gethostname(). It may contains port information using <host>:<port> notation, \
 and if not set, it will be choosen randomly',
-          'group': 'pyro', 'inputlevel': 2,
+          'group': 'pyro', 'inputlevel': 3,
           }),
         ) + CubicWebConfiguration.options)
 
--- a/server/sources/ldapuser.py	Wed Apr 28 12:15:52 2010 +0200
+++ b/server/sources/ldapuser.py	Wed Apr 28 14:05:50 2010 +0200
@@ -85,13 +85,13 @@
           'default': 'simple',
           'choices': ('simple', 'cram_md5', 'digest_md5', 'gssapi'),
           'help': 'authentication mode used to authenticate user to the ldap.',
-          'group': 'ldap-source', 'inputlevel': 1,
+          'group': 'ldap-source', 'inputlevel': 3,
           }),
         ('auth-realm',
          {'type' : 'string',
           'default': None,
           'help': 'realm to use when using gssapi/kerberos authentication.',
-          'group': 'ldap-source', 'inputlevel': 1,
+          'group': 'ldap-source', 'inputlevel': 3,
           }),
 
         ('data-cnx-dn',
@@ -152,13 +152,13 @@
           'default': '1d',
           'help': 'interval between synchronization with the ldap \
 directory (default to once a day).',
-          'group': 'ldap-source', 'inputlevel': 2,
+          'group': 'ldap-source', 'inputlevel': 3,
           }),
         ('cache-life-time',
          {'type' : 'time',
           'default': '2h',
           'help': 'life time of query cache in minutes (default to two hours).',
-          'group': 'ldap-source', 'inputlevel': 2,
+          'group': 'ldap-source', 'inputlevel': 3,
           }),
 
     )
--- a/web/webconfig.py	Wed Apr 28 12:15:52 2010 +0200
+++ b/web/webconfig.py	Wed Apr 28 14:05:50 2010 +0200
@@ -96,7 +96,7 @@
          {'type' : 'string',
           'default': None,
           'help': 'web instance query log file',
-          'group': 'main', 'inputlevel': 2,
+          'group': 'main', 'inputlevel': 3,
           }),
         # web configuration
         ('https-url',
@@ -110,20 +110,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', 'inputlevel': 3,
           }),
         ('auth-mode',
          {'type' : 'choice',
           'choices' : ('cookie', 'http'),
           'default': 'cookie',
           'help': 'authentication mode (cookie / http)',
-          'group': 'web', 'inputlevel': 1,
+          'group': 'web', 'inputlevel': 3,
           }),
         ('realm',
          {'type' : 'string',
           'default': 'cubicweb',
           'help': 'realm to use on HTTP authentication mode',
-          'group': 'web', 'inputlevel': 2,
+          'group': 'web', 'inputlevel': 3,
           }),
         ('http-session-time',
          {'type' : 'time',
@@ -131,7 +131,7 @@
           'help': "duration 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', 'inputlevel': 3,
           }),
         ('cleanup-session-time',
          {'type' : 'time',
@@ -142,7 +142,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', 'inputlevel': 3,
           }),
         ('cleanup-anonymous-session-time',
          {'type' : 'time',
@@ -150,14 +150,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', 'inputlevel': 3,
           }),
         ('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', 'inputlevel': 3,
           }),
         ('embed-allowed',
          {'type' : 'regexp',
@@ -165,7 +165,7 @@
           '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', 'inputlevel': 3,
           }),
         ('submit-mail',
          {'type' : 'string',
@@ -195,14 +195,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', 'inputlevel': 3,
           }),
         ('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', 'inputlevel': 3,
           }),
 
         ))