Changeset 5156 for branches


Ignore:
Timestamp:
11/07/11 16:59:45 (8 years ago)
Author:
brunocosta
Message:

Ticket #2142 - Ajuste do setup para publicação da versão 2.3.0

Location:
branches/2.3
Files:
86 added
26 edited

Legend:

Unmodified
Added
Removed
  • branches/2.3/ac/setup/setup.inc.php

    r5107 r5156  
    1414        $setup_info['ac']['name']      = 'ac'; 
    1515        $setup_info['ac']['title']     = 'Expresso Acessível'; 
    16         $setup_info['ac']['version']   = '2.2.0.1'; 
     16        $setup_info['ac']['version']   = '2.3.0'; 
    1717        $setup_info['ac']['app_order'] = 4; 
    1818        $setup_info['ac']['enable']    = 2; 
     
    3737        $setup_info['ac']['depends'][] = array( 
    3838                'appname' => 'phpgwapi', 
    39                 'versions' => Array('2.2.0.1') 
     39                'versions' => Array('2.3') 
    4040        ); 
    4141?> 
  • branches/2.3/admin/setup/setup.inc.php

    r4526 r5156  
    1313        $setup_info['admin']['name']      = 'admin'; 
    1414        $setup_info['admin']['title']      = 'Admin'; 
    15         $setup_info['admin']['version']   = '2.2.0.1'; 
     15        $setup_info['admin']['version']   = '2.3.0'; 
    1616        $setup_info['admin']['app_order'] = 1; 
    1717        $setup_info['admin']['tables']    = ''; 
     
    4848        $setup_info['admin']['depends'][] = array( 
    4949                'appname' => 'phpgwapi', 
    50                 'versions' => Array('2.2') 
     50                'versions' => Array('2.3') 
    5151        ); 
    5252?> 
  • branches/2.3/agileProjects/setup/setup.inc.php

    r4526 r5156  
    88 
    99        $setup_info['agileProjects']['name'] = 'agileProjects'; 
    10         $setup_info['agileProjects']['version'] = '2.2.0.1'; 
     10        $setup_info['agileProjects']['version'] = '2.3.0'; 
    1111        $setup_info['agileProjects']['app_order'] = 10; 
    1212        $setup_info['agileProjects']['enable'] = 1; 
     
    2929        $setup_info['agileProjects']['depends'][] = array( 
    3030                'appname' => 'phpgwapi', 
    31                 'versions' => Array('2.0','2.1','2.2') 
     31                'versions' => Array('2.0','2.1','2.2','2.3') 
    3232        ); 
    3333?> 
  • branches/2.3/calendar/setup/setup.inc.php

    r4526 r5156  
    1313        $setup_info['calendar']['name']    = 'calendar'; 
    1414        $setup_info['calendar']['title']    = 'Calendar'; 
    15         $setup_info['calendar']['version'] = '2.2.0.1'; 
     15        $setup_info['calendar']['version'] = '2.3.0'; 
    1616        $setup_info['calendar']['app_order'] = 3; 
    1717        $setup_info['calendar']['enable']  = 1; 
     
    5353        $setup_info['calendar']['depends'][] = array( 
    5454                 'appname' => 'phpgwapi', 
    55                  'versions' => Array('2.2') 
     55                 'versions' => Array('2.3') 
    5656        ); 
  • branches/2.3/calendar/setup/tables_update.inc.php

    r4526 r5156  
    1616                                        return; 
    1717                        } 
    18                 }                
     18                } 
    1919                $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 
    2222        $test[] = '0.9.3'; 
    2323        function calendar_upgrade0_9_3() 
     
    4949                $GLOBALS['setup_info']['calendar']['currentver'] = '2.0.004'; 
    5050                return $GLOBALS['setup_info']['calendar']['currentver']; 
    51         }        
     51        } 
    5252        $test[] = '2.0.004'; 
    5353        function calendar_upgrade2_0_004() 
     
    5555                $GLOBALS['setup_info']['calendar']['currentver'] = '2.0.005'; 
    5656                return $GLOBALS['setup_info']['calendar']['currentver']; 
    57         }        
     57        } 
    5858        $test[] = '2.0.005'; 
    5959        function calendar_upgrade2_0_005() 
     
    6161                $GLOBALS['setup_info']['calendar']['currentver'] = '2.0.006'; 
    6262                return $GLOBALS['setup_info']['calendar']['currentver']; 
    63         }        
     63        } 
    6464        $test[] = '2.0.006'; 
    6565        function calendar_upgrade2_0_006() 
     
    6767                $GLOBALS['setup_info']['calendar']['currentver'] = '2.0.007'; 
    6868                return $GLOBALS['setup_info']['calendar']['currentver']; 
    69         }                
     69        } 
    7070        $test[] = '2.0.007'; 
    7171        function calendar_upgrade2_0_007() 
     
    8383        function calendar_upgrade2_2_000() 
    8484        { 
     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        { 
    85103            $GLOBALS['phpgw_setup']->db->query("ALTER TABLE phpgw_cal ADD COLUMN notifications_owner INT NOT NULL default '0'"); 
    86104            $GLOBALS['phpgw_setup']->db->query("ALTER TABLE phpgw_cal ADD COLUMN observations text"); 
     
    89107            $GLOBALS['phpgw_setup']->db->query("ALTER TABLE phpgw_cal ALTER title TYPE varchar(300)"); 
    90108            $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'; 
    92110            return $GLOBALS['setup_info']['calendar']['currentver']; 
    93111        } 
    94  
    95112?> 
  • branches/2.3/contactcenter/setup/setup.inc.php

    r4526 r5156  
    1717        $setup_info['contactcenter']['name']      = 'contactcenter'; 
    1818        $setup_info['contactcenter']['title']     = 'ContactCenter'; 
    19         $setup_info['contactcenter']['version']   = '2.2.0.1'; 
     19        $setup_info['contactcenter']['version']   = '2.3.0'; 
    2020        $setup_info['contactcenter']['app_order'] = 4; 
    2121        $setup_info['contactcenter']['enable']    = 1; 
     
    7676        $setup_info['contactcenter']['depends'][] = array( 
    7777                'appname' => 'phpgwapi', 
    78                 'versions' => Array('2.2') 
     78                'versions' => Array('2.3') 
    7979        ); 
    8080?> 
  • branches/2.3/contactcenter/setup/tables_update.inc.php

    r4526 r5156  
    88        * Free Software Foundation; either version 2 of the License, or (at your   * 
    99        * option) any later version.                                               * 
    10         \**************************************************************************/     
     10        \**************************************************************************/ 
    1111        // Since Expresso 1.2 using ContactCenter 1.21 
    1212        $test[] = '1.21'; 
     
    2929                $GLOBALS['setup_info']['contactcenter']['currentver'] = '2.0.002'; 
    3030                return $GLOBALS['setup_info']['contactcenter']['currentver']; 
    31         }                
     31        } 
    3232        $test[] = '2.0.002'; 
    3333        function contactcenter_upgrade2_0_002() { 
    3434                $GLOBALS['setup_info']['contactcenter']['currentver'] = '2.0.003'; 
    3535                return $GLOBALS['setup_info']['contactcenter']['currentver']; 
    36         }        
     36        } 
    3737        $test[] = '2.0.003'; 
    3838        function contactcenter_upgrade2_0_003() { 
     
    4444                $GLOBALS['setup_info']['contactcenter']['currentver'] = '2.1.000'; 
    4545                return $GLOBALS['setup_info']['contactcenter']['currentver']; 
    46         }        
     46        } 
    4747        $test[] = '2.1.000'; 
    48         function contactcenter_upgrade2_1_000() {                
     48        function contactcenter_upgrade2_1_000() { 
    4949                $GLOBALS['phpgw_setup']->db->query("ALTER TABLE phpgw_cc_contact ADD COLUMN web_page character varying(100)"); 
    5050                $GLOBALS['phpgw_setup']->db->query("ALTER TABLE phpgw_cc_contact ADD COLUMN corporate_name character varying(100)"); 
     
    5454                return $GLOBALS['setup_info']['contactcenter']['currentver']; 
    5555        } 
    56         $test[] = '2.2.000'; 
     56        $test[] = '2.2.000'; 
    5757        function contactcenter_upgrade2_2_000() { 
    58                 $GLOBALS['setup_info']['contactcenter']['currentver'] = '2.2.0.1'; 
     58                $GLOBALS['setup_info']['contactcenter']['currentver'] = '2.2.1'; 
    5959                return $GLOBALS['setup_info']['contactcenter']['currentver']; 
    6060        } 
    61         $test[] = '2.2.1'; 
     61        $test[] = '2.2.1'; 
    6262        function contactcenter_upgrade2_2_1() { 
    6363                $GLOBALS['setup_info']['contactcenter']['currentver'] = '2.2.2'; 
    6464                return $GLOBALS['setup_info']['contactcenter']['currentver']; 
    6565        } 
    66         $test[] = '2.2.2'; 
     66        $test[] = '2.2.2'; 
    6767        function contactcenter_upgrade2_2_2() { 
    6868                $GLOBALS['setup_info']['contactcenter']['currentver'] = '2.2.3'; 
    6969                return $GLOBALS['setup_info']['contactcenter']['currentver']; 
    7070        } 
     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 
    7177?> 
  • branches/2.3/emailadmin/setup/setup.inc.php

    r4526 r5156  
    1414        $setup_info['emailadmin']['name']      = 'emailadmin'; 
    1515        $setup_info['emailadmin']['title']     = 'EMailAdmin'; 
    16         $setup_info['emailadmin']['version']   = '2.2.0.1'; 
     16        $setup_info['emailadmin']['version']   = '2.3.0'; 
    1717        $setup_info['emailadmin']['app_order'] = 10; 
    1818        $setup_info['emailadmin']['enable']    = 2; 
     
    4040        $setup_info['emailadmin']['depends'][] = array( 
    4141                'appname'  => 'phpgwapi', 
    42                 'versions' => Array('2.2') 
     42                'versions' => Array('2.3') 
    4343        ); 
    4444 
  • branches/2.3/emailadmin/setup/tables_update.inc.php

    r4526 r5156  
    1515        function emailadmin_upgrade0_0_3() 
    1616        { 
    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)); 
    1818 
    1919                $setup_info['emailadmin']['currentver'] = '0.0.4'; 
     
    2424        function emailadmin_upgrade0_0_4() 
    2525        { 
    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)); 
    2727 
    2828                $setup_info['emailadmin']['currentver'] = '0.0.5'; 
     
    3333        function emailadmin_upgrade0_0_5() 
    3434        { 
    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)); 
    3737 
    3838                $setup_info['emailadmin']['currentver'] = '0.0.6'; 
    3939                return $setup_info['emailadmin']['currentver']; 
    4040        } 
    41          
     41 
    4242 
    4343 
     
    6565                return $GLOBALS['setup_info']['emailadmin']['currentver']; 
    6666        } 
    67          
     67 
    6868 
    6969        $test[] = '0.0.008'; 
     
    9292   $test[] = '2.0.000'; 
    9393   function emailadmin_upgrade2_0_000() 
    94         {       
     94        { 
    9595      $GLOBALS['phpgw_setup']->oProc->AddColumn('phpgw_emailadmin','imapcreatespamfolder', array('type' => 'varchar', 'precision' => 3)); 
    9696      $GLOBALS['phpgw_setup']->oProc->AddColumn('phpgw_emailadmin','imapcyrususerpostspam', array('type' => 'varchar', 'precision' => 30)); 
     
    101101   function emailadmin_upgrade2_0_001() 
    102102        { 
    103           $GLOBALS['setup_info']['emailadmin']['currentver'] = '2.1.000';       
     103          $GLOBALS['setup_info']['emailadmin']['currentver'] = '2.1.000'; 
    104104      return $GLOBALS['setup_info']['emailadmin']['currentver']; 
    105105   } 
     
    113113   function emailadmin_upgrade2_2_000() 
    114114        { 
    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'; 
    116122      return $GLOBALS['setup_info']['emailadmin']['currentver']; 
    117123   } 
  • branches/2.3/expressoAdmin1_2/setup/setup.inc.php

    r4526 r5156  
    1313        $setup_info['expressoAdmin1_2']['title']        = 'Expresso Admin'; 
    1414        /* 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'; 
    1616        $setup_info['expressoAdmin1_2']['app_order']    = 1; 
    1717        $setup_info['expressoAdmin1_2']['tables'][]             = 'phpgw_expressoadmin'; 
     
    3535        $setup_info['expressoAdmin1_2']['depends'][] = array( 
    3636                'appname' => 'phpgwapi', 
    37                 'versions' => Array('2.2') 
     37                'versions' => Array('2.3') 
    3838        ); 
    3939?> 
  • branches/2.3/expressoAdmin1_2/setup/tables_update.inc.php

    r4526 r5156  
    88        * Free Software Foundation; either version 2 of the License, or (at your   * 
    99        * option) any later version.                                               * 
    10         \**************************************************************************/     
     10        \**************************************************************************/ 
    1111        // Since Expresso 1.2 using ExpressoAdmin 1.261 
    1212        $test[] = '1.261'; 
     
    2727                $GLOBALS['setup_info']['expressoAdmin1_2']['currentver'] = '2.0.002'; 
    2828                return $GLOBALS['setup_info']['expressoAdmin1_2']['currentver']; 
    29         }        
     29        } 
    3030        $test[] = '2.0.002'; 
    3131        function expressoAdmin1_2_upgrade2_0_002() 
     
    3333                $GLOBALS['setup_info']['expressoAdmin1_2']['currentver'] = '2.0.003'; 
    3434                return $GLOBALS['setup_info']['expressoAdmin1_2']['currentver']; 
    35         }        
     35        } 
    3636        $test[] = '2.0.003'; 
    3737        function expressoAdmin1_2_upgrade2_0_003() 
     
    3939                $GLOBALS['setup_info']['expressoAdmin1_2']['currentver'] = '2.0.004'; 
    4040                return $GLOBALS['setup_info']['expressoAdmin1_2']['currentver']; 
    41         }                
     41        } 
    4242        $test[] = '2.0.004'; 
    4343        function expressoAdmin1_2_upgrade2_0_004() 
     
    5151                $GLOBALS['phpgw_setup']->db->query("alter table phpgw_expressoadmin_log drop groupinfo"); 
    5252                $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"); 
    5454                $GLOBALS['setup_info']['expressoAdmin1_2']['currentver'] = '2.1.000'; 
    5555                return $GLOBALS['setup_info']['expressoAdmin1_2']['currentver']; 
     
    6464        function expressoAdmin1_2_upgrade2_2_000() 
    6565        { 
    66                 $GLOBALS['setup_info']['expressoAdmin1_2']['currentver'] = '2.2.0.1'; 
     66                $GLOBALS['setup_info']['expressoAdmin1_2']['currentver'] = '2.2.1'; 
    6767                return $GLOBALS['setup_info']['expressoAdmin1_2']['currentver']; 
    6868        } 
    69         $test[] = '2.2.1'; 
     69        $test[] = '2.2.1'; 
    7070        function expressoAdmin1_2_upgrade2_2_1() 
    7171        { 
     
    7373                return $GLOBALS['setup_info']['expressoAdmin1_2']['currentver']; 
    7474        } 
     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        } 
    7599?> 
  • branches/2.3/expressoMail1_2/setup/setup.inc.php

    r4526 r5156  
    1212        $setup_info['expressoMail1_2']['name']          = 'expressoMail1_2'; 
    1313        $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'; 
    1515        $setup_info['expressoMail1_2']['app_order']     = 2; 
    1616        $setup_info['expressoMail1_2']['tables'][]              = 'phpgw_expressomail_contacts'; 
     
    3737        $setup_info['expressoMail1_2']['depends'][] = array( 
    3838                'appname' => 'phpgwapi', 
    39                 'versions' => Array('2.2') 
     39                'versions' => Array('2.3') 
    4040        ); 
    4141?> 
  • branches/2.3/expressoMail1_2/setup/tables_update.inc.php

    r4526 r5156  
    99        * option) any later version.                                               * 
    1010        \**************************************************************************/ 
    11         //      Since Expresso 1.2 using ExpressoMail 1.233              
     11        //      Since Expresso 1.2 using ExpressoMail 1.233 
    1212        $test[] = '1.233'; 
    1313        function expressoMail1_2_upgrade1_233() { 
     
    1717        $test[] = '1.234'; 
    1818        function expressoMail1_2_upgrade1_234() { 
    19         $oProc = $GLOBALS['phpgw_setup']->oProc;             
     19        $oProc = $GLOBALS['phpgw_setup']->oProc; 
    2020            $oProc->CreateTable('phpgw_certificados',array( 
    2121                        'fd' => array( 
     
    4040                $setup_info['expressoMail1_2']['currentver'] = '2.0.000'; 
    4141                return $setup_info['expressoMail1_2']['currentver']; 
    42         }                
     42        } 
    4343        $test[] = '2.0.000'; 
    4444        function expressoMail1_2_upgrade2_0_000() { 
     
    5050                $setup_info['expressoMail1_2']['currentver'] = '2.0.002'; 
    5151                return $setup_info['expressoMail1_2']['currentver']; 
    52         }        
     52        } 
    5353        $test[] = '2.0.002'; 
    5454        function expressoMail1_2_upgrade2_0_002() { 
     
    6565                $setup_info['expressoMail1_2']['currentver'] = '2.0.005'; 
    6666                return $setup_info['expressoMail1_2']['currentver']; 
    67         }        
     67        } 
    6868        $test[] = '2.0.005'; 
    6969        function expressoMail1_2_upgrade2_0_005() { 
    7070                $setup_info['expressoMail1_2']['currentver'] = '2.0.006'; 
    7171                return $setup_info['expressoMail1_2']['currentver']; 
    72         }        
     72        } 
    7373        $test[] = '2.0.006'; 
    7474        function expressoMail1_2_upgrade2_0_006() { 
    7575                $setup_info['expressoMail1_2']['currentver'] = '2.0.007'; 
    7676                return $setup_info['expressoMail1_2']['currentver']; 
    77         }                
     77        } 
    7878        $test[] = '2.0.007'; 
    7979        function expressoMail1_2_upgrade2_0_007() { 
    8080                $setup_info['expressoMail1_2']['currentver'] = '2.0.008'; 
    8181                return $setup_info['expressoMail1_2']['currentver']; 
    82         }        
     82        } 
    8383        $test[] = '2.0.008'; 
    8484        function expressoMail1_2_upgrade2_0_008() { 
     
    100100                $setup_info['expressoMail1_2']['currentver'] = '2.2.000'; 
    101101                return $setup_info['expressoMail1_2']['currentver']; 
    102         }        
     102        } 
    103103        $test[] = '2.2.000'; 
    104104        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'; 
    106106                return $setup_info['expressoMail1_2']['currentver']; 
    107107        } 
    108         $test[] = '2.2.1'; 
     108        $test[] = '2.2.1'; 
    109109        function expressoMail1_2_upgrade2_2_1() { 
    110110                $setup_info['expressoMail1_2']['currentver'] = '2.2.2'; 
    111111                return $setup_info['expressoMail1_2']['currentver']; 
    112112        } 
    113         $test[] = '2.2.2'; 
     113        $test[] = '2.2.2'; 
    114114        function expressoMail1_2_upgrade2_2_2() { 
    115115                $setup_info['expressoMail1_2']['currentver'] = '2.2.3'; 
    116116                return $setup_info['expressoMail1_2']['currentver']; 
    117117        } 
     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 
    118139?> 
  • branches/2.3/filemanager/setup/setup.inc.php

    r4526 r5156  
    1414        $setup_info['filemanager']['name']    = 'filemanager'; 
    1515        $setup_info['filemanager']['title']   = 'Filemanager'; 
    16         $setup_info['filemanager']['version'] = '2.2.0.1'; 
     16        $setup_info['filemanager']['version'] = '2.3.0'; 
    1717        $setup_info['filemanager']['app_order'] = 6; 
    1818        $setup_info['filemanager']['enable']  = 1; 
     
    4848        ( 
    4949                 'appname' => 'phpgwapi', 
    50                  'versions' => array('2.2') 
     50                 'versions' => array('2.3') 
    5151        ); 
    5252?> 
  • branches/2.3/help/setup/setup.inc.php

    r4526 r5156  
    1313        $setup_info['help']['name']      = 'help'; 
    1414        $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'; 
    1616        $setup_info['help']['app_order'] = 5; 
    1717        $setup_info['help']['enable']    = 2;   // Invisible on top (navigation bar) 
     
    2626        $setup_info['help']['depends'][] = array( 
    2727                 'appname' => 'phpgwapi', 
    28                  'versions' => Array('2.2') 
     28                 'versions' => Array('2.3') 
    2929        ); 
    3030?> 
  • branches/2.3/jabberit_messenger/setup/setup.inc.php

    r4526 r5156  
    88        $setup_info['jabberit_messenger']['name']       = 'jabberit_messenger'; 
    99        $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'; 
    1111        $setup_info['jabberit_messenger']['app_order']  = 9; 
    1212        $setup_info['jabberit_messenger']['enable']     = 1; 
     
    2727        $setup_info['jabberit_messenger']['depends'][] = array( 
    2828                'appname' => 'phpgwapi', 
    29                 'versions' => Array('2.2') 
     29                'versions' => Array('2.3') 
    3030        ); 
    3131?> 
  • branches/2.3/listAdmin/setup/setup.inc.php

    r4526 r5156  
    99        $setup_info['listAdmin']['name'] = 'listAdmin'; 
    1010        $setup_info['listAdmin']['title'] = 'Mailman Admin'; 
    11         $setup_info['listAdmin']['version'] = '2.2.0.1'; 
     11        $setup_info['listAdmin']['version'] = '2.3.0'; 
    1212        $setup_info['listAdmin']['app_order'] = 10; 
    1313        $setup_info['listAdmin']['enable'] = 1; 
     
    3030        $setup_info['listAdmin']['depends'][] = array( 
    3131                'appname' => 'phpgwapi', 
    32                 'versions' => Array('2.0','2.1','2.2') 
     32                'versions' => Array('2.0','2.1','2.2','2.3') 
    3333        ); 
    3434?> 
  • branches/2.3/mobile/setup/setup.inc.php

    r4526 r5156  
    1414        $setup_info['mobile']['name']      = 'mobile'; 
    1515        $setup_info['mobile']['title']     = 'Expresso Mini'; 
    16         $setup_info['mobile']['version']   = '2.2.0.1'; 
     16        $setup_info['mobile']['version']   = '2.3.0'; 
    1717        $setup_info['mobile']['app_order'] = 4; 
    1818        $setup_info['mobile']['enable']    = 2; 
     
    3939        $setup_info['mobile']['depends'][] = array( 
    4040                'appname' => 'phpgwapi', 
    41                 'versions' => Array('2.2') 
     41                'versions' => Array('2.3') 
    4242        ); 
    4343?> 
  • branches/2.3/news_admin/setup/setup.inc.php

    r4526 r5156  
    1414        $setup_info['news_admin']['name']      = 'news_admin'; 
    1515        $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'; 
    1717        $setup_info['news_admin']['app_order'] = 16; 
    1818        $setup_info['news_admin']['enable']    = 1; 
     
    3131        $setup_info['news_admin']['depends'][] = array( 
    3232                 'appname' => 'phpgwapi', 
    33                  'versions' => Array('2.2') 
     33                 'versions' => Array('2.3') 
    3434        ); 
    3535 
  • branches/2.3/news_admin/setup/tables_update.inc.php

    r4526 r5156  
    1212        * http://www.goldenglair.com                                               * 
    1313        \**************************************************************************/ 
    14         // Since Expresso 1.2 using news_admin 1.0.0  
     14        // Since Expresso 1.2 using news_admin 1.0.0 
    1515        $test[] = '1.0.0'; 
    1616        function news_admin_upgrade1_0_0() 
     
    2424                $GLOBALS['setup_info']['news_admin']['currentver'] = '2.0.001'; 
    2525                return $GLOBALS['setup_info']['news_admin']['currentver']; 
    26         }        
     26        } 
    2727        $test[] = '2.0.001'; 
    2828        function news_admin_upgrade2_0_001() 
     
    3636                $GLOBALS['setup_info']['news_admin']['currentver'] = '2.2.000'; 
    3737                return $GLOBALS['setup_info']['news_admin']['currentver']; 
    38         }        
     38        } 
    3939        $test[] = '2.2.000'; 
    4040        function news_admin_upgrade2_2_000() 
    4141        { 
    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'; 
    4362                return $GLOBALS['setup_info']['news_admin']['currentver']; 
    4463        } 
  • branches/2.3/phpgwapi/setup/setup.inc.php

    r4526 r5156  
    1414        $setup_info['phpgwapi']['name']      = 'phpgwapi'; 
    1515        $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'; 
    1818        $setup_info['phpgwapi']['enable']    = 3; 
    1919        $setup_info['phpgwapi']['app_order'] = 1; 
  • branches/2.3/phpgwapi/setup/tables_update.inc.php

    r4526 r5156  
    1010        \**************************************************************************/ 
    1111 
    12         // Since Expresso 1.2 using API EgroupWare 1.0.0.007  
     12        // Since Expresso 1.2 using API EgroupWare 1.0.0.007 
    1313        $test[] = '1.0.0.007'; 
    1414        function phpgwapi_upgrade1_0_0_007() 
     
    2222 
    2323        } 
    24          
     24 
    2525        $test[] = '1.0.0.008'; 
    2626        function phpgwapi_upgrade1_0_0_008() 
     
    4848                $GLOBALS['setup_info']['phpgwapi']['currentver'] = '2.0.002'; 
    4949                return $GLOBALS['setup_info']['phpgwapi']['currentver']; 
    50         }                
     50        } 
    5151        $test[] = '2.0.002'; 
    5252        function phpgwapi_upgrade2_0_002() 
     
    7272                $GLOBALS['setup_info']['phpgwapi']['currentver'] = '2.0.006'; 
    7373                return $GLOBALS['setup_info']['phpgwapi']['currentver']; 
    74         }                        
     74        } 
    7575        $test[] = '2.0.006'; 
    7676        function phpgwapi_upgrade2_0_006() 
     
    7878                $GLOBALS['setup_info']['phpgwapi']['currentver'] = '2.0.007'; 
    7979                return $GLOBALS['setup_info']['phpgwapi']['currentver']; 
    80         }        
     80        } 
    8181        $test[] = '2.0.007'; 
    8282        function phpgwapi_upgrade2_0_007() 
     
    8484                $GLOBALS['setup_info']['phpgwapi']['currentver'] = '2.0.008'; 
    8585                return $GLOBALS['setup_info']['phpgwapi']['currentver']; 
    86         }        
     86        } 
    8787        $test[] = '2.0.008'; 
    8888        function phpgwapi_upgrade2_0_008() 
     
    9696                $GLOBALS['setup_info']['phpgwapi']['currentver'] = '2.0.010'; 
    9797                return $GLOBALS['setup_info']['phpgwapi']['currentver']; 
    98         }        
     98        } 
    9999        $test[] = '2.0.010'; 
    100100        function phpgwapi_upgrade2_0_010() 
     
    102102                $GLOBALS['setup_info']['phpgwapi']['currentver'] = '2.1.000'; 
    103103                return $GLOBALS['setup_info']['phpgwapi']['currentver']; 
    104         }        
     104        } 
    105105        $test[] = '2.1.000'; 
    106106        function phpgwapi_upgrade2_1_000() 
     
    112112        function phpgwapi_upgrade2_2_000() 
    113113        { 
    114                 $GLOBALS['setup_info']['phpgwapi']['currentver'] = '2.2.0.1'; 
     114                $GLOBALS['setup_info']['phpgwapi']['currentver'] = '2.2.1'; 
    115115                return $GLOBALS['setup_info']['phpgwapi']['currentver']; 
    116116        } 
    117         $test[] = '2.2.1'; 
     117        $test[] = '2.2.1'; 
    118118        function phpgwapi_upgrade2_2_1() 
    119119        { 
     
    121121                return $GLOBALS['setup_info']['phpgwapi']['currentver']; 
    122122        } 
    123         $test[] = '2.2.2'; 
     123        $test[] = '2.2.2'; 
    124124        function phpgwapi_upgrade2_2_2() 
    125125        { 
     
    127127                return $GLOBALS['setup_info']['phpgwapi']['currentver']; 
    128128        } 
     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        } 
    129153?> 
  • branches/2.3/preferences/setup/setup.inc.php

    r4526 r5156  
    1313        $setup_info['preferences']['name']      = 'preferences'; 
    1414        $setup_info['preferences']['title']     = 'Preferences'; 
    15         $setup_info['preferences']['version']   = '2.2.0.1'; 
     15        $setup_info['preferences']['version']   = '2.3.0'; 
    1616        $setup_info['preferences']['app_order'] = 1; 
    1717        $setup_info['preferences']['tables']    = ''; 
     
    2828        $setup_info['preferences']['depends'][] = array( 
    2929                'appname' => 'phpgwapi', 
    30                 'versions' => Array('2.2') 
     30                'versions' => Array('2.3') 
    3131        ); 
    3232?> 
  • branches/2.3/workflow/setup/setup.inc.php

    r4526 r5156  
    1313        $setup_info['workflow']['name']                 = 'workflow'; 
    1414        $setup_info['workflow']['title']                = 'Workflow Management'; 
    15         $setup_info['workflow']['version']              = '2.2.0.1'; 
     15        $setup_info['workflow']['version']              = '2.3.0'; 
    1616        $setup_info['workflow']['app_order']    = 10; 
    1717        $setup_info['workflow']['enable']               = 1; 
     
    5959        $setup_info['workflow']['depends'][] = array( 
    6060                'appname' => 'phpgwapi', 
    61                 'versions' => Array('1.2', '2.0', '2.2') 
     61                'versions' => Array('1.2', '2.0', '2.2' , '2.3') 
    6262        ); 
    6363        $setup_info['workflow']['depends'][] = array( 
    6464                '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') 
    6666        ); 
    6767?> 
  • branches/2.3/workflow/setup/tables_update.inc.php

    r4526 r5156  
    194194                        /* adding primary key without the column removed */ 
    195195                        $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 
    197197                        /* Update the organogram level of administration off all users from 0 to 1. */ 
    198198                        $GLOBALS['phpgw']->ADOdb->query('UPDATE egw_wf_admin_access set nivel = 1 WHERE tipo = \'ORG\' and nivel = 0'); 
     
    207207        { 
    208208                #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'; 
    210224                return $GLOBALS['setup_info']['workflow']['currentver']; 
    211225        } 
Note: See TracChangeset for help on using the changeset viewer.