VoIP icon indicating copy to clipboard operation
VoIP copied to clipboard

CardDAV support

Open ragelfundionctrumnar opened this issue 3 years ago • 4 comments

I see that import/manual edit are on the roadmap.

Instead of maintaining another another contacts list, it would be great if this app could sync with an external CardDAV server. There are a couple of (seemingly) mature DAV libs for node, though I admit that I haven't gone too far down this rabbit hole...

ragelfundionctrumnar avatar Sep 11 '21 19:09 ragelfundionctrumnar

Great advice, I haven't researched that either. Will get into that next after fixing all the bugs and patches.

0perationPrivacy avatar Sep 11 '21 19:09 0perationPrivacy

I looked into CardDAV, it's simply a protocol for syncing the contact list with another server. Regardless of where or what that server is (gmail, outlook, etc), it syncs to LOCAL storage, which is MongoDB in this case. So either way, step 1 is to build the local table to store it manually, to retrieve it, replace it with the phone number displayed, the frontend popups, modals, alerts, errors, validations, add/delete/edit etc.

Step-2 would be to implement CardDAV as an enhancement to sync all that to some 3rd party contact handler. Manual entry/removal would still be a must. I'm working on that next couple of days, as soon as I squash some of the issues ppl are facing.

(side note: it doesn't seem like ProtonMail has CardDAV support, it would have been nice to sync it from there if anyone kept their contacts there.)

0perationPrivacy avatar Sep 12 '21 05:09 0perationPrivacy

Just to add to this conversation, I (and likely many others in this community) host our own Nextcloud servers - private cloud either on a local LAN or self-hosted out on a VPS with a custom domain. CardDAV is an awesome way to keep contacts synced/backed up between devices, without having to rely on third parties like Google/iCloud. It would be an awesome feature to see down the road for this app if the devs have time. 👍

smolbytes avatar Sep 13 '21 03:09 smolbytes

Thanks for your great work. Another hand up for CardDav from me.

raymears avatar Feb 21 '22 17:02 raymears