mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-07-08 11:40:25 +00:00
roundcube: Implement diagnostics
This commit is contained in:
parent
8179e94d64
commit
f81f53350f
@ -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>
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user