Drop embed-allowed option, gone away for a long time 3.24
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Wed, 18 Jan 2017 12:36:02 +0100
branch3.24
changeset 11902 6c320c41b1a0
parent 11901 afd7657a6d65
child 11903 6f36275a6e74
Drop embed-allowed option, gone away for a long time
cubicweb/devtools/testlib.py
cubicweb/web/webconfig.py
--- a/cubicweb/devtools/testlib.py	Wed Jan 04 10:02:05 2017 +0100
+++ b/cubicweb/devtools/testlib.py	Wed Jan 18 12:36:02 2017 +0100
@@ -413,11 +413,6 @@
         config.global_set_option('sender-addr', 'cubicweb-test@logilab.fr')
         # default_base_url on config class isn't enough for TestServerConfiguration
         config.global_set_option('base-url', config.default_base_url())
-        # web resources
-        try:
-            config.global_set_option('embed-allowed', re.compile('.*'))
-        except Exception:  # not in server only configuration
-            pass
 
     @property
     def vreg(self):
--- a/cubicweb/web/webconfig.py	Wed Jan 04 10:02:05 2017 +0100
+++ b/cubicweb/web/webconfig.py	Wed Jan 18 12:36:02 2017 +0100
@@ -162,14 +162,6 @@
           'transparent to the user. Default to 5min.',
           'group': 'web', 'level': 3,
           }),
-        ('embed-allowed',
-         {'type' : 'regexp',
-          'default': None,
-          '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', 'level': 3,
-          }),
         ('submit-mail',
          {'type' : 'string',
           'default': None,