Re: [calsify] WGLC JSCalendar

"Neil Jenkins" <neilj@fastmailteam.com> Mon, 28 October 2019 00:29 UTC

Return-Path: <neilj@fastmailteam.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 14CD3120046 for <calsify@ietfa.amsl.com>; Sun, 27 Oct 2019 17:29:16 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.7
X-Spam-Level:
X-Spam-Status: No, score=-2.7 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_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=fastmailteam.com header.b=EDzF57Qu; dkim=pass (2048-bit key) header.d=messagingengine.com header.b=k23HxncO
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 gd9VPjys8gJ3 for <calsify@ietfa.amsl.com>; Sun, 27 Oct 2019 17:29:13 -0700 (PDT)
Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 364C3120090 for <calsify@ietf.org>; Sun, 27 Oct 2019 17:29:13 -0700 (PDT)
Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 6FF122239B; Sun, 27 Oct 2019 20:29:12 -0400 (EDT)
Received: from imap99 ([10.202.2.99]) by compute6.internal (MEProxy); Sun, 27 Oct 2019 20:29:12 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= fastmailteam.com; h=mime-version:message-id:in-reply-to :references:date:from:to:subject:content-type; s=fm1; bh=iAv0hHG uqtf8qM8Oqxv8inatrjl+gZm7ijG9kcqgfQA=; b=EDzF57Qut47vvQjaENEvQRf Z1hfL1R/ogEXNBCrspjOsCXmXgJ9VRylbubvPcOK7soNSZ3pJUsRQc6UaIf4+xQq nLS0IXhiqmhbPKIDJaM0VudPADCLEpnSxAQmyYRPnlpo7+6bV0sW8n+/SU1LF2AL 5Xo7Xr0HpM6WbwE60Bv9ZElciVZ3ROd6dSQHYgbVgeuNPF/xivd56kvhb7zl7LWr 2ctB9/URATl+0zNBYiUMMkVCCye8LZzpCULi3AojaHUykwXtzRykKWM9MxiHbXAT D4vdZY8dUulx9J8r0oTXjJ/GiqwOKyqI3SzS5ZorKORH560GAn0ZN5YtXOu8gfQ= =
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=iAv0hH Guqtf8qM8Oqxv8inatrjl+gZm7ijG9kcqgfQA=; b=k23HxncOHjLMa5+FXUBY51 lqb/M7VR8ZW7CM9e/lVTZpqD7iV6NttCh7PtXNUppl/yxJVff5mdkQ9l4zuhJAF5 fokrmrNYydQYiK/sH4wuIbHKkf4wdLV+XWi2UayFDjl3yLZ9zot+x7kZmq6frSEr trgeOEGzwjfVkGYEjKN8N0QAu+YRGQt6maR7tBRAbFDEgUE8iCjm9oq1/VZC4+S1 i3uYfqvj2n8X/M5XUCXcW4rIMAp3+XiHFVqbEXkWDOLwFXp/qTZZpNvYmevePfRi 3mxh/KIkebBm3C6LDZN6CjZqEKRqaYV5DyesHnnPVeU7WEpX0sCa/X5fvSc2GDGw ==
X-ME-Sender: <xms:WDa2XUXBs3Bx8LVmzEr4j7nLARb3AXNq-gnN8BDKOjoTxcy1howwlg>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedufedrleekgddvfecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefofgggkfgjfhffhffvufgtsegrtderreerredtnecuhfhrohhmpedfpfgvihhl ucflvghnkhhinhhsfdcuoehnvghilhhjsehfrghsthhmrghilhhtvggrmhdrtghomheqne cuffhomhgrihhnpehgihhthhhusgdrtghomhdpihgvthhfrdhorhhgnecurfgrrhgrmhep mhgrihhlfhhrohhmpehnvghilhhjsehfrghsthhmrghilhhtvggrmhdrtghomhenucevlh hushhtvghrufhiiigvpedt
X-ME-Proxy: <xmx:WDa2XQU8Ty1cvzSZ0f4zRCQ3LcfeWO-gYvY94m1mRebSfsHl4mbstw> <xmx:WDa2XW8ytwh1SNh_u6CMj4NEhbZwrUHvtrFjk5uRYRNE67w4v6fg9A> <xmx:WDa2Xdo0NwdRlrdRKpkSdp246y9ssQdnt-7fhlwaJWJVYXjvS4Lmvw> <xmx:WDa2Xc4q3pBGkNG84oZUw25lRki4sd0vSLf5xyORpbfANpdyGYlUzw>
Received: by mailuser.nyi.internal (Postfix, from userid 501) id 068E93FD8B1; Sun, 27 Oct 2019 20:29:12 -0400 (EDT)
X-Mailer: MessagingEngine.com Webmail Interface
User-Agent: Cyrus-JMAP/3.1.7-470-gedfae93-fmstable-20191021v4
Mime-Version: 1.0
Message-Id: <669b29a4-1734-4ea1-9ac9-33e590d91762@dogfood.fastmail.com>
In-Reply-To: <601a4ef3-d922-71e0-ab4b-8e539ed3f7ae@gmail.com>
References: <DM6PR15MB3531E3B26D3C5294B1D40564E3930@DM6PR15MB3531.namprd15.prod.outlook.com> <6d0fa1f3-5dbe-d4df-821f-a0bddb61546b@gmail.com> <3d216646-0235-0af4-b9ad-1401eea482c4@gmail.com> <c89952c7-90b9-ef17-0c7c-aceacde771e2@gmail.com> <7f83a966-d1e9-464e-acd2-45bb7fd05107@beta.fastmail.com> <98a0f7ca-213d-4be0-9b0c-310dad70c0ab@gmail.com> <595e1efa-97a0-4373-8d5f-d4e5e05a1838@dogfood.fastmail.com> <601a4ef3-d922-71e0-ab4b-8e539ed3f7ae@gmail.com>
Date: Mon, 28 Oct 2019 11:28:44 +1100
From: Neil Jenkins <neilj@fastmailteam.com>
To: Michael Douglass <mikeadouglass@gmail.com>, Daniel Migault <daniel.migault=40ericsson.com@dmarc.ietf.org>, "calsify@ietf.org" <calsify@ietf.org>
Content-Type: multipart/alternative; boundary="2872fa26690f4f56b08b8a5ecbb61fa6"
Archived-At: <https://mailarchive.ietf.org/arch/msg/calsify/-VtHaM3oXc27GdZfvX4QcN_T0Fk>
Subject: Re: [calsify] WGLC JSCalendar
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: Mon, 28 Oct 2019 00:29:16 -0000

On Sat, 26 Oct 2019, at 03:01, Michael Douglass wrote:
> What I meant was that the objects in the list should have a type:
>      "localizations": {
       "de": {
         "@type": "PatchObject"                    <------------------- this
         "title": "Live von der Music Bowl: The Band!",
         "description": "Schau dir das groesste Musikereignis an!",
         "virtualLocations/6f3696c6-1e07-47d0-9ce1-f50014b0041a/name":
                                 "Gratis Live-Stream aus der Music Bowl"
       }
     }
> 
> I think patch objects are the only objects that don't have a type. I think for simplicity and ease of validation all objects should be required to have @type


No. The `@type` property is for objects with a named set of attributes (essentially a class). The PatchObject is a primitive datatype, more like Integer etc. There are no predefined keys; each key is a patch to apply. So if you add `@type` there, that's actually a path to overwrite the `@type` property on the object you apply it to!

On Sat, 26 Oct 2019, at 03:17, Michael Douglass wrote:
> So the status in 5.1.3 and 5.2.6 is essentially the status in rfc 5545
> Then we have participationStatus in 4.4.5 which comes from 5545 partstat with

>       *  "needs-action": No status yet set by the participant.
      *  "accepted": The invited participant will participate.
      *  "declined": The invited participant will not participate.
      *  "tentative": The invited participant may participate.
> 
> But we also have in 5.2.5 participantProgress with a status property:

>       *  "completed": The participant completed this task.
      *  "in-process": The participant has started this task.
      *  "failed": The participant failed to complete this task.
> 
> Those values are essentially the partstat values from 5545 - so now we could have a participationStatus of declined and a participantProgress/status of completed which doesn't make any sense.

> I like the idea of the participantProgress object but maybe it should be common to all and the participantStatus should be moved there. The task specific part should define the allowable set of values as 5545 does.


I agree this is confusing. Looking at it, I think the best thing is to rename the "status" property on the JSTask to "progress", and use the same property on a Participant (no need for a whole complex object like we currently have). This makes it consistent again: the same property name means the same semantics, different property name means different allowed values and semantics. If that description is a bit hard to follow, see the diff here <https://github.com/CalConnect/PUBLIC_DRAFTS/commit/3546a6a8d9ded46185b1bb96a5a693353d16d360>, or look at the diff in the new revision.

On Sun, 27 Oct 2019, at 07:51, Michael Douglass wrote:
> >> Table in section 8.2.6 appears to be missing an entry for links
> > and locale
> and frequency

Thanks, fixed. I've also added "uri" from VirtualLocations and all of the other RecurrenceRule props. I think I've checked them all now!

Since there have been quite a few fixes, I've published a new draft <https://tools.ietf.org/html/draft-ietf-calext-jscalendar-21> with all the changes. Thanks for all the great feedback Mike!

Neil.