Open skjnldsv opened 6 years ago
The issue here one can see is that when a User creates a new contact through the app, it appears to be automatically created as vCard 3 rather than vCard 4, with no option to force vCard 4. For those Users wishing to sync with vCard 4 services, this is problematic.
@olantrust We're creating vcard4 by default :) https://github.com/nextcloud/contacts/blob/6a9025c57dfd738d3d25651853bc38e15db90f1c/src/views/Contacts.vue#L310-L318
@olantrust We're creating vcard4 by default :)
contacts/src/views/Contacts.vue
Lines 310 to 318 in 6a9025c async newContact() { const rev = new VCardTime() const contact = new Contact(
BEGIN:VCARD VERSION:4.0 PRODID:-//Nextcloud Contacts v${appVersion} END:VCARD
.trim().replace(/\t/gm, ''), this.defaultAddressbook)
OK, just each card that I download from new contacts created in Contacts App v 3.10 are specified as VCARD Version 3.0.
@olantrust this is a server issue I guess then! :thinking: EDIT: https://github.com/nextcloud/contacts/issues/4038
On the
add new property
, we should not allow the addition of properties that are not allowed on the vcard rfc.There is an issue regarding the allowed data on the ical.js: https://github.com/mozilla-comm/ical.js/issues/363
https://github.com/mozilla-comm/ical.js/blob/d26b19fa5adb4d3d6e03bff6c6e4c0705c12ab11/lib/ical/design.js#L873