-
Notifications
You must be signed in to change notification settings - Fork 173
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
Support Mac groups vCards #213
Comments
Same issue with Nextcloud 12Server configurationOperating system: Debian GNU/Linux 8.8 (jessie) x86_64 Web server: Apache/2.4.10 (Debian) (apache2handler) Database: mysql 5.5.55 PHP version: 5.6.30-0+deb8u1 Nextcloud version: 12.0.0 - 12.0.0.29 Are you using external storage, if yes which one: files_external is disabled Are you using encryption: no Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/... Client configurationBrowser: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/603.3.1 (KHTML, like Gecko) Version/10.1.2 Safari/603.3.1 Operating system:
Updated from an older Nextcloud/ownCloud or fresh install: List of activated apps: App list``` Enabled: - activity: 2.5.2 - bruteforcesettings: 1.0.2 - calendar: 1.5.3 - comments: 1.2.0 - contacts: 1.5.3 - dav: 1.3.0 - federatedfilesharing: 1.2.0 - federation: 1.2.0 - files: 1.7.2 - files_pdfviewer: 1.1.1 - files_sharing: 1.4.0 - files_texteditor: 2.4.1 - files_trashbin: 1.2.0 - files_versions: 1.5.0 - files_videoplayer: 1.1.0 - firstrunwizard: 2.1 - issuetemplate: 0.2.1 - logreader: 2.0.0 - lookup_server_connector: 1.0.0 - nextcloud_announcements: 1.1 - notifications: 2.0.0 - oauth2: 1.0.5 - password_policy: 1.2.2 - provisioning_api: 1.2.0 - serverinfo: 1.2.0 - sharebymail: 1.2.0 - survey_client: 1.0.0 - systemtags: 1.2.0 - theming: 1.3.0 - twofactor_backupcodes: 1.1.1 - updatenotification: 1.2.0 - workflowengine: 1.2.0Disabled:
|
Could you create a new contact on your Mac and sync it to nextcloud, then export it from nextcloud and post the result here please. |
Afaik MacOS (and/or Apple in general) stores groups as vcards and not as property in a vcard, like we do it in the contacts app. When configuring davDroid (for Android) you can choose between those two options, I'm not sure if this is also possible for apple products. |
If we want to implement this, this won't be a priority then :/ |
Hi @skjnldsv,
After syncing with Nextcloud, I get two non-grouped new cards (attached). It would really be great that the Nextcloud Contacts app accepts |
Isn't there an option to change this behavior on Mac? |
On macOS 10.12, the user can choose between the vCard formats 2.1 and 3.0 (and the vCard encoding format for 2.1). He/she can also enable/disable the export of notes and photos in vCards and the use of a private me card. As shown for example here, the property |
MacOS does not have option to change how the vCard are synced. Even if there was a hack via some config file, this would not be user-friendly at all. Their solution corresponds to the KIND/MEMBER fields of vCard 4.0, without breaking the older standards. So the logic is the same as in the 4.0 standard. How does Nextcloud store groups - as a name in the Categories field? What would happen, if a vCard 4.0 using the standardized KIND/MEMBER fields is sent? I would assume the version option exposed to the user only affects the export functionality. |
We support iCloud contact groups with X-ADDRESSBOOKSERVER-KIND:group also now for mapping Outlook Distribution Lists to contact groups in OutlookCalDavSynchronizer So would be really useful if the contact app could show the members of the group for a better Nextcloud and Outlook integration! Now the group is only visible as a normal contact with the name of the group and no members but atleast can be synced back to (another) Outlook or macOS instance. |
Let's go! |
Great! |
Maybe nice to know: |
@skjnldsv Did you have any success with this? Is it still ongoing or stale? |
It's still ongoing. |
Hi @skjnldsv, is does not work for me with the following adjustments: Original:
Adjustment:
|
Strangely enough, KIND/MEMBER are supposed to be supported for v4+ only :) |
Yes a vcard with VERSION:3.0 is not valid with KIND/MEMBER, that's the reason for X-ADDRESSBOOKSERVER prefix. Only with VERSION:4.0 KIND/MEMBER are allowed, so the adjustment above is an invalid vcard. You really should support both, since there is no support for v4+ cards in many clients/servers. |
This comment was marked as off-topic.
This comment was marked as off-topic.
With regards to issue: Contact groups can't be deleted nextcloud/server#1175 It sounds like Apple isn't following the vCard 3.x or 4.x standards. Since Nextcloud is built to sustain those standards, waiting to fix an Apple mistake doesn't serve the community, especially since simple issues like being able to delete a user group after creating it (a simple CRUD fix) is being held back by an issue that may never be resolved. Apple has a tendency to do things the way they want and try to force compliance with their modus operandum. Since it is Nextcloud's intention to follow the vCard standards: This is a complicated answer. We did not invent the way contacts works. We are following the official vCard format. This format include a predefined set of properties that other applications/devices supports too (Android, iOS, Windows, Gnome...). Adding a custom property would just make it compatible with Nextcloud and will not be understood by any other clients and make it complicated for us to ensure its sustainability over time. Long story short, we suggest you use the Notes field to add your custom data :) I would suggest moving forward with vCard standards UI and functionality issues and not wait for Apple. You can't please everyone, and this is a glaring error (#1175) |
@Matteo85, should we post that in the Apple Developer Forums then? |
You can if you want. I posted here because another thread (#1175), which is not part of the Mac development, referred to this error as having to be fixed before the thread I was viewing would be fixed. In my opinion this delay is ridiculous since they are unrelated items (or should be...). We should be able to delete user groups after creation, and this has been a known issue since 2019. To have basic CRUD functions delayed for a niche problem shouldn't be happening. |
And again a year later, no solution in sight, and still blocking nextcloud/server#1175 , which is an absolutely basic standard feature, still missing for at least half a decade now. I'm very sorry to say, but this is really just a huge shitshow ... |
yeah ... haha ... ain't nobody using nextcloud for serious stuff anymore due to lacking features like this. |
So I am actually an IT-Admin running a growing company offering typical services to a bunch of customers. I would love to have a real alternative to the well known commercial cloud solutions. If we would be successful with NextCloud and being able to make money based on that, we would most definitely consider to become an official supporter of NextCloud. This would be just a normal thing to do to ensure our own success. But if I decide to promote NextCloud to our customers, it will be most likely just a matter of days until someone bumps into this (or some similar) issue. Do you really expect me to explain my customers then: "Yeah, sorry. This is an open bug in Nextcloud for almost a decade now. For some reason, they have tied this simple and basic functionality (#1175) to some niche problem (this) where they are waiting for Apple to fix some of their implementations (which is of course absolutely ridiculous because of course they never will because why should Apple care???), so the Nextcloud-guys will never fix this problem, either. Better you just get used to it!" If I do this, we can close our company just right there. So unfortunately my test with NextCloud seems to end here with the result: Promoting this product will most likely backfire and undermine our customers trust in us, so we simply can't! |
Hi Everyone, Would someone be so kind as to create a group with the "MacOS Contact app" and post the vCard for us. Thank you |
actually creating a group on iOS works. It is called lists there. However also that list doesn't appear as a property / group / field in the NextCloud web contacts viewer. |
Thank you @patzm Looks like MacOS is using the multiple cards in a single vcf file as a grouping mechanism and NOT the KIND="group" property with references. (face palm)
I am curious if this is only when you export from the app or if it is sent to NC like this via CardDAV. |
I have the same output here (macOS 14.7), but I also suspect that macOS Contacts app list export feature is in fact exporting members instead of exporting the list/group itself... |
yes agreed, with @favincen: the exported file might not actually be the group but just the chained contacts therein. Reason: I can't click export if the group is empty. It doesn't show the option. |
My table is actually just called What I did:
Run SELECT * FROM cards WHERE carddata LIKE '%test-contacts%' Result:
|
@patzm Thanks a million! This is great news, looks like Apple is using the proper vCard KIND property over CardDAV and our back end already supports it. Now just a matter of making a whole lot of changes to the front end. |
Well the least anyone can do that uses your great open source software ❤️. Topic wise: don't you worry about the inconsistentcy? iOS 📱 uploaded something, macOS didn't. 😕 |
Yes, this could be an issue, but it could just be a mater of us providing a proper CalDAV capability, before iOS will do proper groups, or it could just be that iOS does not support groups, this one of many clients that need to be tested, but this is a start. |
Steps to reproduce
or
Expected behaviour
Groups created in Contacts app should appear as groups in Nextcloud.
Groups created in Nextcloud should appear as groups in Contacts app.
Actual behaviour
A group created in Contacts app appears as a normal contact in Nextcloud.
Nextcloud groups are not represented in Contacts app.
Server configuration
Operating system: Nextcloud official Docker
Web server: Nginx Proxy
Database: MariaDB
Nextcloud version: 11.0.3
Contacts version: 1.5.3
Updated from an older Nextcloud or fresh install: Updated, but contacts cleared
Client configuration
Operating system: MacOS 10.12.4
CardDAV-clients: MacOS Contacts app
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
The text was updated successfully, but these errors were encountered: