mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-09-19 04:59:01 +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 . import owncloud
|
||||||
from .owncloud import init
|
from .owncloud import init
|
||||||
|
|
||||||
|
from plinth import action_utils
|
||||||
|
|
||||||
__all__ = ['owncloud', 'init']
|
__all__ = ['owncloud', 'init']
|
||||||
|
|
||||||
depends = ['plinth.modules.apps']
|
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
|
Visit this URL to set up the initial administration account for
|
||||||
ownCloud.</p>
|
ownCloud.</p>
|
||||||
|
|
||||||
|
{% include "diagnostics_button.html" with module="owncloud" %}
|
||||||
|
|
||||||
|
<h3>Configuration</h3>
|
||||||
|
|
||||||
<form class="form" method="post">
|
<form class="form" method="post">
|
||||||
{% csrf_token %}
|
{% csrf_token %}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user