* Add the 18.5 version.

This commit is contained in:
hufangzhou
2023-07-05 17:31:27 +08:00
parent 251f6daaf5
commit acfad4db71
13 changed files with 3825 additions and 13 deletions
+1 -1
View File
@@ -1 +1 @@
18.4
18.5
+1 -1
View File
@@ -16,7 +16,7 @@ if(!class_exists('config')){class config{}}
if(!function_exists('getWebRoot')){function getWebRoot(){}}
/* 基本设置。Basic settings. */
$config->version = '18.4'; // ZenTaoPHP的版本。 The version of ZenTaoPHP. Don't change it.
$config->version = '18.5'; // ZenTaoPHP的版本。 The version of ZenTaoPHP. Don't change it.
$config->liteVersion = '1.2'; // 迅捷版版本。 The version of Lite.
$config->charset = 'UTF-8'; // ZenTaoPHP的编码。 The encoding of ZenTaoPHP.
$config->cookieLife = time() + 2592000; // Cookie的生存时间。The cookie life time.
File diff suppressed because it is too large Load Diff
+1 -1
View File
@@ -21,7 +21,7 @@ INSERT INTO zt_privrelation (priv, `type`, relationPriv) VALUES(2108, 'depend',
ALTER TABLE `zt_traincourse` ADD `importedStatus` enum('','wait','doing','done') NOT NULL DEFAULT '' AFTER `desc`;
ALTER TABLE `zt_traincourse` ADD `lastUpdatedTime` int UNSIGNED NOT NULL DEFAULT 0 AFTER `importedStatus`;
ALTER TABLE `zt_traincourse` MODIFY COLUMN `code` varchar(255) DEFAULT '' NOT NULL;
ALTER TABLE `zt_traincourse` MODIFY COLUMN `code` varchar(255) NOT NULL DEFAULT '';
UPDATE `zt_im_chat` SET `createdDate` = NULL WHERE `createdDate` = '0000-00-00 00:00:00';
UPDATE `zt_im_chat` SET `editedDate` = NULL WHERE `editedDate` = '0000-00-00 00:00:00';
+27
View File
@@ -1,3 +1,30 @@
2023-07-05 18.5
完成的需求
开源版:
45633 优化产品模块中用户需求列表性能
45632 优化产品模块中研发需求列表性能
45630 优化项目列表性能
45416 优化仪表盘区块加载策略
45256 版本数据过多影响bug编辑页面加载速度
企业版:
46105 从云端导入课程完成后给用户邮件通知
45927 后台BI权限实现数据表的导出权限
45924 数据表浏览页面实现导出功能
45498 学堂导入课程默认为上线状态
45497 学堂后台课程列表中增加默认引导语
45496 私有部署禅道实现从云端导入课程功能
45268 项目型项目支持反馈功能
44991 yaml课程打包工具支持打包PDF文件
44918 调整授权到期规则,授权到期前30天在登录页面给用户提示
43764 学堂后台课程列表中打印从云端导入按钮
40829 学堂播放器支持PDF文件播放功能
修复的Bug
开源版:
36161 运营界面点击任务默认跳转到看板视图
企业版:
36057 透视表前台筛选条件能不正常查询
36218 scrum项目型项目反馈转需求,点击反馈详情页历史记录的超链接报错
2023-06-14 18.4
修复的Bug
开源版:
+2
View File
@@ -104,6 +104,7 @@ $lang->misc->feature->visionsDesc = "<p>The concept of interface has been add
$lang->misc->feature->visionsImage = 'theme/default/images/main/visions_en.png';
/* Release Date. */
$lang->misc->releaseDate['18.5'] = '2023-07-05';
$lang->misc->releaseDate['18.4'] = '2023-06-14';
$lang->misc->releaseDate['18.4.beta1'] = '2023-05-31';
$lang->misc->releaseDate['18.4.alpha1'] = '2023-04-21';
@@ -204,6 +205,7 @@ $lang->misc->releaseDate['7.1.stable'] = '2015-03-07';
$lang->misc->releaseDate['6.3.stable'] = '2014-11-07';
/* Release Detail. */
$lang->misc->feature->all['18.5'][] = array('title' => "Our academy's curriculum now supports cloud-based importing and the previewing of PDF files within courses. Additionally, we've optimized the loading speed of commonly used lists and addressed multiple bugs.", 'desc' => '');
$lang->misc->feature->all['18.4'][] = array('title' => 'In this release, we have improved the performance of the core list, added compatibility with Dameng databases, and resolved multiple bugs.', 'desc' => '');
$lang->misc->feature->all['18.4.beta1'][] = array('title' => 'Fix bugs.', 'desc' => '');
$lang->misc->feature->all['18.4.alpha1'][] = array('title' => 'We have enhanced the interaction experience of permissions and documents, while introducing the concept of test scenarios. Moreover, we now provide support for importing use cases with XMIND. Additionally, we have fully revamped the BI module by incorporating large screens, pivot tables, charts, and data capabilities.', 'desc' => '');
+2
View File
@@ -104,6 +104,7 @@ $lang->misc->feature->visionsDesc = "<p>The concept of interface has been add
$lang->misc->feature->visionsImage = 'theme/default/images/main/visions_en.png';
/* Release Date. */
$lang->misc->releaseDate['18.5'] = '2023-07-05';
$lang->misc->releaseDate['18.4'] = '2023-06-14';
$lang->misc->releaseDate['18.4.beta1'] = '2023-05-31';
$lang->misc->releaseDate['18.4.alpha1'] = '2023-04-21';
@@ -204,6 +205,7 @@ $lang->misc->releaseDate['7.1.stable'] = '2015-03-07';
$lang->misc->releaseDate['6.3.stable'] = '2014-11-07';
/* Release Detail. */
$lang->misc->feature->all['18.5'][] = array('title' => "Our academy's curriculum now supports cloud-based importing and the previewing of PDF files within courses. Additionally, we've optimized the loading speed of commonly used lists and addressed multiple bugs.", 'desc' => '');
$lang->misc->feature->all['18.4'][] = array('title' => 'In this release, we have improved the performance of the core list, added compatibility with Dameng databases, and resolved multiple bugs.', 'desc' => '');
$lang->misc->feature->all['18.4.beta1'][] = array('title' => 'Fix bugs.', 'desc' => '');
$lang->misc->feature->all['18.4.alpha1'][] = array('title' => 'We have enhanced the interaction experience of permissions and documents, while introducing the concept of test scenarios. Moreover, we now provide support for importing use cases with XMIND. Additionally, we have fully revamped the BI module by incorporating large screens, pivot tables, charts, and data capabilities.', 'desc' => '');
+2
View File
@@ -104,6 +104,7 @@ $lang->misc->feature->visionsDesc = "<p>The concept of interface has been add
$lang->misc->feature->visionsImage = 'theme/default/images/main/visions_en.png';
/* Release Date. */
$lang->misc->releaseDate['18.5'] = '2023-07-05';
$lang->misc->releaseDate['18.4'] = '2023-06-14';
$lang->misc->releaseDate['18.4.beta1'] = '2023-05-31';
$lang->misc->releaseDate['18.4.alpha1'] = '2023-04-21';
@@ -204,6 +205,7 @@ $lang->misc->releaseDate['7.1.stable'] = '2015-03-07';
$lang->misc->releaseDate['6.3.stable'] = '2014-11-07';
/* Release Detail. */
$lang->misc->feature->all['18.5'][] = array('title' => "Our academy's curriculum now supports cloud-based importing and the previewing of PDF files within courses. Additionally, we've optimized the loading speed of commonly used lists and addressed multiple bugs.", 'desc' => '');
$lang->misc->feature->all['18.4'][] = array('title' => 'In this release, we have improved the performance of the core list, added compatibility with Dameng databases, and resolved multiple bugs.', 'desc' => '');
$lang->misc->feature->all['18.4.beta1'][] = array('title' => 'Fix bugs.', 'desc' => '');
$lang->misc->feature->all['18.4.alpha1'][] = array('title' => 'We have enhanced the interaction experience of permissions and documents, while introducing the concept of test scenarios. Moreover, we now provide support for importing use cases with XMIND. Additionally, we have fully revamped the BI module by incorporating large screens, pivot tables, charts, and data capabilities.', 'desc' => '');
+2
View File
@@ -104,6 +104,7 @@ $lang->misc->feature->visionsDesc = "<p>从16.5开始增加了界面概念,
$lang->misc->feature->visionsImage = 'theme/default/images/main/visions.png';
/* Release Date. */
$lang->misc->releaseDate['18.5'] = '2023-07-05';
$lang->misc->releaseDate['18.4'] = '2023-06-14';
$lang->misc->releaseDate['18.4.beta1'] = '2023-05-31';
$lang->misc->releaseDate['18.4.alpha1'] = '2023-04-21';
@@ -204,6 +205,7 @@ $lang->misc->releaseDate['7.1.stable'] = '2015-03-07';
$lang->misc->releaseDate['6.3.stable'] = '2014-11-07';
/* Release Detail. */
$lang->misc->feature->all['18.5'][] = array('title' => '学堂课程支持从云端导入,支持课程中PDF文件的预览,同时还优化了常用列表的加载速度,修复了多处Bug。', 'desc' => '');
$lang->misc->feature->all['18.4'][] = array('title' => '本次发布优化了核心列表的性能,兼容达梦数据库,修复了多处Bug。', 'desc' => '');
$lang->misc->feature->all['18.4.beta1'][] = array('title' => '解Bug。', 'desc' => '');
$lang->misc->feature->all['18.4.alpha1'][] = array('title' => '优化权限、文档交互体验,测试新增场景概念,用例支持xmind导入,并对BI模块中的大屏、透视表、图表、数据表进行了全面升级。', 'desc' => '');
+4 -2
View File
@@ -37,7 +37,8 @@ $config->upgrade->maxVersion['max4_2'] = '18_2';
$config->upgrade->maxVersion['max4_3'] = '18_3';
$config->upgrade->maxVersion['max4_4_alpha1'] = '18_4_alpha1';
$config->upgrade->maxVersion['max4_4_beta1'] = '18_4_beta1';
$config->upgrade->maxVersion['max4_4'] = '18_4'; // max insert position.
$config->upgrade->maxVersion['max4_4'] = '18_4';
$config->upgrade->maxVersion['max4_5'] = '18_5'; // max insert position.
$config->upgrade->bizVersion = array();
$config->upgrade->bizVersion['biz1_0'] = '9_5_1';
@@ -113,7 +114,8 @@ $config->upgrade->bizVersion['biz8_2'] = '18_2';
$config->upgrade->bizVersion['biz8_3'] = '18_3';
$config->upgrade->bizVersion['biz8_4_alpha1'] = '18_4_alpha1';
$config->upgrade->bizVersion['biz8_4_beta1'] = '18_4_beta1';
$config->upgrade->bizVersion['biz8_4'] = '18_4'; // biz insert position.
$config->upgrade->bizVersion['biz8_4'] = '18_4';
$config->upgrade->bizVersion['biz8_5'] = '18_5'; // biz insert position.
$config->upgrade->proVersion = array();
$config->upgrade->proVersion['pro1_0'] = '3_1';
+6 -3
View File
@@ -178,7 +178,8 @@ $lang->upgrade->fromVersions['18_2'] = '18.2';
$lang->upgrade->fromVersions['18_3'] = '18.3';
$lang->upgrade->fromVersions['18_4_alpha1'] = '18.4.alpha1';
$lang->upgrade->fromVersions['18_4_beta1'] = '18.4.beta1';
$lang->upgrade->fromVersions['18_4'] = '18.4'; // pms insert position.
$lang->upgrade->fromVersions['18_4'] = '18.4';
$lang->upgrade->fromVersions['18_5'] = '18.5'; // pms insert position.
global $config;
/* Lite. */
@@ -361,7 +362,8 @@ $lang->upgrade->fromVersions['biz8_2'] = 'Biz8.2';
$lang->upgrade->fromVersions['biz8_3'] = 'Biz8.3';
$lang->upgrade->fromVersions['biz8_4_alpha1'] = 'Biz8.4.alpha1';
$lang->upgrade->fromVersions['biz8_4_beta1'] = 'Biz8.4.beta1';
$lang->upgrade->fromVersions['biz8_4'] = 'Biz8.4'; // biz insert position.
$lang->upgrade->fromVersions['biz8_4'] = 'Biz8.4';
$lang->upgrade->fromVersions['biz8_5'] = 'Biz8.5'; // biz insert position.
/* Max. */
$lang->upgrade->fromVersions['max2_0_beta4'] = 'Max2.0.beta4';
@@ -401,4 +403,5 @@ $lang->upgrade->fromVersions['max4_2'] = 'Max4.2';
$lang->upgrade->fromVersions['max4_2'] = 'Max4.2';
$lang->upgrade->fromVersions['max4_3'] = 'Max4.3';
$lang->upgrade->fromVersions['max4_4_alpha1'] = 'Max4.4.alpha1';
$lang->upgrade->fromVersions['max4_4_beta1'] = 'Max4.4.beta1'; // max insert position.
$lang->upgrade->fromVersions['max4_4_beta1'] = 'Max4.4.beta1';
$lang->upgrade->fromVersions['max4_4'] = 'Max4.4'; // max insert position.
+3 -1
View File
@@ -1117,7 +1117,9 @@ class upgradeModel extends model
case '18_4_alpha1':
$confirmContent .= file_get_contents($this->getUpgradeFile('18.4.alpha1'));
case '18_4_beta1':
$confirmContent .= file_get_contents($this->getUpgradeFile('18.4.beta1')); // confirm insert position.
$confirmContent .= file_get_contents($this->getUpgradeFile('18.4.beta1'));
case '18_4':
$confirmContent .= file_get_contents($this->getUpgradeFile('18.4')); // confirm insert position.
}
return $confirmContent;
+4 -4
View File
@@ -267,8 +267,8 @@ class prepareUpdate
public function addLastVersion()
{
`sed -i "s/ \/\/ pms insert position\.$/\\n\\\$lang->upgrade->fromVersions['{$this->internalZT->pmsVersionAB}'] = '{$this->internalZT->pmsVersion}'; \/\/ pms insert position\./" ../module/upgrade/lang/version.php`;
`sed -i "s/ \/\/ biz insert position\.$/\\n\\\$lang->upgrade->fromVersions['biz{$this->internalZT->bizVersionAB}'] = 'Biz{$this->internalZT->bizVersion}'; \/\/ biz insert position\./" ../module/upgrade/lang/version.php`;
`sed -i "s/ \/\/ max insert position\.$/\\n\\\$lang->upgrade->fromVersions['max{$this->internalZT->lastMaxVersionAB}'] = 'Max{$this->internalZT->lastMaxVersion}'; \/\/ max insert position\./" ../module/upgrade/lang/version.php`;
`sed -i "s/ \/\/ biz insert position\.$/\\n\\\$lang->upgrade->fromVersions['biz{$this->internalZT->bizVersionAB}'] = 'Biz{$this->internalZT->bizVersion}'; \/\/ biz insert position\./" ../module/upgrade/lang/version.php`;
`sed -i "s/ \/\/ max insert position\.$/\\n\\\$lang->upgrade->fromVersions['max{$this->internalZT->lastMaxVersionAB}'] = 'Max{$this->internalZT->lastMaxVersion}'; \/\/ max insert position\./" ../module/upgrade/lang/version.php`;
}
/**
@@ -279,8 +279,8 @@ class prepareUpdate
*/
public function addVersionCorrespondence()
{
`sed -i "s/ \/\/ biz insert position\.$/\\n\\\$config->upgrade->bizVersion['biz{$this->internalZT->bizVersionAB}'] = '{$this->internalZT->pmsVersionAB}'; \/\/ biz insert position\./" ../module/upgrade/config.php`;
`sed -i "s/ \/\/ max insert position\.$/\\n\\\$config->upgrade->maxVersion['max{$this->internalZT->maxVersionAB}'] = '{$this->internalZT->pmsVersionAB}'; \/\/ max insert position\./" ../module/upgrade/config.php`;
`sed -i "s/ \/\/ biz insert position\.$/\\n\\\$config->upgrade->bizVersion['biz{$this->internalZT->bizVersionAB}'] = '{$this->internalZT->pmsVersionAB}'; \/\/ biz insert position\./" ../module/upgrade/config.php`;
`sed -i "s/ \/\/ max insert position\.$/\\n\\\$config->upgrade->maxVersion['max{$this->internalZT->maxVersionAB}'] = '{$this->internalZT->pmsVersionAB}'; \/\/ max insert position\./" ../module/upgrade/config.php`;
}
/**