mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-11 09:11:05 +01:00
567e952fba
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
80 lines
3.8 KiB
PHP
Executable File
80 lines
3.8 KiB
PHP
Executable File
<?php
|
|
/**
|
|
* EGroupware - API Setup
|
|
*
|
|
* @link http://www.egroupware.org
|
|
* @package api
|
|
* @subpackage setup
|
|
* @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License
|
|
* @version $Id$
|
|
*/
|
|
|
|
/* Basic information about this app */
|
|
$setup_info['phpgwapi']['name'] = 'phpgwapi';
|
|
$setup_info['phpgwapi']['title'] = 'eGroupWare API';
|
|
$setup_info['phpgwapi']['version'] = '1.9.002';
|
|
$setup_info['phpgwapi']['versions']['current_header'] = '1.29';
|
|
$setup_info['phpgwapi']['enable'] = 3;
|
|
$setup_info['phpgwapi']['app_order'] = 1;
|
|
$setup_info['phpgwapi']['license'] = 'GPL';
|
|
$setup_info['phpgwapi']['maintainer'] = $setup_info['phpgwapi']['author'] = array(
|
|
'name' => 'eGroupWare coreteam',
|
|
'email' => 'egroupware-developers@lists.sourceforge.net',
|
|
);
|
|
|
|
/* 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';
|
|
$setup_info['phpgwapi']['tables'][] = 'egw_index_keywords';
|
|
$setup_info['phpgwapi']['tables'][] = 'egw_index';
|
|
$setup_info['phpgwapi']['tables'][] = 'egw_cat2entry';
|
|
$setup_info['phpgwapi']['tables'][] = 'egw_locks';
|
|
$setup_info['phpgwapi']['tables'][] = 'egw_sqlfs_props';
|
|
|
|
// 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';
|
|
|
|
/* CalDAV/CardDAV/GroupDAV app */
|
|
$setup_info['groupdav']['name'] = 'groupdav';
|
|
$setup_info['groupdav']['version'] = '1.8';
|
|
$setup_info['groupdav']['enable'] = 2;
|
|
$setup_info['groupdav']['app_order'] = 1;
|
|
$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';
|
|
$setup_info['groupdav']['hooks']['preferences'] = 'groupdav_hooks::menus';
|
|
$setup_info['groupdav']['hooks']['settings'] = 'groupdav_hooks::settings';
|