mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-28 19:03:14 +01:00
updating verson to 1.8
This commit is contained in:
parent
49471c5e2b
commit
50c43deec9
@ -1,6 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* Addressbook - setup config
|
* EGroupware - Addressbook
|
||||||
*
|
*
|
||||||
* @package addressbook
|
* @package addressbook
|
||||||
* @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License
|
* @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License
|
||||||
@ -10,7 +10,7 @@
|
|||||||
/* Basic information about this app */
|
/* Basic information about this app */
|
||||||
$setup_info['addressbook']['name'] = 'addressbook';
|
$setup_info['addressbook']['name'] = 'addressbook';
|
||||||
$setup_info['addressbook']['title'] = 'Addressbook';
|
$setup_info['addressbook']['title'] = 'Addressbook';
|
||||||
$setup_info['addressbook']['version'] = '1.6';
|
$setup_info['addressbook']['version'] = '1.8';
|
||||||
$setup_info['addressbook']['app_order'] = 4;
|
$setup_info['addressbook']['app_order'] = 4;
|
||||||
$setup_info['addressbook']['enable'] = 1;
|
$setup_info['addressbook']['enable'] = 1;
|
||||||
|
|
||||||
@ -48,11 +48,11 @@ $setup_info['addressbook']['hooks']['not_enum_group_acls'] = 'addressbook_hooks:
|
|||||||
/* Dependencies for this app to work */
|
/* Dependencies for this app to work */
|
||||||
$setup_info['addressbook']['depends'][] = array(
|
$setup_info['addressbook']['depends'][] = array(
|
||||||
'appname' => 'phpgwapi',
|
'appname' => 'phpgwapi',
|
||||||
'versions' => Array('1.5','1.6','1.7')
|
'versions' => Array('1.7','1.8','1.9')
|
||||||
);
|
);
|
||||||
$setup_info['addressbook']['depends'][] = array(
|
$setup_info['addressbook']['depends'][] = array(
|
||||||
'appname' => 'etemplate',
|
'appname' => 'etemplate',
|
||||||
'versions' => Array('1.5','1.6','1.7')
|
'versions' => Array('1.7','1.8','1.9')
|
||||||
);
|
);
|
||||||
|
|
||||||
// installation checks for addresbook
|
// installation checks for addresbook
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* eGroupWare - Admin
|
* EGroupware - Admin
|
||||||
*
|
*
|
||||||
* @link http://www.egroupware.org
|
* @link http://www.egroupware.org
|
||||||
* @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License
|
* @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License
|
||||||
@ -10,7 +10,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
$setup_info['admin']['name'] = 'admin';
|
$setup_info['admin']['name'] = 'admin';
|
||||||
$setup_info['admin']['version'] = '1.6';
|
$setup_info['admin']['version'] = '1.8';
|
||||||
$setup_info['admin']['app_order'] = 1;
|
$setup_info['admin']['app_order'] = 1;
|
||||||
$setup_info['admin']['tables'] = array('egw_admin_queue','egw_admin_remote');
|
$setup_info['admin']['tables'] = array('egw_admin_queue','egw_admin_remote');
|
||||||
$setup_info['admin']['enable'] = 1;
|
$setup_info['admin']['enable'] = 1;
|
||||||
@ -27,7 +27,7 @@ $setup_info['admin']['maintainer'][] = array(
|
|||||||
);
|
);
|
||||||
|
|
||||||
$setup_info['admin']['license'] = 'GPL';
|
$setup_info['admin']['license'] = 'GPL';
|
||||||
$setup_info['admin']['description'] = 'eGroupWare administration application';
|
$setup_info['admin']['description'] = 'EGroupware administration application';
|
||||||
|
|
||||||
/* The hooks this app includes, needed for hooks registration */
|
/* The hooks this app includes, needed for hooks registration */
|
||||||
$setup_info['admin']['hooks'] = array(
|
$setup_info['admin']['hooks'] = array(
|
||||||
@ -48,9 +48,9 @@ $setup_info['admin']['hooks']['sidebox_menu'] =$setup_info['admin']['name'].'.ad
|
|||||||
/* Dependencies for this app to work */
|
/* Dependencies for this app to work */
|
||||||
$setup_info['admin']['depends'][] = array(
|
$setup_info['admin']['depends'][] = array(
|
||||||
'appname' => 'phpgwapi',
|
'appname' => 'phpgwapi',
|
||||||
'versions' => Array('1.5','1.6','1.7')
|
'versions' => Array('1.7','1.8','1.9')
|
||||||
);
|
);
|
||||||
$setup_info['admin']['depends'][] = array(
|
$setup_info['admin']['depends'][] = array(
|
||||||
'appname' => 'etemplate',
|
'appname' => 'etemplate',
|
||||||
'versions' => Array('1.5','1.6','1.7')
|
'versions' => Array('1.7','1.8','1.9')
|
||||||
);
|
);
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* eGroupWare - Setup
|
* EGroupware - Setup
|
||||||
*
|
*
|
||||||
* Created by eTemplates DB-Tools written by ralfbecker@outdoor-training.de
|
* Created by eTemplates DB-Tools written by ralfbecker@outdoor-training.de
|
||||||
*
|
*
|
||||||
@ -84,3 +84,9 @@ function admin_upgrade1_5_003()
|
|||||||
{
|
{
|
||||||
return $GLOBALS['setup_info']['admin']['currentver'] = '1.6';
|
return $GLOBALS['setup_info']['admin']['currentver'] = '1.6';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
function admin_upgrade1_6()
|
||||||
|
{
|
||||||
|
return $GLOBALS['setup_info']['admin']['currentver'] = '1.8';
|
||||||
|
}
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* eGroupWare - Calendar setup
|
* EGroupware - Calendar
|
||||||
*
|
*
|
||||||
* @link http://www.egroupware.org
|
* @link http://www.egroupware.org
|
||||||
* @package calendar
|
* @package calendar
|
||||||
@ -10,7 +10,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
$setup_info['calendar']['name'] = 'calendar';
|
$setup_info['calendar']['name'] = 'calendar';
|
||||||
$setup_info['calendar']['version'] = '1.7.011';
|
$setup_info['calendar']['version'] = '1.9.001';
|
||||||
$setup_info['calendar']['app_order'] = 3;
|
$setup_info['calendar']['app_order'] = 3;
|
||||||
$setup_info['calendar']['enable'] = 1;
|
$setup_info['calendar']['enable'] = 1;
|
||||||
$setup_info['calendar']['index'] = 'calendar.calendar_uiviews.index';
|
$setup_info['calendar']['index'] = 'calendar.calendar_uiviews.index';
|
||||||
@ -46,11 +46,11 @@ $setup_info['calendar']['hooks']['config_validate'] = 'calendar_hooks::config_va
|
|||||||
/* Dependencies for this app to work */
|
/* Dependencies for this app to work */
|
||||||
$setup_info['calendar']['depends'][] = array(
|
$setup_info['calendar']['depends'][] = array(
|
||||||
'appname' => 'phpgwapi',
|
'appname' => 'phpgwapi',
|
||||||
'versions' => Array('1.3','1.4','1.5','1.6','1.7')
|
'versions' => Array('1.7','1.8','1.9')
|
||||||
);
|
);
|
||||||
$setup_info['calendar']['depends'][] = array(
|
$setup_info['calendar']['depends'][] = array(
|
||||||
'appname' => 'etemplate',
|
'appname' => 'etemplate',
|
||||||
'versions' => Array('1.3','1.4','1.5','1.6','1.7')
|
'versions' => Array('1.7','1.8','1.9')
|
||||||
);
|
);
|
||||||
|
|
||||||
// installation checks for calendar
|
// installation checks for calendar
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* eGroupWare - Calendar setup
|
* EGroupware - Calendar setup
|
||||||
*
|
*
|
||||||
* @link http://www.egroupware.org
|
* @link http://www.egroupware.org
|
||||||
* @package calendar
|
* @package calendar
|
||||||
@ -2087,6 +2087,18 @@ function calendar_upgrade1_7_010()
|
|||||||
'comment' => '1 if the event has been deleted, but you want to keep it around'
|
'comment' => '1 if the event has been deleted, but you want to keep it around'
|
||||||
));
|
));
|
||||||
|
|
||||||
return $GLOBALS['setup_info']['calendar']['currentver'] = '1.7.011';
|
return $GLOBALS['setup_info']['calendar']['currentver'] = '1.9.001'; // was 1.7.011
|
||||||
|
}
|
||||||
|
|
||||||
|
function calendar_upgrade1_7_011()
|
||||||
|
{
|
||||||
|
return $GLOBALS['setup_info']['calendar']['currentver'] = '1.9.001';
|
||||||
|
}
|
||||||
|
|
||||||
|
function calendar_upgrade1_8()
|
||||||
|
{
|
||||||
|
calendar_upgrade1_7_010();
|
||||||
|
|
||||||
|
return $GLOBALS['setup_info']['calendar']['currentver'] = '1.9.001';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
$setup_info['etemplate']['name'] = 'etemplate';
|
$setup_info['etemplate']['name'] = 'etemplate';
|
||||||
$setup_info['etemplate']['version'] = '1.6';
|
$setup_info['etemplate']['version'] = '1.8';
|
||||||
$setup_info['etemplate']['app_order'] = 60; // just behind the developers-tools
|
$setup_info['etemplate']['app_order'] = 60; // just behind the developers-tools
|
||||||
$setup_info['etemplate']['tables'] = array('egw_etemplate');
|
$setup_info['etemplate']['tables'] = array('egw_etemplate');
|
||||||
$setup_info['etemplate']['enable'] = 1;
|
$setup_info['etemplate']['enable'] = 1;
|
||||||
@ -39,6 +39,5 @@ $setup_info['etemplate']['hooks'][] = 'sidebox_menu';
|
|||||||
/* Dependencies for this app to work */
|
/* Dependencies for this app to work */
|
||||||
$setup_info['etemplate']['depends'][] = array(
|
$setup_info['etemplate']['depends'][] = array(
|
||||||
'appname' => 'phpgwapi',
|
'appname' => 'phpgwapi',
|
||||||
'versions' => Array('1.5','1.6','1.7')
|
'versions' => Array('1.7','1.8','1.9')
|
||||||
);
|
);
|
||||||
|
|
||||||
|
@ -118,3 +118,9 @@ function etemplate_upgrade1_5_001()
|
|||||||
{
|
{
|
||||||
return $GLOBALS['setup_info']['etemplate']['currentver'] = '1.6';
|
return $GLOBALS['setup_info']['etemplate']['currentver'] = '1.6';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
function etemplate_upgrade1_6()
|
||||||
|
{
|
||||||
|
return $GLOBALS['setup_info']['etemplate']['currentver'] = '1.8';
|
||||||
|
}
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* eGroupWare - Filemanager - setup
|
* EGroupware - Filemanager - setup
|
||||||
*
|
*
|
||||||
* @link http://www.egroupware.org
|
* @link http://www.egroupware.org
|
||||||
* @package filemanager
|
* @package filemanager
|
||||||
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
$setup_info['filemanager']['name'] = 'filemanager';
|
$setup_info['filemanager']['name'] = 'filemanager';
|
||||||
$setup_info['filemanager']['title'] = 'Filemanager';
|
$setup_info['filemanager']['title'] = 'Filemanager';
|
||||||
$setup_info['filemanager']['version'] = '1.6';
|
$setup_info['filemanager']['version'] = '1.8';
|
||||||
$setup_info['filemanager']['app_order'] = 6;
|
$setup_info['filemanager']['app_order'] = 6;
|
||||||
$setup_info['filemanager']['enable'] = 1;
|
$setup_info['filemanager']['enable'] = 1;
|
||||||
$setup_info['filemanager']['index'] = 'filemanager.filemanager_ui.index';
|
$setup_info['filemanager']['index'] = 'filemanager.filemanager_ui.index';
|
||||||
@ -33,5 +33,5 @@ $setup_info['filemanager']['hooks']['admin'] = 'filemanager_hooks::admin';
|
|||||||
/* Dependencies for this app to work */
|
/* Dependencies for this app to work */
|
||||||
$setup_info['filemanager']['depends'][] = array(
|
$setup_info['filemanager']['depends'][] = array(
|
||||||
'appname' => 'phpgwapi',
|
'appname' => 'phpgwapi',
|
||||||
'versions' => array('1.5','1.6','1.7')
|
'versions' => array('1.7','1.8','1.9')
|
||||||
);
|
);
|
||||||
|
@ -1,32 +1,34 @@
|
|||||||
<?php
|
<?php
|
||||||
/**************************************************************************\
|
/**
|
||||||
* eGroupWare - Home *
|
* EGroupware Home
|
||||||
* http://www.egroupware.org *
|
*
|
||||||
* -------------------------------------------- *
|
* @link http://www.egroupware.org
|
||||||
* This program is free software; you can redistribute it and/or modify it *
|
* @package home
|
||||||
* under the terms of the GNU General Public License as published by the *
|
* @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License
|
||||||
* Free Software Foundation; either version 2 of the License, or (at your *
|
* @version $Id$
|
||||||
* option) any later version. *
|
*/
|
||||||
\**************************************************************************/
|
|
||||||
|
|
||||||
/* $Id$ */
|
/* Basic information about this app */
|
||||||
|
$setup_info['home']['name'] = 'home';
|
||||||
|
$setup_info['home']['title'] = 'Home';
|
||||||
|
$setup_info['home']['version'] = '1.8';
|
||||||
|
$setup_info['home']['app_order'] = 1;
|
||||||
|
$setup_info['home']['enable'] = 1;
|
||||||
|
|
||||||
/* Basic information about this app */
|
$setup_info['home']['author'] = 'eGroupWare Core Team';
|
||||||
$setup_info['home']['name'] = 'home';
|
$setup_info['home']['license'] = 'GPL';
|
||||||
$setup_info['home']['title'] = 'Home';
|
$setup_info['home']['description'] = 'Displays eGroupWare\' homepage';
|
||||||
$setup_info['home']['version'] = '1.4';
|
$setup_info['home']['maintainer'] = array(
|
||||||
$setup_info['home']['app_order'] = 1;
|
'name' => 'eGroupWare Developers',
|
||||||
$setup_info['home']['enable'] = 1;
|
'email' => 'egroupware-developers@lists.sourceforge.net'
|
||||||
|
);
|
||||||
|
|
||||||
$setup_info['home']['author'] = 'eGroupWare Core Team';
|
/* The hooks this app includes, needed for hooks registration */
|
||||||
$setup_info['home']['license'] = 'GPL';
|
$setup_info['home']['hooks']['hasUpdates'] = 'home.updates.hasUpdates';
|
||||||
$setup_info['home']['description'] = 'Displays eGroupWare\' homepage';
|
$setup_info['home']['hooks']['showUpdates'] = 'home.updates.showUpdates';
|
||||||
$setup_info['home']['maintainer'] = array(
|
|
||||||
'name' => 'eGroupWare Developers',
|
|
||||||
'email' => 'egroupware-developers@lists.sourceforge.net'
|
|
||||||
);
|
|
||||||
|
|
||||||
/* The hooks this app includes, needed for hooks registration */
|
/* Dependencies for this app to work */
|
||||||
$setup_info['home']['hooks']['hasUpdates'] = 'home.updates.hasUpdates';
|
$setup_info['home']['depends'][] = array(
|
||||||
$setup_info['home']['hooks']['showUpdates'] = 'home.updates.showUpdates';
|
'appname' => 'phpgwapi',
|
||||||
?>
|
'versions' => Array('1.7','1.8','1.9')
|
||||||
|
);
|
||||||
|
@ -1,7 +1,8 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* importexport
|
* EGroupware - importexport
|
||||||
*
|
*
|
||||||
|
* @link www.egroupware.org
|
||||||
* @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License
|
* @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License
|
||||||
* @package importexport
|
* @package importexport
|
||||||
* @author Cornelius Weiss <nelius@cwtech.de>
|
* @author Cornelius Weiss <nelius@cwtech.de>
|
||||||
@ -9,7 +10,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
$setup_info['importexport']['name'] = 'importexport';
|
$setup_info['importexport']['name'] = 'importexport';
|
||||||
$setup_info['importexport']['version'] = '1.7.001';
|
$setup_info['importexport']['version'] = '1.8';
|
||||||
$setup_info['importexport']['app_order'] = 2;
|
$setup_info['importexport']['app_order'] = 2;
|
||||||
$setup_info['importexport']['enable'] = 2;
|
$setup_info['importexport']['enable'] = 2;
|
||||||
$setup_info['importexport']['tables'] = array('egw_importexport_definitions');
|
$setup_info['importexport']['tables'] = array('egw_importexport_definitions');
|
||||||
@ -33,11 +34,11 @@ $setup_info['importexport']['hooks']['sidebox_menu'] = 'importexport_admin_prefs
|
|||||||
/* Dependencies for this app to work */
|
/* Dependencies for this app to work */
|
||||||
$setup_info['importexport']['depends'][] = array(
|
$setup_info['importexport']['depends'][] = array(
|
||||||
'appname' => 'phpgwapi',
|
'appname' => 'phpgwapi',
|
||||||
'versions' => Array('1.6','1.7')
|
'versions' => Array('1.7','1.8','1.9')
|
||||||
);
|
);
|
||||||
$setup_info['importexport']['depends'][] = array(
|
$setup_info['importexport']['depends'][] = array(
|
||||||
'appname' => 'etemplate',
|
'appname' => 'etemplate',
|
||||||
'versions' => Array('1.6','1.7')
|
'versions' => Array('1.7','1.8','1.9')
|
||||||
);
|
);
|
||||||
|
|
||||||
// installation checks for importexport
|
// installation checks for importexport
|
||||||
|
@ -1,40 +1,43 @@
|
|||||||
<?php
|
<?php
|
||||||
|
/**
|
||||||
|
* EGroupware - Setup
|
||||||
|
*
|
||||||
|
* @link http://www.egroupware.org
|
||||||
|
* Created by eTemplates DB-Tools written by ralfbecker@outdoor-training.de
|
||||||
|
*
|
||||||
|
* @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License
|
||||||
|
* @package importexport
|
||||||
|
* @subpackage setup
|
||||||
|
* @version $Id: class.db_tools.inc.php 21408 2006-04-21 10:31:06Z nelius_weiss $
|
||||||
|
*/
|
||||||
|
|
||||||
/**
|
function importexport_upgrade0_002()
|
||||||
* eGroupWare - Setup
|
{
|
||||||
* http://www.egroupware.org
|
$GLOBALS['egw_setup']->oProc->AddColumn('egw_importexport_definitions','description',array(
|
||||||
* Created by eTemplates DB-Tools written by ralfbecker@outdoor-training.de
|
'type' => 'varchar',
|
||||||
*
|
'precision' => '255'
|
||||||
* @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License
|
));
|
||||||
* @package importexport
|
|
||||||
* @subpackage setup
|
|
||||||
* @version $Id: class.db_tools.inc.php 21408 2006-04-21 10:31:06Z nelius_weiss $
|
|
||||||
*/
|
|
||||||
|
|
||||||
$test[] = '0.002';
|
return $GLOBALS['setup_info']['importexport']['currentver'] = '0.003';
|
||||||
function importexport_upgrade0_002()
|
}
|
||||||
{
|
|
||||||
$GLOBALS['egw_setup']->oProc->AddColumn('egw_importexport_definitions','description',array(
|
|
||||||
'type' => 'varchar',
|
|
||||||
'precision' => '255'
|
|
||||||
));
|
|
||||||
|
|
||||||
return $GLOBALS['setup_info']['importexport']['currentver'] = '0.003';
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
$test[] = '0.003';
|
function importexport_upgrade0_003()
|
||||||
function importexport_upgrade0_003()
|
{
|
||||||
{
|
return $GLOBALS['setup_info']['importexport']['currentver'] = '1.4';
|
||||||
return $GLOBALS['setup_info']['importexport']['currentver'] = '1.4';
|
}
|
||||||
}
|
|
||||||
|
|
||||||
$test[] = '1.4';
|
|
||||||
function importexport_upgrade1_4()
|
|
||||||
{
|
|
||||||
$sql = 'UPDATE egw_importexport_definitions SET plugin = CONCAT(application, "_", plugin)';
|
|
||||||
|
|
||||||
$GLOBALS['egw_setup']->db->query($sql, __LINE__, __FILE__);
|
function importexport_upgrade1_4()
|
||||||
return $GLOBALS['setup_info']['importexport']['currentver'] = '1.7.001';
|
{
|
||||||
}
|
$sql = 'UPDATE egw_importexport_definitions SET plugin = CONCAT(application, "_", plugin)';
|
||||||
?>
|
|
||||||
|
$GLOBALS['egw_setup']->db->query($sql, __LINE__, __FILE__);
|
||||||
|
return $GLOBALS['setup_info']['importexport']['currentver'] = '1.7.001';
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
function importexport_upgrade1_7_001()
|
||||||
|
{
|
||||||
|
return $GLOBALS['setup_info']['importexport']['currentver'] = '1.8';
|
||||||
|
}
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* InfoLog - Setup
|
* EGroupware - InfoLog - Setup
|
||||||
*
|
*
|
||||||
* @link http://www.egroupware.org
|
* @link http://www.egroupware.org
|
||||||
* @author Ralf Becker <RalfBecker-AT-outdoor-training.de>
|
* @author Ralf Becker <RalfBecker-AT-outdoor-training.de>
|
||||||
@ -12,7 +12,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
$setup_info['infolog']['name'] = 'infolog';
|
$setup_info['infolog']['name'] = 'infolog';
|
||||||
$setup_info['infolog']['version'] = '1.6';
|
$setup_info['infolog']['version'] = '1.8';
|
||||||
$setup_info['infolog']['app_order'] = 5;
|
$setup_info['infolog']['app_order'] = 5;
|
||||||
$setup_info['infolog']['tables'] = array('egw_infolog','egw_infolog_extra');
|
$setup_info['infolog']['tables'] = array('egw_infolog','egw_infolog_extra');
|
||||||
$setup_info['infolog']['enable'] = 1;
|
$setup_info['infolog']['enable'] = 1;
|
||||||
@ -64,9 +64,9 @@ $setup_info['infolog']['hooks']['pm_custom_app_icons'] = 'infolog.infolog_bo.pm_
|
|||||||
/* Dependencies for this app to work */
|
/* Dependencies for this app to work */
|
||||||
$setup_info['infolog']['depends'][] = array(
|
$setup_info['infolog']['depends'][] = array(
|
||||||
'appname' => 'phpgwapi',
|
'appname' => 'phpgwapi',
|
||||||
'versions' => Array('1.5','1.6','1.7')
|
'versions' => Array('1.7','1.8','1.9')
|
||||||
);
|
);
|
||||||
$setup_info['infolog']['depends'][] = array(
|
$setup_info['infolog']['depends'][] = array(
|
||||||
'appname' => 'etemplate',
|
'appname' => 'etemplate',
|
||||||
'versions' => Array('1.5','1.6','1.7')
|
'versions' => Array('1.7','1.8','1.9')
|
||||||
);
|
);
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* InfoLog - Setup
|
* EGroupware - InfoLog - Setup
|
||||||
*
|
*
|
||||||
* @link http://www.egroupware.org
|
* @link http://www.egroupware.org
|
||||||
* @author Ralf Becker <RalfBecker-AT-outdoor-training.de>
|
* @author Ralf Becker <RalfBecker-AT-outdoor-training.de>
|
||||||
* @package infolog
|
* @package infolog
|
||||||
* @subpackage setup
|
* @subpackage setup
|
||||||
* @copyright (c) 2003-8 by Ralf Becker <RalfBecker-AT-outdoor-training.de>
|
* @copyright (c) 2003-10 by Ralf Becker <RalfBecker-AT-outdoor-training.de>
|
||||||
* @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License
|
* @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License
|
||||||
* @version $Id$
|
* @version $Id$
|
||||||
*/
|
*/
|
||||||
@ -628,3 +628,9 @@ function infolog_upgrade1_5_004()
|
|||||||
{
|
{
|
||||||
return $GLOBALS['setup_info']['infolog']['currentver'] = '1.6';
|
return $GLOBALS['setup_info']['infolog']['currentver'] = '1.6';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
function infolog_upgrade1_6()
|
||||||
|
{
|
||||||
|
return $GLOBALS['setup_info']['infolog']['currentver'] = '1.8';
|
||||||
|
}
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* eGroupWare - Notifications
|
* EGroupware - Notifications
|
||||||
*
|
*
|
||||||
* @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License
|
* @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License
|
||||||
* @package notifications
|
* @package notifications
|
||||||
@ -15,7 +15,7 @@ if (!defined('NOTIFICATION_APP'))
|
|||||||
}
|
}
|
||||||
|
|
||||||
$setup_info[NOTIFICATION_APP]['name'] = NOTIFICATION_APP;
|
$setup_info[NOTIFICATION_APP]['name'] = NOTIFICATION_APP;
|
||||||
$setup_info[NOTIFICATION_APP]['version'] = '1.6';
|
$setup_info[NOTIFICATION_APP]['version'] = '1.8';
|
||||||
$setup_info[NOTIFICATION_APP]['app_order'] = 1;
|
$setup_info[NOTIFICATION_APP]['app_order'] = 1;
|
||||||
$setup_info[NOTIFICATION_APP]['tables'] = array('egw_notificationpopup');
|
$setup_info[NOTIFICATION_APP]['tables'] = array('egw_notificationpopup');
|
||||||
$setup_info[NOTIFICATION_APP]['enable'] = 2;
|
$setup_info[NOTIFICATION_APP]['enable'] = 2;
|
||||||
@ -42,10 +42,10 @@ $setup_info[NOTIFICATION_APP]['hooks'][] = 'admin';
|
|||||||
/* Dependencies for this app to work */
|
/* Dependencies for this app to work */
|
||||||
$setup_info[NOTIFICATION_APP]['depends'][] = array(
|
$setup_info[NOTIFICATION_APP]['depends'][] = array(
|
||||||
'appname' => 'phpgwapi',
|
'appname' => 'phpgwapi',
|
||||||
'versions' => Array('1.5','1.6','1.7')
|
'versions' => Array('1.7','1.8','1.9')
|
||||||
);
|
);
|
||||||
$setup_info[NOTIFICATION_APP]['depends'][] = array(
|
$setup_info[NOTIFICATION_APP]['depends'][] = array(
|
||||||
'appname' => 'etemplate',
|
'appname' => 'etemplate',
|
||||||
'versions' => Array('1.5','1.6','1.7')
|
'versions' => Array('1.7','1.8','1.9')
|
||||||
);
|
);
|
||||||
|
|
||||||
|
@ -32,3 +32,9 @@ function notifications_upgrade1_4()
|
|||||||
{
|
{
|
||||||
return $GLOBALS['setup_info']['notifications']['currentver'] = '1.6';
|
return $GLOBALS['setup_info']['notifications']['currentver'] = '1.6';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
function notifications_upgrade1_6()
|
||||||
|
{
|
||||||
|
return $GLOBALS['setup_info']['notifications']['currentver'] = '1.8';
|
||||||
|
}
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* eGroupWare - API Setup
|
* EGroupware - API Setup
|
||||||
*
|
*
|
||||||
* @link http://www.egroupware.org
|
* @link http://www.egroupware.org
|
||||||
* @package api
|
* @package api
|
||||||
@ -12,7 +12,7 @@
|
|||||||
/* Basic information about this app */
|
/* Basic information about this app */
|
||||||
$setup_info['phpgwapi']['name'] = 'phpgwapi';
|
$setup_info['phpgwapi']['name'] = 'phpgwapi';
|
||||||
$setup_info['phpgwapi']['title'] = 'eGroupWare API';
|
$setup_info['phpgwapi']['title'] = 'eGroupWare API';
|
||||||
$setup_info['phpgwapi']['version'] = '1.7.003';
|
$setup_info['phpgwapi']['version'] = '1.9.001';
|
||||||
$setup_info['phpgwapi']['versions']['current_header'] = '1.29';
|
$setup_info['phpgwapi']['versions']['current_header'] = '1.29';
|
||||||
$setup_info['phpgwapi']['enable'] = 3;
|
$setup_info['phpgwapi']['enable'] = 3;
|
||||||
$setup_info['phpgwapi']['app_order'] = 1;
|
$setup_info['phpgwapi']['app_order'] = 1;
|
||||||
@ -65,7 +65,7 @@ $setup_info['phpgwapi']['hooks']['editgroup'] = 'phpgwapi.vfs_home_hooks.editGr
|
|||||||
|
|
||||||
/* CalDAV/CardDAV/GroupDAV app */
|
/* CalDAV/CardDAV/GroupDAV app */
|
||||||
$setup_info['groupdav']['name'] = 'groupdav';
|
$setup_info['groupdav']['name'] = 'groupdav';
|
||||||
$setup_info['groupdav']['version'] = '1.6';
|
$setup_info['groupdav']['version'] = '1.8';
|
||||||
$setup_info['groupdav']['enable'] = 2;
|
$setup_info['groupdav']['enable'] = 2;
|
||||||
$setup_info['groupdav']['app_order'] = 1;
|
$setup_info['groupdav']['app_order'] = 1;
|
||||||
$setup_info['groupdav']['icon'] = 'groupdav';
|
$setup_info['groupdav']['icon'] = 'groupdav';
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* eGroupWare - API Setup
|
* EGroupware - API Setup
|
||||||
*
|
*
|
||||||
* Update scripts 1.6 --> 1.8
|
* Update scripts 1.8 --> 2.0
|
||||||
*
|
*
|
||||||
* @link http://www.egroupware.org
|
* @link http://www.egroupware.org
|
||||||
* @package api
|
* @package api
|
||||||
@ -19,46 +19,12 @@ include('tables_update_0_9_14.inc.php');
|
|||||||
include('tables_update_1_0.inc.php');
|
include('tables_update_1_0.inc.php');
|
||||||
include('tables_update_1_2.inc.php');
|
include('tables_update_1_2.inc.php');
|
||||||
include('tables_update_1_4.inc.php');
|
include('tables_update_1_4.inc.php');
|
||||||
|
include('tables_update_1_6.inc.php');
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Update from the stable 1.6 branch to the new devel branch 1.7.xxx
|
* Update from the stable 1.8 branch to the new devel branch 1.9.xxx
|
||||||
*/
|
*/
|
||||||
function phpgwapi_upgrade1_6_001()
|
function phpgwapi_upgrade1_8_001()
|
||||||
{
|
{
|
||||||
return $GLOBALS['setup_info']['phpgwapi']['currentver'] = '1.7.001';
|
return $GLOBALS['setup_info']['phpgwapi']['currentver'] = '1.9.001';
|
||||||
}
|
}
|
||||||
|
|
||||||
function phpgwapi_upgrade1_6_002()
|
|
||||||
{
|
|
||||||
return $GLOBALS['setup_info']['phpgwapi']['currentver'] = '1.7.001';
|
|
||||||
}
|
|
||||||
|
|
||||||
function phpgwapi_upgrade1_6_003()
|
|
||||||
{
|
|
||||||
return $GLOBALS['setup_info']['phpgwapi']['currentver'] = '1.7.001';
|
|
||||||
}
|
|
||||||
|
|
||||||
function phpgwapi_upgrade1_7_001()
|
|
||||||
{
|
|
||||||
$GLOBALS['egw_setup']->oProc->AddColumn('egw_sqlfs','fs_link',array(
|
|
||||||
'type' => 'varchar',
|
|
||||||
'precision' => '255'
|
|
||||||
));
|
|
||||||
// moving symlinks from fs_content to fs_link
|
|
||||||
$GLOBALS['egw_setup']->oProc->query("UPDATE egw_sqlfs SET fs_link=fs_content,fs_content=NULL WHERE fs_mime='application/x-symlink'",__LINE__,__FILE__);
|
|
||||||
|
|
||||||
return $GLOBALS['setup_info']['phpgwapi']['currentver'] = '1.7.002';
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
function phpgwapi_upgrade1_7_002()
|
|
||||||
{
|
|
||||||
$GLOBALS['egw_setup']->oProc->AlterColumn('egw_sqlfs','fs_mime',array(
|
|
||||||
'type' => 'varchar',
|
|
||||||
'precision' => '96',
|
|
||||||
'nullable' => False
|
|
||||||
));
|
|
||||||
|
|
||||||
return $GLOBALS['setup_info']['phpgwapi']['currentver'] = '1.7.003';
|
|
||||||
}
|
|
||||||
|
|
||||||
|
66
phpgwapi/setup/tables_update_1_6.inc.php
Normal file
66
phpgwapi/setup/tables_update_1_6.inc.php
Normal file
@ -0,0 +1,66 @@
|
|||||||
|
<?php
|
||||||
|
/**
|
||||||
|
* EGroupware - API Setup
|
||||||
|
*
|
||||||
|
* Update scripts 1.6 --> 1.8
|
||||||
|
*
|
||||||
|
* @link http://www.egroupware.org
|
||||||
|
* @package api
|
||||||
|
* @subpackage setup
|
||||||
|
* @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License
|
||||||
|
* @version $Id$
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Update from the stable 1.6 branch to the new devel branch 1.7.xxx
|
||||||
|
*/
|
||||||
|
function phpgwapi_upgrade1_6_001()
|
||||||
|
{
|
||||||
|
return $GLOBALS['setup_info']['phpgwapi']['currentver'] = '1.7.001';
|
||||||
|
}
|
||||||
|
|
||||||
|
function phpgwapi_upgrade1_6_002()
|
||||||
|
{
|
||||||
|
return $GLOBALS['setup_info']['phpgwapi']['currentver'] = '1.7.001';
|
||||||
|
}
|
||||||
|
|
||||||
|
function phpgwapi_upgrade1_6_003()
|
||||||
|
{
|
||||||
|
return $GLOBALS['setup_info']['phpgwapi']['currentver'] = '1.7.001';
|
||||||
|
}
|
||||||
|
|
||||||
|
function phpgwapi_upgrade1_7_001()
|
||||||
|
{
|
||||||
|
$GLOBALS['egw_setup']->oProc->AddColumn('egw_sqlfs','fs_link',array(
|
||||||
|
'type' => 'varchar',
|
||||||
|
'precision' => '255'
|
||||||
|
));
|
||||||
|
// moving symlinks from fs_content to fs_link
|
||||||
|
$GLOBALS['egw_setup']->oProc->query("UPDATE egw_sqlfs SET fs_link=fs_content,fs_content=NULL WHERE fs_mime='application/x-symlink'",__LINE__,__FILE__);
|
||||||
|
|
||||||
|
return $GLOBALS['setup_info']['phpgwapi']['currentver'] = '1.7.002';
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
function phpgwapi_upgrade1_7_002()
|
||||||
|
{
|
||||||
|
$GLOBALS['egw_setup']->oProc->AlterColumn('egw_sqlfs','fs_mime',array(
|
||||||
|
'type' => 'varchar',
|
||||||
|
'precision' => '96',
|
||||||
|
'nullable' => False
|
||||||
|
));
|
||||||
|
|
||||||
|
return $GLOBALS['setup_info']['phpgwapi']['currentver'] = '1.7.003';
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
function phpgwapi_upgrade1_7_003()
|
||||||
|
{
|
||||||
|
$GLOBALS['egw_setup']->oProc->AlterColumn('egw_sqlfs','fs_mime',array(
|
||||||
|
'type' => 'varchar',
|
||||||
|
'precision' => '96',
|
||||||
|
'nullable' => False
|
||||||
|
));
|
||||||
|
|
||||||
|
return $GLOBALS['setup_info']['phpgwapi']['currentver'] = '1.8.001';
|
||||||
|
}
|
@ -1,6 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* eGroupWare - Preferences
|
* EGroupware - Preferences
|
||||||
*
|
*
|
||||||
* @link http://www.egroupware.org
|
* @link http://www.egroupware.org
|
||||||
* @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License
|
* @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License
|
||||||
@ -11,7 +11,7 @@
|
|||||||
|
|
||||||
$setup_info['preferences']['name'] = 'preferences';
|
$setup_info['preferences']['name'] = 'preferences';
|
||||||
$setup_info['preferences']['title'] = 'Preferences';
|
$setup_info['preferences']['title'] = 'Preferences';
|
||||||
$setup_info['preferences']['version'] = '1.7';
|
$setup_info['preferences']['version'] = '1.8';
|
||||||
$setup_info['preferences']['app_order'] = 1;
|
$setup_info['preferences']['app_order'] = 1;
|
||||||
$setup_info['preferences']['tables'] = '';
|
$setup_info['preferences']['tables'] = '';
|
||||||
$setup_info['preferences']['enable'] = 2;
|
$setup_info['preferences']['enable'] = 2;
|
||||||
@ -27,7 +27,7 @@ $setup_info['preferences']['hooks']['edit_user'] = 'preferences.uisettings.e
|
|||||||
/* Dependencies for this app to work */
|
/* Dependencies for this app to work */
|
||||||
$setup_info['preferences']['depends'][] = array(
|
$setup_info['preferences']['depends'][] = array(
|
||||||
'appname' => 'phpgwapi',
|
'appname' => 'phpgwapi',
|
||||||
'versions' => Array('1.2','1.3','1.4','1.5','1.6','1.7')
|
'versions' => Array('1.7','1.8','1.9')
|
||||||
);
|
);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
|
|
||||||
$setup_info['resources']['name'] = 'resources';
|
$setup_info['resources']['name'] = 'resources';
|
||||||
$setup_info['resources']['title'] = 'Resources';
|
$setup_info['resources']['title'] = 'Resources';
|
||||||
$setup_info['resources']['version'] = '1.6';
|
$setup_info['resources']['version'] = '1.8';
|
||||||
$setup_info['resources']['app_order'] = 5;
|
$setup_info['resources']['app_order'] = 5;
|
||||||
$setup_info['resources']['tables'] = array('egw_resources','egw_resources_extra');
|
$setup_info['resources']['tables'] = array('egw_resources','egw_resources_extra');
|
||||||
$setup_info['resources']['enable'] = 1;
|
$setup_info['resources']['enable'] = 1;
|
||||||
@ -38,9 +38,9 @@ $setup_info['resources']['hooks']['calendar_resources'] = 'resources.resources_h
|
|||||||
|
|
||||||
$setup_info['resources']['depends'][] = array(
|
$setup_info['resources']['depends'][] = array(
|
||||||
'appname' => 'phpgwapi',
|
'appname' => 'phpgwapi',
|
||||||
'versions' => Array('1.3','1.4','1.5','1.6','1.7')
|
'versions' => Array('1.7','1.8','1.9')
|
||||||
);
|
);
|
||||||
$setup_info['resources']['depends'][] = array( // cause eTemplates is not in the api yet
|
$setup_info['resources']['depends'][] = array( // cause eTemplates is not in the api yet
|
||||||
'appname' => 'etemplate',
|
'appname' => 'etemplate',
|
||||||
'versions' => Array('1.3','1.4','1.5','1.6','1.7')
|
'versions' => Array('1.7','1.8','1.9')
|
||||||
);
|
);
|
||||||
|
@ -312,3 +312,9 @@ function resources_upgrade1_4()
|
|||||||
}
|
}
|
||||||
return $GLOBALS['setup_info']['resources']['currentver'] = '1.6';
|
return $GLOBALS['setup_info']['resources']['currentver'] = '1.6';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
function resources_upgrade1_6()
|
||||||
|
{
|
||||||
|
return $GLOBALS['setup_info']['resources']['currentver'] = '1.8';
|
||||||
|
}
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* TimeSheet - setup definitions
|
* EGroupware - TimeSheet - setup definitions
|
||||||
*
|
*
|
||||||
* @link http://www.egroupware.org
|
* @link http://www.egroupware.org
|
||||||
* @author Ralf Becker <RalfBecker-AT-outdoor-training.de>
|
* @author Ralf Becker <RalfBecker-AT-outdoor-training.de>
|
||||||
* @package timesheet
|
* @package timesheet
|
||||||
* @subpackage setup
|
* @subpackage setup
|
||||||
* @copyright (c) 2005/6 by Ralf Becker <RalfBecker-AT-outdoor-training.de>
|
* @copyright (c) 2005-10 by Ralf Becker <RalfBecker-AT-outdoor-training.de>
|
||||||
* @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License
|
* @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License
|
||||||
* @version $Id$
|
* @version $Id$
|
||||||
*/
|
*/
|
||||||
@ -17,7 +17,7 @@ if (!defined('TIMESHEET_APP'))
|
|||||||
}
|
}
|
||||||
|
|
||||||
$setup_info[TIMESHEET_APP]['name'] = TIMESHEET_APP;
|
$setup_info[TIMESHEET_APP]['name'] = TIMESHEET_APP;
|
||||||
$setup_info[TIMESHEET_APP]['version'] = '1.7.001';
|
$setup_info[TIMESHEET_APP]['version'] = '1.8';
|
||||||
$setup_info[TIMESHEET_APP]['app_order'] = 5;
|
$setup_info[TIMESHEET_APP]['app_order'] = 5;
|
||||||
$setup_info[TIMESHEET_APP]['tables'] = array('egw_timesheet','egw_timesheet_extra');
|
$setup_info[TIMESHEET_APP]['tables'] = array('egw_timesheet','egw_timesheet_extra');
|
||||||
$setup_info[TIMESHEET_APP]['enable'] = 1;
|
$setup_info[TIMESHEET_APP]['enable'] = 1;
|
||||||
@ -47,9 +47,9 @@ $setup_info[TIMESHEET_APP]['hooks']['pm_cumulate'] = 'timesheet_hooks::cumulate'
|
|||||||
/* Dependencies for this app to work */
|
/* Dependencies for this app to work */
|
||||||
$setup_info[TIMESHEET_APP]['depends'][] = array(
|
$setup_info[TIMESHEET_APP]['depends'][] = array(
|
||||||
'appname' => 'phpgwapi',
|
'appname' => 'phpgwapi',
|
||||||
'versions' => Array('1.5','1.6','1.7')
|
'versions' => Array('1.7','1.8','1.9')
|
||||||
);
|
);
|
||||||
$setup_info[TIMESHEET_APP]['depends'][] = array(
|
$setup_info[TIMESHEET_APP]['depends'][] = array(
|
||||||
'appname' => 'etemplate',
|
'appname' => 'etemplate',
|
||||||
'versions' => Array('1.5','1.6','1.7')
|
'versions' => Array('1.7','1.8','1.9')
|
||||||
);
|
);
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* TimeSheet - setup table updates
|
* EGroupware - TimeSheet - setup table updates
|
||||||
*
|
*
|
||||||
* @link http://www.egroupware.org
|
* @link http://www.egroupware.org
|
||||||
* @author Ralf Becker <RalfBecker-AT-outdoor-training.de>
|
* @author Ralf Becker <RalfBecker-AT-outdoor-training.de>
|
||||||
* @package timesheet
|
* @package timesheet
|
||||||
* @subpackage setup
|
* @subpackage setup
|
||||||
* @copyright (c) 2005-9 by Ralf Becker <RalfBecker-AT-outdoor-training.de>
|
* @copyright (c) 2005-10 by Ralf Becker <RalfBecker-AT-outdoor-training.de>
|
||||||
* @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License
|
* @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License
|
||||||
* @version $Id$
|
* @version $Id$
|
||||||
*/
|
*/
|
||||||
@ -55,6 +55,7 @@ function timesheet_upgrade1_4()
|
|||||||
return $GLOBALS['setup_info']['timesheet']['currentver'] = '1.6';
|
return $GLOBALS['setup_info']['timesheet']['currentver'] = '1.6';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
function timesheet_upgrade1_6()
|
function timesheet_upgrade1_6()
|
||||||
{
|
{
|
||||||
$GLOBALS['egw_setup']->oProc->AddColumn('egw_timesheet','ts_status',array(
|
$GLOBALS['egw_setup']->oProc->AddColumn('egw_timesheet','ts_status',array(
|
||||||
@ -67,3 +68,8 @@ function timesheet_upgrade1_6()
|
|||||||
return $GLOBALS['setup_info']['timesheet']['currentver'] = '1.7.001';
|
return $GLOBALS['setup_info']['timesheet']['currentver'] = '1.7.001';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
function timesheet_upgrade1_7_001()
|
||||||
|
{
|
||||||
|
return $GLOBALS['setup_info']['timesheet']['currentver'] = '1.8';
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user