From e51479700b1c97cc59b8a9ef7978e5ed699737aa Mon Sep 17 00:00:00 2001 From: andryyy Date: Thu, 11 Feb 2021 09:34:08 +0100 Subject: [PATCH] [Web] Show XMPP status in /debug --- data/web/debug.php | 58 +++++++++++++++++++++++++++++++++++++++------- 1 file changed, 50 insertions(+), 8 deletions(-) diff --git a/data/web/debug.php b/data/web/debug.php index 6390be75..04ee431d 100644 --- a/data/web/debug.php +++ b/data/web/debug.php @@ -6,6 +6,7 @@ require_once $_SERVER['DOCUMENT_ROOT'] . '/inc/header.inc.php'; $_SESSION['return_to'] = $_SERVER['REQUEST_URI']; $solr_status = (preg_match("/^([yY][eE][sS]|[yY])+$/", $_ENV["SKIP_SOLR"])) ? false : solr_status(); $clamd_status = (preg_match("/^([yY][eE][sS]|[yY])+$/", $_ENV["SKIP_CLAMD"])) ? false : true; +$xmpp_status = xmpp_control('status'); ?>
@@ -48,7 +49,7 @@ $clamd_status = (preg_match("/^([yY][eE][sS]|[yY])+$/", $_ENV["SKIP_CLAMD"])) ?
-

/var/vmail on

+

Mail disk space via

/ ()

@@ -66,7 +67,7 @@ $clamd_status = (preg_match("/^([yY][eE][sS]|[yY])+$/", $_ENV["SKIP_CLAMD"])) ?
-

Solr Logo

+

Solr Logo

: / (%)


-

: ~h

-

:

-

:

-

:

-

:

+

: ~h

+

:

+

:

+

:

+

:

@@ -94,6 +95,47 @@ $clamd_status = (preg_match("/^([yY][eE][sS]|[yY])+$/", $_ENV["SKIP_CLAMD"])) ?
+
+
+

+
+
+
+
+

XMPP Logo

+
+
+ +

:

+

:

+ +

MUCs:

+
    + +
  1. + +
+ +

+ +
+
+
+

@@ -129,7 +171,7 @@ $clamd_status = (preg_match("/^([yY][eE][sS]|[yY])+$/", $_ENV["SKIP_CLAMD"])) ? $started = '?'; } ?> - ( ), + ( ),