From 79743462311dbafb7b5182dded8c2b1e9a0a53bf Mon Sep 17 00:00:00 2001 From: Louis BAYLE Date: Sat, 1 Apr 2017 21:34:18 +0200 Subject: [PATCH] INSTALL: activate new plugin --- classes/constants.class.php | 2 +- classmap.ser | Bin 55257 -> 54454 bytes config.ini.sample | 2 +- install/codevtt_tables.sql | 3 ++- tools/release_codevtt.sh | 2 +- tools/update_codevtt.php | 5 +++++ 6 files changed, 10 insertions(+), 4 deletions(-) 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 46c4776c699dd34568e7a33626c9496d1246d946..2c6176ae1a9cd219797eb53ca736d226958bfe37 100644 GIT binary patch delta 2771 zcmX|@2~bn#7RM)m1h54mK}^`GqEai1AW7H}AtYfHMT$}cim2d5Q7PhD#RV1oxi7d@ z#Y(GQT)^U5_XVk2t*uX=?YwH&@zr^)PTzZ9E@Ly3d(U@rmj5~D|DDPG&uou2+cvCo z*F_j=Dh&~afSf5)$}0n+Dh+x=0E_!&F`~bP_XBl!^pBw_a2VVAC-XRPDE@&)ioX1o zV*Byzbu8m+hsj*AuVu1p8jh~-lcFqT*PHLr>N0~kmnzDg#z}cSZ4{I`kHN)hEH=(1 z7##~~QC47hvy8LOwJh$nkf2^;2r6#le(4Jy71>G8atm$A%iO?(G9wR1EFo{A#4njC z>>Rb5S7l4-9B-j!%ue2zWWr}^BIN%-;|P<~p7Vo(C*=h^E=r{}J&oM*dgf)UAR;Rb zQ+}#+vm(ugXN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!N8j| zO-zgiH*=Ee1fj7YzyUk;*071lLyG^T&1Tks$(0rB1n;7m_#w53WIq=tmWv7UUYwG~ zVRM!P+&NMLn@6c?QtbN-u`x8=iH5sG=9SrUN}`b%Ys?g9VO4M?`qi1Fh=dC%s>xwY zET{IpJX`!NArZSm8AKihe&D=C(y>EaWICSuIpayNE$p(F6REU>yE9y5UDVngB_jo2 z2*0dEEY?n9LN1>s)S*2C9cQwfCW!=UCDmB=sY#^Sm?%)BpgYD?#+eu_j3*MiAUoR1 z_>*Kl%@n}6q0F5&t=znlCJYjV?&&0yQl`uvr%g&hvN3k&y-tHN{yj{1PeKkAmB2~p zK=t%pUlEaG4UR^Nk&>i>T3JM>S5EhDzuE$V+-#}?OmbXVAvAU;&7xt6_80y)RYY(y z1oR|1=wSqiuo*8&#pe=d)TByrIZTD0xo424ob>4nh#~q_Q8`~*mV_-?rgJMiONpR# zt@l%y`TAge%53oUGA_Y~f z1%Zjww4N%q!H0aw)ZQ99*jdyB>oSznIs6>2roII-RPrgi1X43cjK)}DZhR!%0&2(< zn1dwaAU4JJ0JSkVxOXk$3uZ%fAJBaVnX5{9qZl-NgB zlimF@epqutgqq_|!8#>}Q=2c&wfbSe$VcnmO(@wT!{U8XbnSV70keBh^>fhG$A)*m zKWzF!v9Zq|kNfzr9axG;^4`#240>lc&?!aj1rCIr_6WZaf;YQN`&f*1ipW1<4CHnN M;L?Q<^D6T9KX?+jn*aa+ 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); + } // ======================================================