Re: [calsify] Review of draft-ietf-calext-caldav-attachments-02.txt

Gren Elliot <gren.elliot@synacor.com> Fri, 14 April 2017 07:37 UTC

Return-Path: <gren.elliot@synacor.com>
X-Original-To: calsify@ietfa.amsl.com
Delivered-To: calsify@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 11646120326 for <calsify@ietfa.amsl.com>; Fri, 14 Apr 2017 00:37:44 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level:
X-Spam-Status: No, score=-2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=synacor.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id rzvadLIglmFT for <calsify@ietfa.amsl.com>; Fri, 14 Apr 2017 00:37:41 -0700 (PDT)
Received: from smtp.corp.synacor.com (smtp.corp.synacor.com [69.168.102.214]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id B630312420B for <calsify@ietf.org>; Fri, 14 Apr 2017 00:37:34 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha1; d=synacor.com; s=S201606; c=relaxed/simple; q=dns/txt; i=@synacor.com; t=1492155453; h=From:Subject:Date:To:MIME-Version:Content-Type; bh=rCFOaTWFfvNEQgmd2IQ9n5hBn8c=; b=dYpRzteOmuPBz+0KEX+QOyrLqYsPyyGfH4QXdR++86y+YO+n+E+rEC4vYVFcWu57 Axc9H+VugBitjpkp5CTI1rHsrtQCjpawbaEH9mQAY1ITgK1WerX/4pLni6I3UaLj 9XzR6hb/DZWcXTVoZjo4XpsLVLH8NbOceY31hWIDQjffqCq8R+jZPONqVS+R9SA/ BjyM3HdfwgyWmz2BJk/SVzOAXpL5JxMP1r5zHns77JTmm0P3I+HRJn3vBomXWGLJ XVqM8EY/wd7TuPNnBwBquGNJdiW3Knb3WFB6ESOmCTpgqpquG0uWYejbnfQZcLO4 5N3Ohp9jE1wVFGqcu8Hqdg==;
X_CMAE_Category: , ,
X-CNFS-Analysis: v=2.2 cv=MKMio4Rl c=1 sm=1 tr=0 a=/S7aINNRHbJhlAJodkN0/g==:117 a=/S7aINNRHbJhlAJodkN0/g==:17 a=48vgC7mUAAAA:8 a=fMwQw_I6VK1IENayruwA:9 a=QEXdDO2ut3YA:10 a=Q0jImbJWXe5Z-ODh6U0A:9 a=FhVrVyleqs3D8Nf8:21 a=_W_S_7VecoQA:10 a=w1C3t2QeGrPiZgrLijVG:22
X-CM-Score: 0
X-Scanned-by: Cloudmark Authority Engine
X-Authed-Username: Z3Jlbi5lbGxpb3RAc3luYWNvci5jb20=
Authentication-Results: smtp01.corp.aga.synacor.com header.from=gren.elliot@synacor.com; sender-id=softfail
Authentication-Results: smtp01.corp.aga.synacor.com smtp.mail=gren.elliot@synacor.com; spf=softfail; sender-id=softfail
Authentication-Results: smtp01.corp.aga.synacor.com smtp.user=gren.elliot@synacor.com; auth=pass (LOGIN)
Received-SPF: softfail (smtp01.corp.aga.synacor.com: transitional domain synacor.com does not designate 86.20.99.83 as permitted sender)
Received: from [86.20.99.83] ([86.20.99.83:52273] helo=pan.local.mail) by smtp.corp.synacor.com (envelope-from <gren.elliot@synacor.com>) (ecelerity 3.6.23.54417 r(Core:3.6.23.0)) with ESMTPA id E3/F5-03395-C3C70F85; Fri, 14 Apr 2017 03:37:33 -0400
Date: Fri, 14 Apr 2017 08:37:31 +0100
From: Gren Elliot <gren.elliot@synacor.com>
To: Ken Murchison <murch@andrew.cmu.edu>, calsify@ietf.org
Message-ID: <etPan.58f07c3b.5f3a503c.3a7@synacor.com>
In-Reply-To: <etPan.58dbceea.78dc43e6.460@synacor.com>
References: <148943479822.20333.15175294910025553176@ietfa.amsl.com> <etPan.58dbceea.78dc43e6.460@synacor.com>
X-Mailer: Airmail (420)
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="58f07c3b_b377807_3a7"
Archived-At: <https://mailarchive.ietf.org/arch/msg/calsify/TU-S1LOMpYI3iAbkhXw-EP7xmBA>
Subject: Re: [calsify] Review of draft-ietf-calext-caldav-attachments-02.txt
X-BeenThere: calsify@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: <calsify.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/calsify>, <mailto:calsify-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/calsify/>
List-Post: <mailto:calsify@ietf.org>
List-Help: <mailto:calsify-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/calsify>, <mailto:calsify-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 14 Apr 2017 07:37:44 -0000

Hi,

I’m re-submitting this as I did not notice any responses to the original from 23rd March.
The subject of the previous one had ID-Action in it - perhaps that is why?

Here some more review comments after reading through the whole document:

Reviewing https://tools.ietf.org/html/draft-ietf-calext-caldav-attachments-02

1.   Not sure if this is a bug in the tools used to create the draft but
     just before the table of contents, the text
          "as described in Section 4.e of"
     actually has a hyper link to Section 4 of this document rather
     than the "Trust Legal Provisions" document.

2.   In the introduction, would benefit from a link to RFC4791 similar to
     the one for RFC7230 on the following line.

3.   In the introduction, should the description of RFC4791 be the same as
     the one used in that RFC:
         "Calendaring Extensions to WebDAV (CalDAV)"
     rather than:
         "the CalDAV Calendar Access protocol"

4.   Minor nit.  In the Introduction there is a space before the full
     stop after "managing access privileges".

5.   Section 3.3.2 rid= parameter.
     I was initially thinking about how we would deal with RECURRENCE-ID
     properties which reference TZID values with commas in them.  I now
     think that is a misunderstanding on my part - as TZID references
     would be in parameters and we only use the value of
     RECURRENCE-ID.  I think this section would benefit from an example.
     e.g.  to reference:
               'RECURRENCE-ID;TZID=America/Montreal:20120220T100000'
           use:
               'rid=20120220T100000'
     As a side question.  Are we comfortable that values will be
     unique?  Theoretically, I could imagine if 2 instances used
     different TZID parameters, they could have the same value.
     We could choose to ignore this on the basis that you shouldn't
     mix different TZID parameters in the same item?

6.   Section 3.3.3 managed-id query parameter
     Would benefit from a "(see Section 4.3) after:
     "the "MANAGED-ID" property parameter value"

7.   Section 3.4 Adding attachments. 2.A

     Would be good to explicitly state how servers should respond to
     an invalid "rid" query parameter.  I imagine this would be done
     by enhancing section 3.11 to document a precondition for a
     valid "rid" and providing a link to that from here.

8.   Section 3.5 Updating attachments. 2.A

     Would be good to explicitly reference section 3.11 on Error handling
     for how servers should respond to an invalid "managed-id" query
     parameter.

9.   Section 3.6. Removing Attachments via POST. 2.A

     Would be good to explicitly state how servers should respond to
     an invalid "rid" query parameter.  I imagine this would be done
     by enhancing section 3.11 to document a precondition for a
     valid "rid" and providing a link to that from here.

10.  Section 3.6. Removing Attachments via POST. 2.B

     Would be good to explicitly reference section 3.11 on Error handling
     for how servers should respond to an invalid "managed-id" query
     parameter.

11.  Section 3.7 Adding Existing Managed Attachments via PUT

     This suggests that servers SHOULD NOT change either tha MANAGED-ID
     or ATTACH property for any managed attachments.  Speaking for our
     server, the safest way to implement managed attachments
     would be to only allow attachment sharing within one calendar item,
     thus it is likely that we, and potentially others in the same
     situation would not follow this "SHOULD NOT" advice.  Perhaps some
     text that clients should not assume this would be wise.

12.  Section 3.11 Error Handling

     Need to document a precondition for POST that all RECURRENCE-IDs
     referenced in the "rid" query parameter must be valid.
     e.g.

     (CALDAV:valid-rid): The rid query parameter in the
      POST request MUST only contain values corresponding to valid
      "RECURRENCE-ID" properties in the iCalendar data targeted by the
      request.

13.  Section 3.11 Error Handling

     How should servers respond if an unknown value for the action= query
     parameter is specified?  Perhaps:

     (CALDAV:valid-action): The value for the action query parameter in the
     POST request is not supported by this server.

14.  Section 4.3 MANAGED-ID Property Parameter
     This documents a new ICALENDAR property.  Should there be some
     linkage to say this updates RFC5545?

15.  Section 6.  Additional WebDAV properties

     Should there be some linkage in this document to say this updates
     the CalDAV RFC4791?

Regards,
Gren Elliot of Synacor Zimbra.

This message and any attachment may contain information that is confidential and/or proprietary. Any use, disclosure, copying, storing, or distribution of this e-mail or any attached file by anyone other than the intended recipient is strictly prohibited. If you have received this message in error, please notify the sender by reply email and delete the message and any attachments. Thank you.