Changeset View
Changeset View
Standalone View
Standalone View
tests/features/testenv/data/testdata.xml
Show All 11 Lines | |||||
12 | BEGIN:VTODO
 | 12 | BEGIN:VTODO
 | ||
13 | DTSTAMP:20120427T214649Z
 | 13 | DTSTAMP:20120427T214649Z
 | ||
14 | CREATED:20120427T214649Z
 | 14 | CREATED:20120427T214649Z
 | ||
15 | UID:565abfbf-e47f-4a74-844c-299c754781a3
 | 15 | UID:565abfbf-e47f-4a74-844c-299c754781a3
 | ||
16 | LAST-MODIFIED:20120427T214649Z
 | 16 | LAST-MODIFIED:20120427T214649Z
 | ||
17 | SUMMARY:Buy kiwis
 | 17 | SUMMARY:Buy kiwis
 | ||
18 | DUE;VALUE=DATE:20150310
 | 18 | DUE;VALUE=DATE:20150310
 | ||
19 | PERCENT-COMPLETE:0
 | 19 | PERCENT-COMPLETE:0
 | ||
20 | X-KDE-Zanshin-ContextList:errands-context
 | ||||
20 | END:VTODO
 | 21 | END:VTODO
 | ||
21 | 22 | | |||
22 | END:VCALENDAR</payload> | 23 | END:VCALENDAR</payload> | ||
23 | <tag>errands-context</tag> | | |||
24 | </item> | 24 | </item> | ||
25 | <item mimetype="application/x-vnd.akonadi.calendar.todo" rid="{5dc1aba7-eead-4254-ba7a-58e397de1179}"> | 25 | <item mimetype="application/x-vnd.akonadi.calendar.todo" rid="{5dc1aba7-eead-4254-ba7a-58e397de1179}"> | ||
26 | <payload>BEGIN:VCALENDAR | 26 | <payload>BEGIN:VCALENDAR | ||
27 | PRODID:-//K Desktop Environment//NONSGML libkcal 4.3//EN | 27 | PRODID:-//K Desktop Environment//NONSGML libkcal 4.3//EN | ||
28 | VERSION:2.0 | 28 | VERSION:2.0 | ||
29 | X-KDE-ICAL-IMPLEMENTATION-VERSION:1.0 | 29 | X-KDE-ICAL-IMPLEMENTATION-VERSION:1.0 | ||
30 | BEGIN:VTODO
 | 30 | BEGIN:VTODO
 | ||
31 | DTSTAMP:20120322T164413Z
 | 31 | DTSTAMP:20120322T164413Z
 | ||
Show All 39 Lines | |||||
71 | DTSTART;VALUE=DATE:20111014
 | 71 | DTSTART;VALUE=DATE:20111014
 | ||
72 | DTEND;VALUE=DATE:20111031
 | 72 | DTEND;VALUE=DATE:20111031
 | ||
73 | TRANSP:OPAQUE
 | 73 | TRANSP:OPAQUE
 | ||
74 | BEGIN:VALARM
 | 74 | BEGIN:VALARM
 | ||
75 | DESCRIPTION:
 | 75 | DESCRIPTION:
 | ||
76 | ACTION:DISPLAY
 | 76 | ACTION:DISPLAY
 | ||
77 | TRIGGER;VALUE=DURATION:-PT15M
 | 77 | TRIGGER;VALUE=DURATION:-PT15M
 | ||
78 | X-KDE-KCALCORE-ENABLED:TRUE
 | 78 | X-KDE-KCALCORE-ENABLED:TRUE
 | ||
79 | X-KDE-Zanshin-ContextList:online-context | ||||
79 | END:VALARM
 | 80 | END:VALARM
 | ||
80 | END:VEVENT
 | 81 | END:VEVENT
 | ||
81 | 82 | | |||
82 | END:VCALENDAR</payload> | 83 | END:VCALENDAR</payload> | ||
83 | <tag>online-context</tag> | | |||
ervin: Just removing it without inserting it in the VEVENT payload sounds wrong to me. At least it… | |||||
Ah, hmm, OK, not that there's any chance of the CONTEXTLIST attribute ever getting into a VEVENT, unlike tags.... dfaure: Ah, hmm, OK, not that there's any chance of the CONTEXTLIST attribute ever getting into a… | |||||
84 | </item> | 84 | </item> | ||
85 | <item mimetype="application/x-vnd.akonadi.calendar.todo" rid="{06ff6f36-f0a0-47b9-8c77-7a18207eb5ea}"> | 85 | <item mimetype="application/x-vnd.akonadi.calendar.todo" rid="{06ff6f36-f0a0-47b9-8c77-7a18207eb5ea}"> | ||
86 | <payload>BEGIN:VCALENDAR | 86 | <payload>BEGIN:VCALENDAR | ||
87 | PRODID:-//K Desktop Environment//NONSGML libkcal 4.3//EN | 87 | PRODID:-//K Desktop Environment//NONSGML libkcal 4.3//EN | ||
88 | VERSION:2.0 | 88 | VERSION:2.0 | ||
89 | X-KDE-ICAL-IMPLEMENTATION-VERSION:1.0 | 89 | X-KDE-ICAL-IMPLEMENTATION-VERSION:1.0 | ||
90 | BEGIN:VTODO
 | 90 | BEGIN:VTODO
 | ||
91 | DTSTAMP:20120322T164413Z
 | 91 | DTSTAMP:20120322T164413Z
 | ||
▲ Show 20 Lines • Show All 85 Lines • ▼ Show 20 Line(s) | |||||
177 | CREATED:20120322T164413Z
 | 177 | CREATED:20120322T164413Z
 | ||
178 | UID:162f2f49-0a69-4a35-b80a-7a218432e9bf
 | 178 | UID:162f2f49-0a69-4a35-b80a-7a218432e9bf
 | ||
179 | LAST-MODIFIED:20120322T164413Z
 | 179 | LAST-MODIFIED:20120322T164413Z
 | ||
180 | SUMMARY:"Capital in the Twenty-First Century" by Thomas Piketty
 | 180 | SUMMARY:"Capital in the Twenty-First Century" by Thomas Piketty
 | ||
181 | PERCENT-COMPLETE:0
 | 181 | PERCENT-COMPLETE:0
 | ||
182 | END:VTODO
 | 182 | END:VTODO
 | ||
183 | 183 | | |||
184 | END:VCALENDAR</payload> | 184 | END:VCALENDAR</payload> | ||
185 | <tag>philosophy-tag</tag> | | |||
186 | </item> | 185 | </item> | ||
187 | 186 | | |||
188 | <item mimetype="application/x-vnd.akonadi.calendar.todo" rid="{153b3f04-490a-443c-b5e7-e781aad2c860}"> | 187 | <item mimetype="application/x-vnd.akonadi.calendar.todo" rid="{153b3f04-490a-443c-b5e7-e781aad2c860}"> | ||
189 | <payload>BEGIN:VCALENDAR | 188 | <payload>BEGIN:VCALENDAR | ||
190 | PRODID:-//K Desktop Environment//NONSGML libkcal 4.3//EN | 189 | PRODID:-//K Desktop Environment//NONSGML libkcal 4.3//EN | ||
191 | VERSION:2.0 | 190 | VERSION:2.0 | ||
192 | X-KDE-ICAL-IMPLEMENTATION-VERSION:1.0 | 191 | X-KDE-ICAL-IMPLEMENTATION-VERSION:1.0 | ||
193 | BEGIN:VTODO
 | 192 | BEGIN:VTODO
 | ||
▲ Show 20 Lines • Show All 128 Lines • ▼ Show 20 Line(s) | |||||
322 | LAST-MODIFIED:20120322T164413Z
 | 321 | LAST-MODIFIED:20120322T164413Z
 | ||
323 | SUMMARY:Errands
 | 322 | SUMMARY:Errands
 | ||
324 | DTSTART;VALUE=DATE:20150310
 | 323 | DTSTART;VALUE=DATE:20150310
 | ||
325 | PERCENT-COMPLETE:0
 | 324 | PERCENT-COMPLETE:0
 | ||
326 | END:VTODO
 | 325 | END:VTODO
 | ||
327 | 326 | | |||
328 | END:VCALENDAR</payload> | 327 | END:VCALENDAR</payload> | ||
329 | </item> | 328 | </item> | ||
329 | <item mimetype="application/x-vnd.akonadi.calendar.todo" rid="rid-errands-context"> | ||||
330 | <payload>BEGIN:VCALENDAR | ||||
331 | PRODID:-//K Desktop Environment//NONSGML libkcal 4.3//EN | ||||
332 | VERSION:2.0 | ||||
333 | X-KDE-ICAL-IMPLEMENTATION-VERSION:1.0 | ||||
334 | BEGIN:VTODO
 | ||||
335 | CREATED:20190317T162551Z
 | ||||
336 | UID:errands-context
 | ||||
337 | X-KDE-Zanshin-Context:1
 | ||||
338 | LAST-MODIFIED:20140317T162551Z
 | ||||
339 | SUMMARY:Errands
 | ||||
340 | END:VTODO
 | ||||
341 | | ||||
342 | END:VCALENDAR</payload> | ||||
343 | </item> | ||||
344 | <item mimetype="application/x-vnd.akonadi.calendar.todo" rid="rid-online-context"> | ||||
345 | <payload>BEGIN:VCALENDAR | ||||
346 | PRODID:-//K Desktop Environment//NONSGML libkcal 4.3//EN | ||||
347 | VERSION:2.0 | ||||
348 | X-KDE-ICAL-IMPLEMENTATION-VERSION:1.0 | ||||
349 | BEGIN:VTODO
 | ||||
350 | CREATED:20190317T162551Z
 | ||||
351 | UID:online-context
 | ||||
352 | X-KDE-Zanshin-Context:1
 | ||||
353 | LAST-MODIFIED:20140317T162551Z
 | ||||
354 | SUMMARY:Online
 | ||||
355 | END:VTODO
 | ||||
356 | | ||||
357 | END:VCALENDAR</payload> | ||||
358 | </item> | ||||
359 | | ||||
330 | <collection content="inode/directory,application/x-vnd.akonadi.calendar.todo" rid="{c9a13610-a9f6-433d-96f2-3b8fdb728fe5}" name="Calendar3"> | 360 | <collection content="inode/directory,application/x-vnd.akonadi.calendar.todo" rid="{c9a13610-a9f6-433d-96f2-3b8fdb728fe5}" name="Calendar3"> | ||
331 | <attribute type="AccessRights">a</attribute> | 361 | <attribute type="AccessRights">a</attribute> | ||
332 | <attribute type="ZanshinSelected">false</attribute> | 362 | <attribute type="ZanshinSelected">false</attribute> | ||
333 | </collection> | 363 | </collection> | ||
334 | </collection> | 364 | </collection> | ||
335 | </collection> | 365 | </collection> | ||
336 | <collection content="message/rfc822,inode/directory" rid="{14096930-7bfe-46ca-8fba-7c04d3b62ec8}" name="Emails"> | 366 | <collection content="message/rfc822,inode/directory" rid="{14096930-7bfe-46ca-8fba-7c04d3b62ec8}" name="Emails"> | ||
337 | <attribute type="AccessRights">a</attribute> | 367 | <attribute type="AccessRights">a</attribute> | ||
Show All 16 Lines | 383 | <item mimetype="text/x-vnd.akonadi.note" rid="{d0159c99-0d23-41fa-bb5f-436570140f8b}"> | |||
354 | <payload>Subject: A note about physics | 384 | <payload>Subject: A note about physics | ||
355 | Content-Type: text/plain; charset="utf-8" | 385 | Content-Type: text/plain; charset="utf-8" | ||
356 | Content-Transfer-Encoding: quoted-printable | 386 | Content-Transfer-Encoding: quoted-printable | ||
357 | Date: Fri, 21 Mar 2014 13:49:06 +0100 | 387 | Date: Fri, 21 Mar 2014 13:49:06 +0100 | ||
358 | From: knotes@kde4 | 388 | From: knotes@kde4 | ||
359 | MIME-Version: 1.0 | 389 | MIME-Version: 1.0 | ||
360 | 390 | | |||
361 | This is a note</payload> | 391 | This is a note</payload> | ||
362 | <tag>physics-tag</tag> | | |||
363 | </item> | 392 | </item> | ||
364 | <item mimetype="text/x-vnd.akonadi.note" rid="{af37b18c-6d2f-4c9d-a268-dc8078951174}"> | 393 | <item mimetype="text/x-vnd.akonadi.note" rid="{af37b18c-6d2f-4c9d-a268-dc8078951174}"> | ||
365 | <payload>Subject: A note about philosophy | 394 | <payload>Subject: A note about philosophy | ||
366 | Content-Type: text/plain; charset="utf-8" | 395 | Content-Type: text/plain; charset="utf-8" | ||
367 | Content-Transfer-Encoding: quoted-printable | 396 | Content-Transfer-Encoding: quoted-printable | ||
368 | Date: Fri, 21 Mar 2014 12:49:06 +0100 | 397 | Date: Fri, 21 Mar 2014 12:49:06 +0100 | ||
369 | From: knotes@kde4 | 398 | From: knotes@kde4 | ||
370 | MIME-Version: 1.0 | 399 | MIME-Version: 1.0 | ||
371 | 400 | | |||
372 | This is a smart note</payload> | 401 | This is a smart note</payload> | ||
373 | <tag>philosophy-tag</tag> | | |||
374 | </item> | 402 | </item> | ||
375 | <item mimetype="text/x-vnd.akonadi.note" rid="{5d9d24a9-d836-438b-898f-04d9d415cba1}"> | 403 | <item mimetype="text/x-vnd.akonadi.note" rid="{5d9d24a9-d836-438b-898f-04d9d415cba1}"> | ||
376 | <payload>Subject: A note about nothing interesting | 404 | <payload>Subject: A note about nothing interesting | ||
377 | Content-Type: text/plain; charset="utf-8" | 405 | Content-Type: text/plain; charset="utf-8" | ||
378 | Content-Transfer-Encoding: quoted-printable | 406 | Content-Transfer-Encoding: quoted-printable | ||
379 | Date: Mon, 21 Apr 2014 14:49:06 +0100 | 407 | Date: Mon, 21 Apr 2014 14:49:06 +0100 | ||
380 | From: knotes@kde4 | 408 | From: knotes@kde4 | ||
381 | MIME-Version: 1.0 | 409 | MIME-Version: 1.0 | ||
Show All 16 Lines | |||||
398 | 
 | 426 | 
 | ||
399 | </payload> | 427 | </payload> | ||
400 | </item> | 428 | </item> | ||
401 | </collection> | 429 | </collection> | ||
402 | <collection content="inode/directory,text/x-vnd.akonadi.note" rid="{40c7c9fe-03bb-45eb-a9f4-b9894ef2938d}" name="Private Notes"> | 430 | <collection content="inode/directory,text/x-vnd.akonadi.note" rid="{40c7c9fe-03bb-45eb-a9f4-b9894ef2938d}" name="Private Notes"> | ||
403 | <attribute type="AccessRights">a</attribute> | 431 | <attribute type="AccessRights">a</attribute> | ||
404 | </collection> | 432 | </collection> | ||
405 | </collection> | 433 | </collection> | ||
406 | <tag name="Errands" type="Zanshin-Context" gid="errands-context" rid="errands-context"/> | | |||
407 | <tag name="Online" type="Zanshin-Context" gid="online-context" rid="online-context"/> | | |||
408 | <tag name="Physics" type="PLAIN" gid="physics-tag" rid="physics-tag"/> | | |||
409 | <tag name="Philosophy" type="PLAIN" gid="philosophy-tag" rid="philosophy-tag"/> | | |||
410 | </knut> | 434 | </knut> |
Just removing it without inserting it in the VEVENT payload sounds wrong to me. At least it makes sure we don't look in VEVENTs