cubicweb/web/webconfig.py
changeset 11929 fcbd6b251d81
parent 11913 4516c3956d46
parent 11902 6c320c41b1a0
child 12010 c34590161082
equal deleted inserted replaced
11920:f13799fbcfea 11929:fcbd6b251d81
   147           'help': 'Same as cleanup-session-time but specific to anonymous '
   147           'help': 'Same as cleanup-session-time but specific to anonymous '
   148           'sessions. You can have a much smaller timeout here since it will be '
   148           'sessions. You can have a much smaller timeout here since it will be '
   149           'transparent to the user. Default to 5min.',
   149           'transparent to the user. Default to 5min.',
   150           'group': 'web', 'level': 3,
   150           'group': 'web', 'level': 3,
   151           }),
   151           }),
   152         ('embed-allowed',
       
   153          {'type' : 'regexp',
       
   154           'default': None,
       
   155           'help': 'regular expression matching URLs that may be embeded. \
       
   156 leave it blank if you don\'t want the embedding feature, or set it to ".*" \
       
   157 if you want to allow everything',
       
   158           'group': 'web', 'level': 3,
       
   159           }),
       
   160         ('submit-mail',
   152         ('submit-mail',
   161          {'type' : 'string',
   153          {'type' : 'string',
   162           'default': None,
   154           'default': None,
   163           'help': ('Mail used as recipient to report bug in this instance, '
   155           'help': ('Mail used as recipient to report bug in this instance, '
   164                    'if you want this feature on'),
   156                    'if you want this feature on'),