roundcube: Implement diagnostics

This commit is contained in:
Sunil Mohan Adapa authored and James Valleroy committed 2015-08-29 06:22:02 -04:00
1 parent 8179e94d64
commit f81f53350f
2 files changed
+11

No files matched your search

+10
View File
@@ -39,3 +39,13 @@ def init():
def is_enabled():
"""Return whether the module is enabled."""
return action_utils.webserver_is_enabled('roundcube')
def diagnose():
"""Run diagnostics and return the results."""
results = []
results.extend(action_utils.diagnose_url_on_all(
'https://{host}/roundcube', extra_options=['--no-check-certificate']))
return results
@@ -43,6 +43,7 @@
(<a href="https://www.google.com/settings/security/lesssecureapps"
>https://www.google.com/settings/security/lesssecureapps</a>).</p>
{% include "diagnostics_button.html" with module="roundcube" %}
<h3>Configuration</h3>