Changeset 1728


Ignore:
Timestamp:
12/01/09 16:44:20 (11 years ago)
Author:
niltonneto
Message:

Ticket #802 - Alterado as versões dos módulos, conforme modelo de versionamento.

Location:
trunk
Files:
21 edited

Legend:

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

    r1323 r1728  
    1212 
    1313        $setup_info['admin']['name']      = 'admin'; 
    14         $setup_info['admin']['version']   = '2.0.000'; 
     14        $setup_info['admin']['version']   = '2.1.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('2.0') 
     49                'versions' => Array('2.1') 
    5050        ); 
    5151?> 
  • trunk/calendar/setup/setup.inc.php

    r1323 r1728  
    1212 
    1313        $setup_info['calendar']['name']    = 'calendar'; 
    14         $setup_info['calendar']['version'] = '2.0.000'; 
     14        $setup_info['calendar']['version'] = '2.1.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('2.0') 
     54                 'versions' => Array('2.1') 
    5555        ); 
  • trunk/calendar/setup/tables_update.inc.php

    r1323 r1728  
    6363                return $GLOBALS['setup_info']['calendar']['currentver']; 
    6464        } 
     65        $test[] = '2.0.000'; 
     66        function calendar_upgrade2_0_000() 
     67        { 
     68                $GLOBALS['setup_info']['calendar']['currentver'] = '2.1.000'; 
     69                return $GLOBALS['setup_info']['calendar']['currentver']; 
     70        } 
    6571?> 
  • trunk/contactcenter/setup/setup.inc.php

    r1665 r1728  
    1717        $setup_info['contactcenter']['name']      = 'contactcenter'; 
    1818        $setup_info['contactcenter']['title']     = 'ContactCenter'; 
    19         $setup_info['contactcenter']['version']   = '2.0.001'; 
     19        $setup_info['contactcenter']['version']   = '2.1.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('2.0') 
     78                'versions' => Array('2.1') 
    7979        ); 
    8080?> 
  • trunk/contactcenter/setup/tables_update.inc.php

    r1665 r1728  
    126126                return $GLOBALS['setup_info']['contactcenter']['currentver']; 
    127127        } 
    128         $test[] = '1.22'; 
    129         function contactcenter_upgrade1_22() { 
     128        $test[] = '2.0.000'; 
     129        function contactcenter_upgrade2_0_000() { 
    130130                $GLOBALS['setup_info']['contactcenter']['currentver'] = '2.0.001'; 
    131131                $GLOBALS['phpgw_setup']->db->query("ALTER TABLE phpgw_cc_contact ADD COLUMN web_page character varying(100)"); 
     
    135135                return $GLOBALS['setup_info']['contactcenter']['currentver']; 
    136136        } 
     137        $test[] = '2.0.001'; 
     138        function contactcenter_upgrade2_0_001() { 
     139                $GLOBALS['setup_info']['contactcenter']['currentver'] = '2.1.000'; 
     140                return $GLOBALS['setup_info']['contactcenter']['currentver']; 
     141        } 
    137142?> 
  • trunk/emailadmin/setup/setup.inc.php

    r1523 r1728  
    1414        $setup_info['emailadmin']['name']      = 'emailadmin'; 
    1515        $setup_info['emailadmin']['title']     = 'EMailAdmin'; 
    16         $setup_info['emailadmin']['version']   = '2.0.001'; 
     16        $setup_info['emailadmin']['version']   = '2.1.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('2.0') 
     42                'versions' => Array('2.1') 
    4343        ); 
    4444 
  • trunk/emailadmin/setup/tables_update.inc.php

    r1523 r1728  
    8686   $test[] = '1.0.1'; 
    8787   function emailadmin_upgrade1_0_1() 
    88         { 
     88        { 
    8989      $GLOBALS['setup_info']['emailadmin']['currentver'] = '2.0.000'; 
    9090      return $GLOBALS['setup_info']['emailadmin']['currentver']; 
     
    9292   $test[] = '2.0.000'; 
    9393   function emailadmin_upgrade2_0_000() 
    94         { 
     94        { 
    9595      $GLOBALS['setup_info']['emailadmin']['currentver'] = '2.0.001'; 
    9696      $GLOBALS['phpgw_setup']->oProc->AddColumn('phpgw_emailadmin','imapcreatespamfolder', array('type' => 'varchar', 'precision' => 3)); 
     
    9898      return $GLOBALS['setup_info']['emailadmin']['currentver']; 
    9999   } 
    100          
     100   $test[] = '2.0.001'; 
     101   function emailadmin_upgrade2_0_001() 
     102        { 
     103      $GLOBALS['setup_info']['emailadmin']['currentver'] = '2.1.000'; 
     104      return $GLOBALS['setup_info']['emailadmin']['currentver']; 
     105   } 
    101106?> 
  • trunk/expressoAdmin1_2/setup/setup.inc.php

    r1402 r1728  
    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.0.000'; 
     15        $setup_info['expressoAdmin1_2']['version']      = '2.1.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('2.0') 
     37                'versions' => Array('2.1') 
    3838        ); 
    3939?> 
  • trunk/expressoAdmin1_2/setup/tables_update.inc.php

    r1323 r1728  
    6161                return $GLOBALS['setup_info']['expressoAdmin1_2']['currentver']; 
    6262        } 
     63        $test[] = '2.0.000'; 
     64        function expressoAdmin1_2_upgrade2_0_000() 
     65        { 
     66                $GLOBALS['setup_info']['expressoAdmin1_2']['currentver'] = '2.1.000'; 
     67                return $GLOBALS['setup_info']['expressoAdmin1_2']['currentver']; 
     68        } 
    6369 
    6470?> 
  • trunk/expressoMail1_2/setup/setup.inc.php

    r1402 r1728  
    1212        $setup_info['expressoMail1_2']['name']          = 'expressoMail1_2'; 
    1313        $setup_info['expressoMail1_2']['title']         = 'Expresso Mail'; 
    14         $setup_info['expressoMail1_2']['version']       = '2.0.000'; 
     14        $setup_info['expressoMail1_2']['version']       = '2.1.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('2.0') 
     39                'versions' => Array('2.1') 
    4040        ); 
    4141?> 
  • trunk/expressoMail1_2/setup/tables_update.inc.php

    r1323 r1728  
    9393                return $setup_info['expressoMail1_2']['currentver']; 
    9494        }                
     95        $test[] = '2.0.000'; 
     96        function expressoMail1_2_upgrade2_0_000() { 
     97                $setup_info['expressoMail1_2']['currentver'] = '2.1.000'; 
     98                return $setup_info['expressoMail1_2']['currentver']; 
     99        } 
    95100?> 
  • trunk/help/setup/setup.inc.php

    r1338 r1728  
    1313        $setup_info['help']['name']      = 'help'; 
    1414        $setup_info['help']['title']     = 'User Manual and Help Page'; 
    15         $setup_info['help']['version']   = '2.0.000'; 
     15        $setup_info['help']['version']   = '2.1.000'; 
    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.0') 
     28                 'versions' => Array('2.1') 
    2929        ); 
    3030?> 
  • trunk/jabberit_messenger/setup/setup.inc.php

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

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

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

    r1323 r1728  
    155155                return $GLOBALS['setup_info']['news_admin']['currentver']; 
    156156        } 
     157        $test[] = '2.0.000'; 
     158        function news_admin_upgrade2_0_000() 
     159        { 
     160                $GLOBALS['setup_info']['news_admin']['currentver'] = '2.1.000'; 
     161                return $GLOBALS['setup_info']['news_admin']['currentver']; 
     162        } 
    157163?> 
  • trunk/phpgwapi/setup/setup.inc.php

    r1337 r1728  
    1414        $setup_info['phpgwapi']['name']      = 'phpgwapi'; 
    1515        $setup_info['phpgwapi']['title']     = 'phpgwapi'; 
    16         $setup_info['phpgwapi']['version']   = '2.0.000'; 
     16        $setup_info['phpgwapi']['version']   = '2.1.000'; 
    1717        $setup_info['phpgwapi']['versions']['current_header'] = '2.0'; 
    1818        $setup_info['phpgwapi']['enable']    = 3; 
  • trunk/phpgwapi/setup/tables_update.inc.php

    r1323 r1728  
    16811681                return $GLOBALS['setup_info']['phpgwapi']['currentver']; 
    16821682        } 
     1683        $test[] = '2.0.001'; 
     1684        function phpgwapi_upgrade2_0_001() 
     1685        { 
     1686                $GLOBALS['setup_info']['phpgwapi']['currentver'] = '2.1.000'; 
     1687                return $GLOBALS['setup_info']['phpgwapi']['currentver']; 
     1688        } 
    16831689?> 
  • trunk/preferences/setup/setup.inc.php

    r1323 r1728  
    1313        $setup_info['preferences']['name']      = 'preferences'; 
    1414        $setup_info['preferences']['title']     = 'Preferences'; 
    15         $setup_info['preferences']['version']   = '2.0.000'; 
     15        $setup_info['preferences']['version']   = '2.1.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('2.0') 
     30                'versions' => Array('2.1') 
    3131        ); 
    3232?> 
  • trunk/workflow/setup/setup.inc.php

    r1324 r1728  
    1313        $setup_info['workflow']['name']                 = 'workflow'; 
    1414        $setup_info['workflow']['title']                = 'Workflow management'; 
    15         $setup_info['workflow']['version']              = '2.0.000'; 
     15        $setup_info['workflow']['version']              = '2.1.000'; 
    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.0.0','1.0.1','1.2', '2.0') 
     61                'versions' => Array('1.0.0','1.0.1','1.2', '2.1') 
    6262        ); 
    6363        $setup_info['workflow']['depends'][] = array( 
    6464                'appname' => 'preferences', 
    65                 'versions' => Array('1.0.0', '0.9.13.002', '2.0') 
     65                'versions' => Array('1.0.0', '0.9.13.002', '2.1') 
    6666        ); 
    6767?> 
  • trunk/workflow/setup/tables_update.inc.php

    r1328 r1728  
    11971197                return $GLOBALS['setup_info']['workflow']['currentver']; 
    11981198        } 
     1199        $test[] = '2.0.000'; 
     1200        function workflow_upgrade2_0_000() 
     1201        { 
     1202                #updating the current version 
     1203                $GLOBALS['setup_info']['workflow']['currentver'] = '2.1.000'; 
     1204                return $GLOBALS['setup_info']['workflow']['currentver']; 
     1205        } 
    11991206?> 
Note: See TracChangeset for help on using the changeset viewer.