diff --git a/classes/constants.class.php b/classes/constants.class.php index a8672a427..a686fa449 100644 --- a/classes/constants.class.php +++ b/classes/constants.class.php @@ -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'), ); diff --git a/classmap.ser b/classmap.ser index 46c4776c6..2c6176ae1 100644 Binary files a/classmap.ser and b/classmap.ser differ diff --git a/config.ini.sample b/config.ini.sample index aa5ca424f..c540657a5 100644 --- a/config.ini.sample +++ b/config.ini.sample @@ -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] diff --git a/install/codevtt_tables.sql b/install/codevtt_tables.sql index 004d156bf..f1024ffc8 100755 --- a/install/codevtt_tables.sql +++ b/install/codevtt_tables.sql @@ -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'); -- -------------------------------------------------------- diff --git a/tools/release_codevtt.sh b/tools/release_codevtt.sh index 70eed43ec..8697a842f 100755 --- a/tools/release_codevtt.sh +++ b/tools/release_codevtt.sh @@ -64,7 +64,7 @@ CheckArgs () if [ 0 -ne $? ] ; then echo "ERROR: invalid GIT BRANCH: $GIT_BRANCH" exit 2; - fi + fi } f_displayHelp() diff --git a/tools/update_codevtt.php b/tools/update_codevtt.php index 21d0d6be3..179004030 100644 --- a/tools/update_codevtt.php +++ b/tools/update_codevtt.php @@ -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); + } // ======================================================