feat: implement Radicale CardDAV sync utility and update contact handling for asynchronous sync

This commit is contained in:
2025-12-04 11:37:13 +01:00
parent 22503e1ce0
commit 3292435e68
6 changed files with 468 additions and 1 deletions

View File

@@ -149,7 +149,7 @@ async function uploadToRadicale(vcard, contactId, radicaleUrl, username, passwor
// Construct the URL for this specific contact
// Format: {base_url}{username}/{addressbook_name}/{contact_id}.vcf
const vcardUrl = `${baseUrl}${username}/a5ca5057-f295-b24a-f828-209786f581e3/contact-${contactId}.vcf`;
const vcardUrl = `${baseUrl}${username}/b576a569-4af7-5812-7ddd-3c7cb8caf692/contact-${contactId}.vcf`;
try {
const headers = {