diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000000..957236940c --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "extension/qucheng"] + path = extension/qucheng + url = https://gitlab.zcorp.cc/easycorp/qucheng.git diff --git a/api/v1/entries/product.php b/api/v1/entries/product.php index 90476c5493..bd32975f52 100644 --- a/api/v1/entries/product.php +++ b/api/v1/entries/product.php @@ -58,7 +58,7 @@ class productEntry extends Entry $product->moduleOptionMenu = $this->loadModel('tree')->getOptionMenu($productID, 'bug', 0, 'all'); break; case 'builds': - $product->builds = $this->loadModel('build')->getBuildPairs($productID, 'all', 'noempty,noterminate,nodone,withbranch'); + $product->builds = $this->loadModel('build')->getBuildPairs($productID, 'all', 'noempty,noterminate,nodone,withbranch', $this->param('object', 0), $this->param('objectType', 'execution')); break; case 'actions': $product->addComment = common::hasPriv('action', 'comment') ? true : false; diff --git a/config/config.php b/config/config.php index 6271d1a45d..8bbb213f6a 100644 --- a/config/config.php +++ b/config/config.php @@ -146,7 +146,7 @@ $config->file->allowed = 'txt,doc,docx,dot,wps,wri,pdf,ppt,pptx,xls,xlsx,ett $config->file->storageType = 'fs'; // fs or s3 /* Upload settings. */ -$config->allowedTags = '