vikunja/pkg
Tink ada2ebab9e
fix: preserve CalDAV inverse relations when parent has no RELATED-TO (#2389)
- Fixes `removeStaleRelations` in CalDAV storage provider to only remove
relations of kinds explicitly declared in the incoming VTODO's
`RELATED-TO` properties
- When a VTODO has no `RELATED-TO` at all (e.g., a parent task from
Tasks.org), no relations are removed — they were auto-created as
inverses by child tasks
- When a VTODO declares specific relation kinds (e.g.,
`RELATED-TO;RELTYPE=PARENT`), only relations of that kind are checked
for staleness; other kinds (like auto-created `subtask` inverses) are
preserved

Fixes #2383

---------

Co-authored-by: kolaente <k@knt.li>
2026-03-11 09:40:09 +01:00
..
caldav fix(caldav): parse timestamps in configured timezone 2026-03-03 12:18:48 +01:00
cmd fix(cli): make user deletion confirmation check Windows compatible (#2339) 2026-03-05 15:19:08 +01:00
config refactor: use config.ResolvePath for all rootpath-relative paths 2026-03-09 16:02:05 +01:00
cron fix: correct license header references (#882) 2025-06-10 12:18:38 +02:00
db feat: add user_id to webhooks and user-directed event infrastructure 2026-03-08 19:45:53 +01:00
doctor refactor: remove typesense support 2026-02-25 12:15:28 +01:00
e2etests test: add e2e tests for user-level webhooks 2026-03-08 19:45:53 +01:00
events feat: add InitEventsForTesting and Unfake for real event dispatch in tests 2026-03-05 12:49:27 +01:00
files refactor: use config.ResolvePath for all rootpath-relative paths 2026-03-09 16:02:05 +01:00
health feat: introduce shared health check logic (#1073) 2025-07-02 21:01:41 +00:00
i18n chore(i18n): update translations via Crowdin 2026-03-10 01:08:39 +00:00
initialize refactor: remove typesense support 2026-02-25 12:15:28 +01:00
log fix(log): write each log category to its own file (#2206) 2026-02-08 15:22:58 +00:00
mail fix(mail): disable queue when mailer disabled (#2069) 2026-01-08 15:51:31 +01:00
metrics fix: correct license header references (#882) 2025-06-10 12:18:38 +02:00
migration feat: add user_id to webhooks and user-directed event infrastructure 2026-03-08 19:45:53 +01:00
models fix: register bulk label route correctly for API token permissions 2026-03-10 23:58:44 +01:00
modules fix: allow browser caching for file downloads (#2349) 2026-03-04 17:43:03 +01:00
notifications test: add tests for conversational email system 2026-03-08 16:03:47 +01:00
plugins fix(deps): update module github.com/labstack/echo/v4 to v5 (#2131) 2026-01-24 20:38:32 +01:00
red fix: correct license header references (#882) 2025-06-10 12:18:38 +02:00
routes fix: preserve CalDAV inverse relations when parent has no RELATED-TO (#2389) 2026-03-11 09:40:09 +01:00
swagger [skip ci] Updated swagger docs 2026-03-08 18:53:26 +00:00
user refactor: move ListUsers tests from pkg/user to pkg/models 2026-03-04 20:32:11 +01:00
utils refactor(utils): extract ContainsPathTraversal to shared utils package 2026-02-25 13:01:00 +01:00
version fix: correct license header references (#882) 2025-06-10 12:18:38 +02:00
web feat(handlers): dispatch pending events after transaction commit 2026-03-03 12:46:34 +01:00
webtests fix: preserve CalDAV inverse relations when parent has no RELATED-TO (#2389) 2026-03-11 09:40:09 +01:00