Re: [calsify] The two ways of cancelling an event by an organizer

Дилян Палаузов <dilyan.palauzov@aegee.org> Thu, 08 August 2019 15:39 UTC

Return-Path: <dilyan.palauzov@aegee.org>
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 94FCD12006D for <calsify@ietfa.amsl.com>; Thu, 8 Aug 2019 08:39:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level:
X-Spam-Status: No, score=-1.999 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_NONE=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (4096-bit key) header.d=aegee.org
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 fYZsLrxN4MT5 for <calsify@ietfa.amsl.com>; Thu, 8 Aug 2019 08:39:51 -0700 (PDT)
Received: from mail.aegee.org (mail.aegee.org [144.76.142.78]) (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 51009120041 for <calsify@ietf.org>; Thu, 8 Aug 2019 08:39:50 -0700 (PDT)
Authentication-Results: mail.aegee.org/x78FdkYL031969; auth=pass (LOGIN) smtp.auth=didopalauzov
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=aegee.org; s=k4096; t=1565278787; i=dkim+MSA-tls@aegee.org; r=y; bh=XrtLfmyfLTo8qicZ8f4g4iotohbVXEhA8yBb4amEQ0A=; h=Subject:From:To:Date:In-Reply-To:References; b=bHPsRrU0nsE0l2hOJEvOKa9mbdU43QsfoTeh1X1CKg/I+c0q1lb+uhDArk4oV/q7L dBBTiF1021buR/psZj3E5JMsrzSunsqFPYezuLC0KoQ2v4jGbLlIBaEcSuM/8WYdTo ElRZiRWDo4k4J3iWRk+Kr46HFwxnUDbz6/55YTZ58badSgZh4YxdnGWVNSgePuSaUO PBAkXnC6GOINMNXDhvQQWcLFV/w3iAaogJBfZazomb21nGM4/Y3iEcRC6J2PmHeLVH u6vQipsesEYcY0VMsbEfuzWbcByXS71y4eIKQs1fQjVhqmAA2afKYxHvIFNt0kRBer aL/yifhq3bjfmLQmtgHbKXd5aKV6zGI59GQ/dB0NG96lqWOm4yJBLT1/cimWIeiEYf JstfpRd64RQcPKNcvvBFbyS8HR43VRvoVWKYtyttU5/O0b+FsnJZgMd+RuMZDJ/ZWd nRPgpadg3iFgIgoDvFapM9D3Qxk5dlMJ5sZWHN9wZ9W7LKu5sX9srOASRgRG+ATFgb IU2tGJPWLplXT7OZC1vEiw2DiSoAj5N6HNQvroQ+r5w3j5NdO9vlXWYgdqBwsMPJF8 Xn3ZP+GXqGA6DI0i2feoOBdbOApIKmVeXkpi7qVh9zzXZR5nPhFfM8kPa9YbVh4LKj 9rCZ7skM5jlLJ92LHYHpYLKc=
Authentication-Results: mail.aegee.org/x78FdkYL031969; dkim=none
Received: from Tylan (95-42-103-179.ip.btc-net.bg [95.42.103.179]) (authenticated bits=0) by mail.aegee.org (8.15.2/8.15.2) with ESMTPSA id x78FdkYL031969 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Thu, 8 Aug 2019 15:39:47 GMT
Message-ID: <95b717f7e5ace86bbdd892c3e3099d83f6fe7ea2.camel@aegee.org>
From: Дилян Палаузов <dilyan.palauzov@aegee.org>
To: Doug Royer <douglasroyer@gmail.com>, calsify@ietf.org
Date: Thu, 08 Aug 2019 15:39:46 +0000
In-Reply-To: <21eb1982-76f1-913f-3d3b-4cb46c01e346@gmail.com>
References: <521fb368aebb4294888468efaf1dceace864fa97.camel@aegee.org> <bafbec6a-2c65-349f-92fc-d6706a79f1a3@gmail.com> <c454aed9e4be88d42b04816b0aa2c849608967a9.camel@aegee.org> <21eb1982-76f1-913f-3d3b-4cb46c01e346@gmail.com>
Content-Type: text/plain; charset="UTF-8"
User-Agent: Evolution 3.33.91
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-Virus-Scanned: clamav-milter 0.101.2 at mail.aegee.org
X-Virus-Status: Clean
Archived-At: <https://mailarchive.ietf.org/arch/msg/calsify/2PLFMz2OyK9Czrn14odnxdqOm4U>
Subject: Re: [calsify] The two ways of cancelling an event by an organizer
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: Thu, 08 Aug 2019 15:39:54 -0000

Hello Doug,

it is more practical if the iCalendar resources are uploaded via HTTP to the server and then the server decides how to
deliver the transport independent information: to local users via HTTP CalDAV scheduling, for remote users by sendnig
iMIP.

In theory it is possible, that the CUA updates the iCalendar object for the local users on two subsequent HTTP
operations, and for the remote users sending itself the iMIP messages, playing with the SCHEDULE-AGENT property
parameter per ATTENDEE.  So for an event with local and remote attendees, the iCalendar objects is distributed partially
by the server and partially by the clients.  However this moves complexity from the server to the client, or rathar
expects that the same functionality is implemented in both server and client, and, depending on the locality of the
user, the transport independent message is sent either be client or by the server.  Moreover, the CUA has to figure out,
if a user is local or remote, and so on.

It would be simpler, if the the intension of the organizer is mapped to the HTTP protocol and the server sends in
transport independend ways what the organizer asked for.  The one approach is to define payload to DELETE.

The other would be to send METHOD=CANCEL messages, when the iCalelendar object has STATUS:CANCELLED.  So everytime the
organizer modifies a cancelled invitation, the attendees get a new cancellation message with increased SEQUENCE.  When
the organizer deletes a message with STATUS:CANCELLED, the attendees get, or not, one more cancellation message.  Or the
intention of the organizer is read from the STATUS parameter and not from METHOD.  So an iCalendar object with
STATUS:CANCELLED and METHOD=REQUEST is cancelled... I do not know what would be right.

Now I think that not only orginizer has two ways to cancel an event: set STATUS to CANCELLED or delete the event, but
also the attendees have two ways to act on receiving events cancellation: set STATUS to CANCELLED or delete the local
copy of the event.

Regrads
  Дилян



On Wed, 2019-08-07 at 16:01 -0600, Doug Royer wrote:
> On 8/7/19 3:03 AM, Дилян Палаузов wrote:
> > Hello Doug,
> > 
> > to force the server to use METHOD=CANCEL, the CUA has to use the HTTP DELETE verb.  It is not possible to add anything
> > to the deleted object, as DELETE currently does not have payload.
> > 
> > To modify the iCalendar object, like changing the description or adding comment, one has to use the HTTP PUT verb.
> > 
> > When HTTP PUT is used, one iMIP message is generated and when HTTP DELETE is used, another iMIP message is generated.
> > 
> > Regards
> >    Дилян
> 
> As your talking iMIP, can you send them an email that describes the reason, and includes attaches (multipart related) the CANCEL object or CANCEL object URL?
> 
>