Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New CalDAV description format #112

Merged
merged 2 commits into from
Aug 16, 2024

Commits on Aug 16, 2024

  1. Change CalDAV description format

    Old mappings:
    - TW `annotations`, `uuid` <-> Caldav `DESCRIPTION`
    
    When a TW item is converted to caldav item, the `annotations` and `uuid`
    of TW item are encoded into the following format, and stored in
    `DESCRIPTION` of caldav.
    ```plaintext
    IMPORTED FROM TASKWARRIOR
    
    * Annotation 1: first annotation
    * Annotation 2: second annotation
    * Annotation 3: third annotation
    * uuid: 12345678-123-1234-1234-1234567890ab
    ```
    
    New mappings:
    - TW `uuid` <-> Caldav `X-SYNCALL-TW-UUID`
    - TW `annotations` <-> Caldav `DESCRIPTION`
        (each annotation <-> a line in description)
    
    In this new mappings, the `uuid` of TW item will be mapped to a
    non-standard iCalendar field `X-SYNCALL-TW-UUID`, allowed by RFC 5545.
    The `annotation` of TW item will be mapped to `DESCRIPTION` of caldav
    item. Each line in `DESCRIPTION` is corresponding to an annotation.
    kkoyung authored and bergercookie committed Aug 16, 2024
    Configuration menu
    Copy the full SHA
    4bd388c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ba55868 View commit details
    Browse the repository at this point in the history