Re: [calsify] jscalendar event/task overrides without master

Marten Gajda <marten@dmfs.org> Tue, 02 February 2021 08:25 UTC

Return-Path: <marten@dmfs.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 DC60F3A185F for <calsify@ietfa.amsl.com>; Tue, 2 Feb 2021 00:25:34 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.903
X-Spam-Level:
X-Spam-Status: No, score=-0.903 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, BIGNUM_EMAILS=1.214, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, NICE_REPLY_A=-0.001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_NONE=0.001, URIBL_BLOCKED=0.001] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=dmfs.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 PuRLacC-7kj0 for <calsify@ietfa.amsl.com>; Tue, 2 Feb 2021 00:25:32 -0800 (PST)
Received: from mailrelay3-1.pub.mailoutpod1-cph3.one.com (mailrelay3-1.pub.mailoutpod1-cph3.one.com [46.30.210.184]) (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 33DBA3A185E for <calsify@ietf.org>; Tue, 2 Feb 2021 00:25:31 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dmfs.org; s=20191106; h=content-type:in-reply-to:mime-version:date:message-id:subject:from:references: to:from; bh=RlG5mdE2LZpz6o1wm9+nhaDZdOijvWhf6Wh1Afcyboc=; b=PJSLZl38NjHPcYMtuuN1j5SaWTGhGIiaYmC6FbNEetzLUgofZB5pUvcGS2TqWLHBLaXpMdc8OfkOu Es9PM2fi+5nOKWtwQ+rqCQlLcdAal1uL3cnacl5I9kcrDL2+65wdn5D8Bt5xXQbK5mmpn+Oiq+9rxe Fa14yAIrfsEJBhYumi9KBke6Bxv04crfZ9oJUA10PsGBPylFZI6v7ia0W11hY1M4xAw3YEWS8BMtem A8HR0TSNDBQRclLeDa83qmUxjkOrXS3LL7dJoqSDOiLElW1FDsY7Hc1Yeiwe1K2pR841kkqGa6WM98 fmflroKzF9uBKmjDIYIs+ZkYw3iYQsg==
X-HalOne-Cookie: 85c8dda5bb7f1ff40ec69494ecc9b9aeb48b57be
X-HalOne-ID: 34cdd9bd-6530-11eb-8cc3-d0431ea8bb03
Received: from smtp.dmfs.org (p5093adb8.dip0.t-ipconnect.de [80.147.173.184]) by mailrelay3.pub.mailoutpod1-cph3.one.com (Halon) with ESMTPSA id 34cdd9bd-6530-11eb-8cc3-d0431ea8bb03; Tue, 02 Feb 2021 08:25:28 +0000 (UTC)
Received: from boss.localdomain (p5093adb8.dip0.t-ipconnect.de [80.147.173.184]) by smtp.dmfs.org (Postfix) with ESMTPSA id 946252213AB for <calsify@ietf.org>; Tue, 2 Feb 2021 10:41:02 +0100 (CET)
To: calsify@ietf.org
References: <416d125e-7be5-92ff-fa4f-e1fc35895fb2@dmfs.org> <db6fa284-271a-41a6-9c39-d3a6fc8d8b4e@dogfood.fastmail.com>
From: Marten Gajda <marten@dmfs.org>
Message-ID: <51c3aa64-3a61-cc43-00de-ea7e0df685ca@dmfs.org>
Date: Tue, 2 Feb 2021 09:25:27 +0100
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.6.0
MIME-Version: 1.0
In-Reply-To: <db6fa284-271a-41a6-9c39-d3a6fc8d8b4e@dogfood.fastmail.com>
Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="bXPMvy3yvmXN3DfOfyHjy9FxmMZWJaMq5"
Archived-At: <https://mailarchive.ietf.org/arch/msg/calsify/RD_08E2ayBAaM2NN_XM3-njVjyI>
Subject: Re: [calsify] jscalendar event/task overrides without master
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, 02 Feb 2021 08:25:35 -0000

Thanks for your responses.

I guess that requires a broader definition of "JSCalendar object" then.

Section "4.1.2. uid" says

> The value of this property MUST be unique across all JSCalendar objects
And section 3 says:

> A JSCalendar object is a JSON object
Taken together, these two contradict the proposed solution.

This case is so special and counter intuitive, it should be mentioned 
explicitly in a suitable section.

A concrete example would be helpful too.

Cheers,

Marten

Am 02.02.21 um 03:00 schrieb Neil Jenkins:
> On Tue, 2 Feb 2021, at 07:55, Marten Gajda wrote:
>> In icalendar I'd just omit the master VTODO, but how do I do that in
>> jscalendar? IIRC the base object must be a valid jstask.
>
> It's much the same in JSCalendar: you include a JSTask object for each 
> expanded occurrence instead of a single master JSTask with a 
> recurrence rule.  So in the JSGroup |entries| list, you would have 
> something like:
>
> [{
>    "uid": "123",
>    "recurrenceId": "2020-01-01T00:00:00",
>    ... etc.
> }, {
>    "uid": "123",
>    "recurrenceId": "2020-01-02T00:00:00",
>    ... etc.
> },
> ...
> ]
>
> Cheers,
> Neil.
>
> _______________________________________________
> calsify mailing list
> calsify@ietf.org
> https://www.ietf.org/mailman/listinfo/calsify

-- 
Marten Gajda
CEO

dmfs GmbH
Frankenstraße 9
01309 Dresden
GERMANY

phone: +49 177 4427167
email: marten@dmfs.org

Managing Director: Marten Gajda
Registered address: Dresden
Registered No.: AG Dresden HRB 34881
VAT Reg. No.: DE303248743