From f695a617a3796784fececff5daa4fc3d6e913ccc Mon Sep 17 00:00:00 2001 From: zhaoke Date: Tue, 18 Apr 2023 16:48:41 +0800 Subject: [PATCH 01/28] * Fix execution bug when add zahost. --- module/zahost/model.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/module/zahost/model.php b/module/zahost/model.php index 18a3a5face..b04ed74f11 100644 --- a/module/zahost/model.php +++ b/module/zahost/model.php @@ -139,6 +139,8 @@ class zahostModel extends model { $address = str_replace(array('https://', 'http://'), '', $address); + if(!validater::checkDomain($address) && !validater::checkIP($address)) return false; + if ($this->ping($address)) return true; foreach(array(80, 443, $this->config->zahost->defaultPort) as $port) From 283ae4d6e99e7ad35c2436301b49f0880f45d1cc Mon Sep 17 00:00:00 2001 From: zhaoke Date: Wed, 19 Apr 2023 13:09:26 +0800 Subject: [PATCH 02/28] * Remove unused code. --- module/zahost/model.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/module/zahost/model.php b/module/zahost/model.php index b04ed74f11..18a3a5face 100644 --- a/module/zahost/model.php +++ b/module/zahost/model.php @@ -139,8 +139,6 @@ class zahostModel extends model { $address = str_replace(array('https://', 'http://'), '', $address); - if(!validater::checkDomain($address) && !validater::checkIP($address)) return false; - if ($this->ping($address)) return true; foreach(array(80, 443, $this->config->zahost->defaultPort) as $port) From 5cb292635af79bb36d1378826566a78bb9fa115a Mon Sep 17 00:00:00 2001 From: tianshujie Date: Mon, 24 Apr 2023 15:51:40 +0800 Subject: [PATCH 03/28] * Fix bug #34691. --- module/block/view/productdocblock.html.php | 25 +++++++++++++++----- module/block/view/projectdocblock.html.php | 27 ++++++++++++++++------ module/doc/control.php | 2 +- 3 files changed, 40 insertions(+), 14 deletions(-) diff --git a/module/block/view/productdocblock.html.php b/module/block/view/productdocblock.html.php index d9c493f333..2a69c671a9 100644 --- a/module/block/view/productdocblock.html.php +++ b/module/block/view/productdocblock.html.php @@ -61,6 +61,8 @@ html[lang="de"] .block-productdoc .c-user{width: 105px;} .block-productdoc .table .c-title > .draft {background-color:rgba(129, 102, 238, 0.12); color:#8166EE;} + +