-
Notifications
You must be signed in to change notification settings - Fork 0
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
CardDAV on macOS #64
Comments
Comment by Scott on March 12, 2021: I'm not sure how to fix this on my end yet. (And I don't know what Apple is doing, they have this working fine on iOS.)
That's expected actually, it's a "virtual" file that only exists to have some WebDAV useful properties. |
Comment by rnkn on March 12, 2021: At least it's good to know the address book is propagating to the server. Possibly a silly suggestion, but could this be solved by renaming the paths to something like this?
|
Comment by Scott on March 13, 2021: |
Comment by rnkn on March 13, 2021: I think you can quite reasonably say that only Default address book is available via CardDAV on macOS due to Apple bugs. You've got better things to spend your time on than working around Apple's laziness! |
Comment by Scott on June 4, 2021: Try it and let me know if it seems to pick up the correct addressbook for you? |
Comment by rnkn on June 6, 2021: I deleted all contacts in Roundcube and in Contacts.app, re-added the purelymail.com CardDAV account, then re-impored my contacts into Contacts.app. I created a test contact via Roundcube. I can see via WebDAV the .vcf files are still populating in In Contacts.app the automaticallyCreated group is shown as "Default". Are there any other steps I should take to ensure there's nothing amiss on my end? |
Comment by Scott on June 7, 2021: |
Comment by rnkn on June 7, 2021: This is pure speculation, but given macOS users are connecting via |
Comment by Scott on June 8, 2021:
Ah, the emulator I was testing against is on Catalina. I'll see if I can figure out how to update it (the normal process seems broken).
I don't think so. Basically, the reason I advise using the /NNN/users/NNN URL on Mac is because the contacts app is oddly hardcoded to use the user principal URL, get the CardDAV home directory from that, then pick the "first" addressbook it finds in the CardDAV home directory as the one to sync with. |
Comment by rnkn on June 8, 2021: |
Comment by Scott on June 10, 2021: I've deployed another version of the workaround that detects both. Let me know if you have any better luck (you may have to readd the account again) and sorry for all the back and forth.
|
Comment by rnkn on June 10, 2021: Also I found that groups seem to need to be KIND=group (RFC6350) to show up in Contacts.app. You should have an additional charge for CardDAV use for all the extra work you've put into it. |
Comment by rnkn on June 10, 2021: The easy solution is to open the WebDAV connection in Finder and copy all the .vcf files from |
Comment by rnkn on July 26, 2021: |
(This issue was imported from Gitea)
rnkn on March 11, 2021:
Thanks for putting in all the work it must have taken to get CardDAV going.
Unfortunately I haven't been able to get a sync happening between macOS Contacts.app and the server.
What I've tried so far:
Deleting all contacts both locally and via Roundcube, then importing via Roundcube -- the contacts do not populate in Contacts.app.
Then the same as above but importing via Contacts.app -- the contacts do not populate in Roundcube.
I can connect to the WebDAV server via Finder.app, and see that
/webdav/NNN/carddav/default
is populated with .vcf files of contacts imported via Roundcube.If I alter a contact in Contacts.app, these changes do not propagate to Roundcube, even after selecting Settings > CardDAV > Force immediate synchronization with server. Also I can QuickLook the .vcf files accessible via WebDAV and see that changes have not propagated there either, and file modtime has not changed.
This suggests changes in Contacts.app are not propagating to the server at all.
If I go to the Purelymail account management page
/manage/user/NNN
I can see that my webdav app password was used "moments ago". This seems to suggest that authentication is working okay. I've tried all this with the master password too.I have 2FA required for my user.
Here are the settings I've tried in Contacts.app:
Something odd I've noticed is that
/webdav/NNN/users/NNN
is a 0B file.Sorry for the bad news. Any ideas?
(I wouldn't blame you if you threw WebDAV out entirely and went with LDAP...)
The text was updated successfully, but these errors were encountered: