Fix completion status in DAV for OpenTasks and multiline descriptions #697

Merged
konrad merged 3 commits from freaktechnik/api:completed-ts into master 2020-10-21 21:03:20 +00:00
Contributor

Description

This fixes the completion state of tasks in OpenTasks not working correctly. It also fixes multiline descriptions, since newlines are reserved in iCal for new properties (unless you indent with two spaces, which is for formatting because 80 chars wide is way better or something).

Checklist

  • I added or improved tests
  • I added or improved docs for my feature
    • Swagger (including mage do-the-swag)
    • Error codes
    • New config options (including adding them to config.yml.saml and running mage generate-docs)
# Description This fixes the completion state of tasks in OpenTasks not working correctly. It also fixes multiline descriptions, since newlines are reserved in iCal for new properties (unless you indent with two spaces, which is for formatting because 80 chars wide is way better or something). # Checklist * [x] I added or improved tests * [ ] I added or improved docs for my feature * [ ] Swagger (including `mage do-the-swag`) * [ ] Error codes * [ ] New config options (including adding them to `config.yml.saml` and running `mage generate-docs`)
freaktechnik added 2 commits 2020-10-21 20:13:58 +00:00
konrad reviewed 2020-10-21 20:28:27 +00:00
konrad left a comment
Owner

Looks great! Could you add a test for this behaviour?

Looks great! Could you add a test for this behaviour?
freaktechnik added 1 commit 2020-10-21 20:50:19 +00:00
konrad merged commit ffce9b51cc into master 2020-10-21 21:03:20 +00:00
Owner

Thanks!

Thanks!
Sign in to join this conversation.
No reviewers
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: vikunja/vikunja#697
No description provided.