Re: [calsify] I-D Action: draft-ietf-calext-subscription-upgrade-03.txt

Michael Douglass <mikeadouglass@gmail.com> Tue, 27 April 2021 05:06 UTC

Return-Path: <mikeadouglass@gmail.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 8D7CE3A0AF9 for <calsify@ietfa.amsl.com>; Mon, 26 Apr 2021 22:06:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.098
X-Spam-Level:
X-Spam-Status: No, score=-2.098 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_BLOCKED=0.001, SPF_HELO_NONE=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=gmail.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 N7KJSA_j3bRI for <calsify@ietfa.amsl.com>; Mon, 26 Apr 2021 22:06:37 -0700 (PDT)
Received: from mail-qv1-xf31.google.com (mail-qv1-xf31.google.com [IPv6:2607:f8b0:4864:20::f31]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 08C8B3A0AF4 for <calsify@ietf.org>; Mon, 26 Apr 2021 22:06:36 -0700 (PDT)
Received: by mail-qv1-xf31.google.com with SMTP id ef17so22776882qvb.0 for <calsify@ietf.org>; Mon, 26 Apr 2021 22:06:36 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding:content-language; bh=XLMMZTmsoIF8jWOyWPP3dNzOzpJGH1ey2K/kCQ6ct8U=; b=dhW8Qf/3/lhD3llCgA07DHKriqDQDHb/nIwkhY7owZ7Ba87uUqWbUjG0Nnsi/JflUl 0fZAUG4aV/1O1qgx2SRyJzEQGhk7Pu2HWaBMLVMO8O6U4Wv/i6cwtDtA/wvIBqYaouQH dMbhWekngiBJ1dCl5KGsZqKuFymzbhfzrOMPhNdOaxrjHzeiwIqbgywma4Ok027tqnUY igV2fjeulxkI5T88i3OH/gKTFKQ4VaCu+Rnmr0/LpdJoaN+pbV/8Uopw/EDYJKBKpLaP BCo4y390ipC1QhUktXNwAqov14NM5ujTT342AfCNJV1mqsuQ4Al0YKxzW4k7N6PQ4H2H Pkdg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=XLMMZTmsoIF8jWOyWPP3dNzOzpJGH1ey2K/kCQ6ct8U=; b=ssNbVTav6rUS0viU4XLZjozo2aKZJLBceuybALJSRtEmMdkz1Two777wprBpZP/t5J tyqlT23XCgV4dmNGdD/8oU71M2jjkQsffBZhyZv92yfvnbla2JrI1/Dz+DnoD7J6TmMK Bo5n4xg/YBCPirjXMYnYqqVU1ac4gh5z31y+nNfARrsdHZ3ceuQ0He3vJ67EAaulKFKS n6Fh67SlD3SxRMVBC8EkAI757r51uLLKXUbxCBz/LwXFBSxlJ1IfygOb8yYGteKmQk1r 29fXAlN1lm/q04daf5+2oDd5TqUiF0BMgEDZTrb03ekVXFkwDpzzQ0ZxR8GBlNTINHLw fReA==
X-Gm-Message-State: AOAM532IPYyuzAgBFCW+vOsxl4mNjvMy1mIYYMAUDsLGiEG+7df16Vp6 xrg9/gzDW/OMHzIxRW8qQZR1DLvUWg0=
X-Google-Smtp-Source: ABdhPJyoeC1wqbkuxJFyYuuUjXSA/4JHgHKpvkOmCOwlXQeZdH8n5KFO3fDgXJ5tlVlXUEm86B4GCA==
X-Received: by 2002:ad4:4c49:: with SMTP id cs9mr14454232qvb.43.1619499993978; Mon, 26 Apr 2021 22:06:33 -0700 (PDT)
Received: from MacBook-Pro-2019.local (cpe-74-70-70-237.nycap.res.rr.com. [74.70.70.237]) by smtp.googlemail.com with ESMTPSA id b3sm2188683qkd.29.2021.04.26.22.06.33 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 26 Apr 2021 22:06:33 -0700 (PDT)
To: Дилян Палаузов <dilyan.palauzov@aegee.org>, calsify@ietf.org
References: <161221753429.6318.13830461705241642805@ietfa.amsl.com> <d76f6f845578ef8840daf75223908eae2a9f5bd9.camel@aegee.org>
From: Michael Douglass <mikeadouglass@gmail.com>
Message-ID: <86071c1f-7d86-82c0-3a85-097c9eb454b5@gmail.com>
Date: Tue, 27 Apr 2021 01:06:32 -0400
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0) Gecko/20100101 Thunderbird/78.9.1
MIME-Version: 1.0
In-Reply-To: <d76f6f845578ef8840daf75223908eae2a9f5bd9.camel@aegee.org>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Transfer-Encoding: 8bit
Content-Language: en-US
Archived-At: <https://mailarchive.ietf.org/arch/msg/calsify/nK3nt7CwaR4cuCJ4-Gk2T3Gytng>
Subject: Re: [calsify] I-D Action: draft-ietf-calext-subscription-upgrade-03.txt
X-BeenThere: calsify@ietf.org
X-Mailman-Version: 2.1.29
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: Tue, 27 Apr 2021 05:06:42 -0000

Sorry - looks like I missed this...

On 2/22/21 13:03, Дилян Палаузов wrote:
> Hello,
>
> my messages to calsify@ietf.org about draft-ietf-calext-subscription-
> upgrade from 6th October 2020 are not tackled yet.
>
> These were also not addressed in draft-ietf-calext-subscription-
> upgrade-03 .
>
> I am against introducing STATUS:DELETED, as I do not see how it dяffers
> from STATUS:CANCELLED.

They are different:

STATUS;DELETED is equivalent to a 404 status - the event simply doesn't 
exist. In the context of this draft it means it was actually deleted 
from the server since the last time we checked. What a client chooses to 
do at that point is up to the client.

STATUS:CANCELLED is just that - the event is still out there, it's been 
marked as cancelled and should be displayed to the user as such.

A STATUS:CANCELLED event will reappear if it's changed in any way. A 
STATUS;DELETED will (should) never reappear - it's gone.

Certainly a client may choose to display a deleted event as cancelled 
but that's a different issue..

Also the 'client' may not be displaying anything - it may be an 
aggregator passing events along. It needs to know that an event is gone.


>
> About draft-ietf-calext-subscription-upgrade-03:
>
> Section 2 Introduction:
>
>>     The only available option for updating that resource is the usual
> HTTP polling of cached resources using Etags.
>
> Is Last-Modified interchangeable with ETags?
I guess I should just remove the reference to Etags. CalDAV only 
references ETags. Last-Modified might be an options in other protocols.
>
>> The use of subscription upgtafe may help reduce
> typo.
fixed.
>
> 4.2.  Deletions
> What purpose does delivering skeletons, empty deleted items?
To provide a valid parseable component. Stripping out all the possibly 
large properties reduces the size
>
>> The receiving client is free to remove the entity or update it's
> STATUS property.
> It's → Its.
Fixed
>
> 5.1.  Redefined Status property
> This section is not adjusted for the DELETED value: the included
> examples have no added value.

And I'm not sure now if I should have done this as a full redefinition. 
I think the text should have been more along the lines of just defining 
a new value.

I can add an example as well.

>
> 8.2.  subscribe-caldav
>> for example to determine if sync-report is supported.
> Please spell DAV:sync-collection report, as the report is not called
> literally “sync-report”.
Done
>
>> The URL MAY include some form of token to allow write access to the
> targeted collection.  The client must check it's permissions to
> determine whether or not it has been granted write access.
>
> I do not get this “token may be included” part.  Can you provide
> example what this is supposed to mean?
It's entirely up to the server- it may wish to provide a unique token as 
part of the url - given the following section this may not be necessary.
> It's → its.
Done
>
> 8.4.  subscribe-webdav-sync
> Does it require authentication or not?  What is the opposite option?
It only supports DAV:sync-collection but that doesn't preclude a 
challenge for authentication.
>
> I propose:
> - determine using OPTIONS call, whether WebDAV/CalDAV are supported
> - comminucate over GET whether authentication is
> necessary/optional/disabled.

Some services choose to place their subscriptions on a different service 
to their caldav service. An OPTIONS call would not reveal any possible 
alternative. The point of this spec is to allow service providers to 
redirect clients to any other service that provides a better protocol.

For example the subscribed collection may be stored as a static file 
updated periodically by the service.

I'm not sure what you mean by using GET.

Some services only challenge when an operation is attempted that 
REQUIRES authentication - e.g. a PUT. I don't agree with that approach 
but it's out there. The downside of that approach is that queries may 
return different results before and after authentication. This spec 
allows the service to provide the location of an authenticated end-point 
if it differs from the unauthenticated one.

We could provide some sort of capabilities document but that's a whole 
other spec. https://tools.ietf.org/html/draft-douglass-server-info-03

>
> Greetings
>    Дилян
>
> On Mon, 2021-02-01 at 14:12 -0800, internet-drafts@ietf.org wrote:
>> A New Internet-Draft is available from the on-line Internet-Drafts
>> directories.
>> This draft is a work item of the Calendaring Extensions WG of the IETF.
>>
>>          Title           : Calendar subscription upgrades
>>          Author          : Michael Douglass
>>          Filename        : draft-ietf-calext-subscription-upgrade-03.txt
>>          Pages           : 15
>>          Date            : 2021-02-01
>>
>> Abstract:
>>     This specification updates [RFC5545] to add the value DELETED to the
>>     STATUS property.
>>
>>     This specification also updates [RFC7240] to add the subscribe-
>>     enhanced-get and limit preferences.
>>
>>
>> The IETF datatracker status page for this draft is:
>> https://datatracker.ietf.org/doc/draft-ietf-calext-subscription-upgrade/
>>
>> There is also an HTML version available at:
>> https://www.ietf.org/archive/id/draft-ietf-calext-subscription-upgrade-03.html
>>
>> A diff from the previous version is available at:
>> https://www.ietf.org/rfcdiff?url2=draft-ietf-calext-subscription-upgrade-03
>>
>>
>> Please note that it may take a couple of minutes from the time of
>> submission
>> until the htmlized version and diff are available at tools.ietf.org.
>>
>> Internet-Drafts are also available by anonymous FTP at:
>> ftp://ftp.ietf.org/internet-drafts/
>>
>>
>> _______________________________________________
>> calsify mailing list
>> calsify@ietf.org
>> https://www.ietf.org/mailman/listinfo/calsify
>
> _______________________________________________
> calsify mailing list
> calsify@ietf.org
> https://www.ietf.org/mailman/listinfo/calsify