Anonymous avatar Anonymous committed a2da213

Plugin guard is disabled for development environments by default now and the feature is no longer exposed on the plugin page. If you want to change it, you can do so from the configuration editor.

Comments (0)

Files changed (3)

     'smtp_use_tls':             BooleanField(default=False),
     # plugin settings
-    'plugin_guard':             BooleanField(default=True),
+    'plugin_guard':             BooleanField(default=not _dev_mode),
     'plugins':                  CommaSeparated(TextField(), default=list),
     'plugin_searchpath':        CommaSeparated(TextField(), default=list,
         help_text=lazy_gettext(u'It\'s possible to one or more comma '
         if initial is None:
             initial = dict(
                 active_plugins=[ for x in app.plugins.itervalues()
-                                if],
-                disable_guard=not app.cfg['plugin_guard']
+                                if]
         forms.Form.__init__(self, initial)
         """Apply the changes."""
         t =
         t['plugins'] = u', '.join(sorted(['active_plugins']))
-        t['plugin_guard'] = not['disable_guard']


     {%- endfor %}
-    <h2>{{ _("Plugin Guard") }}</h2>
-    <p>{% trans %}
-      Normally the plugin guard is enabled and catches exceptions during
-      plugin setup.  In some situations however this is not wanted, for
-      example if you want to debug a broken plugin.
-    {% endtrans %}
-    <dl>{{ form.disable_guard.as_dd() }}</dl>
     <h2>{{ _("Add New Plugin") }}</h2>
     <p>{% trans %}
       If you have a plugin as Zine <tt>.plugin</tt> file you can upload it
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.