Changeset 1323


Ignore:
Timestamp:
08/13/09 17:50:07 (11 years ago)
Author:
niltonneto
Message:

Ticket #563 - Alteradas versões dos módulos, conforme modelo de versionamento.

Location:
trunk
Files:
19 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/setup/setup.inc.php

    r1068 r1323  
    1212 
    1313        $setup_info['admin']['name']      = 'admin'; 
    14         $setup_info['admin']['version']   = '1.0.0'; 
     14        $setup_info['admin']['version']   = '2.0.000'; 
    1515        $setup_info['admin']['app_order'] = 1; 
    1616        $setup_info['admin']['tables']    = ''; 
     
    4747        $setup_info['admin']['depends'][] = array( 
    4848                'appname' => 'phpgwapi', 
    49                 'versions' => Array('0.9.14','0.9.15','2.0.0') 
     49                'versions' => Array('2.0') 
    5050        ); 
    5151?> 
  • trunk/calendar/setup/setup.inc.php

    r1068 r1323  
    1212 
    1313        $setup_info['calendar']['name']    = 'calendar'; 
    14         $setup_info['calendar']['version'] = '0.9.3'; 
     14        $setup_info['calendar']['version'] = '2.0.000'; 
    1515        $setup_info['calendar']['app_order'] = 3; 
    1616        $setup_info['calendar']['enable']  = 1; 
     
    5252        $setup_info['calendar']['depends'][] = array( 
    5353                 'appname' => 'phpgwapi', 
    54                  'versions' => Array('0.9.14','0.9.15','0.9.16','1.0.00', '2.0.0') 
     54                 'versions' => Array('2.0') 
    5555        ); 
  • trunk/calendar/setup/tables_update.inc.php

    r704 r1323  
    5757                return $GLOBALS['setup_info']['calendar']['currentver']; 
    5858        }        
    59  
     59        $test[] = '0.9.3'; 
     60        function calendar_upgrade0_9_3() 
     61        { 
     62                $GLOBALS['setup_info']['calendar']['currentver'] = '2.0.000'; 
     63                return $GLOBALS['setup_info']['calendar']['currentver']; 
     64        } 
    6065?> 
  • trunk/contactcenter/setup/setup.inc.php

    r1068 r1323  
    1717        $setup_info['contactcenter']['name']      = 'contactcenter'; 
    1818        $setup_info['contactcenter']['title']     = 'ContactCenter'; 
    19         $setup_info['contactcenter']['version']   = '1.21'; 
     19        $setup_info['contactcenter']['version']   = '2.0.000'; 
    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('0.9.14', '0.9.15' ,'0.9.24','1.0.0', '2.0.0') 
     78                'versions' => Array('2.0') 
    7979        ); 
    8080?> 
  • trunk/contactcenter/setup/tables_update.inc.php

    r533 r1323  
    116116                return $GLOBALS['setup_info']['contactcenter']['currentver']; 
    117117        } 
     118        $test[] = '1.21'; 
     119        function contactcenter_upgrade1_21() { 
     120                $GLOBALS['setup_info']['contactcenter']['currentver'] = '2.0.000'; 
     121                return $GLOBALS['setup_info']['contactcenter']['currentver']; 
     122        } 
    118123?> 
  • trunk/emailadmin/setup/setup.inc.php

    r1068 r1323  
    1414        $setup_info['emailadmin']['name']      = 'emailadmin'; 
    1515        $setup_info['emailadmin']['title']     = 'EMailAdmin'; 
    16         $setup_info['emailadmin']['version']   = '1.0.1'; 
     16        $setup_info['emailadmin']['version']   = '2.0.000'; 
    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('0.9.14','0.9.16','2.0.0') 
     42                'versions' => Array('2.0') 
    4343        ); 
    4444 
  • trunk/emailadmin/setup/tables_update.inc.php

    r187 r1323  
    8484      return $GLOBALS['setup_info']['emailadmin']['currentver']; 
    8585   } 
    86       
     86   $test[] = '1.0.1'; 
     87   function emailadmin_upgrade1_0_1() 
     88        { 
     89      $GLOBALS['setup_info']['emailadmin']['currentver'] = '2.0.000'; 
     90      return $GLOBALS['setup_info']['emailadmin']['currentver']; 
     91   } 
    8792?> 
  • trunk/expressoAdmin1_2/setup/setup.inc.php

    r1068 r1323  
    1313        $setup_info['expressoAdmin1_2']['title']        = 'ExpressoAdmin 1.2'; 
    1414        /* Ao incrementar versão, não esquecer de declarar função do tables_update.inc.php*/ 
    15         $setup_info['expressoAdmin1_2']['version']      = '1.261'; 
     15        $setup_info['expressoAdmin1_2']['version']      = '2.0.000'; 
    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('0.9.14','0.9.15','2.0.0') 
     37                'versions' => Array('2.0') 
    3838        ); 
    3939?> 
  • trunk/expressoAdmin1_2/setup/tables_update.inc.php

    r414 r1323  
    4545        } 
    4646         
    47         $test[] = '1.261'; 
    48         function expressoAdmin1_2_upgrade1_261() 
     47        $test[] = '1.250'; 
     48        function expressoAdmin1_2_upgrade1_250() 
    4949        { 
    5050                $GLOBALS['phpgw_setup']->oProc->DropColumn('phpgw_expressoadmin_log','','appinfo'); 
    5151                $GLOBALS['phpgw_setup']->oProc->DropColumn('phpgw_expressoadmin_log','','groupinfo'); 
    5252                $GLOBALS['phpgw_setup']->oProc->DropColumn('phpgw_expressoadmin_log','','msg'); 
     53                $GLOBALS['setup_info']['expressoAdmin1_2']['currentver'] = '1.261'; 
     54                return $GLOBALS['setup_info']['expressoAdmin1_2']['currentver']; 
     55        } 
     56         
     57        $test[] = '1.261'; 
     58        function expressoAdmin1_2_upgrade1_261() 
     59        { 
     60                $GLOBALS['setup_info']['expressoAdmin1_2']['currentver'] = '2.0.000'; 
     61                return $GLOBALS['setup_info']['expressoAdmin1_2']['currentver']; 
    5362        } 
    5463 
  • trunk/expressoMail1_2/setup/setup.inc.php

    r1247 r1323  
    1212        $setup_info['expressoMail1_2']['name']          = 'expressoMail1_2'; 
    1313        $setup_info['expressoMail1_2']['title']         = 'ExpressoMail 1.2'; 
    14         $setup_info['expressoMail1_2']['version']       = '1.235'; 
     14        $setup_info['expressoMail1_2']['version']       = '2.0.000'; 
    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('0.9.14','0.9.15','2.0.0') 
     39                'versions' => Array('2.0') 
    4040        ); 
    4141?> 
  • trunk/expressoMail1_2/setup/tables_update.inc.php

    r1247 r1323  
    8787                $GLOBALS['setup_info']['expressoMail1_2']['currentver'] = '1.235'; 
    8888        return $GLOBALS['setup_info']['expressoMail1_2']['currentver']; 
    89         }        
     89        } 
     90        $test[] = '1.235'; 
     91        function expressoMail1_2_upgrade1_235() { 
     92                $setup_info['expressoMail1_2']['currentver'] = '2.0.000'; 
     93                return $setup_info['expressoMail1_2']['currentver']; 
     94        }                
    9095?> 
  • trunk/help/setup/setup.inc.php

    r1068 r1323  
    1313        $setup_info['help']['name']      = 'help'; 
    1414        $setup_info['help']['title']     = 'User Manual and Help Page'; 
    15         $setup_info['help']['version']   = '1.0.0'; 
     15        $setup_info['help']['version']   = '2.0.000'; 
    1616        $setup_info['help']['app_order'] = 5; 
    1717        $setup_info['help']['enable']    = 4;   // popup 
     
    2626        $setup_info['help']['depends'][] = array( 
    2727                 'appname' => 'phpgwapi', 
    28                  'versions' => Array('0.9.14','2.0.0') 
     28                 'versions' => Array('2.0') 
    2929        ); 
    3030?> 
  • trunk/jabberit_messenger/setup/setup.inc.php

    r1068 r1323  
    88        $setup_info['jabberit_messenger']['name']       = 'jabberit_messenger'; 
    99        $setup_info['jabberit_messenger']['title']      = 'Jeti Applet'; 
    10         $setup_info['jabberit_messenger']['version']    = '0.7.13'; 
     10        $setup_info['jabberit_messenger']['version']    = '2.0.000'; 
    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('0.9.14','0.9.15','2.0.0') 
     29                'versions' => Array('2.0') 
    3030        ); 
    3131?> 
  • trunk/mobile/setup/setup.inc.php

    r1068 r1323  
    1414        $setup_info['mobile']['name']      = 'mobile'; 
    1515        $setup_info['mobile']['title']     = 'ExpressoMini'; 
    16         $setup_info['mobile']['version']   = '0.1.004'; 
     16        $setup_info['mobile']['version']   = '2.0.000'; 
    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('0.9.14', '0.9.15' ,'0.9.24','1.0.0', '2.0.0') 
     41                'versions' => Array('2.0') 
    4242        ); 
    4343?> 
  • trunk/news_admin/setup/setup.inc.php

    r1068 r1323  
    1414        $setup_info['news_admin']['name']      = 'news_admin'; 
    1515        //$setup_info['news_admin']['title']     = 'News Admin'; 
    16         $setup_info['news_admin']['version']   = '1.0.0'; 
     16        $setup_info['news_admin']['version']   = '2.0.000'; 
    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('0.9.14', '0.9.15','2.0.0') 
     33                 'versions' => Array('2.0') 
    3434        ); 
    3535 
  • trunk/news_admin/setup/tables_update.inc.php

    r49 r1323  
    149149                return $GLOBALS['setup_info']['news_admin']['currentver']; 
    150150        } 
     151        $test[] = '1.0.0'; 
     152        function news_admin_upgrade1_0_0() 
     153        { 
     154                $GLOBALS['setup_info']['news_admin']['currentver'] = '2.0.000'; 
     155                return $GLOBALS['setup_info']['news_admin']['currentver']; 
     156        } 
    151157?> 
  • trunk/phpgwapi/setup/setup.inc.php

    r1056 r1323  
    1414        $setup_info['phpgwapi']['name']      = 'phpgwapi'; 
    1515        $setup_info['phpgwapi']['title']     = 'phpgwapi'; 
    16         $setup_info['phpgwapi']['version']   = '2.0.0.pre-alpha'; 
     16        $setup_info['phpgwapi']['version']   = '2.0.000'; 
    1717        $setup_info['phpgwapi']['versions']['current_header'] = '1.27'; 
    1818        $setup_info['phpgwapi']['enable']    = 3; 
  • trunk/phpgwapi/setup/tables_update.inc.php

    r1036 r1323  
    16601660 
    16611661        } 
    1662  
     1662         
     1663        $test[] = '1.0.0.008'; 
     1664        function phpgwapi_upgrade1_0_0_008() 
     1665        { 
     1666                $GLOBALS['setup_info']['phpgwapi']['currentver'] = '2.0.0.pre-alpha'; 
     1667                return $GLOBALS['setup_info']['phpgwapi']['currentver']; 
     1668 
     1669        } 
     1670 
     1671        $test[] = '2.0.0.pre-alpha'; 
     1672        function phpgwapi_upgrade2_0_0_prealpha() 
     1673        { 
     1674                $GLOBALS['setup_info']['phpgwapi']['currentver'] = '2.0.000'; 
     1675                return $GLOBALS['setup_info']['phpgwapi']['currentver']; 
     1676        } 
     1677        $test[] = '2.0.000'; 
     1678        function phpgwapi_upgrade2_0_000() 
     1679        { 
     1680                $GLOBALS['setup_info']['phpgwapi']['currentver'] = '2.0.001'; 
     1681                return $GLOBALS['setup_info']['phpgwapi']['currentver']; 
     1682        } 
    16631683?> 
  • trunk/preferences/setup/setup.inc.php

    r1068 r1323  
    1313        $setup_info['preferences']['name']      = 'preferences'; 
    1414        $setup_info['preferences']['title']     = 'Preferences'; 
    15         $setup_info['preferences']['version']   = '0.9.13.002'; 
     15        $setup_info['preferences']['version']   = '2.0.000'; 
    1616        $setup_info['preferences']['app_order'] = 1; 
    1717        $setup_info['preferences']['tables']    = ''; 
     
    2828        $setup_info['preferences']['depends'][] = array( 
    2929                'appname' => 'phpgwapi', 
    30                 'versions' => Array('0.9.10', '0.9.11', '0.9.12', '0.9.13', '0.9.14','2.0.0') 
     30                'versions' => Array('2.0') 
    3131        ); 
    3232?> 
Note: See TracChangeset for help on using the changeset viewer.