Changeset 7223


Ignore:
Timestamp:
09/14/12 16:44:16 (7 years ago)
Author:
acoutinho
Message:

Ticket #3102 - Atualizar versionamento do Expresso e dos modulos para a versao 2.4.2

Location:
trunk
Files:
26 edited

Legend:

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

    r6725 r7223  
    1313        $setup_info['admin']['name']      = 'admin'; 
    1414        $setup_info['admin']['title']      = 'Admin'; 
    15         $setup_info['admin']['version']   = '2.4.1'; 
     15        $setup_info['admin']['version']   = '2.4.2'; 
    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.4.1') 
     50                'versions' => Array('2.4.2') 
    5151        ); 
    5252?> 
  • trunk/calendar/setup/setup.inc.php

    r6725 r7223  
    1212 
    1313        $setup_info['calendar']['name']    = 'calendar'; 
    14         $setup_info['calendar']['version'] = '2.4.1'; 
     14        $setup_info['calendar']['version'] = '2.4.2'; 
    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.4.1') 
     54                 'versions' => Array('2.4.2') 
    5555        ); 
  • trunk/calendar/setup/tables_update.inc.php

    r6725 r7223  
    141141                return $GLOBALS['setup_info']['calendar']['currentver']; 
    142142        } 
     143 
     144    $test[] = '2.4.1'; 
     145    function calendar_upgrade2_4_1() 
     146    { 
     147        $GLOBALS['setup_info']['calendar']['currentver'] = '2.4.2'; 
     148        return $GLOBALS['setup_info']['calendar']['currentver']; 
     149    } 
    143150?> 
  • trunk/contactcenter/setup/setup.inc.php

    r6255 r7223  
    1717        $setup_info['contactcenter']['name']      = 'contactcenter'; 
    1818        $setup_info['contactcenter']['title']     = 'ContactCenter'; 
    19         $setup_info['contactcenter']['version']   = '2.4.1'; 
     19        $setup_info['contactcenter']['version']   = '2.4.2'; 
    2020        $setup_info['contactcenter']['app_order'] = 4; 
    2121        $setup_info['contactcenter']['enable']    = 1; 
     
    7777        $setup_info['contactcenter']['depends'][] = array( 
    7878                'appname' => 'phpgwapi', 
    79                 'versions' => Array('2.4') 
     79                'versions' => Array('2.4.2') 
    8080        ); 
    8181?> 
  • trunk/contactcenter/setup/tables_update.inc.php

    r6255 r7223  
    9393                return $GLOBALS['setup_info']['contactcenter']['currentver']; 
    9494        } 
     95 
     96    $test[] = '2.4.1'; 
     97    function contactcenter_upgrade2_4_1() { 
     98        $GLOBALS['setup_info']['contactcenter']['currentver'] = '2.4.2'; 
     99        return $GLOBALS['setup_info']['contactcenter']['currentver']; 
     100    } 
    95101?> 
  • trunk/emailadmin/setup/setup.inc.php

    r6725 r7223  
    1414        $setup_info['emailadmin']['name']      = 'emailadmin'; 
    1515        $setup_info['emailadmin']['title']     = 'EMailAdmin'; 
    16         $setup_info['emailadmin']['version']   = '2.4.1'; 
     16        $setup_info['emailadmin']['version']   = '2.4.2'; 
    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.4.1') 
     42                'versions' => Array('2.4.2') 
    4343        ); 
    4444 
  • trunk/emailadmin/setup/tables_update.inc.php

    r6725 r7223  
    135135      return $GLOBALS['setup_info']['emailadmin']['currentver']; 
    136136   } 
     137 
     138    $test[] = '2.4.1'; 
     139   function emailadmin_upgrade2_4_1() 
     140        { 
     141      $GLOBALS['setup_info']['emailadmin']['currentver'] = '2.4.2'; 
     142      return $GLOBALS['setup_info']['emailadmin']['currentver']; 
     143   } 
    137144?> 
  • trunk/expressoAdmin1_2/inc/class.user.inc.php

    r6553 r7223  
    7979                         
    8080                                // Cria array para incluir no LDAP 
    81                                 $dn = 'uid=' . $params['uid'] . ',' . $params['context'];                
    82                          
    83                                 $user_info = array(); 
     81                                $dn = 'uid=' . $params['uid'] . ',' . $params['context']; 
     82 
     83                ob_start(); 
     84                print_r($params); 
     85                $output = ob_get_clean(); 
     86                file_put_contents( "/tmp/acoutinho.log",  $output , FILE_APPEND); 
     87 
     88 
     89                $user_info = array(); 
    8490                                $user_info['accountStatus']                     = $params['accountstatus'] == 1 ? 'active' : 'desactive'; 
    8591                                $user_info['cn']                                                = $params['givenname'] . ' ' . $params['sn']; 
  • trunk/expressoAdmin1_2/setup/setup.inc.php

    r6725 r7223  
    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.4.1'; 
     15        $setup_info['expressoAdmin1_2']['version']      = '2.4.2'; 
    1616        $setup_info['expressoAdmin1_2']['app_order']    = 1; 
    1717        $setup_info['expressoAdmin1_2']['tables'][]             = 'phpgw_expressoadmin'; 
     
    3737        $setup_info['expressoAdmin1_2']['depends'][] = array( 
    3838                'appname' => 'phpgwapi', 
    39                 'versions' => Array('2.4.1') 
     39                'versions' => Array('2.4.2') 
    4040        ); 
    4141?> 
  • trunk/expressoAdmin1_2/setup/tables_update.inc.php

    r6725 r7223  
    330330                $GLOBALS['setup_info']['expressoAdmin1_2']['currentver'] = '2.4.1'; 
    331331                return $GLOBALS['setup_info']['expressoAdmin1_2']['currentver']; 
    332         }         
     332        } 
     333 
     334    $test[] = '2.4.1'; 
     335        function expressoAdmin1_2_upgrade2_4_1() 
     336        { 
     337                $GLOBALS['setup_info']['expressoAdmin1_2']['currentver'] = '2.4.2'; 
     338                return $GLOBALS['setup_info']['expressoAdmin1_2']['currentver']; 
     339        } 
    333340?> 
  • trunk/expressoMail1_2/setup/setup.inc.php

    r6996 r7223  
    1313$setup_info['expressoMail1_2']['name'] = 'expressoMail1_2'; 
    1414$setup_info['expressoMail1_2']['title'] = 'Expresso Mail'; 
    15 $setup_info['expressoMail1_2']['version'] = '2.4.8.1'; 
     15$setup_info['expressoMail1_2']['version'] = '2.4.8.2'; 
    1616$setup_info['expressoMail1_2']['app_order'] = 2; 
    1717$setup_info['expressoMail1_2']['tables'][] = 'phpgw_certificados'; 
     
    4646$setup_info['expressoMail1_2']['depends'][] = array( 
    4747    'appname' => 'phpgwapi', 
    48     'versions' => Array('2.4') 
     48    'versions' => Array('2.4.2') 
    4949); 
    5050 
  • trunk/expressoMail1_2/setup/tables_update.inc.php

    r6996 r7223  
    322322            return $GLOBALS['setup_info']['expressoMail1_2']['currentver']; 
    323323        } 
     324 
     325    $test[] = '2.4.8.1'; 
     326    function expressoMail1_2_upgrade2_4_8_1() { 
     327        $GLOBALS['setup_info']['expressoMail1_2']['currentver'] = '2.4.8.2'; 
     328        return $GLOBALS['setup_info']['expressoMail1_2']['currentver']; 
     329    } 
     330 
    324331?> 
  • trunk/filemanager/setup/setup.inc.php

    r6725 r7223  
    1414        $setup_info['filemanager']['name']    = 'filemanager'; 
    1515        $setup_info['filemanager']['title']   = 'Filemanager'; 
    16         $setup_info['filemanager']['version'] = '2.4.1'; 
     16        $setup_info['filemanager']['version'] = '2.4.2'; 
    1717        $setup_info['filemanager']['app_order'] = 6; 
    1818        $setup_info['filemanager']['enable']  = 1; 
     
    4848        ( 
    4949                 'appname' => 'phpgwapi', 
    50                  'versions' => array('2.4.1') 
     50                 'versions' => array('2.4.2') 
    5151        ); 
    5252?> 
  • trunk/help/setup/setup.inc.php

    r6725 r7223  
    1313        $setup_info['help']['name']      = 'help'; 
    1414        $setup_info['help']['title']     = 'User Manual and Help Page'; 
    15         $setup_info['help']['version']   = '2.4.1'; 
     15        $setup_info['help']['version']   = '2.4.2'; 
    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.4.1') 
     28                 'versions' => Array('2.4.2') 
    2929        ); 
    3030?> 
  • trunk/jabberit_messenger/setup/setup.inc.php

    r6725 r7223  
    88        $setup_info['jabberit_messenger']['name']       = 'jabberit_messenger'; 
    99        $setup_info['jabberit_messenger']['title']      = 'Expresso Messenger'; 
    10         $setup_info['jabberit_messenger']['version']    = '2.4.1'; 
     10        $setup_info['jabberit_messenger']['version']    = '2.4.2'; 
    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.4.1') 
     29                'versions' => Array('2.4.2') 
    3030        ); 
    3131?> 
  • trunk/listAdmin/setup/setup.inc.php

    r6725 r7223  
    99        $setup_info['listAdmin']['name'] = 'listAdmin'; 
    1010        $setup_info['listAdmin']['title'] = 'Mailman Admin'; 
    11         $setup_info['listAdmin']['version'] = '2.4.1'; 
     11        $setup_info['listAdmin']['version'] = '2.4.2'; 
    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','2.4', '2.4.1') 
     32                'versions' => Array('2.0','2.1','2.2','2.4', '2.4.2') 
    3333        ); 
    3434?> 
  • trunk/mobile/setup/setup.inc.php

    r6725 r7223  
    1414        $setup_info['mobile']['name']      = 'mobile'; 
    1515        $setup_info['mobile']['title']     = 'Expresso Mini'; 
    16         $setup_info['mobile']['version']   = '2.4.1'; 
     16        $setup_info['mobile']['version']   = '2.4.2'; 
    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.4.1') 
     41                'versions' => Array('2.4.2') 
    4242        ); 
    4343?> 
  • trunk/news_admin/setup/setup.inc.php

    r6725 r7223  
    1414        $setup_info['news_admin']['name']      = 'news_admin'; 
    1515        $setup_info['news_admin']['title']     = 'News Admin'; 
    16         $setup_info['news_admin']['version']   = '2.4.1'; 
     16        $setup_info['news_admin']['version']   = '2.4.2'; 
    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.4.1') 
     33                 'versions' => Array('2.4.2') 
    3434        ); 
    3535 
  • trunk/news_admin/setup/tables_update.inc.php

    r6725 r7223  
    7979                return $GLOBALS['setup_info']['news_admin']['currentver']; 
    8080        } 
     81 
     82    $test[] = '2.4.1'; 
     83    function news_admin_upgrade2_4_1() 
     84    { 
     85        $GLOBALS['setup_info']['news_admin']['currentver'] = '2.4.2'; 
     86        return $GLOBALS['setup_info']['news_admin']['currentver']; 
     87    } 
    8188?> 
  • trunk/phpgwapi/setup/setup.inc.php

    r6725 r7223  
    1414        $setup_info['phpgwapi']['name']      = 'phpgwapi'; 
    1515        $setup_info['phpgwapi']['title']     = 'API'; 
    16         $setup_info['phpgwapi']['version']   = '2.4.1'; 
    17         $setup_info['phpgwapi']['versions']['current_header'] = '2.4.1'; 
     16        $setup_info['phpgwapi']['version']   = '2.4.2'; 
     17        $setup_info['phpgwapi']['versions']['current_header'] = '2.4.2'; 
    1818        $setup_info['phpgwapi']['enable']    = 3; 
    1919        $setup_info['phpgwapi']['app_order'] = 1; 
  • trunk/phpgwapi/setup/tables_update.inc.php

    r6725 r7223  
    169169                return $GLOBALS['setup_info']['phpgwapi']['currentver']; 
    170170        } 
     171 
     172    $test[] = '2.4.1'; 
     173        function phpgwapi_upgrade2_4_1() 
     174        { 
     175                $GLOBALS['setup_info']['phpgwapi']['currentver'] = '2.4.2'; 
     176                return $GLOBALS['setup_info']['phpgwapi']['currentver']; 
     177        } 
    171178?> 
  • trunk/preferences/setup/setup.inc.php

    r6725 r7223  
    1313        $setup_info['preferences']['name']      = 'preferences'; 
    1414        $setup_info['preferences']['title']     = 'Preferences'; 
    15         $setup_info['preferences']['version']   = '2.4.1'; 
     15        $setup_info['preferences']['version']   = '2.4.2'; 
    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.4.1') 
     30                'versions' => Array('2.4.2') 
    3131        ); 
    3232?> 
  • trunk/reports/setup/setup.inc.php

    r6725 r7223  
    1313        $setup_info['reports']['title']         = 'Expresso Reports'; 
    1414        /* Ao incrementar versão, não esquecer de declarar função do tables_update.inc.php*/ 
    15         $setup_info['reports']['version']       = '2.4.1'; 
     15        $setup_info['reports']['version']       = '2.4.2'; 
    1616        $setup_info['reports']['app_order']     = 17; 
    1717        $setup_info['reports']['tables']    = ''; 
     
    4141        $setup_info['reports']['depends'][] = array( 
    4242                'appname' => 'phpgwapi', 
    43                 'versions' => Array('2.4.1') 
     43                'versions' => Array('2.4.2') 
    4444        ); 
    4545?> 
  • trunk/workflow/setup/setup.inc.php

    r6537 r7223  
    1313        $setup_info['workflow']['name']                 = 'workflow'; 
    1414        $setup_info['workflow']['title']                = 'Workflow Management'; 
    15         $setup_info['workflow']['version']              = '2.4.1'; 
     15        $setup_info['workflow']['version']              = '2.4.2'; 
    1616        $setup_info['workflow']['app_order']    = 10; 
    1717        $setup_info['workflow']['enable']               = 1; 
     
    6363        $setup_info['workflow']['depends'][] = array( 
    6464                'appname' => 'preferences', 
    65                 'versions' => Array('0.9.13.002', '2.0', '2.2', '2.4') 
     65                'versions' => Array('0.9.13.002', '2.0', '2.2', '2.4.2') 
    6666        ); 
    6767?> 
  • trunk/workflow/setup/tables_update.inc.php

    r7009 r7223  
    353353                return $GLOBALS['setup_info']['workflow']['currentver']; 
    354354        } 
     355 
     356    $test[] = '2.4.1'; 
     357    function workflow_upgrade2_4_1() 
     358    { 
     359        $GLOBALS['setup_info']['workflow']['currentver'] = '2.4.2'; 
     360        return $GLOBALS['setup_info']['workflow']['currentver']; 
     361    } 
     362 
    355363?> 
Note: See TracChangeset for help on using the changeset viewer.