Skip to content

Commit ea56a8f

Browse files
刘刚Gitfox
authored andcommitted
Merge branch release/22.0.beta of zentao/zentaopms (#13505)
2 parents 0f2b8a0 + 1278cb9 commit ea56a8f

4,143 files changed

Lines changed: 91185 additions & 49603 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
21.7.8
1+
22.0.beta

ci.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@
66
},
77
"zentaoext": {
88
"gitRepo": "zentao/zentaoext",
9-
"gitVersion": "release/12.7"
9+
"gitVersion": "release/13.0.beta"
1010
},
1111
"zentaomax": {
12-
"gitVersion": "release/7.7"
12+
"gitVersion": "release/8.0.beta"
1313
},
1414
"zentaoipd": {
15-
"gitVersion": "release/4.7"
15+
"gitVersion": "release/5.0.beta"
1616
},
1717
"devops": {
1818
"gitRepo": "zentao/devops"

config/config.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
if(!function_exists('getWebRoot')){function getWebRoot(){}}
1717

1818
/* 基本设置。Basic settings. */
19-
$config->version = '21.7.8'; // ZenTaoPHP的版本。 The version of ZenTaoPHP. Don't change it.
19+
$config->version = '22.0.beta'; // ZenTaoPHP的版本。 The version of ZenTaoPHP. Don't change it.
2020
$config->liteVersion = '1.2'; // 迅捷版版本。 The version of Lite.
2121
$config->charset = 'UTF-8'; // ZenTaoPHP的编码。 The encoding of ZenTaoPHP.
2222
$config->cookieLife = time() + 2592000; // Cookie的生存时间。The cookie life time.

config/filter.php

Lines changed: 27 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,7 @@
142142
$filter->project->task = new stdclass();
143143
$filter->project->execution = new stdclass();
144144
$filter->project->testcase = new stdclass();
145+
$filter->project->deliverable = new stdclass();
145146
$filter->projectstory->story = new stdclass();
146147
$filter->projectstory->export = new stdclass();
147148
$filter->qa->default = new stdclass();
@@ -319,31 +320,32 @@
319320
$filter->program->export->cookie['checkedItem'] = 'reg::checked';
320321
$filter->program->ajaxgetdropmenu->cookie['showClosed'] = 'code';
321322

322-
$filter->project->default->cookie['lastProject'] = 'int';
323-
$filter->project->default->cookie['lastPRJ'] = 'int';
324-
$filter->project->default->cookie['projectMode'] = 'code';
325-
$filter->project->default->cookie['kanbanview'] = 'code';
326-
$filter->project->browse->cookie['involved'] = 'code';
327-
$filter->project->browse->cookie['showProjectBatchEdit'] = 'int';
328-
$filter->project->export->cookie['involved'] = 'code';
329-
$filter->project->browse->cookie['projectType'] = 'code';
330-
$filter->project->story->cookie['storyModuleParam'] = 'int';
331-
$filter->project->story->cookie['storyPreProjectID'] = 'int';
332-
$filter->project->story->cookie['storyProductParam'] = 'int';
333-
$filter->project->story->cookie['storyBranchParam'] = 'reg::checked';
334-
$filter->project->story->cookie['projectStoryOrder'] = 'reg::orderBy';
335-
$filter->project->task->cookie['moduleBrowseParam'] = 'int';
336-
$filter->project->task->cookie['preProjectID'] = 'int';
337-
$filter->project->task->cookie['productBrowseParam'] = 'int';
338-
$filter->project->task->cookie['projectTaskOrder'] = 'reg::orderBy';
339-
$filter->project->task->cookie['windowWidth'] = 'int';
340-
$filter->project->export->cookie['checkedItem'] = 'reg::checked';
341-
$filter->project->execution->cookie['pagerExecutionAll'] = 'int';
342-
$filter->project->execution->cookie['showTask'] = 'code';
343-
$filter->project->execution->cookie['showStage'] = 'code';
344-
$filter->project->testcase->cookie['showAutoCase'] = 'int';
345-
$filter->project->testcase->cookie['onlyAutoCase'] = 'int';
346-
$filter->project->testcase->cookie['onlyScene'] = 'code';
323+
$filter->project->default->cookie['lastProject'] = 'int';
324+
$filter->project->default->cookie['lastPRJ'] = 'int';
325+
$filter->project->default->cookie['projectMode'] = 'code';
326+
$filter->project->default->cookie['kanbanview'] = 'code';
327+
$filter->project->browse->cookie['involved'] = 'code';
328+
$filter->project->browse->cookie['showProjectBatchEdit'] = 'int';
329+
$filter->project->export->cookie['involved'] = 'code';
330+
$filter->project->browse->cookie['projectType'] = 'code';
331+
$filter->project->story->cookie['storyModuleParam'] = 'int';
332+
$filter->project->story->cookie['storyPreProjectID'] = 'int';
333+
$filter->project->story->cookie['storyProductParam'] = 'int';
334+
$filter->project->story->cookie['storyBranchParam'] = 'reg::checked';
335+
$filter->project->story->cookie['projectStoryOrder'] = 'reg::orderBy';
336+
$filter->project->task->cookie['moduleBrowseParam'] = 'int';
337+
$filter->project->task->cookie['preProjectID'] = 'int';
338+
$filter->project->task->cookie['productBrowseParam'] = 'int';
339+
$filter->project->task->cookie['projectTaskOrder'] = 'reg::orderBy';
340+
$filter->project->task->cookie['windowWidth'] = 'int';
341+
$filter->project->export->cookie['checkedItem'] = 'reg::checked';
342+
$filter->project->execution->cookie['pagerExecutionAll'] = 'int';
343+
$filter->project->execution->cookie['showTask'] = 'code';
344+
$filter->project->execution->cookie['showStage'] = 'code';
345+
$filter->project->testcase->cookie['showAutoCase'] = 'int';
346+
$filter->project->testcase->cookie['onlyAutoCase'] = 'int';
347+
$filter->project->testcase->cookie['onlyScene'] = 'code';
348+
$filter->project->deliverable->cookie['deliverableModule'] = 'int';
347349

348350
$filter->projectstory->story->cookie['storyModuleParam'] = 'int';
349351
$filter->projectstory->story->cookie['pagerProductBrowse'] = 'int';

config/zentaopms.php

Lines changed: 38 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -368,6 +368,7 @@
368368
$config->logonMethods[] = 'screen.viewold';
369369
$config->logonMethods[] = 'system.backupview';
370370
$config->logonMethods[] = 'screen.staticdataold';
371+
$config->logonMethods[] = 'stage.updateorder';
371372

372373
$config->openModules = array();
373374
$config->openModules[] = 'install';
@@ -417,34 +418,38 @@
417418
define('TABLE_RELEASE', '`' . $config->db->prefix . 'release`');
418419
define('TABLE_RELEASERELATED', '`' . $config->db->prefix . 'releaserelated`');
419420

420-
define('TABLE_PROGRAM', '`' . $config->db->prefix . 'project`');
421-
define('TABLE_PROJECT', '`' . $config->db->prefix . 'project`');
422-
define('TABLE_EXECUTION', '`' . $config->db->prefix . 'project`');
423-
define('TABLE_TASK', '`' . $config->db->prefix . 'task`');
424-
define('TABLE_TASKSPEC', '`' . $config->db->prefix . 'taskspec`');
425-
define('TABLE_TASKTEAM', '`' . $config->db->prefix . 'taskteam`');
426-
define('TABLE_TEAM', '`' . $config->db->prefix . 'team`');
427-
define('TABLE_PROJECTADMIN', '`' . $config->db->prefix . 'projectadmin`');
428-
define('TABLE_PROJECTPRODUCT','`' . $config->db->prefix . 'projectproduct`');
429-
define('TABLE_PROJECTSTORY', '`' . $config->db->prefix . 'projectstory`');
430-
define('TABLE_PROJECTCASE', '`' . $config->db->prefix . 'projectcase`');
431-
define('TABLE_TASKESTIMATE', '`' . $config->db->prefix . 'taskestimate`');
432-
define('TABLE_EFFORT', '`' . $config->db->prefix . 'effort`');
433-
define('TABLE_BURN', '`' . $config->db->prefix . 'burn`');
434-
define('TABLE_CFD', '`' . $config->db->prefix . 'cfd`');
435-
define('TABLE_BUILD', '`' . $config->db->prefix . 'build`');
436-
define('TABLE_ACL', '`' . $config->db->prefix . 'acl`');
421+
define('TABLE_PROGRAM', '`' . $config->db->prefix . 'project`');
422+
define('TABLE_PROJECT', '`' . $config->db->prefix . 'project`');
423+
define('TABLE_EXECUTION', '`' . $config->db->prefix . 'project`');
424+
define('TABLE_TASK', '`' . $config->db->prefix . 'task`');
425+
define('TABLE_TASKSPEC', '`' . $config->db->prefix . 'taskspec`');
426+
define('TABLE_TASKTEAM', '`' . $config->db->prefix . 'taskteam`');
427+
define('TABLE_TEAM', '`' . $config->db->prefix . 'team`');
428+
define('TABLE_PROJECTADMIN', '`' . $config->db->prefix . 'projectadmin`');
429+
define('TABLE_PROJECTPRODUCT', '`' . $config->db->prefix . 'projectproduct`');
430+
define('TABLE_PROJECTDELIVERABLE','`' . $config->db->prefix . 'projectdeliverable`');
431+
define('TABLE_PROJECTSTORY', '`' . $config->db->prefix . 'projectstory`');
432+
define('TABLE_PROJECTCASE', '`' . $config->db->prefix . 'projectcase`');
433+
define('TABLE_PROJECTCHANGE', '`' . $config->db->prefix . 'projectchange`');
434+
define('TABLE_TASKESTIMATE', '`' . $config->db->prefix . 'taskestimate`');
435+
define('TABLE_EFFORT', '`' . $config->db->prefix . 'effort`');
436+
define('TABLE_BURN', '`' . $config->db->prefix . 'burn`');
437+
define('TABLE_CFD', '`' . $config->db->prefix . 'cfd`');
438+
define('TABLE_BUILD', '`' . $config->db->prefix . 'build`');
439+
define('TABLE_ACL', '`' . $config->db->prefix . 'acl`');
437440

438441
define('TABLE_DESIGN', '`' . $config->db->prefix . 'design`');
439442
define('TABLE_DESIGNSPEC', '`' . $config->db->prefix . 'designspec`');
440443
define('TABLE_DELIVERABLE', '`' . $config->db->prefix . 'deliverable`');
444+
define('TABLE_DELIVERABLESTAGE','`' . $config->db->prefix . 'deliverablestage`');
441445
define('TABLE_DOCLIB', '`' . $config->db->prefix . 'doclib`');
442446
define('TABLE_DOC', '`' . $config->db->prefix . 'doc`');
443447
define('TABLE_DOCBLOCK', '`' . $config->db->prefix . 'docblock`');
444448
define('TABLE_DEMANDPOOL', '`' . $config->db->prefix . 'demandpool`');
445449
define('TABLE_DEMAND', '`' . $config->db->prefix . 'demand`');
446450
define('TABLE_DEMANDSPEC', '`' . $config->db->prefix . 'demandspec`');
447451
define('TABLE_DEMANDREVIEW', '`' . $config->db->prefix . 'demandreview`');
452+
define('TABLE_DECISION', '`' . $config->db->prefix . 'decision`');
448453
define('TABLE_API', '`' . $config->db->prefix . 'api`');
449454
define('TABLE_API_SPEC', '`' . $config->db->prefix . 'apispec`');
450455
define('TABLE_APISTRUCT', '`' . $config->db->prefix . 'apistruct`');
@@ -623,9 +628,9 @@
623628
define('TABLE_INSTANCE', '`' . $config->db->prefix . 'instance`');
624629
define('TABLE_ARTIFACTREPO', '`' . $config->db->prefix . 'artifactrepo`');
625630

626-
define('TABLE_AI_PROMPT', '`' . $config->db->prefix . 'ai_prompt`');
627-
define('TABLE_AI_PROMPTFIELD', '`' . $config->db->prefix . 'ai_promptfield`');
628-
define('TABLE_AI_PROMPTROLE', '`' . $config->db->prefix . 'ai_promptrole`');
631+
define('TABLE_AI_AGENT', '`' . $config->db->prefix . 'ai_agent`');
632+
define('TABLE_AI_AGENTFIELD', '`' . $config->db->prefix . 'ai_agentfield`');
633+
define('TABLE_AI_AGENTROLE', '`' . $config->db->prefix . 'ai_agentrole`');
629634
define('TABLE_AI_MINIPROGRAM', '`' . $config->db->prefix . 'ai_miniprogram`');
630635
define('TABLE_AI_MINIPROGRAMFIELD', '`' . $config->db->prefix . 'ai_miniprogramfield`');
631636
define('TABLE_AI_MINIPROGRAMSTAR', '`' . $config->db->prefix . 'ai_miniprogramstar`');
@@ -729,7 +734,7 @@
729734
$config->objectTables['review'] = TABLE_REVIEW;
730735
$config->objectTables['effort'] = TABLE_EFFORT;
731736
$config->objectTables['design'] = TABLE_DESIGN;
732-
$config->objectTables['prompt'] = TABLE_AI_PROMPT;
737+
$config->objectTables['prompt'] = TABLE_AI_AGENT;
733738
$config->objectTables['aiapp'] = TABLE_AI_MINIPROGRAM;
734739
$config->objectTables['miniprogram'] = TABLE_AI_MINIPROGRAM;
735740
$config->objectTables['roadmap'] = TABLE_ROADMAP;
@@ -743,6 +748,9 @@
743748
$config->objectTables['repocommit'] = TABLE_REPOHISTORY;
744749
$config->objectTables['system'] = TABLE_SYSTEM;
745750
$config->objectTables['mark'] = TABLE_MARK;
751+
$config->objectTables['cm'] = TABLE_OBJECT;
752+
$config->objectTables['baseline'] = TABLE_OBJECT;
753+
$config->objectTables['projectchange'] = TABLE_PROJECTCHANGE;
746754

747755
$config->newFeatures = array('introduction', 'tutorial', 'youngBlueTheme', 'visions', 'aiPrompts', 'promptDesign', 'promptExec');
748756
$config->disabledFeatures = '';
@@ -754,9 +762,9 @@
754762

755763
/* Program privs.*/
756764
$config->programPriv = new stdclass();
757-
$config->programPriv->noSprint = array('task', 'story', 'requirement', 'epic', 'tree', 'project', 'execution', 'projectbuild', 'bug', 'testcase', 'testreport', 'doc', 'repo', 'stakeholder', 'projectrelease', 'issue', 'risk', 'opportunity', 'meeting', 'pssp', 'auditplan');
758-
$config->programPriv->scrum = array('story', 'requirement', 'epic', 'productplan', 'tree', 'projectplan', 'projectstory', 'projectrelease', 'project', 'execution', 'projectbuild', 'bug', 'testcase', 'testreport', 'doc', 'repo', 'meeting', 'stakeholder', 'testtask', 'issue', 'risk', 'opportunity');
759-
$config->programPriv->waterfall = array_merge($config->programPriv->scrum, array('workestimation', 'durationestimation', 'budget', 'programplan', 'review', 'reviewissue', 'weekly', 'cm', 'milestone', 'design', 'measrecord', 'auditplan', 'trainplan', 'gapanalysis', 'pssp', 'researchplan', 'researchreport'));
765+
$config->programPriv->noSprint = array('task', 'story', 'requirement', 'epic', 'tree', 'project', 'execution', 'projectbuild', 'bug', 'testcase', 'testtask', 'testreport', 'doc', 'repo', 'stakeholder', 'projectrelease', 'issue', 'risk', 'opportunity', 'meeting', 'pssp', 'auditplan', 'nc', 'review', 'reviewissue', 'weekly');
766+
$config->programPriv->scrum = array('story', 'requirement', 'epic', 'productplan', 'tree', 'projectplan', 'projectstory', 'projectrelease', 'project', 'execution', 'projectbuild', 'bug', 'testcase', 'testreport', 'doc', 'repo', 'meeting', 'stakeholder', 'testtask', 'issue', 'risk', 'opportunity', 'weekly', 'review', 'reviewissue', 'report', 'mr');
767+
$config->programPriv->waterfall = array_merge($config->programPriv->scrum, array('workestimation', 'durationestimation', 'budget', 'programplan', 'cm', 'projectchange', 'milestone', 'design', 'measrecord', 'auditplan', 'nc', 'trainplan', 'gapanalysis', 'pssp', 'researchplan', 'researchreport', 'report', 'mr'));
760768
$config->programPriv->agileplus = $config->programPriv->scrum;
761769
$config->programPriv->waterfallplus = $config->programPriv->waterfall;
762770
$config->programPriv->ipd = $config->programPriv->waterfall;
@@ -773,18 +781,15 @@
773781
$config->dtable->colVars = array('width', 'minWidth', 'type', 'flex', 'fixed', 'sortType', 'checkbox', 'nestedToggle', 'statusMap', 'actionsMap', 'group');
774782

775783
$config->featureGroup = new stdclass();
776-
$config->featureGroup->my = array('score');
777-
$config->featureGroup->product = array('roadmap', 'track', 'UR', 'ER');
778-
$config->featureGroup->scrum = array();
779-
$config->featureGroup->waterfall = array();
780-
$config->featureGroup->agileplus = array();
781-
$config->featureGroup->waterfallplus = array();
782-
$config->featureGroup->assetlib = array();
783-
$config->featureGroup->other = array('devops', 'kanban', 'setCode');
784+
$config->featureGroup->my = array('score');
785+
$config->featureGroup->product = array('roadmap', 'track', 'UR', 'ER');
786+
$config->featureGroup->project = array();
787+
$config->featureGroup->assetlib = array();
788+
$config->featureGroup->other = array('devops', 'kanban', 'setCode');
784789

785790
$config->db->sqliteBlacklist = array('sqlite_queue', 'cron');
786791
$config->hasDropmenuApps = array('program', 'project', 'product', 'execution', 'qa', 'admin', 'bi', 'feedback', 'demandpool');
787-
$config->hasBranchMenuModules = array('product', 'story', 'release', 'bug', 'testcase', 'testtask', 'branch', 'tree');
792+
$config->hasBranchMenuModules = array('product', 'story', 'release', 'bug', 'testcase', 'testtask', 'branch', 'tree', 'workflowgroup', 'deliverable', 'process', 'activity', 'review', 'reviewcl', 'stage', 'auditcl');
788793
$config->excludeBranchMenu = array('product-dashboard', 'product-view', 'product-whitelist', 'product-addwhitelist', 'branch-manage', 'branch-batchedit');
789794
$config->excludeDropmenuList = array('program-browse', 'program-productview', 'program-kanban', 'product-all', 'product-index', 'product-kanban', 'project-kanban', 'execution-all', 'execution-executionkanban', 'project-browse', 'project-template', 'project-createtemplate', 'project-batchedit', 'product-batchedit', 'admin-index', 'product-create', 'project-create', 'execution-create', 'program-create', 'execution-batchedit', 'metric-preview', 'metric-browse', 'metric-view', 'metriclib-browse', 'qa-index', 'caselib-create', 'feedback-batchedit', 'feedback-batchclose', 'feedback-showimport', 'dimension-browse', 'dataview-browse', 'dataview-create', 'dataview-query', 'ticket-batchedit', 'ticket-batchfinish', 'ticket-batchactivate', 'ticket-showimport', 'file-download');
790795
$config->excludeDropmenuModules = array('reporttemplate');

0 commit comments

Comments
 (0)