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

Import contacts - indicate which file type / import non-vcf #516

Open
castaway opened this issue Apr 9, 2020 · 4 comments
Open

Import contacts - indicate which file type / import non-vcf #516

castaway opened this issue Apr 9, 2020 · 4 comments
Assignees
Labels
enhancement New feature or request P3-medium Priority medium

Comments

@castaway
Copy link
Contributor

castaway commented Apr 9, 2020

Nothing seems to indicate what type of contacts files can be imported (I tried an .ldif as thats what Claws will give me)

@gtandersen gtandersen added enhancement New feature or request P3-medium Priority medium service-contacts labels Apr 14, 2020
@tadzik
Copy link
Contributor

tadzik commented May 5, 2020

The format is VCF, and yes it needs some sort of note about that.

Another thing is that, apparently, when you feed it something like Gmail's CSV it just ignores the wrong format and claims that it "imported" 0 contacts: https://community.runbox.com/t/hassle-free-contacts-import-please/1207. We should at least show up an error message in this case, before we build CSV support into Runbox7

@castaway castaway self-assigned this May 11, 2020
@castaway castaway changed the title Import contacts - indicate which file type? Import contacts - indicate which file type / import non-vcf May 20, 2020
@castaway
Copy link
Contributor Author

Thoughts for implementing import of non-vcf (vCard) files:

Internally store known file types, eg list of (current, how often do they change!?) CSV column headers for: google csv export, yahoo csv export, outlook csv export

When user clicks "Import Contacts":

  • Load file content
  • Guess type of file - VCARD, CSV; which type of csv based on header row
  • If obvious (vcard or matches known csv precisely) - continue
  • If non-obvious - ask user, import understood columns
    • OR: Ask user to map columns (as per existing RMM6 method)
  • Pop up dialog box re groups/categories
  • Import data

@gtandersen
Copy link
Contributor

This is becoming more urgent as more people are using the calendar import feature in Runbox 7.

Could you pick up this @castaway?

@castaway
Copy link
Contributor Author

castaway commented Feb 4, 2021

Better VCF checking was added with #583 's ICS file type checking - however it seems that this might be a bit too strict for some browsers (we're getting some issues with valid files not importing) - I'm going to change it to a "Are you really sure?" style check

@tadzik tadzik removed their assignment Aug 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request P3-medium Priority medium
Projects
None yet
Development

No branches or pull requests

3 participants