Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: CalDAV and CardDAV support #42

Closed
williamtheaker opened this issue Jun 6, 2017 · 27 comments
Closed

Feature request: CalDAV and CardDAV support #42

williamtheaker opened this issue Jun 6, 2017 · 27 comments

Comments

@williamtheaker
Copy link

Even if it's only read only, it would be an easy way to synchronize contact data and events from Monica with mobile devices.

@fergbrain
Copy link

Also good because I think many people already use CalDav to store this kind of information.

@djaiss
Copy link
Member

djaiss commented Jun 8, 2017

I agree. Although this would have been better to split this issue in two because these are two way different things.

@enko
Copy link

enko commented Jun 9, 2017

This can be done via sabredav. Its a PHP-API for caldav & carddav.

@pnorton
Copy link

pnorton commented Jun 22, 2017

Don't forget that some already have carddav servers setup. So having Monica updating those remote servers would be a good feature. That way we'd have a single source of truth for contact information.

@asbiin asbiin self-assigned this Mar 20, 2018
@cweagans
Copy link

cweagans commented May 4, 2018

Has the CardDAV work been started anywhere? This is the last blocker to my wife being on board with Monica. Having a shared address book of all of our friends and family that syncs with all of our devices is gonna be awesome.

@djaiss
Copy link
Member

djaiss commented May 4, 2018

@cweagans not yet. This is a huge beast, therefore it'll take some time, but CardDav and CalDav support is something that I'm very passionate about. I would even say that it's absolutely essential. I need to see how we can achieve it.

@djaiss
Copy link
Member

djaiss commented May 4, 2018

@leggewie
Copy link

leggewie commented Oct 7, 2018

@cweagans Apparently, work HAS been started now. Look at #1284, thus I suggest to close this issue in favor of #582, both are dupes of each other. Thank you.

@cweagans
Copy link

cweagans commented Oct 8, 2018

You'll notice I've been commenting in #1284 ;)

#582 should be closed as a dupe. This one was in place first.

@djaiss
Copy link
Member

djaiss commented Jan 15, 2019

Yep, Carddav now works. We have to document it now but it still has to be considered "alpha" and it's kinda slow at the moment. We'll make it better over time. We've also started to support Caldav.

@pqhf5kd
Copy link

pqhf5kd commented Jan 16, 2019

Is there alpha support on the hosted version?

@djaiss
Copy link
Member

djaiss commented Jan 16, 2019

Yes.

It works on iOS with Contacts. On Android you have to use a dedicated plugin or something to support Carddav officially.

You have to use the address https://app.monicahq.com/carddav then use your email/password.

Warning: it removes your existing contacts! And it's a bit slow (like really slow) for the first pull of data.

@pqhf5kd
Copy link

pqhf5kd commented Jan 16, 2019

I get 'Cannot Connect Using SSL. Do you want to try setting up the account without SSL?'
If I try without SSL, I get 'CardDAV account verification failed'

I have 2FA switched on if that makes a difference?

iOS 12.1.2

@asbiin
Copy link
Member

asbiin commented Jan 16, 2019

Warning: it removes your existing contacts!

I did not notice this behavior! @djaiss you mean it removes the contacts on the phone?

You can use "email/password", or "email/token", with a token created on the Settings>Api page.
https://app.monicahq.com/carddav is not working right now, but you can activate carddav on your hosted version by setting CARDDAV_ENABLED=true in you .env file. Then use /carddav url.

@pqhf5kd
Copy link

pqhf5kd commented Jan 19, 2019

https://app.monicahq.com/carddav is not working right now

Any particular reason why? I'm interested in testing it out.

@asbiin
Copy link
Member

asbiin commented Jan 19, 2019

https://app.monicahq.com/carddav is not working right now

Any particular reason why? I'm interested in testing it out.

It's not a stable feature right now, we wan't take a risk at delete some datas.

@pqhf5kd
Copy link

pqhf5kd commented Apr 15, 2019

CardDav support is now ticked on the roadmap. Can we being testing on the hosted platform?

@Wulfheart
Copy link

What's the current status?

@asbiin
Copy link
Member

asbiin commented May 23, 2019

@Wulfheart We are currently testing it. Would you like to help us? Please contact me on slack if so.

@Wulfheart
Copy link

@asbiin I'd need an invitation.

@searoso
Copy link

searoso commented Jun 10, 2019

I would definitely try Monica as my primary contacts provider.

@asbiin
Copy link
Member

asbiin commented Aug 10, 2019

This is now fixed

@asbiin asbiin closed this as completed Aug 10, 2019
@pqhf5kd
Copy link

pqhf5kd commented Aug 25, 2019

I get 'Unable to verify account name or password' on macOS:
image
Same with Advanced settings:
image

@asbiin
Copy link
Member

asbiin commented Sep 16, 2019

Hi folks! Carddav is now activated on all account on app.monicahq.com!
Let me now if it's working ... or not.

@pqhf5kd
Copy link

pqhf5kd commented Sep 17, 2019

I can now add my account and my contacts have synced but I'm having trouble with a few things and I'm trying to work out if they're related

Addresses are syncing both ways but the 'Label (optional)' from Monica is appearing on iOS. If I add an address on iOS with a custom label, the address appears in Monica with no label and the label is removed from iOS within a minute.

Contact Information labels appear to be broken in Monica, I can select one when adding the details but I can't edit or see it after. I'm only seeing (presumably) Landline labeled numbers and email addresses on iOS.

If I add an email address to a contact on iOS, it's deleted within a minute.

Shall we reopen this or create a new ticket? Sorry for the ramble, there's a lot to try with different outcomes.

@asbiin asbiin removed their assignment Sep 17, 2019
@asbiin
Copy link
Member

asbiin commented Sep 17, 2019

Thanks @pqhf5kd , can you open a new issue please? This is kind of tricky problem!

@github-actions
Copy link

github-actions bot commented Jan 9, 2021

This issue has been automatically locked since there
has not been any recent activity after it was closed.
Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 9, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests