2001-02-13 11:53:18 +01:00
|
|
|
<?php
|
2008-04-20 18:34:16 +02:00
|
|
|
/**
|
2010-09-05 17:24:34 +02:00
|
|
|
* EGroupware - API Setup
|
2008-04-20 18:34:16 +02:00
|
|
|
*
|
|
|
|
* @link http://www.egroupware.org
|
|
|
|
* @package api
|
|
|
|
* @subpackage setup
|
|
|
|
* @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License
|
|
|
|
* @version $Id$
|
|
|
|
*/
|
2007-03-13 15:11:56 +01:00
|
|
|
|
2008-04-20 18:34:16 +02:00
|
|
|
/* Basic information about this app */
|
|
|
|
$setup_info['phpgwapi']['name'] = 'phpgwapi';
|
|
|
|
$setup_info['phpgwapi']['title'] = 'eGroupWare API';
|
2010-09-15 15:34:44 +02:00
|
|
|
$setup_info['phpgwapi']['version'] = '1.9.002';
|
2008-10-09 18:22:42 +02:00
|
|
|
$setup_info['phpgwapi']['versions']['current_header'] = '1.29';
|
2008-04-20 18:34:16 +02:00
|
|
|
$setup_info['phpgwapi']['enable'] = 3;
|
|
|
|
$setup_info['phpgwapi']['app_order'] = 1;
|
2009-03-30 16:07:46 +02:00
|
|
|
$setup_info['phpgwapi']['license'] = 'GPL';
|
|
|
|
$setup_info['phpgwapi']['maintainer'] = $setup_info['phpgwapi']['author'] = array(
|
|
|
|
'name' => 'eGroupWare coreteam',
|
|
|
|
'email' => 'egroupware-developers@lists.sourceforge.net',
|
|
|
|
);
|
2007-04-26 08:28:36 +02:00
|
|
|
|
2008-04-20 18:34:16 +02:00
|
|
|
/* The tables this app creates */
|
|
|
|
$setup_info['phpgwapi']['tables'][] = 'egw_config';
|
|
|
|
$setup_info['phpgwapi']['tables'][] = 'egw_applications';
|
|
|
|
$setup_info['phpgwapi']['tables'][] = 'egw_acl';
|
|
|
|
$setup_info['phpgwapi']['tables'][] = 'egw_accounts';
|
|
|
|
$setup_info['phpgwapi']['tables'][] = 'egw_preferences';
|
|
|
|
$setup_info['phpgwapi']['tables'][] = 'egw_sessions';
|
|
|
|
$setup_info['phpgwapi']['tables'][] = 'egw_app_sessions';
|
|
|
|
$setup_info['phpgwapi']['tables'][] = 'egw_access_log';
|
|
|
|
$setup_info['phpgwapi']['tables'][] = 'egw_hooks';
|
|
|
|
$setup_info['phpgwapi']['tables'][] = 'egw_languages';
|
|
|
|
$setup_info['phpgwapi']['tables'][] = 'egw_lang';
|
|
|
|
$setup_info['phpgwapi']['tables'][] = 'egw_nextid';
|
|
|
|
$setup_info['phpgwapi']['tables'][] = 'egw_categories';
|
|
|
|
$setup_info['phpgwapi']['tables'][] = 'egw_log';
|
|
|
|
$setup_info['phpgwapi']['tables'][] = 'egw_log_msg';
|
|
|
|
$setup_info['phpgwapi']['tables'][] = 'egw_interserv';
|
|
|
|
$setup_info['phpgwapi']['tables'][] = 'egw_vfs';
|
|
|
|
$setup_info['phpgwapi']['tables'][] = 'egw_history_log';
|
|
|
|
$setup_info['phpgwapi']['tables'][] = 'egw_async';
|
|
|
|
$setup_info['phpgwapi']['tables'][] = 'egw_api_content_history';
|
|
|
|
$setup_info['phpgwapi']['tables'][] = 'egw_links';
|
|
|
|
$setup_info['phpgwapi']['tables'][] = 'egw_addressbook';
|
|
|
|
$setup_info['phpgwapi']['tables'][] = 'egw_addressbook_extra';
|
|
|
|
$setup_info['phpgwapi']['tables'][] = 'egw_addressbook_lists';
|
|
|
|
$setup_info['phpgwapi']['tables'][] = 'egw_addressbook2list';
|
|
|
|
$setup_info['phpgwapi']['tables'][] = 'egw_sqlfs';
|
2008-04-25 21:06:15 +02:00
|
|
|
$setup_info['phpgwapi']['tables'][] = 'egw_index_keywords';
|
2008-04-20 18:34:16 +02:00
|
|
|
$setup_info['phpgwapi']['tables'][] = 'egw_index';
|
|
|
|
$setup_info['phpgwapi']['tables'][] = 'egw_cat2entry';
|
2008-05-01 13:44:55 +02:00
|
|
|
$setup_info['phpgwapi']['tables'][] = 'egw_locks';
|
2008-10-05 19:07:36 +02:00
|
|
|
$setup_info['phpgwapi']['tables'][] = 'egw_sqlfs_props';
|
2007-04-28 13:54:24 +02:00
|
|
|
|
2008-04-20 18:34:16 +02:00
|
|
|
// hooks used by vfs_home_hooks to manage user- and group-directories for the new stream based VFS
|
|
|
|
$setup_info['phpgwapi']['hooks']['addaccount'] = 'phpgwapi.vfs_home_hooks.addAccount';
|
|
|
|
$setup_info['phpgwapi']['hooks']['deleteaccount'] = 'phpgwapi.vfs_home_hooks.deleteAccount';
|
|
|
|
$setup_info['phpgwapi']['hooks']['editaccount'] = 'phpgwapi.vfs_home_hooks.editAccount';
|
|
|
|
$setup_info['phpgwapi']['hooks']['addgroup'] = 'phpgwapi.vfs_home_hooks.addGroup';
|
|
|
|
$setup_info['phpgwapi']['hooks']['deletegroup'] = 'phpgwapi.vfs_home_hooks.deleteGroup';
|
|
|
|
$setup_info['phpgwapi']['hooks']['editgroup'] = 'phpgwapi.vfs_home_hooks.editGroup';
|
2008-02-18 07:52:07 +01:00
|
|
|
|
2008-05-08 22:50:46 +02:00
|
|
|
/* CalDAV/CardDAV/GroupDAV app */
|
|
|
|
$setup_info['groupdav']['name'] = 'groupdav';
|
2010-09-05 17:24:34 +02:00
|
|
|
$setup_info['groupdav']['version'] = '1.8';
|
2008-05-08 22:50:46 +02:00
|
|
|
$setup_info['groupdav']['enable'] = 2;
|
|
|
|
$setup_info['groupdav']['app_order'] = 1;
|
2009-03-30 16:07:46 +02:00
|
|
|
$setup_info['groupdav']['icon'] = 'groupdav';
|
|
|
|
$setup_info['groupdav']['icon_app'] = 'phpgwapi';
|
|
|
|
$setup_info['groupdav']['author'] = $setup_info['groupdav']['maintainer'] = array(
|
|
|
|
'name' => 'Ralf Becker',
|
|
|
|
'email' => 'RalfBecker@outdoor-training.de'
|
|
|
|
);
|
|
|
|
$setup_info['groupdav']['license'] = 'GPL';
|
* CardDAV pref which addressbooks to sync and many fixes for iPhone OS 4.0, 4.1, 4.2beta and Mac iCal and contact app
Merge of following commits from Trunk:
r32609: * GroupDAV preference for addressbook-home-set (requires to register hooks)
r32610: missing groupdav hooks
r32611: fixed missing "users" of principal url in calendar-user-address-set
r32615: as the pricipal of current user is influenced by GroupDAV prefs, we have to include them in the etag
r32619: loop over existing addressbooks, to make sure each ab is only once in addressbook-home-set, even when selected multiple times in the prefs because of symbolic ab like "primary group"
r32620: urlencode and decode account_lid in url to cope with group-names with space in it, which stall iPhone OS 4.2 devices
r32621: fixed bug: GroupDAV/CardDAV PUT request to /addressbook/ changes owner, also checking now required ACL for moving contacts between addressbooks
r32622: returning "403 Forbidden" if addressbook_bo->save() fails, happens when writing new entries in ABs without ADD rights
r32623: * iCal on iPhone detects URL now correct
reverted calendar-home-set to report only users calendar, as reporting multiple break propfind
r32624: we need a real redirect, not just a proxy
r32631: fixed working in GroupDAV prefs and translation
2010-10-21 13:17:46 +02:00
|
|
|
$setup_info['groupdav']['hooks']['preferences'] = 'groupdav_hooks::menus';
|
|
|
|
$setup_info['groupdav']['hooks']['settings'] = 'groupdav_hooks::settings';
|