* Add code for 11.5.2.

This commit is contained in:
Yagami
2019-06-26 17:37:06 +08:00
parent 09ae1056ea
commit 50b7ac7516
9 changed files with 24 additions and 6 deletions
+1 -1
View File
@@ -1 +1 @@
11.5.1
11.5.2
+1 -1
View File
@@ -16,7 +16,7 @@ if(!class_exists('config')){class config{}}
if(!function_exists('getWebRoot')){function getWebRoot(){}}
/* 基本设置。Basic settings. */
$config->version = '11.5.1'; // ZenTaoPHP的版本。 The version of ZenTaoPHP. Don't change it.
$config->version = '11.5.2'; // ZenTaoPHP的版本。 The version of ZenTaoPHP. Don't change it.
$config->charset = 'UTF-8'; // ZenTaoPHP的编码。 The encoding of ZenTaoPHP.
$config->cookieLife = time() + 2592000; // Cookie的生存时间。The cookie life time.
$config->timezone = 'Asia/Shanghai'; // 时区设置。 The time zone setting, for more see http://www.php.net/manual/en/timezones.php.
+5 -1
View File
@@ -1,6 +1,10 @@
2019-06-26 11.5.2
完善登录禅道弱口令检查
增加禅道安全性
去掉二次开发编辑器模块
2019-06-24 11.5.1
完成的需求:
3708 一键安装包存在漏洞
3708 增加一键安装包安全性
3901 增加免密登录的功能
修复的bug:
2514 用例覆盖率计算错误
+1 -1
View File
@@ -393,7 +393,7 @@ $lang->admin->subMenu->sso->ranzhi = '然之協同|admin|sso';
$lang->admin->subMenu->dev = new stdclass();
$lang->admin->subMenu->dev->api = array('link' => 'API|dev|api');
$lang->admin->subMenu->dev->db = array('link' => '資料庫|dev|db');
$lang->admin->subMenu->dev->editor = array('link' => '編輯器|editor|index', 'subModule' => 'editor');
//$lang->admin->subMenu->dev->editor = array('link' => '編輯器|editor|index', 'subModule' => 'editor');
$lang->admin->subMenu->dev->entry = array('link' => '應用|entry|browse', 'subModule' => 'entry');
$lang->admin->subMenu->data = new stdclass();
+3
View File
@@ -75,6 +75,7 @@ $lang->misc->feature = new stdclass();
$lang->misc->feature->lastest = 'Latest Version';
$lang->misc->feature->detailed = 'Details';
$lang->misc->releaseDate['11.5.2'] = '2019-06-26';
$lang->misc->releaseDate['11.5.1'] = '2019-06-24';
$lang->misc->releaseDate['11.5.stable'] = '2019-05-08';
$lang->misc->releaseDate['11.4.1'] = '2019-04-08';
@@ -103,6 +104,8 @@ $lang->misc->releaseDate['7.2.stable'] = '2015-05-22';
$lang->misc->releaseDate['7.1.stable'] = '2015-03-07';
$lang->misc->releaseDate['6.3.stable'] = '2014-11-07';
$lang->misc->feature->all['11.5.2'][] = array('title'=>'Increase the security of ZenTao and increase the login password for weak password check', 'desc' => '');
$lang->misc->feature->all['11.5.1'][] = array('title'=>'Add a third-party authentication and fix bugs.', 'desc' => '');
$lang->misc->feature->all['11.5.stable'][] = array('title'=>'Optimize details and fix bug.', 'desc' => '');
+3
View File
@@ -75,6 +75,7 @@ $lang->misc->feature = new stdclass();
$lang->misc->feature->lastest = '最新版本';
$lang->misc->feature->detailed = '详情';
$lang->misc->releaseDate['11.5.2'] = '2019-06-26';
$lang->misc->releaseDate['11.5.1'] = '2019-06-24';
$lang->misc->releaseDate['11.5.stable'] = '2019-05-08';
$lang->misc->releaseDate['11.4.1'] = '2019-04-08';
@@ -103,6 +104,8 @@ $lang->misc->releaseDate['7.2.stable'] = '2015-05-22';
$lang->misc->releaseDate['7.1.stable'] = '2015-03-07';
$lang->misc->releaseDate['6.3.stable'] = '2014-11-07';
$lang->misc->feature->all['11.5.2'][] = array('title'=>'增加禅道安全性,增加登录禅道弱口令检查', 'desc' => '');
$lang->misc->feature->all['11.5.1'][] = array('title'=>'新增第三方应用免密登录禅道,修复Bug', 'desc' => '');
$lang->misc->feature->all['11.5.stable'][] = array('title'=>'完善细节,修复Bug', 'desc' => '');
+4 -1
View File
@@ -75,6 +75,7 @@ $lang->misc->feature = new stdclass();
$lang->misc->feature->lastest = '最新版本';
$lang->misc->feature->detailed = '詳情';
$lang->misc->releaseDate['11.5.2'] = '2019-06-26';
$lang->misc->releaseDate['11.5.1'] = '2019-06-24';
$lang->misc->releaseDate['11.5.stable'] = '2019-05-08';
$lang->misc->releaseDate['11.4.1'] = '2019-04-08';
@@ -103,7 +104,9 @@ $lang->misc->releaseDate['7.2.stable'] = '2015-05-22';
$lang->misc->releaseDate['7.1.stable'] = '2015-03-07';
$lang->misc->releaseDate['6.3.stable'] = '2014-11-07';
$lang->misc->feature->all['11.5.1'][] = array('title'=>'新增第三方應用免密登錄,修復Bug', 'desc' => '');
$lang->misc->feature->all['11.5.2'][] = array('title'=>'增加禪道安全性,增加登錄禪道弱口令檢查', 'desc' => '');
$lang->misc->feature->all['11.5.1'][] = array('title'=>'新增第三方應用免密登錄禪道,修復Bug', 'desc' => '');
$lang->misc->feature->all['11.5.stable'][] = array('title'=>'完善細節,修復Bug', 'desc' => '');
$lang->misc->feature->all['11.5.stable'][] = array('title'=>'新增動態過濾機制', 'desc' => '');
+1
View File
@@ -107,3 +107,4 @@ $lang->upgrade->fromVersions['11_3'] = '11.3';
$lang->upgrade->fromVersions['11_4'] = '11.4';
$lang->upgrade->fromVersions['11_4_1'] = '11.4.1';
$lang->upgrade->fromVersions['11_5'] = '11.5';
$lang->upgrade->fromVersions['11_5_1'] = '11.5.1';
+5 -1
View File
@@ -392,6 +392,9 @@ class upgradeModel extends model
case '11_5':
$this->saveLogs('Execute 11_5');
$this->execSQL($this->getUpgradeFile('11.5'));
case '11_5_1':
$this->saveLogs('Execute 11_5_1');
$this->execSQL($this->getUpgradeFile('11.5_1'));
}
$this->deletePatch();
@@ -533,7 +536,8 @@ class upgradeModel extends model
$xuanxuanSql = $this->app->getAppRoot() . 'db' . DS . 'upgradexuanxuan2.5.0.sql';
$confirmContent .= file_get_contents($xuanxuanSql);
}
case '11_5': $confirmContent .= file_get_contents($this->getUpgradeFile('11.5'));
case '11_5' : $confirmContent .= file_get_contents($this->getUpgradeFile('11.5'));
case '11_5_1' : $confirmContent .= file_get_contents($this->getUpgradeFile('11.5.1'));
}
return str_replace('zt_', $this->config->db->prefix, $confirmContent);
}