6.0.0-beta1
7/11/25

[#1269] Birthdays in Turba - default settings and vCard import/export
Summary Birthdays in Turba - default settings and vCard import/export
Queue Turba
Queue Version 2.0
Type Enhancement
State Resolved
Priority 1. Low
Owners Horde Developers (at)
Requester thomas (at) gelf (dot) net
Created 01/28/2005 (7469 days ago)
Due
Updated 05/02/2005 (7375 days ago)
Assigned 04/22/2005 (7385 days ago)
Resolved 05/02/2005 (7375 days ago)
Milestone
Patch No

History
05/02/2005 08:14:21 PM Jan Schneider Comment #3
State ⇒ Resolved
Reply to this comment
Partially committed. I left out the changes to the default sql scripts 
and configuration files for now. This should be done with all backends 
and databases if at all and would require backend updates. This could 
earliest be done for Turba 2.1.
04/22/2005 09:25:08 AM Jan Schneider Type ⇒ Enhancement
State ⇒ Assigned
Priority ⇒ 1. Low
 
04/22/2005 09:23:57 AM Jan Schneider Assigned to Horde DevelopersHorde Developers
State ⇒ Assigned
 
02/08/2005 09:04:26 AM Jan Schneider State ⇒
 
01/28/2005 06:30:27 PM thomas (at) gelf (dot) net Comment #2
New Attachment: horde_birthday_v1.diff Download
Reply to this comment
...and here is the patch (as it isn't possible to attach files wich 
the first post)
01/28/2005 06:26:48 PM thomas (at) gelf (dot) net Comment #1
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ Birthdays in Turba - default settings and vCard import/export
Queue ⇒ Turba
State ⇒ Unconfirmed
Reply to this comment
1. Default settings



Turba has support for birthdays, but they are not enabled in a default 
installation. In my patch I modified 
/turba/scripts/sql/turba_objects.mysql.sql, someone should do so for 
the other scripts. Birthdays are also missing in 
/turba/config/sources.php.dist - fixed that too.



2. vCard import/export



Importing vCards with birthdays fails (once enabled birthdays in 
Turba). RFC 2426 says that BDAY is per default a single date value and 
it could also be a single date-time value.



I didn't try this with date-time values as Evolution exports just a 
single date and I didn't test other clients. The first problem was the 
_parseDate function in /lib/Horde/iCalendar.php - it fails with 
YYYY-MM-DD dates (as suggested by rfc).



This is also fixed in the attached file. I did also some changes to 
fix exports, but I didn't have time to test this and to check if 
export is rfc-compliant.



Yours sincerly,

Thomas Gelf




Saved Queries