Changeset 5156 for branches/2.3
- Timestamp:
- 11/07/11 15:59:45 (12 years ago)
- Location:
- branches/2.3
- Files:
-
- 86 added
- 26 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.3/ac/setup/setup.inc.php
r5107 r5156 14 14 $setup_info['ac']['name'] = 'ac'; 15 15 $setup_info['ac']['title'] = 'Expresso Acessível'; 16 $setup_info['ac']['version'] = '2. 2.0.1';16 $setup_info['ac']['version'] = '2.3.0'; 17 17 $setup_info['ac']['app_order'] = 4; 18 18 $setup_info['ac']['enable'] = 2; … … 37 37 $setup_info['ac']['depends'][] = array( 38 38 'appname' => 'phpgwapi', 39 'versions' => Array('2. 2.0.1')39 'versions' => Array('2.3') 40 40 ); 41 41 ?> -
branches/2.3/admin/setup/setup.inc.php
r4526 r5156 13 13 $setup_info['admin']['name'] = 'admin'; 14 14 $setup_info['admin']['title'] = 'Admin'; 15 $setup_info['admin']['version'] = '2. 2.0.1';15 $setup_info['admin']['version'] = '2.3.0'; 16 16 $setup_info['admin']['app_order'] = 1; 17 17 $setup_info['admin']['tables'] = ''; … … 48 48 $setup_info['admin']['depends'][] = array( 49 49 'appname' => 'phpgwapi', 50 'versions' => Array('2. 2')50 'versions' => Array('2.3') 51 51 ); 52 52 ?> -
branches/2.3/agileProjects/setup/setup.inc.php
r4526 r5156 8 8 9 9 $setup_info['agileProjects']['name'] = 'agileProjects'; 10 $setup_info['agileProjects']['version'] = '2. 2.0.1';10 $setup_info['agileProjects']['version'] = '2.3.0'; 11 11 $setup_info['agileProjects']['app_order'] = 10; 12 12 $setup_info['agileProjects']['enable'] = 1; … … 29 29 $setup_info['agileProjects']['depends'][] = array( 30 30 'appname' => 'phpgwapi', 31 'versions' => Array('2.0','2.1','2.2' )31 'versions' => Array('2.0','2.1','2.2','2.3') 32 32 ); 33 33 ?> -
branches/2.3/calendar/setup/setup.inc.php
r4526 r5156 13 13 $setup_info['calendar']['name'] = 'calendar'; 14 14 $setup_info['calendar']['title'] = 'Calendar'; 15 $setup_info['calendar']['version'] = '2. 2.0.1';15 $setup_info['calendar']['version'] = '2.3.0'; 16 16 $setup_info['calendar']['app_order'] = 3; 17 17 $setup_info['calendar']['enable'] = 1; … … 53 53 $setup_info['calendar']['depends'][] = array( 54 54 'appname' => 'phpgwapi', 55 'versions' => Array('2. 2')55 'versions' => Array('2.3') 56 56 ); -
branches/2.3/calendar/setup/tables_update.inc.php
r4526 r5156 16 16 return; 17 17 } 18 } 18 } 19 19 $GLOBALS['phpgw_setup']->db->query("ALTER TABLE ".$table." ADD COLUMN ".$column." ".$attrs); 20 } 21 /// Since Expresso 1.2 using Calendar 0.9.3 20 } 21 /// Since Expresso 1.2 using Calendar 0.9.3 22 22 $test[] = '0.9.3'; 23 23 function calendar_upgrade0_9_3() … … 49 49 $GLOBALS['setup_info']['calendar']['currentver'] = '2.0.004'; 50 50 return $GLOBALS['setup_info']['calendar']['currentver']; 51 } 51 } 52 52 $test[] = '2.0.004'; 53 53 function calendar_upgrade2_0_004() … … 55 55 $GLOBALS['setup_info']['calendar']['currentver'] = '2.0.005'; 56 56 return $GLOBALS['setup_info']['calendar']['currentver']; 57 } 57 } 58 58 $test[] = '2.0.005'; 59 59 function calendar_upgrade2_0_005() … … 61 61 $GLOBALS['setup_info']['calendar']['currentver'] = '2.0.006'; 62 62 return $GLOBALS['setup_info']['calendar']['currentver']; 63 } 63 } 64 64 $test[] = '2.0.006'; 65 65 function calendar_upgrade2_0_006() … … 67 67 $GLOBALS['setup_info']['calendar']['currentver'] = '2.0.007'; 68 68 return $GLOBALS['setup_info']['calendar']['currentver']; 69 } 69 } 70 70 $test[] = '2.0.007'; 71 71 function calendar_upgrade2_0_007() … … 83 83 function calendar_upgrade2_2_000() 84 84 { 85 $GLOBALS['setup_info']['calendar']['currentver'] = '2.2.1'; 86 return $GLOBALS['setup_info']['calendar']['currentver']; 87 } 88 $test[] = '2.2.1'; 89 function calendar_upgrade2_2_1() 90 { 91 $GLOBALS['setup_info']['calendar']['currentver'] = '2.2.6'; 92 return $GLOBALS['setup_info']['calendar']['currentver']; 93 } 94 $test[] = '2.2.6'; 95 function calendar_upgrade2_2_6() 96 { 97 $GLOBALS['setup_info']['calendar']['currentver'] = '2.2.8'; 98 return $GLOBALS['setup_info']['calendar']['currentver']; 99 } 100 $test[] = '2.2.8'; 101 function calendar_upgrade2_2_8() 102 { 85 103 $GLOBALS['phpgw_setup']->db->query("ALTER TABLE phpgw_cal ADD COLUMN notifications_owner INT NOT NULL default '0'"); 86 104 $GLOBALS['phpgw_setup']->db->query("ALTER TABLE phpgw_cal ADD COLUMN observations text"); … … 89 107 $GLOBALS['phpgw_setup']->db->query("ALTER TABLE phpgw_cal ALTER title TYPE varchar(300)"); 90 108 $GLOBALS['phpgw_setup']->db->query("ALTER TABLE phpgw_cal_repeats ALTER recur_exception TYPE varchar"); 91 $GLOBALS['setup_info']['calendar']['currentver'] = '2. 2.0.1';109 $GLOBALS['setup_info']['calendar']['currentver'] = '2.3.0'; 92 110 return $GLOBALS['setup_info']['calendar']['currentver']; 93 111 } 94 95 112 ?> -
branches/2.3/contactcenter/setup/setup.inc.php
r4526 r5156 17 17 $setup_info['contactcenter']['name'] = 'contactcenter'; 18 18 $setup_info['contactcenter']['title'] = 'ContactCenter'; 19 $setup_info['contactcenter']['version'] = '2. 2.0.1';19 $setup_info['contactcenter']['version'] = '2.3.0'; 20 20 $setup_info['contactcenter']['app_order'] = 4; 21 21 $setup_info['contactcenter']['enable'] = 1; … … 76 76 $setup_info['contactcenter']['depends'][] = array( 77 77 'appname' => 'phpgwapi', 78 'versions' => Array('2. 2')78 'versions' => Array('2.3') 79 79 ); 80 80 ?> -
branches/2.3/contactcenter/setup/tables_update.inc.php
r4526 r5156 8 8 * Free Software Foundation; either version 2 of the License, or (at your * 9 9 * option) any later version. * 10 \**************************************************************************/ 10 \**************************************************************************/ 11 11 // Since Expresso 1.2 using ContactCenter 1.21 12 12 $test[] = '1.21'; … … 29 29 $GLOBALS['setup_info']['contactcenter']['currentver'] = '2.0.002'; 30 30 return $GLOBALS['setup_info']['contactcenter']['currentver']; 31 } 31 } 32 32 $test[] = '2.0.002'; 33 33 function contactcenter_upgrade2_0_002() { 34 34 $GLOBALS['setup_info']['contactcenter']['currentver'] = '2.0.003'; 35 35 return $GLOBALS['setup_info']['contactcenter']['currentver']; 36 } 36 } 37 37 $test[] = '2.0.003'; 38 38 function contactcenter_upgrade2_0_003() { … … 44 44 $GLOBALS['setup_info']['contactcenter']['currentver'] = '2.1.000'; 45 45 return $GLOBALS['setup_info']['contactcenter']['currentver']; 46 } 46 } 47 47 $test[] = '2.1.000'; 48 function contactcenter_upgrade2_1_000() { 48 function contactcenter_upgrade2_1_000() { 49 49 $GLOBALS['phpgw_setup']->db->query("ALTER TABLE phpgw_cc_contact ADD COLUMN web_page character varying(100)"); 50 50 $GLOBALS['phpgw_setup']->db->query("ALTER TABLE phpgw_cc_contact ADD COLUMN corporate_name character varying(100)"); … … 54 54 return $GLOBALS['setup_info']['contactcenter']['currentver']; 55 55 } 56 56 $test[] = '2.2.000'; 57 57 function contactcenter_upgrade2_2_000() { 58 $GLOBALS['setup_info']['contactcenter']['currentver'] = '2.2. 0.1';58 $GLOBALS['setup_info']['contactcenter']['currentver'] = '2.2.1'; 59 59 return $GLOBALS['setup_info']['contactcenter']['currentver']; 60 60 } 61 61 $test[] = '2.2.1'; 62 62 function contactcenter_upgrade2_2_1() { 63 63 $GLOBALS['setup_info']['contactcenter']['currentver'] = '2.2.2'; 64 64 return $GLOBALS['setup_info']['contactcenter']['currentver']; 65 65 } 66 66 $test[] = '2.2.2'; 67 67 function contactcenter_upgrade2_2_2() { 68 68 $GLOBALS['setup_info']['contactcenter']['currentver'] = '2.2.3'; 69 69 return $GLOBALS['setup_info']['contactcenter']['currentver']; 70 70 } 71 $test[] = '2.2.3'; 72 function contactcenter_upgrade2_2_3() { 73 $GLOBALS['setup_info']['contactcenter']['currentver'] = '2.3.0'; 74 return $GLOBALS['setup_info']['contactcenter']['currentver']; 75 } 76 71 77 ?> -
branches/2.3/emailadmin/setup/setup.inc.php
r4526 r5156 14 14 $setup_info['emailadmin']['name'] = 'emailadmin'; 15 15 $setup_info['emailadmin']['title'] = 'EMailAdmin'; 16 $setup_info['emailadmin']['version'] = '2. 2.0.1';16 $setup_info['emailadmin']['version'] = '2.3.0'; 17 17 $setup_info['emailadmin']['app_order'] = 10; 18 18 $setup_info['emailadmin']['enable'] = 2; … … 40 40 $setup_info['emailadmin']['depends'][] = array( 41 41 'appname' => 'phpgwapi', 42 'versions' => Array('2. 2')42 'versions' => Array('2.3') 43 43 ); 44 44 -
branches/2.3/emailadmin/setup/tables_update.inc.php
r4526 r5156 15 15 function emailadmin_upgrade0_0_3() 16 16 { 17 $GLOBALS['phpgw_setup']->oProc->AddColumn('phpgw_emailadmin','smtpType', array('type' => 'int', 'precision' => 4)); 17 $GLOBALS['phpgw_setup']->oProc->AddColumn('phpgw_emailadmin','smtpType', array('type' => 'int', 'precision' => 4)); 18 18 19 19 $setup_info['emailadmin']['currentver'] = '0.0.4'; … … 24 24 function emailadmin_upgrade0_0_4() 25 25 { 26 $GLOBALS['phpgw_setup']->oProc->AddColumn('phpgw_emailadmin','defaultDomain', array('type' => 'varchar', 'precision' => 100)); 26 $GLOBALS['phpgw_setup']->oProc->AddColumn('phpgw_emailadmin','defaultDomain', array('type' => 'varchar', 'precision' => 100)); 27 27 28 28 $setup_info['emailadmin']['currentver'] = '0.0.5'; … … 33 33 function emailadmin_upgrade0_0_5() 34 34 { 35 $GLOBALS['phpgw_setup']->oProc->AddColumn('phpgw_emailadmin','organisationName', array('type' => 'varchar', 'precision' => 100)); 36 $GLOBALS['phpgw_setup']->oProc->AddColumn('phpgw_emailadmin','userDefinedAccounts', array('type' => 'varchar', 'precision' => 3)); 35 $GLOBALS['phpgw_setup']->oProc->AddColumn('phpgw_emailadmin','organisationName', array('type' => 'varchar', 'precision' => 100)); 36 $GLOBALS['phpgw_setup']->oProc->AddColumn('phpgw_emailadmin','userDefinedAccounts', array('type' => 'varchar', 'precision' => 3)); 37 37 38 38 $setup_info['emailadmin']['currentver'] = '0.0.6'; 39 39 return $setup_info['emailadmin']['currentver']; 40 40 } 41 41 42 42 43 43 … … 65 65 return $GLOBALS['setup_info']['emailadmin']['currentver']; 66 66 } 67 67 68 68 69 69 $test[] = '0.0.008'; … … 92 92 $test[] = '2.0.000'; 93 93 function emailadmin_upgrade2_0_000() 94 { 94 { 95 95 $GLOBALS['phpgw_setup']->oProc->AddColumn('phpgw_emailadmin','imapcreatespamfolder', array('type' => 'varchar', 'precision' => 3)); 96 96 $GLOBALS['phpgw_setup']->oProc->AddColumn('phpgw_emailadmin','imapcyrususerpostspam', array('type' => 'varchar', 'precision' => 30)); … … 101 101 function emailadmin_upgrade2_0_001() 102 102 { 103 $GLOBALS['setup_info']['emailadmin']['currentver'] = '2.1.000'; 103 $GLOBALS['setup_info']['emailadmin']['currentver'] = '2.1.000'; 104 104 return $GLOBALS['setup_info']['emailadmin']['currentver']; 105 105 } … … 113 113 function emailadmin_upgrade2_2_000() 114 114 { 115 $GLOBALS['setup_info']['emailadmin']['currentver'] = '2.2.0.1'; 115 $GLOBALS['setup_info']['emailadmin']['currentver'] = '2.2.1'; 116 return $GLOBALS['setup_info']['emailadmin']['currentver']; 117 } 118 $test[] = '2.2.1'; 119 function emailadmin_upgrade2_2_1() 120 { 121 $GLOBALS['setup_info']['emailadmin']['currentver'] = '2.3.0'; 116 122 return $GLOBALS['setup_info']['emailadmin']['currentver']; 117 123 } -
branches/2.3/expressoAdmin1_2/setup/setup.inc.php
r4526 r5156 13 13 $setup_info['expressoAdmin1_2']['title'] = 'Expresso Admin'; 14 14 /* Ao incrementar versão, não esquecer de declarar função do tables_update.inc.php*/ 15 $setup_info['expressoAdmin1_2']['version'] = '2. 2.0.1';15 $setup_info['expressoAdmin1_2']['version'] = '2.3.0'; 16 16 $setup_info['expressoAdmin1_2']['app_order'] = 1; 17 17 $setup_info['expressoAdmin1_2']['tables'][] = 'phpgw_expressoadmin'; … … 35 35 $setup_info['expressoAdmin1_2']['depends'][] = array( 36 36 'appname' => 'phpgwapi', 37 'versions' => Array('2. 2')37 'versions' => Array('2.3') 38 38 ); 39 39 ?> -
branches/2.3/expressoAdmin1_2/setup/tables_update.inc.php
r4526 r5156 8 8 * Free Software Foundation; either version 2 of the License, or (at your * 9 9 * option) any later version. * 10 \**************************************************************************/ 10 \**************************************************************************/ 11 11 // Since Expresso 1.2 using ExpressoAdmin 1.261 12 12 $test[] = '1.261'; … … 27 27 $GLOBALS['setup_info']['expressoAdmin1_2']['currentver'] = '2.0.002'; 28 28 return $GLOBALS['setup_info']['expressoAdmin1_2']['currentver']; 29 } 29 } 30 30 $test[] = '2.0.002'; 31 31 function expressoAdmin1_2_upgrade2_0_002() … … 33 33 $GLOBALS['setup_info']['expressoAdmin1_2']['currentver'] = '2.0.003'; 34 34 return $GLOBALS['setup_info']['expressoAdmin1_2']['currentver']; 35 } 35 } 36 36 $test[] = '2.0.003'; 37 37 function expressoAdmin1_2_upgrade2_0_003() … … 39 39 $GLOBALS['setup_info']['expressoAdmin1_2']['currentver'] = '2.0.004'; 40 40 return $GLOBALS['setup_info']['expressoAdmin1_2']['currentver']; 41 } 41 } 42 42 $test[] = '2.0.004'; 43 43 function expressoAdmin1_2_upgrade2_0_004() … … 51 51 $GLOBALS['phpgw_setup']->db->query("alter table phpgw_expressoadmin_log drop groupinfo"); 52 52 $GLOBALS['phpgw_setup']->db->query("alter table phpgw_expressoadmin_log drop appinfo"); 53 $GLOBALS['phpgw_setup']->db->query("alter table phpgw_expressoadmin_log drop msg"); 53 $GLOBALS['phpgw_setup']->db->query("alter table phpgw_expressoadmin_log drop msg"); 54 54 $GLOBALS['setup_info']['expressoAdmin1_2']['currentver'] = '2.1.000'; 55 55 return $GLOBALS['setup_info']['expressoAdmin1_2']['currentver']; … … 64 64 function expressoAdmin1_2_upgrade2_2_000() 65 65 { 66 $GLOBALS['setup_info']['expressoAdmin1_2']['currentver'] = '2.2. 0.1';66 $GLOBALS['setup_info']['expressoAdmin1_2']['currentver'] = '2.2.1'; 67 67 return $GLOBALS['setup_info']['expressoAdmin1_2']['currentver']; 68 68 } 69 69 $test[] = '2.2.1'; 70 70 function expressoAdmin1_2_upgrade2_2_1() 71 71 { … … 73 73 return $GLOBALS['setup_info']['expressoAdmin1_2']['currentver']; 74 74 } 75 $test[] = '2.2.2'; 76 function expressoAdmin1_2_upgrade2_2_2() 77 { 78 $GLOBALS['setup_info']['expressoAdmin1_2']['currentver'] = '2.2.3'; 79 return $GLOBALS['setup_info']['expressoAdmin1_2']['currentver']; 80 } 81 $test[] = '2.2.3'; 82 function expressoAdmin1_2_upgrade2_2_3() 83 { 84 $GLOBALS['setup_info']['expressoAdmin1_2']['currentver'] = '2.2.6'; 85 return $GLOBALS['setup_info']['expressoAdmin1_2']['currentver']; 86 } 87 $test[] = '2.2.6'; 88 function expressoAdmin1_2_upgrade2_2_6() 89 { 90 $GLOBALS['setup_info']['expressoAdmin1_2']['currentver'] = '2.2.8'; 91 return $GLOBALS['setup_info']['expressoAdmin1_2']['currentver']; 92 } 93 $test[] = '2.2.8'; 94 function expressoAdmin1_2_upgrade2_2_8() 95 { 96 $GLOBALS['setup_info']['expressoAdmin1_2']['currentver'] = '2.3.0'; 97 return $GLOBALS['setup_info']['expressoAdmin1_2']['currentver']; 98 } 75 99 ?> -
branches/2.3/expressoMail1_2/setup/setup.inc.php
r4526 r5156 12 12 $setup_info['expressoMail1_2']['name'] = 'expressoMail1_2'; 13 13 $setup_info['expressoMail1_2']['title'] = 'Expresso Mail'; 14 $setup_info['expressoMail1_2']['version'] = '2. 2.0.1';14 $setup_info['expressoMail1_2']['version'] = '2.3.0'; 15 15 $setup_info['expressoMail1_2']['app_order'] = 2; 16 16 $setup_info['expressoMail1_2']['tables'][] = 'phpgw_expressomail_contacts'; … … 37 37 $setup_info['expressoMail1_2']['depends'][] = array( 38 38 'appname' => 'phpgwapi', 39 'versions' => Array('2. 2')39 'versions' => Array('2.3') 40 40 ); 41 41 ?> -
branches/2.3/expressoMail1_2/setup/tables_update.inc.php
r4526 r5156 9 9 * option) any later version. * 10 10 \**************************************************************************/ 11 // Since Expresso 1.2 using ExpressoMail 1.233 11 // Since Expresso 1.2 using ExpressoMail 1.233 12 12 $test[] = '1.233'; 13 13 function expressoMail1_2_upgrade1_233() { … … 17 17 $test[] = '1.234'; 18 18 function expressoMail1_2_upgrade1_234() { 19 $oProc = $GLOBALS['phpgw_setup']->oProc; 19 $oProc = $GLOBALS['phpgw_setup']->oProc; 20 20 $oProc->CreateTable('phpgw_certificados',array( 21 21 'fd' => array( … … 40 40 $setup_info['expressoMail1_2']['currentver'] = '2.0.000'; 41 41 return $setup_info['expressoMail1_2']['currentver']; 42 } 42 } 43 43 $test[] = '2.0.000'; 44 44 function expressoMail1_2_upgrade2_0_000() { … … 50 50 $setup_info['expressoMail1_2']['currentver'] = '2.0.002'; 51 51 return $setup_info['expressoMail1_2']['currentver']; 52 } 52 } 53 53 $test[] = '2.0.002'; 54 54 function expressoMail1_2_upgrade2_0_002() { … … 65 65 $setup_info['expressoMail1_2']['currentver'] = '2.0.005'; 66 66 return $setup_info['expressoMail1_2']['currentver']; 67 } 67 } 68 68 $test[] = '2.0.005'; 69 69 function expressoMail1_2_upgrade2_0_005() { 70 70 $setup_info['expressoMail1_2']['currentver'] = '2.0.006'; 71 71 return $setup_info['expressoMail1_2']['currentver']; 72 } 72 } 73 73 $test[] = '2.0.006'; 74 74 function expressoMail1_2_upgrade2_0_006() { 75 75 $setup_info['expressoMail1_2']['currentver'] = '2.0.007'; 76 76 return $setup_info['expressoMail1_2']['currentver']; 77 } 77 } 78 78 $test[] = '2.0.007'; 79 79 function expressoMail1_2_upgrade2_0_007() { 80 80 $setup_info['expressoMail1_2']['currentver'] = '2.0.008'; 81 81 return $setup_info['expressoMail1_2']['currentver']; 82 } 82 } 83 83 $test[] = '2.0.008'; 84 84 function expressoMail1_2_upgrade2_0_008() { … … 100 100 $setup_info['expressoMail1_2']['currentver'] = '2.2.000'; 101 101 return $setup_info['expressoMail1_2']['currentver']; 102 } 102 } 103 103 $test[] = '2.2.000'; 104 104 function expressoMail1_2_upgrade2_2_000() { 105 $setup_info['expressoMail1_2']['currentver'] = '2.2. 0.1';105 $setup_info['expressoMail1_2']['currentver'] = '2.2.1'; 106 106 return $setup_info['expressoMail1_2']['currentver']; 107 107 } 108 108 $test[] = '2.2.1'; 109 109 function expressoMail1_2_upgrade2_2_1() { 110 110 $setup_info['expressoMail1_2']['currentver'] = '2.2.2'; 111 111 return $setup_info['expressoMail1_2']['currentver']; 112 112 } 113 113 $test[] = '2.2.2'; 114 114 function expressoMail1_2_upgrade2_2_2() { 115 115 $setup_info['expressoMail1_2']['currentver'] = '2.2.3'; 116 116 return $setup_info['expressoMail1_2']['currentver']; 117 117 } 118 $test[] = '2.2.3'; 119 function expressoMail1_2_upgrade2_2_3() { 120 $setup_info['expressoMail1_2']['currentver'] = '2.2.4'; 121 return $setup_info['expressoMail1_2']['currentver']; 122 } 123 $test[] = '2.2.4'; 124 function expressoMail1_2_upgrade2_2_4() { 125 $setup_info['expressoMail1_2']['currentver'] = '2.2.6'; 126 return $setup_info['expressoMail1_2']['currentver']; 127 } 128 $test[] = '2.2.6'; 129 function expressoMail1_2_upgrade2_2_6() { 130 $setup_info['expressoMail1_2']['currentver'] = '2.2.8'; 131 return $setup_info['expressoMail1_2']['currentver']; 132 } 133 $test[] = '2.2.8'; 134 function expressoMail1_2_upgrade2_2_8() { 135 $setup_info['expressoMail1_2']['currentver'] = '2.3.0'; 136 return $setup_info['expressoMail1_2']['currentver']; 137 } 138 118 139 ?> -
branches/2.3/filemanager/setup/setup.inc.php
r4526 r5156 14 14 $setup_info['filemanager']['name'] = 'filemanager'; 15 15 $setup_info['filemanager']['title'] = 'Filemanager'; 16 $setup_info['filemanager']['version'] = '2. 2.0.1';16 $setup_info['filemanager']['version'] = '2.3.0'; 17 17 $setup_info['filemanager']['app_order'] = 6; 18 18 $setup_info['filemanager']['enable'] = 1; … … 48 48 ( 49 49 'appname' => 'phpgwapi', 50 'versions' => array('2. 2')50 'versions' => array('2.3') 51 51 ); 52 52 ?> -
branches/2.3/help/setup/setup.inc.php
r4526 r5156 13 13 $setup_info['help']['name'] = 'help'; 14 14 $setup_info['help']['title'] = 'User Manual and Help Page'; 15 $setup_info['help']['version'] = '2. 2.0.1';15 $setup_info['help']['version'] = '2.3.0'; 16 16 $setup_info['help']['app_order'] = 5; 17 17 $setup_info['help']['enable'] = 2; // Invisible on top (navigation bar) … … 26 26 $setup_info['help']['depends'][] = array( 27 27 'appname' => 'phpgwapi', 28 'versions' => Array('2. 2')28 'versions' => Array('2.3') 29 29 ); 30 30 ?> -
branches/2.3/jabberit_messenger/setup/setup.inc.php
r4526 r5156 8 8 $setup_info['jabberit_messenger']['name'] = 'jabberit_messenger'; 9 9 $setup_info['jabberit_messenger']['title'] = 'Expresso Messenger'; 10 $setup_info['jabberit_messenger']['version'] = '2. 2.0.1';10 $setup_info['jabberit_messenger']['version'] = '2.3.0'; 11 11 $setup_info['jabberit_messenger']['app_order'] = 9; 12 12 $setup_info['jabberit_messenger']['enable'] = 1; … … 27 27 $setup_info['jabberit_messenger']['depends'][] = array( 28 28 'appname' => 'phpgwapi', 29 'versions' => Array('2. 2')29 'versions' => Array('2.3') 30 30 ); 31 31 ?> -
branches/2.3/listAdmin/setup/setup.inc.php
r4526 r5156 9 9 $setup_info['listAdmin']['name'] = 'listAdmin'; 10 10 $setup_info['listAdmin']['title'] = 'Mailman Admin'; 11 $setup_info['listAdmin']['version'] = '2. 2.0.1';11 $setup_info['listAdmin']['version'] = '2.3.0'; 12 12 $setup_info['listAdmin']['app_order'] = 10; 13 13 $setup_info['listAdmin']['enable'] = 1; … … 30 30 $setup_info['listAdmin']['depends'][] = array( 31 31 'appname' => 'phpgwapi', 32 'versions' => Array('2.0','2.1','2.2' )32 'versions' => Array('2.0','2.1','2.2','2.3') 33 33 ); 34 34 ?> -
branches/2.3/mobile/setup/setup.inc.php
r4526 r5156 14 14 $setup_info['mobile']['name'] = 'mobile'; 15 15 $setup_info['mobile']['title'] = 'Expresso Mini'; 16 $setup_info['mobile']['version'] = '2. 2.0.1';16 $setup_info['mobile']['version'] = '2.3.0'; 17 17 $setup_info['mobile']['app_order'] = 4; 18 18 $setup_info['mobile']['enable'] = 2; … … 39 39 $setup_info['mobile']['depends'][] = array( 40 40 'appname' => 'phpgwapi', 41 'versions' => Array('2. 2')41 'versions' => Array('2.3') 42 42 ); 43 43 ?> -
branches/2.3/news_admin/setup/setup.inc.php
r4526 r5156 14 14 $setup_info['news_admin']['name'] = 'news_admin'; 15 15 $setup_info['news_admin']['title'] = 'News Admin'; 16 $setup_info['news_admin']['version'] = '2. 2.0.1';16 $setup_info['news_admin']['version'] = '2.3.0'; 17 17 $setup_info['news_admin']['app_order'] = 16; 18 18 $setup_info['news_admin']['enable'] = 1; … … 31 31 $setup_info['news_admin']['depends'][] = array( 32 32 'appname' => 'phpgwapi', 33 'versions' => Array('2. 2')33 'versions' => Array('2.3') 34 34 ); 35 35 -
branches/2.3/news_admin/setup/tables_update.inc.php
r4526 r5156 12 12 * http://www.goldenglair.com * 13 13 \**************************************************************************/ 14 // Since Expresso 1.2 using news_admin 1.0.0 14 // Since Expresso 1.2 using news_admin 1.0.0 15 15 $test[] = '1.0.0'; 16 16 function news_admin_upgrade1_0_0() … … 24 24 $GLOBALS['setup_info']['news_admin']['currentver'] = '2.0.001'; 25 25 return $GLOBALS['setup_info']['news_admin']['currentver']; 26 } 26 } 27 27 $test[] = '2.0.001'; 28 28 function news_admin_upgrade2_0_001() … … 36 36 $GLOBALS['setup_info']['news_admin']['currentver'] = '2.2.000'; 37 37 return $GLOBALS['setup_info']['news_admin']['currentver']; 38 } 38 } 39 39 $test[] = '2.2.000'; 40 40 function news_admin_upgrade2_2_000() 41 41 { 42 $GLOBALS['setup_info']['news_admin']['currentver'] = '2.2.0.1'; 42 $GLOBALS['setup_info']['news_admin']['currentver'] = '2.2.1'; 43 return $GLOBALS['setup_info']['news_admin']['currentver']; 44 } 45 $test[] = '2.2.1'; 46 function news_admin_upgrade2_2_1() 47 { 48 $GLOBALS['setup_info']['news_admin']['currentver'] = '2.2.6'; 49 return $GLOBALS['setup_info']['news_admin']['currentver']; 50 } 51 $test[] = '2.2.6'; 52 function news_admin_upgrade2_2_6() 53 { 54 $GLOBALS['setup_info']['news_admin']['currentver'] = '2.2.8'; 55 return $GLOBALS['setup_info']['news_admin']['currentver']; 56 } 57 58 $test[] = '2.2.8'; 59 function news_admin_upgrade2_2_8() 60 { 61 $GLOBALS['setup_info']['news_admin']['currentver'] = '2.3.0'; 43 62 return $GLOBALS['setup_info']['news_admin']['currentver']; 44 63 } -
branches/2.3/phpgwapi/setup/setup.inc.php
r4526 r5156 14 14 $setup_info['phpgwapi']['name'] = 'phpgwapi'; 15 15 $setup_info['phpgwapi']['title'] = 'API'; 16 $setup_info['phpgwapi']['version'] = '2. 2.0.1';17 $setup_info['phpgwapi']['versions']['current_header'] = '2. 2';16 $setup_info['phpgwapi']['version'] = '2.3.0'; 17 $setup_info['phpgwapi']['versions']['current_header'] = '2.3'; 18 18 $setup_info['phpgwapi']['enable'] = 3; 19 19 $setup_info['phpgwapi']['app_order'] = 1; -
branches/2.3/phpgwapi/setup/tables_update.inc.php
r4526 r5156 10 10 \**************************************************************************/ 11 11 12 // Since Expresso 1.2 using API EgroupWare 1.0.0.007 12 // Since Expresso 1.2 using API EgroupWare 1.0.0.007 13 13 $test[] = '1.0.0.007'; 14 14 function phpgwapi_upgrade1_0_0_007() … … 22 22 23 23 } 24 24 25 25 $test[] = '1.0.0.008'; 26 26 function phpgwapi_upgrade1_0_0_008() … … 48 48 $GLOBALS['setup_info']['phpgwapi']['currentver'] = '2.0.002'; 49 49 return $GLOBALS['setup_info']['phpgwapi']['currentver']; 50 } 50 } 51 51 $test[] = '2.0.002'; 52 52 function phpgwapi_upgrade2_0_002() … … 72 72 $GLOBALS['setup_info']['phpgwapi']['currentver'] = '2.0.006'; 73 73 return $GLOBALS['setup_info']['phpgwapi']['currentver']; 74 } 74 } 75 75 $test[] = '2.0.006'; 76 76 function phpgwapi_upgrade2_0_006() … … 78 78 $GLOBALS['setup_info']['phpgwapi']['currentver'] = '2.0.007'; 79 79 return $GLOBALS['setup_info']['phpgwapi']['currentver']; 80 } 80 } 81 81 $test[] = '2.0.007'; 82 82 function phpgwapi_upgrade2_0_007() … … 84 84 $GLOBALS['setup_info']['phpgwapi']['currentver'] = '2.0.008'; 85 85 return $GLOBALS['setup_info']['phpgwapi']['currentver']; 86 } 86 } 87 87 $test[] = '2.0.008'; 88 88 function phpgwapi_upgrade2_0_008() … … 96 96 $GLOBALS['setup_info']['phpgwapi']['currentver'] = '2.0.010'; 97 97 return $GLOBALS['setup_info']['phpgwapi']['currentver']; 98 } 98 } 99 99 $test[] = '2.0.010'; 100 100 function phpgwapi_upgrade2_0_010() … … 102 102 $GLOBALS['setup_info']['phpgwapi']['currentver'] = '2.1.000'; 103 103 return $GLOBALS['setup_info']['phpgwapi']['currentver']; 104 } 104 } 105 105 $test[] = '2.1.000'; 106 106 function phpgwapi_upgrade2_1_000() … … 112 112 function phpgwapi_upgrade2_2_000() 113 113 { 114 $GLOBALS['setup_info']['phpgwapi']['currentver'] = '2.2. 0.1';114 $GLOBALS['setup_info']['phpgwapi']['currentver'] = '2.2.1'; 115 115 return $GLOBALS['setup_info']['phpgwapi']['currentver']; 116 116 } 117 117 $test[] = '2.2.1'; 118 118 function phpgwapi_upgrade2_2_1() 119 119 { … … 121 121 return $GLOBALS['setup_info']['phpgwapi']['currentver']; 122 122 } 123 123 $test[] = '2.2.2'; 124 124 function phpgwapi_upgrade2_2_2() 125 125 { … … 127 127 return $GLOBALS['setup_info']['phpgwapi']['currentver']; 128 128 } 129 $test[] = '2.2.3'; 130 function phpgwapi_upgrade2_2_3() 131 { 132 $GLOBALS['setup_info']['phpgwapi']['currentver'] = '2.2.4'; 133 return $GLOBALS['setup_info']['phpgwapi']['currentver']; 134 } 135 $test[] = '2.2.4'; 136 function phpgwapi_upgrade2_2_4() 137 { 138 $GLOBALS['setup_info']['phpgwapi']['currentver'] = '2.2.6'; 139 return $GLOBALS['setup_info']['phpgwapi']['currentver']; 140 } 141 $test[] = '2.2.6'; 142 function phpgwapi_upgrade2_2_6() 143 { 144 $GLOBALS['setup_info']['phpgwapi']['currentver'] = '2.2.8'; 145 return $GLOBALS['setup_info']['phpgwapi']['currentver']; 146 } 147 $test[] = '2.2.8'; 148 function phpgwapi_upgrade2_2_8() 149 { 150 $GLOBALS['setup_info']['phpgwapi']['currentver'] = '2.3.0'; 151 return $GLOBALS['setup_info']['phpgwapi']['currentver']; 152 } 129 153 ?> -
branches/2.3/preferences/setup/setup.inc.php
r4526 r5156 13 13 $setup_info['preferences']['name'] = 'preferences'; 14 14 $setup_info['preferences']['title'] = 'Preferences'; 15 $setup_info['preferences']['version'] = '2. 2.0.1';15 $setup_info['preferences']['version'] = '2.3.0'; 16 16 $setup_info['preferences']['app_order'] = 1; 17 17 $setup_info['preferences']['tables'] = ''; … … 28 28 $setup_info['preferences']['depends'][] = array( 29 29 'appname' => 'phpgwapi', 30 'versions' => Array('2. 2')30 'versions' => Array('2.3') 31 31 ); 32 32 ?> -
branches/2.3/workflow/setup/setup.inc.php
r4526 r5156 13 13 $setup_info['workflow']['name'] = 'workflow'; 14 14 $setup_info['workflow']['title'] = 'Workflow Management'; 15 $setup_info['workflow']['version'] = '2. 2.0.1';15 $setup_info['workflow']['version'] = '2.3.0'; 16 16 $setup_info['workflow']['app_order'] = 10; 17 17 $setup_info['workflow']['enable'] = 1; … … 59 59 $setup_info['workflow']['depends'][] = array( 60 60 'appname' => 'phpgwapi', 61 'versions' => Array('1.2', '2.0', '2.2' )61 'versions' => Array('1.2', '2.0', '2.2' , '2.3') 62 62 ); 63 63 $setup_info['workflow']['depends'][] = array( 64 64 'appname' => 'preferences', 65 'versions' => Array('0.9.13.002', '2.0', '2.2' )65 'versions' => Array('0.9.13.002', '2.0', '2.2','2.3') 66 66 ); 67 67 ?> -
branches/2.3/workflow/setup/tables_update.inc.php
r4526 r5156 194 194 /* adding primary key without the column removed */ 195 195 $GLOBALS['phpgw']->ADOdb->query('ALTER TABLE egw_wf_interinstance_relations ADD CONSTRAINT egw_wf_interinstance_relations_pkey PRIMARY KEY (wf_parent_instance_id, wf_child_instance_id)'); 196 196 197 197 /* Update the organogram level of administration off all users from 0 to 1. */ 198 198 $GLOBALS['phpgw']->ADOdb->query('UPDATE egw_wf_admin_access set nivel = 1 WHERE tipo = \'ORG\' and nivel = 0'); … … 207 207 { 208 208 #updating the current version 209 $GLOBALS['setup_info']['workflow']['currentver'] = '2.2.0.1'; 209 $GLOBALS['setup_info']['workflow']['currentver'] = '2.2.1'; 210 return $GLOBALS['setup_info']['workflow']['currentver']; 211 } 212 $test[] = '2.2.1'; 213 function workflow_upgrade2_2_1() 214 { 215 #updating the current version 216 $GLOBALS['setup_info']['workflow']['currentver'] = '2.2.6'; 217 return $GLOBALS['setup_info']['workflow']['currentver']; 218 } 219 $test[] = '2.2.6'; 220 function workflow_upgrade2_2_6() 221 { 222 #updating the current version 223 $GLOBALS['setup_info']['workflow']['currentver'] = '2.3.0'; 210 224 return $GLOBALS['setup_info']['workflow']['currentver']; 211 225 }
Note: See TracChangeset
for help on using the changeset viewer.