mirror of
https://github.com/johannesjo/super-productivity.git
synced 2026-07-27 09:44:39 +00:00
Add a CalDAV Calendar plugin that syncs tasks with calendar events via the CalDAV/WebDAV protocol, supporting self-hosted servers like Nextcloud. Plugin features: - CalDAV PROPFIND/REPORT for calendar discovery and event fetching - iCal parsing and serialization with RFC 5545 compliance - Two-way sync with field mappings (title, notes, dates, duration) - Time-block integration for auto-creating calendar events - Multi-calendar support with compound IDs Host-side changes: - Add generic request() method to PluginHttp for WebDAV methods - Add allowPrivateNetwork manifest flag (bundled plugins only) - Add dynamic loadOptions support for config field dropdowns - Add backfill effect for existing scheduled tasks - Generify translation keys (LOAD_OPTIONS instead of LOAD_CALENDARS) Security: - SSRF protection via origin validation in resolveHref - allowPrivateNetwork gated by _isPluginBundled check - XML parse error detection in CalDAV response parsing - Description rendered as plain text (not markdown) Correctness: - TZID conversion uses formatToParts (no local timezone contamination) - modifyICalEvent scoped to VEVENT block (preserves VTIMEZONE) - responseType: 'text' on all CalDAV PUT/DELETE calls - CR characters handled in iCal text escaping - Trailing CRLF added to modifyICalEvent output per RFC 5545
20 lines
463 B
JSON
20 lines
463 B
JSON
{
|
|
"name": "@super-productivity/caldav-calendar-provider",
|
|
"version": "1.0.0",
|
|
"private": true,
|
|
"scripts": {
|
|
"build": "node scripts/build.js",
|
|
"test": "vitest run",
|
|
"typecheck": "tsc --noEmit",
|
|
"lint": "tsc --noEmit"
|
|
},
|
|
"devDependencies": {
|
|
"esbuild": "^0.25.11",
|
|
"jsdom": "^29.0.1",
|
|
"typescript": "^5.8.3",
|
|
"vitest": "^4.1.0"
|
|
},
|
|
"dependencies": {
|
|
"@super-productivity/plugin-api": "file:../../plugin-api"
|
|
}
|
|
}
|