* change for upgrade.

This commit is contained in:
wangyidong
2017-05-22 09:53:16 +08:00
parent 93063f15df
commit 02bd73a67b
8 changed files with 15 additions and 4 deletions
+1 -1
View File
@@ -1 +1 @@
9.2.stable
9.2.1
+1 -1
View File
@@ -17,7 +17,7 @@ if(!function_exists('getWebRoot')){function getWebRoot(){}}
/* Basic settings. */
$config = new config();
$config->version = '9.2'; // The version of zentaopms. Don't change it.
$config->version = '9.2.1'; // The version of zentaopms. Don't change it.
$config->charset = 'UTF-8'; // The charset of zentaopms.
$config->cookieLife = time() + 2592000; // The cookie life time.
$config->timezone = 'Asia/Shanghai'; // The time zone setting, for more see http://www.php.net/manual/en/timezones.php
+7
View File
@@ -1,3 +1,10 @@
2017-05-22 9.2.1
修复的Bug
无法添加待办。
批量添加待办时,待办名称添加必填项标识。
新增产品/项目时,产品/项目--动态下,不显示操作动态。
添加项目时,所属产品项缺失。
2017-05-16 9.2.stable
完成的需求
1883 windows一键安装包提示安装vC环境改为可选
+1 -2
View File
@@ -725,7 +725,7 @@ if(isset($config->global->flow) and $config->global->flow == 'onlyTest')
$lang->testtask->menu->blocked = '被阻塞版本|testtask|browse|productID=%s&branch=%s&type=%s,blocked';
$lang->testtask->menu->done = '已測版本|testtask|browse|productID=%s&branch=%s&type=%s,done';
$lang->testtask->menu->totalStatus = '全部|testtask|browse|productID=%s&branch=%s&type=%s,totalStatus';
$lang->testtask->menu->report = array('link' => '報告|testreport|browse');
$lang->testtask->menu->report = array('link' => '報告|testreport|browse', 'alias' => 'view,create,edit');
$lang->testtask->menu->create = array('link' => "<i class='icon-plus'></i> 提交測試|testtask|create|productID=%s", 'float' => 'right');
$lang->testtask->menuOrder[5] = 'product';
@@ -738,7 +738,6 @@ if(isset($config->global->flow) and $config->global->flow == 'onlyTest')
$lang->testtask->menuOrder[40] = 'report';
$lang->testtask->menuOrder[45] = 'create';
/* Adjust sub menu of report module. */
$lang->testreport->menu = $lang->testtask->menu;
$lang->testreport->menuOrder = $lang->testtask->menuOrder;
+1
View File
@@ -120,3 +120,4 @@ $lang->upgrade->fromVersions['9_0_1'] = '9.0.1';
$lang->upgrade->fromVersions['9_1'] = '9.1';
$lang->upgrade->fromVersions['9_1_1'] = '9.1.1';
$lang->upgrade->fromVersions['9_1_2'] = '9.1.2';
$lang->upgrade->fromVersions['9_2'] = '9.2';
+1
View File
@@ -120,3 +120,4 @@ $lang->upgrade->fromVersions['9_0_1'] = '9.0.1';
$lang->upgrade->fromVersions['9_1'] = '9.1';
$lang->upgrade->fromVersions['9_1_1'] = '9.1.1';
$lang->upgrade->fromVersions['9_1_2'] = '9.1.2';
$lang->upgrade->fromVersions['9_2'] = '9.2';
+1
View File
@@ -120,3 +120,4 @@ $lang->upgrade->fromVersions['9_0_1'] = '9.0.1';
$lang->upgrade->fromVersions['9_1'] = '9.1';
$lang->upgrade->fromVersions['9_1_1'] = '9.1.1';
$lang->upgrade->fromVersions['9_1_2'] = '9.1.2';
$lang->upgrade->fromVersions['9_2'] = '9.2';
+2
View File
@@ -178,6 +178,7 @@ class upgradeModel extends model
$this->execSQL($this->getUpgradeFile('9.1.2'));
$this->processCustomMenus();
$this->adjustPriv9_2();
case '9_2':
}
$this->deletePatch();
@@ -270,6 +271,7 @@ class upgradeModel extends model
case '9_1': $confirmContent .= file_get_contents($this->getUpgradeFile('9.1'));
case '9_1_1': $confirmContent .= file_get_contents($this->getUpgradeFile('9.1.1'));
case '9_1_2': $confirmContent .= file_get_contents($this->getUpgradeFile('9.1.2'));
case '9_2':
}
return str_replace('zt_', $this->config->db->prefix, $confirmContent);
}