Re: [Evolution-hackers] Categories

2011-06-23 Thread Andrew McMillan
On Thu, 2011-06-23 at 07:14 -0400, Adam Tauno Williams wrote:
> When saving a task or event over a CalDAV collection Evolution sends a
> CATEGORIES attribute like:
> 
> CLASS:PUBLIC
> CATEGORIES:Favorites\,Gifts\,Goals/Objectives
> PERCENT-COMPLETE:0
> 
> Looking at RFC2445 I'm pretty sure this is wrong.  Shouldn't it be:
> 
> CLASS:PUBLIC
> CATEGORIES:Favorite,Gifts,Goals/Objectives
> PERCENT-COMPLETE:0
> 
> From the RFC:
>Description: This property is used to specify categories or subtypes
>of the calendar component. The categories are useful in searching for
>a calendar component of a particular type and category. Within the
>"VEVENT", "VTODO" or "VJOURNAL" calendar components, more than one
>category can be specified as a list of categories separated by the
>COMMA character (US-ASCII decimal 44).
> 
>Example: The following are examples of this property:
> 
>  CATEGORIES:APPOINTMENT,EDUCATION
> 
> Why is evolution escaping the comma?
> 
>  CATEGORIES:MEETING

Yes, you should definitely file a bug report for this.  RFC5545, which
is the update to 2445, definitively makes this clear in section 3.8.1.2
as:

   Format Definition:  This property is defined by the following
  notation:

   categories = "CATEGORIES" catparam ":" text *("," text)
CRLF

   catparam   = *(
  ;
  ; The following is OPTIONAL,
  ; but MUST NOT occur more than once.
  ;
  (";" languageparam ) /
  ;
  ; The following is OPTIONAL,
  ; and MAY occur more than once.
  ;
  (";" other-param)
  ;
  )

As well as giving the same example.

Regards,
Andrew McMillan.

-- 

andrew (AT) morphoss (DOT) com+64(272)DEBIAN
 Flexibility is overrated.  Constraints are liberating.




signature.asc
Description: This is a digitally signed message part
___
evolution-hackers mailing list
evolution-hackers@gnome.org
To change your list options or unsubscribe, visit ...
http://mail.gnome.org/mailman/listinfo/evolution-hackers


[Evolution-hackers] Attachments?

2011-06-23 Thread Adam Tauno Williams
Are attachments for tasks related to a CalDAV task list supposed to be
functional?

If the attachment is encoded as a link [and the site requires
authentication] Evolution presents a "HTTP authentication required"
error dialog and drops the attachment;  it doesn't ask for
authentication or attempt to use the credentials used for the CalDAV
server.

If the attachment is encoded as binary [present in the VTODO] it simply
fails with an "operation not supported" message.

Evolution 2.32.1

___
evolution-hackers mailing list
evolution-hackers@gnome.org
To change your list options or unsubscribe, visit ...
http://mail.gnome.org/mailman/listinfo/evolution-hackers


Re: [Evolution-hackers] Categories

2011-06-23 Thread Adam Tauno Williams
On Thu, 2011-06-23 at 07:14 -0400, Adam Tauno Williams wrote:
> When saving a task or event over a CalDAV collection Evolution sends a
> CATEGORIES attribute like:
> CLASS:PUBLIC
> CATEGORIES:Favorites\,Gifts\,Goals/Objectives
> PERCENT-COMPLETE:0
> Looking at RFC2445 I'm pretty sure this is wrong.  Shouldn't it be:
> CLASS:PUBLIC
> CATEGORIES:Favorite,Gifts,Goals/Objectives
> PERCENT-COMPLETE:0

If I open a task in Evolution that looks like:

CATEGORIES:Competition,Business

It shows "Competition" as the only category in the Categories column of
the task list and "Business" as the only category in the Categories
field when viewing the task.  I assume this is not the intended
behavior?

Evolution 2.32.1

> From the RFC:
>Description: This property is used to specify categories or subtypes
>of the calendar component. The categories are useful in searching for
>a calendar component of a particular type and category. Within the
>"VEVENT", "VTODO" or "VJOURNAL" calendar components, more than one
>category can be specified as a list of categories separated by the
>COMMA character (US-ASCII decimal 44).
> 
>Example: The following are examples of this property:
> 
>  CATEGORIES:APPOINTMENT,EDUCATION
> 
> Why is evolution escaping the comma?
> 
>  CATEGORIES:MEETING

___
evolution-hackers mailing list
evolution-hackers@gnome.org
To change your list options or unsubscribe, visit ...
http://mail.gnome.org/mailman/listinfo/evolution-hackers


[Evolution-hackers] Categories

2011-06-23 Thread Adam Tauno Williams
When saving a task or event over a CalDAV collection Evolution sends a
CATEGORIES attribute like:

CLASS:PUBLIC
CATEGORIES:Favorites\,Gifts\,Goals/Objectives
PERCENT-COMPLETE:0

Looking at RFC2445 I'm pretty sure this is wrong.  Shouldn't it be:

CLASS:PUBLIC
CATEGORIES:Favorite,Gifts,Goals/Objectives
PERCENT-COMPLETE:0

>From the RFC:
   Description: This property is used to specify categories or subtypes
   of the calendar component. The categories are useful in searching for
   a calendar component of a particular type and category. Within the
   "VEVENT", "VTODO" or "VJOURNAL" calendar components, more than one
   category can be specified as a list of categories separated by the
   COMMA character (US-ASCII decimal 44).

   Example: The following are examples of this property:

 CATEGORIES:APPOINTMENT,EDUCATION

Why is evolution escaping the comma?

 CATEGORIES:MEETING



___
evolution-hackers mailing list
evolution-hackers@gnome.org
To change your list options or unsubscribe, visit ...
http://mail.gnome.org/mailman/listinfo/evolution-hackers