phpgroupware-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-cvs] CVS: phpgwapi/setup setup.inc.php,1.37.2.6.2.8,1.37.


From: Ralf Becker <address@hidden>
Subject: [Phpgroupware-cvs] CVS: phpgwapi/setup setup.inc.php,1.37.2.6.2.8,1.37.2.6.2.9 tables_current.inc.php,1.32.2.6.2.8,1.32.2.6.2.9 tables_update.inc.php,1.53.2.9.2.11,1.53.2.9.2.12
Date: Sat, 05 Jul 2003 16:35:58 -0400

Update of /cvsroot/phpgroupware/phpgwapi/setup
In directory subversions:/tmp/cvs-serv10114/setup

Modified Files:
      Tag: Version-0_9_16-branch
        setup.inc.php tables_current.inc.php tables_update.inc.php 
Log Message:
update asyncservice to store user-info and create a "normal" phpgw environment 
(eg. preferences) for the job to run


Index: setup.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/phpgwapi/setup/setup.inc.php,v
retrieving revision 1.37.2.6.2.8
retrieving revision 1.37.2.6.2.9
diff -C2 -r1.37.2.6.2.8 -r1.37.2.6.2.9
*** setup.inc.php       18 Jun 2003 09:56:00 -0000      1.37.2.6.2.8
--- setup.inc.php       5 Jul 2003 20:35:56 -0000       1.37.2.6.2.9
***************
*** 16,20 ****
        $setup_info['phpgwapi']['name']      = 'phpgwapi';
        $setup_info['phpgwapi']['title']     = 'phpgwapi';
!       $setup_info['phpgwapi']['version']   = '0.9.14.507';
        $setup_info['phpgwapi']['versions']['current_header'] = '1.23';
        $setup_info['phpgwapi']['enable']    = 3;
--- 16,20 ----
        $setup_info['phpgwapi']['name']      = 'phpgwapi';
        $setup_info['phpgwapi']['title']     = 'phpgwapi';
!       $setup_info['phpgwapi']['version']   = '0.9.14.508';
        $setup_info['phpgwapi']['versions']['current_header'] = '1.23';
        $setup_info['phpgwapi']['enable']    = 3;
***************
*** 52,55 ****
--- 52,56 ----
        $setup_info['notifywindow']['tables']    = '';
        $setup_info['notifywindow']['hooks'][]   = 'home';
+ 
  
  

Index: tables_current.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/phpgwapi/setup/tables_current.inc.php,v
retrieving revision 1.32.2.6.2.8
retrieving revision 1.32.2.6.2.9
diff -C2 -r1.32.2.6.2.8 -r1.32.2.6.2.9
*** tables_current.inc.php      18 Jun 2003 09:56:00 -0000      1.32.2.6.2.8
--- tables_current.inc.php      5 Jul 2003 20:35:56 -0000       1.32.2.6.2.9
***************
*** 362,366 ****
                                'times' => array('type' => 
'varchar','precision' => '255','nullable' => False),
                                'method' => array('type' => 
'varchar','precision' => '80','nullable' => False),
!                               'data' => array('type' => 'text','nullable' => 
False)
                        ),
                        'pk' => array('id'),
--- 362,367 ----
                                'times' => array('type' => 
'varchar','precision' => '255','nullable' => False),
                                'method' => array('type' => 
'varchar','precision' => '80','nullable' => False),
!                               'data' => array('type' => 'text','nullable' => 
False),
!                               'account_id' => array('type' => 
'int','precision' => '4','nullable' => False,'default' => '0')
                        ),
                        'pk' => array('id'),

Index: tables_update.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/phpgwapi/setup/tables_update.inc.php,v
retrieving revision 1.53.2.9.2.11
retrieving revision 1.53.2.9.2.12
diff -C2 -r1.53.2.9.2.11 -r1.53.2.9.2.12
*** tables_update.inc.php       18 Jun 2003 09:56:00 -0000      1.53.2.9.2.11
--- tables_update.inc.php       5 Jul 2003 20:35:56 -0000       1.53.2.9.2.12
***************
*** 533,536 ****
--- 533,568 ----
        }
  
+       $test[] = '0.9.14.004';
+       function phpgwapi_upgrade0_9_14_004()
+       {
+               // 0.9.14.5xx are the development-versions of the 0.9.16 
release (based on the 0.9.14 api)
+               // as 0.9.15.xxx are already used in HEAD
+               
+               // this is the 0.9.15.003 update, needed for the new 
filemanager and vfs-classes in the api
+               
$GLOBALS['phpgw_setup']->oProc->AddColumn('phpgw_vfs','content', array ('type' 
=> 'text', 'nullable' => True));
+ 
+               // this is the 0.9.15.004 update, needed for the polish 
translations
+               $GLOBALS['phpgw_setup']->db->query("UPDATE languages set 
available='Yes' WHERE lang_id='pl'");
+               
+               $GLOBALS['setup_info']['phpgwapi']['currentver'] = '0.9.14.500';
+               return $GLOBALS['setup_info']['phpgwapi']['currentver'];
+       }
+ 
+       $test[] = '0.9.14.005';
+       function phpgwapi_upgrade0_9_14_005()
+       {
+               // 0.9.14.5xx are the development-versions of the 0.9.16 
release (based on the 0.9.14 api)
+               // as 0.9.15.xxx are already used in HEAD
+               
+               // this is the 0.9.15.003 update, needed for the new 
filemanager and vfs-classes in the api
+               
$GLOBALS['phpgw_setup']->oProc->AddColumn('phpgw_vfs','content', array ('type' 
=> 'text', 'nullable' => True));
+ 
+               // this is the 0.9.15.004 update, needed for the polish 
translations
+               $GLOBALS['phpgw_setup']->db->query("UPDATE languages set 
available='Yes' WHERE lang_id='pl'");
+               
+               $GLOBALS['setup_info']['phpgwapi']['currentver'] = '0.9.14.500';
+               return $GLOBALS['setup_info']['phpgwapi']['currentver'];
+       }
+ 
        $test[] = '0.9.14.500';
        function phpgwapi_upgrade0_9_14_500()
***************
*** 678,681 ****
--- 710,729 ----
  
                $GLOBALS['setup_info']['phpgwapi']['currentver'] = '0.9.14.507';
+               return $GLOBALS['setup_info']['phpgwapi']['currentver'];
+       }
+ 
+ 
+       $test[] = '0.9.14.507';
+       function phpgwapi_upgrade0_9_14_507()
+       {
+               
$GLOBALS['phpgw_setup']->oProc->AddColumn('phpgw_async','account_id',array(
+                       'type' => 'int',
+                       'precision' => '4',
+                       'nullable' => False,
+                       'default' => '0'
+               ));
+ 
+ 
+               $GLOBALS['setup_info']['phpgwapi']['currentver'] = '0.9.14.508';
                return $GLOBALS['setup_info']['phpgwapi']['currentver'];
        }





reply via email to

[Prev in Thread] Current Thread [Next in Thread]