nextcloud / contacts

📇 Contacts app for Nextcloud
https://apps.nextcloud.com/apps/contacts
GNU Affero General Public License v3.0
569 stars 172 forks source link

Allow more duplicate fields. #3265

Open RokeJulianLockhart opened 1 year ago

RokeJulianLockhart commented 1 year ago

Is your feature request related to a problem? Please describe.

I currently use MementoDB for storing contacts of any marginal complexity. I don't want to do this, because the relevant database software doesn't interact with the local Android contact storage nor provide a CalDAV server. Nextcloud can.

However, I am unable to transfer many contacts, because I am unable to duplicate fields such as the name field. This field, for instance, needs to be present multiple times in order to support previous names for a contact, lest I forget who the contact is due to a name change. This problem is common for me.

Additionally, many contacts have multiple managers, as https://github.com/nextcloud/contacts/issues/3826#issue-2152385220 explains.

Describe the solution you'd like

Allow more fields to be duplicated.

Describe alternatives you've considered

I transfer all of my contacts to a more versatile database and engineer a CalDAV synchronizer. Not gonna occur.

Additional context

Considering that certain fields – e-mail addresses and telephone numbers – already allow this, I see no fundamental reason why this should be even vaguely difficult to implement. If for whatever reason it breaks CalDAV synchronization, just allow the user to set one of them as the "primary" option.

ChristophWurst commented 1 year ago

https://www.rfc-editor.org/rfc/rfc6350.html defined the cardinality of properties