[dev] [cvs] commit: nag/lib api.php

Ben Klang ben at alkaloid.net
Thu May 1 13:08:24 UTC 2008


--  
Ben Klang
Alkaloid Networks LLC
ben at alkaloid.net
404.475.4850
http://projects.alkaloid.net


On May 1, 2008, at 8:31 AM, Jan Schneider wrote:

> Zitat von Ben Klang <ben at alkaloid.net>:
>
>> bklang      2008-04-29 17:51:54 EDT
>>
>>   Modified files:
>>     lib                  api.php
>>   Log:
>>   * Fix _nag_put() to allow importing tasklists via HTTP PUT
>>   - Allow PUT for .ics (text/calendar) as well as individual tasks
>> (text/x-vtodo)
>>   - Correctly initialize Nag_Driver
>>   - Default content-type for WebDAV clients that don't get it right
>> or don't know better (Konqueror)
>>   - Correctly set the task UID on Horde_History entries
>>
>>   Bug: 6595
>>
>>   Revision  Changes    Path
>>   1.167     +28 -7     nag/lib/api.php
>>
>>   Chora Links:
>>   http://cvs.horde.org/diff.php/nag/lib/api.php? 
>> r1=1.166&r2=1.167&ty=u
>
> This breaks PUT for auth backends that don't support listing users
Ah, I didn't think about that.  I'll back it out.

> and
> you are once defaulting to text/calendar and the other time to
> text/v-todo if receiving application/octet-stream data.
This was intentional.  The text/calendar is only set when PUTting  
an .ics file and the text/v-todo is used when the file is uploaded to  
the folder containing individual tasklist items in that format.

/BAK/

>
> Jan.
>
> I just saw that Chuck already removed the exists() call.
>
> -- 
> Do you need professional PHP or Horde consulting?
> http://horde.org/consulting/
>
>
> -- 
> Horde developers mailing list - Join the hunt: http://horde.org/ 
> bounties/
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: dev-unsubscribe at lists.horde.org



More information about the dev mailing list