mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-01-28 08:03:36 +00:00
owncloud: Implement diagnostics
This commit is contained in:
parent
4870e7dba3
commit
8179e94d64
@ -22,6 +22,18 @@ Plinth module to configure ownCloud
|
||||
from . import owncloud
|
||||
from .owncloud import init
|
||||
|
||||
from plinth import action_utils
|
||||
|
||||
__all__ = ['owncloud', 'init']
|
||||
|
||||
depends = ['plinth.modules.apps']
|
||||
|
||||
|
||||
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
|
||||
|
||||
@ -37,6 +37,10 @@
|
||||
Visit this URL to set up the initial administration account for
|
||||
ownCloud.</p>
|
||||
|
||||
{% include "diagnostics_button.html" with module="owncloud" %}
|
||||
|
||||
<h3>Configuration</h3>
|
||||
|
||||
<form class="form" method="post">
|
||||
{% csrf_token %}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user