Skip to content

Commit

Permalink
INSTALL: activate new plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
lbayle committed Apr 1, 2017
1 parent 5bf6f99 commit 7974346
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 4 deletions.
2 changes: 1 addition & 1 deletion classes/constants.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ class Constants {
'CommandSet' => array('ProgressHistoryIndicator2'),
'ServiceContract' => array('ManagementLoadHistoryIndicator'),
'Import_Export' => array('ImportIssueCsv', 'ImportUsers'),
'Admin' => array('MoveIssueTimetracks','TimetrackDetailsIndicator'),
'Admin' => array('MoveIssueTimetracks','TimetrackDetailsIndicator','UserTeamList'),
'EditTeam' => array('MoveIssueTimetracks'),
);

Expand Down
Binary file modified classmap.ser
Binary file not shown.
2 changes: 1 addition & 1 deletion config.ini.sample
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ Command = "LoadPerUserIndicator,ProgressHistoryIndicator2"
CommandSet = "ProgressHistoryIndicator2"
ServiceContract = "ManagementLoadHistoryIndicator"
Import_Export = "ImportIssueCsv, ImportUsers"
Admin = "MoveIssueTimetracks,TimetrackDetailsIndicator"
Admin = "MoveIssueTimetracks,TimetrackDetailsIndicator,UserTeamList"
EditTeam = "MoveIssueTimetracks"

[email]
Expand Down
3 changes: 2 additions & 1 deletion install/codevtt_tables.sql
Original file line number Diff line number Diff line change
Expand Up @@ -480,7 +480,8 @@ INSERT INTO `codev_plugin_table` (`name`, `status`, `domains`, `categories`, `ve
('ReopenedRateIndicator2', 1, 'Team,Project,Command,CommandSet,ServiceContract', 'Quality', '1.0.0', 'Display the bug reopened rate history'),
('StatusHistoryIndicator2', 1, 'Command,Team,User,Project,CommandSet,ServiceContract', 'Quality', '1.0.0', 'Display Issue Status history'),
('TimePerStatusIndicator', 1, 'Task', 'Roadmap', '1.0.0', 'Time allocation by status'),
('TimetrackDetailsIndicator', 1, 'Admin', 'Admin', '1.0.0', 'Display additional info on timetracks');
('TimetrackDetailsIndicator', 1, 'Admin', 'Admin', '1.0.0', 'Display additional info on timetracks'),
('UserTeamList', 1, 'Admin', 'Admin', '1.0.0', 'Display a history of all the teams for a given user');

-- --------------------------------------------------------

Expand Down
2 changes: 1 addition & 1 deletion tools/release_codevtt.sh
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ CheckArgs ()
if [ 0 -ne $? ] ; then
echo "ERROR: invalid GIT BRANCH: $GIT_BRANCH"
exit 2;
fi
fi
}

f_displayHelp()
Expand Down
5 changes: 5 additions & 0 deletions tools/update_codevtt.php
Original file line number Diff line number Diff line change
Expand Up @@ -524,6 +524,11 @@ function update_v16_to_v17() {
$query5 = "UPDATE `codev_config_table` SET `value`='17' WHERE `config_id`='database_version';";
execQuery($query5);

// activate new plugin UserTeamList
$query6 = "INSERT INTO `codev_plugin_table` (`name`, `status`, `domains`, `categories`, `version`, `description`) ".
"VALUES ('UserTeamList', 1, 'Admin', 'Admin', '1.0.0', 'Display a history of all the teams for a given user');";
execQuery($query6);

}

// ======================================================
Expand Down

0 comments on commit 7974346

Please sign in to comment.