mirror of
https://github.com/wekan/wekan.git
synced 2026-11-24 09:59:47 -05:00
Board Settings -> Date has Calendar sync. A board admin gives a calendar collection's address, a user and an app password made for WeKan, and turns it on. Each card with a due date is one event, <cardId>.ics, UID <cardId>@wekan, an hour long, with the card's title and link; a card that loses its due date or is archived has its event removed. Every 15 minutes the events are read back, and a due date moved in the calendar comes back to its card. Sync all now pushes every card at once. The link and its password are in a server-only collection that is never published, and only a board admin can read or change it. Requests go through webhookFetch: the SSRF guard, so a calendar on WeKan's own network is reached only when a site admin lists it under Internal destinations. Text values are escaped as RFC 5545 requires - a semicolon included, which the first version of the test did not catch. Thanks to scriptPilot and xet7 !