mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-25 01:13:25 +01:00
updated application versions 1.4 and dependencies accordingly (API is still 1.3.xxx 'til the first RC)
This commit is contained in:
parent
eb73971453
commit
14fc433fcf
@ -10,7 +10,7 @@
|
||||
/* Basic information about this app */
|
||||
$setup_info['addressbook']['name'] = 'addressbook';
|
||||
$setup_info['addressbook']['title'] = 'Addressbook';
|
||||
$setup_info['addressbook']['version'] = '1.3.002';
|
||||
$setup_info['addressbook']['version'] = '1.4';
|
||||
$setup_info['addressbook']['app_order'] = 4;
|
||||
$setup_info['addressbook']['enable'] = 1;
|
||||
|
||||
@ -44,11 +44,11 @@ $setup_info['addressbook']['hooks'][] = 'config';
|
||||
/* Dependencies for this app to work */
|
||||
$setup_info['addressbook']['depends'][] = array(
|
||||
'appname' => 'phpgwapi',
|
||||
'versions' => Array('1.3','1.4')
|
||||
'versions' => Array('1.3','1.4','1.5')
|
||||
);
|
||||
$setup_info['addressbook']['depends'][] = array(
|
||||
'appname' => 'etemplate',
|
||||
'versions' => Array('1.2','1.3','1.4')
|
||||
'versions' => Array('1.3','1.4','1.5')
|
||||
);
|
||||
|
||||
// installation checks for addresbook
|
||||
|
@ -12,7 +12,7 @@
|
||||
/* $Id$ */
|
||||
|
||||
$setup_info['admin']['name'] = 'admin';
|
||||
$setup_info['admin']['version'] = '1.2';
|
||||
$setup_info['admin']['version'] = '1.4';
|
||||
$setup_info['admin']['app_order'] = 1;
|
||||
$setup_info['admin']['tables'] = '';
|
||||
$setup_info['admin']['enable'] = 1;
|
||||
@ -49,6 +49,10 @@
|
||||
/* Dependencies for this app to work */
|
||||
$setup_info['admin']['depends'][] = array(
|
||||
'appname' => 'phpgwapi',
|
||||
'versions' => Array('1.0.0','1.0.1','1.2','1.3')
|
||||
'versions' => Array('1.3','1.4','1.5')
|
||||
);
|
||||
$setup_info['admin']['depends'][] = array(
|
||||
'appname' => 'etemplate',
|
||||
'versions' => Array('1.3','1.4','1.5')
|
||||
);
|
||||
?>
|
||||
|
@ -12,7 +12,7 @@
|
||||
/* $Id$ */
|
||||
|
||||
$setup_info['calendar']['name'] = 'calendar';
|
||||
$setup_info['calendar']['version'] = '1.3.001';
|
||||
$setup_info['calendar']['version'] = '1.4';
|
||||
$setup_info['calendar']['app_order'] = 3;
|
||||
$setup_info['calendar']['enable'] = 1;
|
||||
|
||||
@ -46,11 +46,11 @@
|
||||
/* Dependencies for this app to work */
|
||||
$setup_info['calendar']['depends'][] = array(
|
||||
'appname' => 'phpgwapi',
|
||||
'versions' => Array('1.0.0','1.0.1','1.2','1.3')
|
||||
'versions' => Array('1.3','1.4','1.5')
|
||||
);
|
||||
$setup_info['calendar']['depends'][] = array(
|
||||
'appname' => 'etemplate',
|
||||
'versions' => Array('1.0.0','1.0.1','1.2','1.3')
|
||||
'versions' => Array('1.3','1.4','1.5')
|
||||
);
|
||||
|
||||
// installation checks for calendar
|
||||
|
@ -1520,4 +1520,10 @@
|
||||
|
||||
return $GLOBALS['setup_info']['calendar']['currentver'] = '1.3.001';
|
||||
}
|
||||
|
||||
$test[] = '1.3.001';
|
||||
function calendar_upgrade1_3_001()
|
||||
{
|
||||
return $GLOBALS['setup_info']['calendar']['currentver'] = '1.4';
|
||||
}
|
||||
?>
|
||||
|
@ -14,7 +14,7 @@
|
||||
|
||||
$setup_info['et_media']['name'] = 'et_media';
|
||||
$setup_info['et_media']['title'] = 'eT-Media';
|
||||
$setup_info['et_media']['version'] = '1.2';
|
||||
$setup_info['et_media']['version'] = '1.4';
|
||||
$setup_info['et_media']['app_order'] = 100; // at the end
|
||||
$setup_info['et_media']['tables'] = array('egw_et_media');
|
||||
$setup_info['et_media']['enable'] = 1;
|
||||
@ -34,9 +34,9 @@
|
||||
/* Dependencies for this app to work */
|
||||
$setup_info['et_media']['depends'][] = array(
|
||||
'appname' => 'phpgwapi',
|
||||
'versions' => Array('1.2','1.3','1.4')
|
||||
'versions' => Array('1.2','1.3','1.4','1.5')
|
||||
);
|
||||
$setup_info['et_media']['depends'][] = array(
|
||||
'appname' => 'etemplate',
|
||||
'versions' => Array('1.2','1.3','1.4')
|
||||
'versions' => Array('1.2','1.3','1.4','1.5')
|
||||
);
|
||||
|
@ -13,7 +13,7 @@
|
||||
/* $Id$ */
|
||||
|
||||
$setup_info['etemplate']['name'] = 'etemplate';
|
||||
$setup_info['etemplate']['version'] = '1.2';
|
||||
$setup_info['etemplate']['version'] = '1.4';
|
||||
$setup_info['etemplate']['app_order'] = 60; // just behind the developers-tools
|
||||
$setup_info['etemplate']['tables'] = array('egw_etemplate');
|
||||
$setup_info['etemplate']['enable'] = 1;
|
||||
@ -39,6 +39,6 @@
|
||||
/* Dependencies for this app to work */
|
||||
$setup_info['etemplate']['depends'][] = array(
|
||||
'appname' => 'phpgwapi',
|
||||
'versions' => Array('1.0.0','1.0.1','1.2','1.3')
|
||||
'versions' => Array('1.3','1.4','1.5')
|
||||
);
|
||||
?>
|
||||
|
||||
|
@ -92,4 +92,18 @@
|
||||
$GLOBALS['setup_info']['etemplate']['currentver'] = '1.2';
|
||||
return $GLOBALS['setup_info']['etemplate']['currentver'];
|
||||
}
|
||||
|
||||
|
||||
$test[] = '1.2';
|
||||
function etemplate_upgrade1_2()
|
||||
{
|
||||
$GLOBALS['egw_setup']->oProc->AlterColumn('egw_etemplate','et_modified',array(
|
||||
'type' => 'int',
|
||||
'precision' => '8',
|
||||
'nullable' => False,
|
||||
'default' => '0'
|
||||
));
|
||||
|
||||
return $GLOBALS['setup_info']['etemplate']['currentver'] = '1.4';
|
||||
}
|
||||
?>
|
||||
|
@ -13,7 +13,7 @@
|
||||
|
||||
$setup_info['filemanager']['name'] = 'filemanager';
|
||||
$setup_info['filemanager']['title'] = 'Filemanager';
|
||||
$setup_info['filemanager']['version'] = '1.2';
|
||||
$setup_info['filemanager']['version'] = '1.4';
|
||||
$setup_info['filemanager']['app_order'] = 6;
|
||||
$setup_info['filemanager']['enable'] = 1;
|
||||
|
||||
@ -28,7 +28,7 @@
|
||||
/* Dependencies for this app to work */
|
||||
$setup_info['filemanager']['depends'][] = array(
|
||||
'appname' => 'phpgwapi',
|
||||
'versions' => array('1.3')
|
||||
'versions' => array('1.3','1.4','1.5')
|
||||
);
|
||||
|
||||
// installation checks for filemanager
|
||||
|
@ -14,7 +14,7 @@
|
||||
/* Basic information about this app */
|
||||
$setup_info['home']['name'] = 'home';
|
||||
$setup_info['home']['title'] = 'Home';
|
||||
$setup_info['home']['version'] = '1.2';
|
||||
$setup_info['home']['version'] = '1.4';
|
||||
$setup_info['home']['app_order'] = 1;
|
||||
$setup_info['home']['enable'] = 1;
|
||||
|
||||
|
@ -9,7 +9,7 @@
|
||||
*/
|
||||
|
||||
$setup_info['importexport']['name'] = 'importexport';
|
||||
$setup_info['importexport']['version'] = '0.003';
|
||||
$setup_info['importexport']['version'] = '1.4';
|
||||
$setup_info['importexport']['app_order'] = 2;
|
||||
$setup_info['importexport']['enable'] = 2;
|
||||
$setup_info['importexport']['tables'] = array('egw_importexport_definitions');
|
||||
@ -35,11 +35,11 @@
|
||||
/* Dependencies for this app to work */
|
||||
$setup_info['importexport']['depends'][] = array(
|
||||
'appname' => 'phpgwapi',
|
||||
'versions' => Array('1.2','1.3')
|
||||
'versions' => Array('1.3','1.4','1.5')
|
||||
);
|
||||
$setup_info['importexport']['depends'][] = array(
|
||||
'appname' => 'etemplate',
|
||||
'versions' => Array('1.2','1.3')
|
||||
'versions' => Array('1.3','1.4','1.5')
|
||||
);
|
||||
|
||||
|
||||
|
@ -26,7 +26,6 @@
|
||||
$test[] = '0.003';
|
||||
function importexport_upgrade0_003()
|
||||
{
|
||||
|
||||
return $GLOBALS['setup_info']['importexport']['currentver'] = '0.003';
|
||||
return $GLOBALS['setup_info']['importexport']['currentver'] = '1.4';
|
||||
}
|
||||
?>
|
||||
|
@ -12,7 +12,7 @@
|
||||
/* $Id$ */
|
||||
|
||||
$setup_info['infolog']['name'] = 'infolog';
|
||||
$setup_info['infolog']['version'] = '1.3.001';
|
||||
$setup_info['infolog']['version'] = '1.4';
|
||||
$setup_info['infolog']['app_order'] = 5;
|
||||
$setup_info['infolog']['tables'] = array('egw_infolog','egw_infolog_extra');
|
||||
$setup_info['infolog']['enable'] = 1;
|
||||
@ -65,11 +65,11 @@
|
||||
/* Dependencies for this app to work */
|
||||
$setup_info['infolog']['depends'][] = array(
|
||||
'appname' => 'phpgwapi',
|
||||
'versions' => Array('1.0.1','1.2','1.3')
|
||||
'versions' => Array('1.3','1.4','1.5')
|
||||
);
|
||||
$setup_info['infolog']['depends'][] = array(
|
||||
'appname' => 'etemplate',
|
||||
'versions' => Array('1.0.0','1.0.1','1.2','1.3')
|
||||
'versions' => Array('1.3','1.4','1.5')
|
||||
);
|
||||
|
||||
|
||||
|
@ -568,3 +568,9 @@
|
||||
|
||||
return $GLOBALS['setup_info']['infolog']['currentver'] = '1.3.001';
|
||||
}
|
||||
|
||||
$test[] = '1.3.001';
|
||||
function infolog_upgrade1_3_001()
|
||||
{
|
||||
return $GLOBALS['setup_info']['infolog']['currentver'] = '1.4';
|
||||
}
|
||||
|
@ -15,7 +15,7 @@ if (!defined('NOTIFICATION_APP'))
|
||||
}
|
||||
|
||||
$setup_info[NOTIFICATION_APP]['name'] = NOTIFICATION_APP;
|
||||
$setup_info[NOTIFICATION_APP]['version'] = '0.6';
|
||||
$setup_info[NOTIFICATION_APP]['version'] = '1.4';
|
||||
$setup_info[NOTIFICATION_APP]['app_order'] = 1;
|
||||
$setup_info[NOTIFICATION_APP]['tables'] = array('egw_notificationpopup');
|
||||
$setup_info[NOTIFICATION_APP]['enable'] = 2;
|
||||
@ -40,10 +40,10 @@ $setup_info[NOTIFICATION_APP]['hooks'][] = 'preferences';
|
||||
/* Dependencies for this app to work */
|
||||
$setup_info[NOTIFICATION_APP]['depends'][] = array(
|
||||
'appname' => 'phpgwapi',
|
||||
'versions' => Array('1.2','1.3')
|
||||
'versions' => Array('1.3','1.4','1.5')
|
||||
);
|
||||
$setup_info[NOTIFICATION_APP]['depends'][] = array(
|
||||
'appname' => 'etemplate',
|
||||
'versions' => Array('1.2','1.3')
|
||||
'versions' => Array('1.3','1.4','1.5')
|
||||
);
|
||||
|
||||
|
@ -22,4 +22,11 @@
|
||||
|
||||
return $GLOBALS['setup_info']['notifications']['currentver'] = '0.6';
|
||||
}
|
||||
|
||||
|
||||
$test[] = '0.6';
|
||||
function notifications_upgrade0_6()
|
||||
{
|
||||
return $GLOBALS['setup_info']['notifications']['currentver'] = '1.4';
|
||||
}
|
||||
?>
|
||||
|
@ -54,6 +54,14 @@
|
||||
$setup_info['phpgwapi']['tables'][] = 'egw_addressbook_lists';
|
||||
$setup_info['phpgwapi']['tables'][] = 'egw_addressbook2list';
|
||||
|
||||
// hooks used by vfs_home to manage user- and group-directories
|
||||
$setup_info['phpgwapi']['hooks']['addaccount'] = 'phpgwapi.vfs_home.addAccount';
|
||||
$setup_info['phpgwapi']['hooks']['deleteaccount'] = 'phpgwapi.vfs_home.deleteAccount';
|
||||
$setup_info['phpgwapi']['hooks']['editaccount'] = 'phpgwapi.vfs_home.editAccount';
|
||||
$setup_info['phpgwapi']['hooks']['addgroup'] = 'phpgwapi.vfs_home.addGroup';
|
||||
$setup_info['phpgwapi']['hooks']['deletegroup'] = 'phpgwapi.vfs_home.deleteGroup';
|
||||
$setup_info['phpgwapi']['hooks']['editgroup'] = 'phpgwapi.vfs_home.editGroup';
|
||||
|
||||
/* Basic information about this app */
|
||||
$setup_info['notifywindow']['name'] = 'notifywindow';
|
||||
$setup_info['notifywindow']['title'] = 'Notify Window';
|
||||
|
@ -13,7 +13,7 @@
|
||||
|
||||
$setup_info['preferences']['name'] = 'preferences';
|
||||
$setup_info['preferences']['title'] = 'Preferences';
|
||||
$setup_info['preferences']['version'] = '1.2';
|
||||
$setup_info['preferences']['version'] = '1.4';
|
||||
$setup_info['preferences']['app_order'] = 1;
|
||||
$setup_info['preferences']['tables'] = '';
|
||||
$setup_info['preferences']['enable'] = 2;
|
||||
@ -28,6 +28,6 @@
|
||||
/* Dependencies for this app to work */
|
||||
$setup_info['preferences']['depends'][] = array(
|
||||
'appname' => 'phpgwapi',
|
||||
'versions' => Array('1.0.0','1.0.1','1.2','1.3')
|
||||
'versions' => Array('1.2','1.3','1.4','1.5')
|
||||
);
|
||||
?>
|
||||
|
@ -13,7 +13,7 @@
|
||||
|
||||
$setup_info['resources']['name'] = 'resources';
|
||||
$setup_info['resources']['title'] = 'Resources';
|
||||
$setup_info['resources']['version'] = '1.2';
|
||||
$setup_info['resources']['version'] = '1.4';
|
||||
$setup_info['resources']['app_order'] = 5;
|
||||
$setup_info['resources']['tables'] = array('egw_resources','egw_resources_extra');
|
||||
$setup_info['resources']['enable'] = 1;
|
||||
@ -37,13 +37,13 @@
|
||||
|
||||
$setup_info['resources']['depends'][] = array(
|
||||
'appname' => 'phpgwapi',
|
||||
'versions' => Array('1.0.1','1.2','1.3')
|
||||
'versions' => Array('1.3','1.4','1.5')
|
||||
);
|
||||
$setup_info['resources']['depends'][] = array( // cause eTemplates is not in the api yet
|
||||
'appname' => 'etemplate',
|
||||
'versions' => Array('1.0.1','1.2','1.3')
|
||||
'versions' => Array('1.3','1.4','1.5')
|
||||
);
|
||||
$setup_info['resources']['depends'][] = array( // cause of vfs psuedoprotocol is not fully in the api yet
|
||||
'appname' => 'filemanager',
|
||||
'versions' => Array('1.0.0','1.0.1','1.2')
|
||||
'versions' => Array('1.3','1.4','1.5')
|
||||
);
|
||||
|
@ -286,4 +286,10 @@
|
||||
{
|
||||
return $GLOBALS['setup_info']['resources']['currentver'] = '1.2';
|
||||
}
|
||||
|
||||
$test[] = '1.2';
|
||||
function resources_upgrade1_2()
|
||||
{
|
||||
return $GLOBALS['setup_info']['resources']['currentver'] = '1.4';
|
||||
}
|
||||
?>
|
||||
|
@ -17,7 +17,7 @@ if (!defined('TIMESHEET_APP'))
|
||||
}
|
||||
|
||||
$setup_info[TIMESHEET_APP]['name'] = TIMESHEET_APP;
|
||||
$setup_info[TIMESHEET_APP]['version'] = '0.2.002';
|
||||
$setup_info[TIMESHEET_APP]['version'] = '1.4';
|
||||
$setup_info[TIMESHEET_APP]['app_order'] = 5;
|
||||
$setup_info[TIMESHEET_APP]['tables'] = array('egw_timesheet', 'egw_timesheet_extra');
|
||||
$setup_info[TIMESHEET_APP]['enable'] = 1;
|
||||
@ -47,10 +47,10 @@ $setup_info[TIMESHEET_APP]['hooks']['pm_cumulate'] = TIMESHEET_APP.'.botimesheet
|
||||
/* Dependencies for this app to work */
|
||||
$setup_info[TIMESHEET_APP]['depends'][] = array(
|
||||
'appname' => 'phpgwapi',
|
||||
'versions' => Array('1.2','1.3')
|
||||
'versions' => Array('1.3','1.4','1.5')
|
||||
);
|
||||
$setup_info[TIMESHEET_APP]['depends'][] = array(
|
||||
'appname' => 'etemplate',
|
||||
'versions' => Array('1.2','1.3')
|
||||
'versions' => Array('1.3','1.4','1.5')
|
||||
);
|
||||
|
||||
|
@ -38,7 +38,11 @@
|
||||
'uc' => array()
|
||||
));
|
||||
|
||||
|
||||
$GLOBALS['setup_info']['timesheet']['currentver'] = '0.2.002';
|
||||
return $GLOBALS['setup_info']['timesheet']['currentver'];
|
||||
return $GLOBALS['setup_info']['timesheet']['currentver'] = '0.2.002';
|
||||
}
|
||||
|
||||
$test[] = '0.2.002';
|
||||
function timesheet_upgrade0_2_002()
|
||||
{
|
||||
return $GLOBALS['setup_info']['timesheet']['currentver'] = '1.4';
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user