server/serverconfig.py
changeset 5323 329b4f6d18b4
parent 5059 1d5c81588144
child 5328 c51e8f62652a
--- a/server/serverconfig.py	Mon Apr 19 12:42:54 2010 +0200
+++ b/server/serverconfig.py	Mon Apr 19 12:43:23 2010 +0200
@@ -23,12 +23,12 @@
                'default': 'admin',
                'help': "cubicweb manager account's login "
                '(this user will be created)',
-               'inputlevel': 0,
+               'level': 0,
                }),
     ('password', {'type' : 'password',
                   'default': REQUIRED,
                   'help': "cubicweb manager account's password",
-                  'inputlevel': 0,
+                  'level': 0,
                   }),
     )
 
@@ -93,39 +93,39 @@
          {'type' : 'string',
           'default': None,
           'help': 'host name if not correctly detectable through gethostname',
-          'group': 'main', 'inputlevel': 1,
+          'group': 'main', 'level': 1,
           }),
         ('pid-file',
          {'type' : 'string',
           'default': Method('default_pid_file'),
           'help': 'repository\'s pid file',
-          'group': 'main', 'inputlevel': 2,
+          'group': 'main', 'level': 2,
           }),
         ('uid',
          {'type' : 'string',
           'default': None,
           'help': 'if this option is set, use the specified user to start \
 the repository rather than the user running the command',
-          'group': 'main', 'inputlevel': (CubicWebConfiguration.mode == 'installed') and 0 or 1,
+          'group': 'main', 'level': (CubicWebConfiguration.mode == 'installed') and 0 or 1,
           }),
         ('session-time',
          {'type' : 'int',
           'default': 30*60,
           'help': 'session expiration time, default to 30 minutes',
-          'group': 'main', 'inputlevel': 1,
+          'group': 'main', 'level': 1,
           }),
         ('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', 'level': 1,
           }),
         ('rql-cache-size',
          {'type' : 'int',
           'default': 300,
           'help': 'size of the parsed rql cache size.',
-          'group': 'main', 'inputlevel': 1,
+          'group': 'main', 'level': 1,
           }),
         ('undo-support',
          {'type' : 'string', 'default': '',
@@ -133,20 +133,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', 'level': 1,
           }),
         ('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', 'level': 1,
           }),
         ('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', 'level': 1,
           }),
 
         ('delay-full-text-indexation',
@@ -155,7 +155,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', 'level': 1,
           }),
 
         # email configuration
@@ -168,7 +168,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', 'level': 1,
           }),
         ('default-dest-addrs',
          {'type' : 'csv',
@@ -176,14 +176,14 @@
           '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', 'level': 1,
           }),
         ('supervising-addrs',
          {'type' : 'csv',
           'default': (),
           'help': 'comma separated list of email addresses that will be \
 notified of every changes.',
-          'group': 'email', 'inputlevel': 2,
+          'group': 'email', 'level': 2,
           }),
         # pyro server.serverconfig
         ('pyro-host',
@@ -192,7 +192,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', 'level': 2,
           }),
         ) + CubicWebConfiguration.options)