Giter Site home page Giter Site logo

Comments (20)

crazy-max avatar crazy-max commented on June 8, 2024 1

I have tried with Android stock app (+ DavDroid) and Thunderbird but i cannot retrieved categories and phone type changed on ownCloud 9.

So i have used eM Client to synchronize my contacts.vcf (exported from ownCloud 8.2) with my ownCloud 9 carddav and it worked very well and i have kept categories and phone type (cell, work, etc...).

A contact on my contacts.vcf looks like this (from ownCloud 8.2) :

BEGIN:VCARD
VERSION:3.0
PRODID:-//ownCloud//NONSGML Contacts 0.4.0.1//EN
UID:458b06c8-70cb-4a18-a8d7-e4cc353ff142
FN:Foo Bar
N:Foo;Bar;;;
TEL;TYPE=cell:+33777777777
REV:2016-01-10T16:57:24+00:00
END:VCARD

contacts

from contacts.

Henni avatar Henni commented on June 8, 2024

Definitely planned! Maybe it'll make it into 1.0, otherwise it will be implemented shortly after.

from contacts.

enoch85 avatar enoch85 commented on June 8, 2024

@Henni What's your nick on IRC?

from contacts.

NeilMonday avatar NeilMonday commented on June 8, 2024

I'll be waiting (im)patiently for this.

Update: The workaround from @crazy-max also works with a vcf generated from gmail and imported with eM Client.

from contacts.

DeepDiver1975 avatar DeepDiver1975 commented on June 8, 2024

I'll be waiting (im)patiently for this.

Waiting time can be shorted by contributing to this open source project! 😉

from contacts.

dniku avatar dniku commented on June 8, 2024

Has anybody found a way to import GMail contacts into ownCloud using only Linux software?

from contacts.

irgendwie avatar irgendwie commented on June 8, 2024

@Pastafarianist You can checkout the PR #237 - basic import functionality is worked on there.
It's already possible to import single *.vcf files (with one contact in them).
Feel free to contribute! 😊

from contacts.

dniku avatar dniku commented on June 8, 2024

@crazy-max @NeilMonday which CardDAV url did you specify in eM Client? For me, the one which worked for DAVDroid (/owncloud/remote.php/carddav) fails with "error: method not allowed" in eM.

from contacts.

NeilMonday avatar NeilMonday commented on June 8, 2024

I tried 2 apps like davdroid and neither worked (possibly due to user error). Maybe try em client with wine?

from contacts.

NeilMonday avatar NeilMonday commented on June 8, 2024

Sorry, misread your comment. I think I used this URL https://myurl.com/remote.php/dav/addressbooks/users/myusername/default/. Obviously replace myurl and myusername with what you have.

from contacts.

dniku avatar dniku commented on June 8, 2024

@NeilMonday thanks, it worked, but the groups were not preserved (I imported the contacts through *.vcf exported from Google). Did it work in your case?

UPD: I haven't found any reference to my old contact groups in the *.vcf file I exported from Google. Regardless, they are present in the *.csv export. Could someone post an example of a *.vcf entry which uses groups, so that I could merge the two files?

from contacts.

NeilMonday avatar NeilMonday commented on June 8, 2024

I don't use groups unfortunately. You could export/import one group at a time maybe?

from contacts.

Henni avatar Henni commented on June 8, 2024

@Pastafarianist take a look at https://www.w3.org/2002/12/cal/vcard-examples/john-doe.vcf
It contains groups, which are called CATEGORIES in the vCard standard.

from contacts.

dniku avatar dniku commented on June 8, 2024

@Henni will ownCloud recognize CATEGORIES as a comma-separated string?

from contacts.

Henni avatar Henni commented on June 8, 2024

@Pastafarianist yes
BTW: you are all welcome in our irc channel #owncloud-contacts

from contacts.

Henni avatar Henni commented on June 8, 2024

Partially fixed by #237 which implemented vCard import.
Closing in favor of a new label feature:import/export

from contacts.

dniku avatar dniku commented on June 8, 2024

Here is a very dirty example of how to convert a Google CSV to a VCF file: https://gist.github.com/Pastafarianist/6262b184ca3a8c990d4a

from contacts.

enoch85 avatar enoch85 commented on June 8, 2024

@Pastafarianist

@crazy-max @NeilMonday which CardDAV url did you specify in eM Client? For me, the one which > worked for DAVDroid (/owncloud/remote.php/carddav) fails with "error: method not allowed" in eM.

The DAVDroid client will be updated, they released 1.0 beta now: https://davdroid.bitfire.at/configuration/owncloud/
https://twitter.com/davdroidapp/status/711675959582334976

from contacts.

malfatti avatar malfatti commented on June 8, 2024

Hi!

I installed this app by cloning this repo into apps/ and then enable it on admin apps page. I can see the import button, but when I try to import a vcf with 257 contacts, I got no feedback, no loading, no nothing, and I waited for more than 30'. The same file imported sucessfuly in OC8.2.3, so the file seems to be ok.

Am I doing something wrong?

Thanks!

from contacts.

Henni avatar Henni commented on June 8, 2024

@malfatti In theory it should work. We haven't implemented feedback for the import yet (e.g. progress bar). Please open a separate issue.

from contacts.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.