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

Allow custom events with X-ABDATE property #223

Open
NeverWise opened this issue May 30, 2017 · 8 comments
Open

Allow custom events with X-ABDATE property #223

NeverWise opened this issue May 30, 2017 · 8 comments
Labels
1. to develop Accepted and waiting to be taken care of enhancement New feature or request

Comments

@NeverWise
Copy link

NeverWise commented May 30, 2017

Google uses X-ABDATE extension in its vcard on gmail to manage generic dates (events).
The format is the same and already managed, for the phone number, by nextcloud.

phone number e.g. (working)
item1.TEL:0123456789
item1.X-ABLABEL:foo

X-ABDATE e.g. (not working)
item2.X-ABDATE:1997-10-02
item2.X-ABLABEL:bar

If I export a contact from google and import it in nextcloud, the X-ABDATE information remain in the vcard but isn't shown in the frontend.
I think it would be nice to be able to see this information.

It is also possible to import it into android by using the specific extension:
X-ANDROID-CUSTOM:vnd.android.cursor.item/contact_event;1997-10-02;0;bar;;;;;;;;;;;;
This extension works from android 4 to 7. I personally tested it.

I hope you decide to implement this extension.

Cheers


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

@NeverWise NeverWise changed the title Manage more than three date with X-ABDATE extension Manage more than three dates with X-ABDATE extension May 30, 2017
@skjnldsv skjnldsv added enhancement New feature or request 1. to develop Accepted and waiting to be taken care of labels Oct 2, 2018
@skjnldsv skjnldsv added this to the 3.2.0 milestone Oct 2, 2018
@spoorun
Copy link

spoorun commented Apr 8, 2019

Better to rename this 'Allow custom events'?
This might avoid further duplicates being created :D

@skjnldsv skjnldsv changed the title Manage more than three dates with X-ABDATE extension Allow custom events with X-ABDATE property Apr 8, 2019
@DavidMndz
Copy link

I can see the same problem. I have some contacts with multiple custom dates and once I sync my contacts to Nextcloud these fields are lost in Nextcloud.

I compared the output from Android and the otuput of Nextcloud contacts and this part is missing in Nextcloud:

X-ANDROID-CUSTOM:vnd.android.cursor.item/contact_event;1997-10-02;0;bar;;;;;;;;;;;;

I am using Contacts 3.2.0.

@doits
Copy link

doits commented Mar 23, 2021

👍 just noticed my contacts lost some dates. Migration was done about one year ago and I switched phones after this already and contacts synced back from nextcloud without those custom fields, so data seems to be lost :-(

At least it is not possible to add custom dates on the phone now while they are synced to nextcloud with DAVX5, so nothing new can be lost.

@DavidMndz
Copy link

👍 just noticed my contacts lost some dates. Migration was done about one year ago and I switched phones after this already and contacts synced back from nextcloud without those custom fields, so data seems to be lost :-(

At least it is not possible to add custom dates on the phone now while they are synced to nextcloud with DAVX5, so nothing new can be lost.

I have just tested in Android and you can only add "Anniversary" field, but you can add more than one, so on your phone you can have the birthday, two different anniversaries but on the Nextcloud side, only the birthday and the last anniversary that was updated are stored.

I am waiting for this enhancement to finally migrate all the contacts to Nextcloud.

@doits
Copy link

doits commented Mar 23, 2021

On my Android 11 phone / Pixel 5 with stock google android I can only add "Birthday" and one "Anniversary" to a nextcloud contact in the regular contacts app. I don't see an option to add more than one anniversary, maybe a different contacts app can do this?

In nextcloud web ui I can add a third date: A "Day of death". It is only displayed in the web ui, not in contacts app.

@ChristophWurst ChristophWurst removed this from the to plan milestone Sep 14, 2021
@tribut
Copy link

tribut commented Oct 13, 2021

Samsung's Contact App on Android allows custom events to be added, which use X-ABDATE when synced with DAVx5.

@riker09
Copy link

riker09 commented Jul 10, 2022

What needs to be done to add support for this in the web app? As far as I understand it from reading the comments in this issue when I add/change X-ABDATE properties of a contact via Google Contacts app on my phone the data is synced with Nextcloud through DavX, correct? And it's rather an issue of displaying it in the frontend, yes?

@brtwrst
Copy link

brtwrst commented May 7, 2023

That seems to be what is happening.
Custom dates synchronize between my android devices just fine but are not displayed in Nextcloud.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1. to develop Accepted and waiting to be taken care of enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

9 participants