diff --git a/module/execution/view/view.html.php b/module/execution/view/view.html.php index 6178455394..91a3cf4d8d 100644 --- a/module/execution/view/view.html.php +++ b/module/execution/view/view.html.php @@ -10,9 +10,9 @@ * @link http://www.zentao.net */ ?> -config->webRoot . 'js/echarts/echarts.common.min.js'); ?> +config->webRoot . 'js/echarts/echarts.common.min.js'); ?> execution->count); ?> diff --git a/module/my/model.php b/module/my/model.php index 38b1fd9612..bb6ae26b4b 100644 --- a/module/my/model.php +++ b/module/my/model.php @@ -344,7 +344,7 @@ class myModel extends model ->andWhere('t2.deleted')->eq(0) ->andWhere('t1.id')->in(array_keys($objectIDList)) ->orderBy($orderBy) - ->page($pager) + ->page($pager, 't1.id') ->fetchAll('id'); } elseif($objectType == 'requirement' or $objectType == 'story' or $objectType == 'bug') diff --git a/module/product/model.php b/module/product/model.php index 1ae9044709..1e5072e1a9 100644 --- a/module/product/model.php +++ b/module/product/model.php @@ -1314,7 +1314,7 @@ class productModel extends model ->fetchAll('id'); /* Determine how to display the name of the program. */ - $programList = $this->loadModel('program')->getParentPairs('', 'noclosed'); + $programList = $this->loadModel('program')->getParentPairs('', ''); foreach($projectList as $id => $project) { $projectList[$id]->programName = $project->parent ? zget($programList, $project->parent, '') : ''; diff --git a/module/project/js/create.js b/module/project/js/create.js index 8931eac1b6..bb6e5ca2f4 100644 --- a/module/project/js/create.js +++ b/module/project/js/create.js @@ -131,6 +131,9 @@ $(function() $('#daysBox').removeClass('hidden'); } }) + + var hasProduct = $('[name=hasProduct]:checked').val(); + if(hasProduct == 0) $('.productsBox').parent().addClass('hidden') }); /** diff --git a/module/task/model.php b/module/task/model.php index 21044959c4..29c8185f55 100755 --- a/module/task/model.php +++ b/module/task/model.php @@ -2635,7 +2635,7 @@ class taskModel extends model ->beginIF($type == 'assignedTo' and $this->app->rawModule == 'my' and $this->app->rawMethod == 'work')->andWhere('t1.status')->notin('closed,cancel,pause')->fi() ->orderBy($orderBy) ->beginIF($limit > 0)->limit($limit)->fi() - ->page($pager) + ->page($pager, 't1.id') ->fetchAll('id'); $this->loadModel('common')->saveQueryCondition($this->dao->get(), 'task', false); diff --git a/module/transfer/model.php b/module/transfer/model.php index f9374a6bb8..c9172785c8 100644 --- a/module/transfer/model.php +++ b/module/transfer/model.php @@ -37,7 +37,7 @@ class transferModel extends model } /** - * Commom Actions. + * Common Actions. * * @param int $model * @access public diff --git a/www/index.php b/www/index.php index 515de9159e..663fcbf618 100644 --- a/www/index.php +++ b/www/index.php @@ -38,7 +38,7 @@ if(!isset($config->installed) or !$config->installed) die(header('location: inst /* Check for need upgrade. */ $config->installedVersion = $app->getInstalledVersion(); -if($config->version != $config->installedVersion && file_exists('upgrade.php')) die(header('location: upgrade.php')); +if($config->version != $config->installedVersion) die(header('location: upgrade.php')); /* Run the app. */ $common = $app->loadCommon(); diff --git a/www/theme/default/images/guide/ALM.png b/www/theme/default/images/guide/ALM.png new file mode 100644 index 0000000000..e60f949ef7 Binary files /dev/null and b/www/theme/default/images/guide/ALM.png differ diff --git a/www/theme/default/images/guide/light.png b/www/theme/default/images/guide/light.png new file mode 100644 index 0000000000..53ef5edb4d Binary files /dev/null and b/www/theme/default/images/guide/light.png differ diff --git a/xuanxuan/XUANVERSION b/xuanxuan/XUANVERSION index 186234ed5e..6a26b0a268 100644 --- a/xuanxuan/XUANVERSION +++ b/xuanxuan/XUANVERSION @@ -1 +1 @@ -b82d2585f985d9b326c3afd83f0d0a88ca551d99 +v7.0.0-rc.3 diff --git a/xuanxuan/extension/xuan/upgrade/ext/lang/de/xuanxuan.php b/xuanxuan/extension/xuan/upgrade/ext/lang/de/xuanxuan.php new file mode 100644 index 0000000000..7452a51ba7 --- /dev/null +++ b/xuanxuan/extension/xuan/upgrade/ext/lang/de/xuanxuan.php @@ -0,0 +1,4 @@ +upgrade->upgradeXuanxuan = 'Upgrade Xuanxuan'; +$lang->upgrade->archiveChangeNoticeTitle = 'Chat group archive change notice'; +$lang->upgrade->archiveChangeNoticeContent = 'Due to the version update, the original archive feature has been changed, and your original archive discussion group has been set as a no-disturb message, please go to https://xuanim.com/book/xuanxuankehuduan/205.html for details.'; diff --git a/xuanxuan/extension/xuan/upgrade/ext/lang/en/xuanxuan.php b/xuanxuan/extension/xuan/upgrade/ext/lang/en/xuanxuan.php new file mode 100644 index 0000000000..7452a51ba7 --- /dev/null +++ b/xuanxuan/extension/xuan/upgrade/ext/lang/en/xuanxuan.php @@ -0,0 +1,4 @@ +upgrade->upgradeXuanxuan = 'Upgrade Xuanxuan'; +$lang->upgrade->archiveChangeNoticeTitle = 'Chat group archive change notice'; +$lang->upgrade->archiveChangeNoticeContent = 'Due to the version update, the original archive feature has been changed, and your original archive discussion group has been set as a no-disturb message, please go to https://xuanim.com/book/xuanxuankehuduan/205.html for details.'; diff --git a/xuanxuan/extension/xuan/upgrade/ext/lang/fr/xuanxuan.php b/xuanxuan/extension/xuan/upgrade/ext/lang/fr/xuanxuan.php new file mode 100644 index 0000000000..7452a51ba7 --- /dev/null +++ b/xuanxuan/extension/xuan/upgrade/ext/lang/fr/xuanxuan.php @@ -0,0 +1,4 @@ +upgrade->upgradeXuanxuan = 'Upgrade Xuanxuan'; +$lang->upgrade->archiveChangeNoticeTitle = 'Chat group archive change notice'; +$lang->upgrade->archiveChangeNoticeContent = 'Due to the version update, the original archive feature has been changed, and your original archive discussion group has been set as a no-disturb message, please go to https://xuanim.com/book/xuanxuankehuduan/205.html for details.'; diff --git a/xuanxuan/extension/xuan/upgrade/ext/lang/zh-cn/xuanxuan.php b/xuanxuan/extension/xuan/upgrade/ext/lang/zh-cn/xuanxuan.php new file mode 100644 index 0000000000..f5fc98d7d5 --- /dev/null +++ b/xuanxuan/extension/xuan/upgrade/ext/lang/zh-cn/xuanxuan.php @@ -0,0 +1,4 @@ +upgrade->upgradeXuanxuan = '升级喧喧'; +$lang->upgrade->archiveChangeNoticeTitle = '存档功能变更通知'; +$lang->upgrade->archiveChangeNoticeContent = '由于版本更新,原存档功能发生变更,已将您原存档讨论组状态设为消息免打扰,具体变更请移步 https://www.xuanim.com/book/xuanxuankehuduan/205.html ';