gunnar: server/kolab-webclient/turba/configuration/turba-2.3.3 10-kolab_conf_base.php, NONE, 1.1 10-kolab_sources_base.php, NONE, 1.1 10-kolab_sources_base.php~, NONE, 1.1
cvs at kolab.org
cvs at kolab.org
Tue Jan 19 14:17:13 CET 2010
- Previous message: gunnar: server/kolab-webclient/turba .cvsignore, NONE, 1.1 Makefile, NONE, 1.1 turba.spec, NONE, 1.1
- Next message: gunnar: server/kolab-webclient/turba/templates/turba-2.3.3 webclient-turba_attributes.php.template, NONE, 1.1 webclient-turba_conf.php.template, NONE, 1.1 webclient-turba_hooks.php.template, NONE, 1.1 webclient-turba_menu.php.template, NONE, 1.1 webclient-turba_mime_drivers.php.template, NONE, 1.1 webclient-turba_prefs.php.template, NONE, 1.1 webclient-turba_sources.php.template, NONE, 1.1
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: gunnar
Update of /kolabrepository/server/kolab-webclient/turba/configuration/turba-2.3.3
In directory doto:/tmp/cvs-serv22019/configuration/turba-2.3.3
Added Files:
10-kolab_conf_base.php 10-kolab_sources_base.php
10-kolab_sources_base.php~
Log Message:
Draft turba package.
--- NEW FILE: 10-kolab_conf_base.php ---
<?php
$conf['client']['addressbook'] = 'INBOX%2FClients';
$conf['shares']['source'] = 'kolab';
--- NEW FILE: 10-kolab_sources_base.php ---
<?php
/* Only use LDAP if we have that extension in PHP */
if (function_exists('ldap_connect')) {
require_once 'Horde/Kolab.php';
if (!is_callable('Kolab', 'getServer')) {
$_kolab_server = $GLOBALS['conf']['kolab']['ldap']['server'];
} else {
$_kolab_server = Kolab::getServer('ldap');
}
/* A global address book for a Kolab Server. This is typically a
* read-only public directory, stored in the default Kolab LDAP server.
* The user accessing this should have read permissions to the shared
* directory in LDAP. */
$cfgSources['kolab_global'] = array(
'title' => _("Global Address Book"),
'type' => 'ldap',
'params' => array(
'server' => $_kolab_server,
'port' => $GLOBALS['conf']['kolab']['ldap']['port'],
'tls' => false,
'root' => $GLOBALS['conf']['kolab']['ldap']['basedn'],
'sizelimit' => 200,
'dn' => array('cn'),
'objectclass' => array(
'inetOrgPerson'
),
'scope' => 'sub',
'charset' => 'utf-8',
'version' => 3,
'bind_dn' => '',
'bind_password' => '',
),
'map' => array(
'__key' => 'dn',
'name' => 'cn',
'firstname' => 'givenName',
'lastname' => 'sn',
'email' => 'mail',
'alias' => 'alias',
'title' => 'title',
'company' => 'o',
'workStreet' => 'street',
'workCity' => 'l',
'workProvince' => 'st',
'workPostalCode' => 'postalCode',
'workCountry' => 'c',
'homePhone' => 'homePhone',
'workPhone' => 'telephoneNumber',
'cellPhone' => 'mobile',
'fax' => 'fax',
'notes' => 'description',
'kolabHomeServer' => 'kolabHomeServer',
'freebusyUrl' => array('fields' => array('kolabHomeServer', 'email'),
'format' => 'https://%s/freebusy/%s.xfb'),
),
'search' => array(
'name',
'firstname',
'lastname',
'email',
'title',
'company',
'workAddress',
'workCity',
'workProvince',
'workPostalCode',
'workCountry',
'homePhone',
'workPhone',
'cellPhone',
'fax',
'notes',
),
'strict' => array(
'dn',
),
'export' => true,
'browse' => true,
);
}
/**
* The local address books for a Kolab user. These are stored in specially
* flagged contact folder within the users Cyrus IMAP mailbox.
*
* Still missing attributes are:
*
* picture, sensitivity
*/
$cfgSources['kolab'] = array(
'title' => _("Contacts"),
'type' => 'kolab',
'params' => array(
'charset' => 'utf-8',
),
'list_name_field' => 'lastname',
'map' => array(
'__key' => 'uid',
'__uid' => 'uid',
'__type' => '__type',
'__members' => '__members',
/* Personal */
'name' => array('fields' => array('firstname', 'middlenames', 'lastname'),
'format' => '%s %s %s',
'parse' => array(
array('fields' => array('firstname', 'middlenames',
'lastname'),
'format' => '%s %s %s'),
array('fields' => array( 'lastname', 'firstname'),
'format' => '%s, %s'),
array('fields' => array('firstname', 'lastname'),
'format' => '%s %s'),
)),
'firstname' => 'given-name',
'lastname' => 'last-name',
'middlenames' => 'middle-names',
'namePrefix' => 'prefix',
'nameSuffix' => 'suffix',
'initials' => 'initials',
'nickname' => 'nick-name',
'photo' => 'photo',
'phototype' => 'phototype',
'gender' => 'gender',
'birthday' => 'birthday',
'spouse' => 'spouse-name',
'anniversary' => 'anniversary',
'children' => 'children',
/* Location */
'workStreet' => 'addr-business-street',
'workCity' => 'addr-business-locality',
'workProvince' => 'addr-business-region',
'workPostalCode' => 'addr-business-postal-code',
'workCountry' => 'addr-business-country',
'homeStreet' => 'addr-home-street',
'homeCity' => 'addr-home-locality',
'homeProvince' => 'addr-home-region',
'homePostalCode' => 'addr-home-postal-code',
'homeCountry' => 'addr-home-country',
/* Communications */
'emails' => 'emails',
'homePhone' => 'phone-home1',
'workPhone' => 'phone-business1',
'cellPhone' => 'phone-mobile',
'fax' => 'phone-businessfax',
'instantMessenger' => 'im-address',
/* Organization */
'title' => 'job-title',
'role' => 'profession',
'company' => 'organization',
'department' => 'department',
'office' => 'office-location',
'manager' => 'manager-name',
'assistant' => 'assistant',
/* Other */
'category' => 'categories',
'notes' => 'body',
'website' => 'web-page',
'freebusyUrl' => 'free-busy-url',
'language' => 'language',
'latitude' => 'latitude',
'longitude' => 'longitude',
/* Invisible */
'email' => 'email',
'pgpPublicKey' => 'pgp-publickey',
),
'tabs' => array(
_("Personal") => array('name', 'firstname', 'lastname', 'middlenames',
'namePrefix', 'nameSuffix', 'initials', 'nickname',
'photo', 'gender', 'birthday', 'spouse', 'anniversary',
'children'),
_("Location") => array('homeStreet', 'homeCity', 'homeProvince',
'homePostalCode', 'homeCountry', 'workStreet',
'workCity', 'workProvince', 'workPostalCode',
'workCountry'),
_("Communications") => array('emails', 'homePhone', 'workPhone',
'cellPhone', 'fax', 'instantMessenger'),
_("Organization") => array('title', 'role', 'company', 'department',
'office', 'manager', 'assistant'),
_("Other") => array('category', 'notes', 'website', 'freebusyUrl',
'language', 'latitude', 'longitude'),
),
'search' => array(
/* Personal */
'name',
'firstname',
'lastname',
'middlenames',
'namePrefix',
'nameSuffix',
'initials',
'nickname',
'gender',
'birthday',
'spouse',
'anniversary',
'children',
/* Location */
'workStreet',
'workCity',
'workProvince',
'workPostalCode',
'workCountry',
'homeStreet',
'homeCity',
'homeProvince',
'homePostalCode',
'homeCountry',
/* Communications */
'emails',
'homePhone',
'workPhone',
'cellPhone',
'fax',
'instantMessenger',
/* Organization */
'title',
'role',
'company',
'department',
'office',
'manager',
'assistant',
/* Other */
'category',
'notes',
'website',
'language',
),
'strict' => array(
'uid',
),
'export' => true,
'browse' => true,
'use_shares' => true,
'shares_only' => true,
);
--- NEW FILE: 10-kolab_sources_base.php~ ---
<?php
/* Only use LDAP if we have that extension in PHP */
if (function_exists('ldap_connect')) {
require_once 'Horde/Kolab.php';
if (!is_callable('Kolab', 'getServer')) {
$_kolab_server = $GLOBALS['conf']['kolab']['ldap']['server'];
} else {
$_kolab_server = Kolab::getServer('ldap');
}
/* A global address book for a Kolab Server. This is typically a
* read-only public directory, stored in the default Kolab LDAP server.
* The user accessing this should have read permissions to the shared
* directory in LDAP. */
$cfgSources['kolab_global'] = array(
'title' => _("Global Address Book"),
'type' => 'ldap',
'params' => array(
'server' => $_kolab_server,
'port' => $GLOBALS['conf']['kolab']['ldap']['port'],
'tls' => false,
'root' => $GLOBALS['conf']['kolab']['ldap']['basedn'],
'sizelimit' => 200,
'dn' => array('cn'),
'objectclass' => array(
'inetOrgPerson'
),
'scope' => 'sub',
'charset' => 'utf-8',
'version' => 3,
'bind_dn' => '',
'bind_password' => '',
),
'map' => array(
'__key' => 'dn',
'name' => 'cn',
'firstname' => 'givenName',
'lastname' => 'sn',
'email' => 'mail',
'alias' => 'alias',
'title' => 'title',
'company' => 'o',
'workStreet' => 'street',
'workCity' => 'l',
'workProvince' => 'st',
'workPostalCode' => 'postalCode',
'workCountry' => 'c',
'homePhone' => 'homePhone',
'workPhone' => 'telephoneNumber',
'cellPhone' => 'mobile',
'fax' => 'fax',
'notes' => 'description',
'kolabHomeServer' => 'kolabHomeServer',
'freebusyUrl' => array('fields' => array('kolabHomeServer', 'email'),
'format' => 'https://%s/freebusy/%s.xfb'),
),
'search' => array(
'name',
'firstname',
'lastname',
'email',
'title',
'company',
'workAddress',
'workCity',
'workProvince',
'workPostalCode',
'workCountry',
'homePhone',
'workPhone',
'cellPhone',
'fax',
'notes',
),
'strict' => array(
'dn',
),
'export' => true,
'browse' => true,
);
}
/**
* The local address books for a Kolab user. These are stored in specially
* flagged contact folder within the users Cyrus IMAP mailbox.
*
* Still missing attributes are:
*
* picture, sensitivity
*/
$cfgSources['kolab'] = array(
'title' => _("Contacts"),
'type' => 'kolab',
'params' => array(
'charset' => 'utf-8',
),
'list_name_field' => 'lastname',
'map' => array(
'__key' => 'uid',
'__uid' => 'uid',
'__type' => '__type',
'__members' => '__members',
/* Personal */
'name' => array('fields' => array('firstname', 'middlenames', 'lastname'),
'format' => '%s %s %s',
'parse' => array(
array('fields' => array('firstname', 'middlenames',
'lastname'),
'format' => '%s %s %s'),
array('fields' => array( 'lastname', 'firstname'),
'format' => '%s, %s'),
array('fields' => array('firstname', 'lastname'),
'format' => '%s %s'),
)),
'firstname' => 'given-name',
'lastname' => 'last-name',
'middlenames' => 'middle-names',
'namePrefix' => 'prefix',
'nameSuffix' => 'suffix',
'initials' => 'initials',
'nickname' => 'nick-name',
'photo' => 'photo',
'phototype' => 'phototype',
'gender' => 'gender',
'birthday' => 'birthday',
'spouse' => 'spouse-name',
'anniversary' => 'anniversary',
'children' => 'children',
/* Location */
'workStreet' => 'addr-business-street',
'workCity' => 'addr-business-locality',
'workProvince' => 'addr-business-region',
'workPostalCode' => 'addr-business-postal-code',
'workCountry' => 'addr-business-country',
'homeStreet' => 'addr-home-street',
'homeCity' => 'addr-home-locality',
'homeProvince' => 'addr-home-region',
'homePostalCode' => 'addr-home-postal-code',
'homeCountry' => 'addr-home-country',
/* Communications */
'emails' => 'emails',
'homePhone' => 'phone-home1',
'workPhone' => 'phone-business1',
'cellPhone' => 'phone-mobile',
'fax' => 'phone-businessfax',
'instantMessenger' => 'im-address',
/* Organization */
'title' => 'job-title',
'role' => 'profession',
'company' => 'organization',
'department' => 'department',
'office' => 'office-location',
'manager' => 'manager-name',
'assistant' => 'assistant',
/* Other */
'category' => 'categories',
'notes' => 'body',
'website' => 'web-page',
'freebusyUrl' => 'free-busy-url',
'language' => 'language',
'latitude' => 'latitude',
'longitude' => 'longitude',
/* Invisible */
'email' => 'email',
'pgpPublicKey' => 'pgp-publickey',
),
'tabs' => array(
_("Personal") => array('name', 'firstname', 'lastname', 'middlenames',
'namePrefix', 'nameSuffix', 'initials', 'nickname',
'photo', 'gender', 'birthday', 'spouse', 'anniversary',
'children'),
_("Location") => array('homeStreet', 'homeCity', 'homeProvince',
'homePostalCode', 'homeCountry', 'workStreet',
'workCity', 'workProvince', 'workPostalCode',
'workCountry'),
_("Communications") => array('emails', 'homePhone', 'workPhone',
'cellPhone', 'fax', 'instantMessenger'),
_("Organization") => array('title', 'role', 'company', 'department',
'office', 'manager', 'assistant'),
_("Other") => array('category', 'notes', 'website', 'freebusyUrl',
'language', 'latitude', 'longitude'),
),
'search' => array(
/* Personal */
'name',
'firstname',
'lastname',
'middlenames',
'namePrefix',
'nameSuffix',
'initials',
'nickname',
'gender',
'birthday',
'spouse',
'anniversary',
'children',
/* Location */
'workStreet',
'workCity',
'workProvince',
'workPostalCode',
'workCountry',
'homeStreet',
'homeCity',
'homeProvince',
'homePostalCode',
'homeCountry',
/* Communications */
'emails',
'homePhone',
'workPhone',
'cellPhone',
'fax',
'instantMessenger',
/* Organization */
'title',
'role',
'company',
'department',
'office',
'manager',
'assistant',
/* Other */
'category',
'notes',
'website',
'language',
),
'strict' => array(
'uid',
),
'export' => true,
'browse' => true,
'use_shares' => true,
'shares_only' => true,
);
}
/* End Kolab sources. */
- Previous message: gunnar: server/kolab-webclient/turba .cvsignore, NONE, 1.1 Makefile, NONE, 1.1 turba.spec, NONE, 1.1
- Next message: gunnar: server/kolab-webclient/turba/templates/turba-2.3.3 webclient-turba_attributes.php.template, NONE, 1.1 webclient-turba_conf.php.template, NONE, 1.1 webclient-turba_hooks.php.template, NONE, 1.1 webclient-turba_menu.php.template, NONE, 1.1 webclient-turba_mime_drivers.php.template, NONE, 1.1 webclient-turba_prefs.php.template, NONE, 1.1 webclient-turba_sources.php.template, NONE, 1.1
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the commits
mailing list