* Adjust artifact list.

This commit is contained in:
zenggang
2023-10-08 03:23:46 +00:00
parent 252635aca9
commit 1fd2392c71
7 changed files with 15 additions and 2 deletions
+1
View File
@@ -21,6 +21,7 @@ $config->artifactrepo->dtable->fieldList['type']['sortType'] = true;
$config->artifactrepo->dtable->fieldList['status']['title'] = $lang->artifactrepo->status;
$config->artifactrepo->dtable->fieldList['status']['sortType'] = true;
$config->artifactrepo->dtable->fieldList['status']['map'] = $lang->artifactrepo->statusList;
$config->artifactrepo->dtable->fieldList['url']['title'] = $lang->artifactrepo->url;
$config->artifactrepo->dtable->fieldList['url']['width'] = '400';
+3
View File
@@ -20,3 +20,6 @@ $lang->artifactrepo->url = 'Repo Address';
$lang->artifactrepo->confirmDelete = 'Are you sure you want to delete this artifact repo?';
$lang->artifactrepo->deleteError = 'The artifact repo is already associated with a build. Please cancel the association and try again';
$lang->artifactrepo->loseConnect = 'Artifact repo server not responding';
$lang->artifactrepo->statusList['online'] = 'online';
$lang->artifactrepo->statusList['offline'] = 'offline';
+3
View File
@@ -20,3 +20,6 @@ $lang->artifactrepo->url = 'Repo Address';
$lang->artifactrepo->confirmDelete = 'Are you sure you want to delete this artifact repo?';
$lang->artifactrepo->deleteError = 'The artifact repo is already associated with a build. Please cancel the association and try again';
$lang->artifactrepo->loseConnect = 'Artifact repo server not responding';
$lang->artifactrepo->statusList['online'] = 'online';
$lang->artifactrepo->statusList['offline'] = 'offline';
+3
View File
@@ -20,3 +20,6 @@ $lang->artifactrepo->url = 'Repo Address';
$lang->artifactrepo->confirmDelete = 'Are you sure you want to delete this artifact repo?';
$lang->artifactrepo->deleteError = 'The artifact repo is already associated with a build. Please cancel the association and try again';
$lang->artifactrepo->loseConnect = 'Artifact repo server not responding';
$lang->artifactrepo->statusList['online'] = 'online';
$lang->artifactrepo->statusList['offline'] = 'offline';
+3
View File
@@ -20,3 +20,6 @@ $lang->artifactrepo->url = '库地址';
$lang->artifactrepo->confirmDelete = '您确认要删除该制品库吗?';
$lang->artifactrepo->deleteError = '当前制品库中制品已关联版本,请取消关联后重试。';
$lang->artifactrepo->loseConnect = '制品库服务器无法连接';
$lang->artifactrepo->statusList['online'] = '在线';
$lang->artifactrepo->statusList['offline'] = '离线';
+1 -1
View File
@@ -50,7 +50,7 @@ class artifactrepoModel extends model
->fetchAll('id');
foreach($artifactRepos as $repo)
{
$repo->url .= '/repository/' . $repo->repoName;
$repo->url .= '/repository/' . $repo->repoName . '/';
}
return $artifactRepos;
+1 -1
View File
@@ -912,7 +912,7 @@ $config->delete['18_6'][] = 'extension/ipd/ops/control.php';
$config->delete['18_6'][] = 'extension/ipd/ops/js/setting.js';
$config->delete['18_6'][] = 'module/gitlab/js/browseproject.js';
$config->upgrade->openModules = array('action', 'admin', 'ai', 'api', 'automation', 'backup', 'block', 'branch', 'budget', 'bug', 'build', 'caselib', 'chart', 'metric', 'ci', 'client', 'common', 'company', 'compile', 'convert', 'cron', 'custom', 'datatable', 'dataview', 'dept', 'design', 'dev', 'dimension', 'doc', 'durationestimation', 'entry', 'execution', 'extension', 'file', 'git', 'gitlab', 'group', 'holiday', 'im', 'index', 'index.html', 'install', 'issue', 'jenkins', 'job', 'kanban', 'license', 'mail', 'message', 'misc', 'mr', 'my', 'personnel', 'pipeline', 'product', 'productplan', 'productset', 'program', 'programplan', 'project', 'projectbuild', 'projectplan', 'projectrelease', 'projectstory', 'pivot', 'qa', 'release', 'repo', 'report', 'risk', 'score', 'screen', 'search', 'setting', 'sonarqube', 'sso', 'stage', 'stakeholder', 'story', 'subject', 'svn', 'task', 'testcase', 'testreport', 'testsuite', 'testtask', 'todo', 'tree', 'tutorial', 'upgrade', 'user', 'webhook', 'weekly', 'workestimation', 'gitea', 'gogs', 'transfer', 'zahost', 'zanode', 'editor', 'charter', 'roadmap', 'account', 'artifactrepo', 'cne', 'host', 'instance', 'ops', 'serverroom', 'space', 'store', 'system');
$config->upgrade->openModules = array('action', 'admin', 'ai', 'api', 'automation', 'backup', 'block', 'branch', 'budget', 'bug', 'build', 'caselib', 'chart', 'metric', 'ci', 'client', 'common', 'company', 'compile', 'convert', 'cron', 'custom', 'datatable', 'dataview', 'dept', 'design', 'dev', 'dimension', 'doc', 'durationestimation', 'entry', 'execution', 'extension', 'file', 'git', 'gitlab', 'group', 'holiday', 'im', 'index', 'index.html', 'install', 'issue', 'jenkins', 'job', 'kanban', 'license', 'mail', 'message', 'misc', 'mr', 'my', 'personnel', 'pipeline', 'product', 'productplan', 'productset', 'program', 'programplan', 'project', 'projectbuild', 'projectplan', 'projectrelease', 'projectstory', 'pivot', 'qa', 'release', 'repo', 'report', 'risk', 'score', 'screen', 'search', 'setting', 'sonarqube', 'sso', 'stage', 'stakeholder', 'story', 'subject', 'svn', 'task', 'testcase', 'testreport', 'testsuite', 'testtask', 'todo', 'tree', 'tutorial', 'upgrade', 'user', 'webhook', 'weekly', 'workestimation', 'gitea', 'gogs', 'transfer', 'zahost', 'zanode', 'editor', 'charter', 'roadmap', 'account', 'artifactrepo', 'cne', 'host', 'instance', 'ops', 'serverroom', 'space', 'store', 'system', 'solution');
$config->upgrade->unsetModules = array('design', 'program', 'programplan', 'projectbuild', 'projectrelease', 'stage', 'stakeholder', 'product', 'branch', 'productplan', 'release', 'build', 'qa', 'bug', 'testcase', 'testtask', 'testreport', 'testsuite', 'caselib', 'automation', 'repo', 'ci', 'compile', 'jenkins', 'job', 'svn', 'gitlab', 'sonarqube', 'mr', 'git', 'report', 'sqlbuilder', 'feedback', 'faq', 'attend', 'holiday', 'leave', 'makeup', 'overtime', 'lieu', 'ops', 'host', 'serverroom', 'account', 'domain', 'service', 'deploy', 'conference', 'traincourse', 'pssp', 'baseline', 'classify', 'cm', 'cmcl', 'auditcl', 'reviewcl', 'process', 'activity', 'zoutput', 'auditplan', 'nc', 'subject', 'weekly', 'workestimation', 'issue', 'durationestimation', 'risk', 'opportunity', 'trainplan', 'gapanalysis', 'researchplan', 'researchreport', 'meeting', 'meetingroom', 'budget', 'reviewissue', 'reviewsetting', 'review', 'milestone', 'measurement', 'measrecord', 'assetlib', 'setting', 'im', 'client', 'ldap', 'dev', 'api', 'gitea', 'gogs', 'zanode', 'zahost');