[Tickets #11891] kronolith doesnt show turba events
bugs at horde.org
bugs at horde.org
Fri Dec 14 21:26:42 UTC 2012
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/11891
------------------------------------------------------------------------------
Ticket | 11891
Created By | ron at insweb.dyndns.org
Summary | kronolith doesnt show turba events
Queue | Turba
Version | 4.0.1
Type | Bug
State | Unconfirmed
Priority | 1. Low
Milestone |
Patch |
Owners |
------------------------------------------------------------------------------
ron at insweb.dyndns.org (2012-12-14 21:26) wrote:
After setting '%Y%m%d' format, kronolith does not longer show events
like birthdays stored in the address book (turba), with '%Y-%m-%d' it
works.
/turba/config/attributes.local.php
<?php
$attributes['birthday'] = array(
'label' => _("Birthday"),
'type' => 'monthdayyear',
'required' => false,
'params' => array('start_year' => 1900, 'end_year' => null,
'picker' => true, 'format_in' => '%Y%m%d', 'format_out' =>
$GLOBALS['prefs']->getValue('date_format')),
'time_object_label' => _("Birthdays"),
);
$attributes['anniversary'] = array(
'label' => _("Anniversary"),
'type' => 'monthdayyear',
'params' => array('start_year' => 1900, 'end_year' => null,
'picker' => true, 'format_in' => '%Y%m%d', 'format_out' =>
$GLOBALS['prefs']->getValue('date_format')),
'required' => false,
'time_object_label' => _("Anniversaries"),
);
/turba/config/backends.php
<?php
/**
* A personal LDAP address book. This assumes that the login is
* <username>@domain.com and that the users are stored on the same LDAP
* server. Thus it is possible to bind with the username and password from the
* user. For more info; please refer to the docs/LDAP file in the Turba
* distribution.
*
* To store distribution lists in the LDAP directory, you'll need to include
* horde.schema from Horde in your LDAP configuration.
*
* To store freebusy information in the LDAP directory, you'll need to include
* rfc2739.schema from Horde in your LDAP configuration.
*/
/* First we need to get the uid. */
$_ldap_uid = $GLOBALS['registry']->getAuth('bare');
$_ldap_basedn = 'dc=insweb.dyndns.org';
$cfgSources['personal_ldap'] = array(
// Disabled by default
'disabled' => false,
'title' => _("My Address Book"),
'type' => 'ldap',
'params' => array(
'server' => 'localhost',
'port' => 389,
'tls' => false,
'root' => 'ou=' . $_ldap_uid . ',ou=personal,ou=addressbook,'
. $_ldap_basedn,
'bind_dn' => 'uid=' . $_ldap_uid . ',ou=user,' . $_ldap_basedn,
'bind_password' =>
$GLOBALS['registry']->getAuthCredential('password'),
'sizelimit' => 200,
'dn' => array('cn'),
'objectclass' => array('top',
'person',
'inetOrgPerson',
'turbaContact',
'organizationalPerson',
'evolutionPerson',
'calEntry'),
'scope' => 'one',
'charset' => 'utf-8',
'checkrequired' => true,
'checkrequired_string' => ' ',
'checksyntax' => false,
'version' => 3
),
'map' => array(
'__key' => 'dn',
'__uid' => 'uid',
// From horde.schema:
'__type' => 'turbaType',
'__members' => 'turbaMembers',
'name' => 'cn',
'emails' => 'mail',
'lastname' => 'sn',
'firstname' => 'givenName',
'photo' => 'jpegPhoto',
'nickname' => 'displayName',
'birthday' => 'birthDate',
'anniversary' => 'anniversary',
'spouse' => 'spouseName',
'title' => 'title',
'company' => 'o',
'businessCategory' => 'businesscategory',
'workAddress' => 'postaladdress',
'workPostalCode' => 'postalcode',
'workPhone' => 'telephonenumber',
'pager' => 'pager',
'fax' => 'facsimiletelephonenumber',
'homeAddress' => 'homepostaladdress',
'homeCountry' => 'st',
'homePhone' => 'homephone',
'cellPhone' => 'mobile',
'fax' => 'facsimiletelephonenumber',
'notes' => 'description',
// Evolution interopt attributes: (those that do not require the
// evolution.schema)
'office' => 'roomNumber',
'department' => 'ou',
'website' => 'labeledURI',
// These are not stored on the LDAP server.
'pgpPublicKey' => 'userPKCS12',
'smimePublicKey' => 'userSMIMECertificate',
// From rfc2739.schema:
'freebusyUrl' => 'calFBURL',
),
'search' => array(
'name',
'email',
'businessCategory',
'title',
'homePhone',
'workPhone',
'cellPhone',
'homeAddress'
),
'strict' => array(
'dn', 'uid'
),
'approximate' => array(
'cn',
),
'export' => true,
'browse' => true,
);
/**
* A local address book in an LDAP directory. This implements a public
* (shared) address book.
*
* To store distribution lists in the LDAP directory, you'll need to include
* horde.schema from Horde in your LDAP configuration.
*
* To store freebusy information in the LDAP directory, you'll need to include
* rfc2739.schema from Horde in your LDAP configuration.
*/
$cfgSources['localldap'] = array(
// Disabled by default
'disabled' => false,
'title' => _("Shared Addressbook"),
'type' => 'ldap',
'params' => array(
'server' => 'localhost',
'port' => 389,
'tls' => false,
'root' => 'ou=shared,ou=addressbook,' . $_ldap_basedn,
'bind_dn' => 'uid=' . $_ldap_uid . ',ou=user,' . $_ldap_basedn,
'bind_password' =>
$GLOBALS['registry']->getAuthCredential('password'),
'sizelimit' => 200,
// For Active Directory:
// 'sizelimit' => 0,
'dn' => array('cn'),
'objectclass' => array('top',
'person',
'inetOrgPerson',
'turbaContact',
'organizationalPerson',
'evolutionPerson',
'calEntry'),
'scope' => 'one',
// For Active Directory:
// 'scope' => 'sub',
'charset' => 'utf-8',
// Consult the LDAP schema to verify that all required attributes for
// an entry are set and add them if needed.
'checkrequired' => true,
// Value used to fill in missing required attributes.
'checkrequired_string' => ' ',
// Check LDAP schema for valid syntax. If this is false an address
// field is assumed to have postalAddress syntax; otherwise the schema
// is consulted for the syntax to use.
'checksyntax' => false,
'version' => 3,
),
'map' => array(
'__key' => 'dn',
'__uid' => 'uid',
// From horde.schema:
'__type' => 'turbaType',
'__members' => 'turbaMembers',
'name' => 'cn',
'emails' => 'mail',
'lastname' => 'sn',
'firstname' => 'givenName',
'photo' => 'jpegPhoto',
'nickname' => 'displayName',
'birthday' => 'birthDate',
'anniversary' => 'anniversary',
'spouse' => 'spouseName',
'title' => 'title',
'company' => 'o',
'businessCategory' => 'businesscategory',
'workAddress' => 'postaladdress',
'workPostalCode' => 'postalcode',
'workPhone' => 'telephonenumber',
'pager' => 'pager',
'fax' => 'facsimiletelephonenumber',
'homeAddress' => 'homepostaladdress',
'homeCountry' => 'st',
'homePhone' => 'homephone',
'cellPhone' => 'mobile',
'fax' => 'facsimiletelephonenumber',
'notes' => 'description',
// Evolution interopt attributes: (those that do not require the
// evolution.schema)
'office' => 'roomNumber',
'department' => 'ou',
'website' => 'labeledURI',
// These are not stored on the LDAP server.
'pgpPublicKey' => 'userPKCS12',
'smimePublicKey' => 'userSMIMECertificate',
// From rfc2739.schema:
'freebusyUrl' => 'calFBURL',
),
'search' => array(
'name',
'email',
'homePhone',
'workPhone',
'cellPhone',
'homeAddress'
),
'strict' => array(
'dn', 'uid'
),
'approximate' => array(
'cn',
),
// For Active Directory servers:
// 'approximate' => array(
// 'displayname',
// 'samaccountname',
// ),
'export' => true,
'browse' => true,
);
More information about the bugs
mailing list