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

Sync with Online Accounts #24

Open
aimproxy opened this issue Jul 22, 2019 · 11 comments
Open

Sync with Online Accounts #24

aimproxy opened this issue Jul 22, 2019 · 11 comments
Labels
help wanted Extra attention is needed Will fix later This will be worked on later

Comments

@aimproxy
Copy link

Hi, I already have my all contacts in my google account, it will be nice if we could import contacts from google and sync already created contact to google. It's a functionality takes some time to implement and will be places in different places on the UI. Thats it's envolve some knowledge in libsoup with authentication, and GAPI (google api). I don't know very well how does authentication work with libsoup, but I can give a look and if I leaves victorious I could submit a PR for review!

@aggalex aggalex added the Will fix later This will be worked on later label Jul 22, 2019
@aggalex
Copy link
Owner

aggalex commented Jul 22, 2019

I am currently waiting for elementary OS google support on the new online accounts page, and then I will get my hands dirty with this. If however eOS takes too long with this, I'll just have to implement it all by myself... That is, on the second big, official release release of my app.

@aggalex aggalex changed the title Sync with Google Contacts Sync with Online Accounts Jul 22, 2019
@peteruithoven
Copy link

Hi @aggalex, great work on this app!

@danrabbit has been working on a core elementary OS app called Friends, which he just made public:
https://github.com/elementary/friends https://github.com/elementary/friends
One interesting aspect is that it uses the online account contacts. But currently it just lists the contacts and doesn't include further contacts details or the ability to edit contacts.

@aggalex
Copy link
Owner

aggalex commented Jul 22, 2019

@peteruithoven I've seen the app's code, but it doesn't seem to use online accounts. Do you know where in the code he does that?

@aggalex aggalex added the help wanted Extra attention is needed label Jul 22, 2019
@aggalex
Copy link
Owner

aggalex commented Jul 22, 2019

Is it through the "Folks" library?

@cassidyjames
Copy link

cassidyjames commented Jul 22, 2019

@aggalex yes, it uses LibFolks, which ties into Evolution Data Server, which we plan to add support for in Online Accounts. I don't believe there is currently support there, but it's our next major focus after releasing 5.1.

@peteruithoven
Copy link

(I currently connected Friends to my Nextcloud instance through Evolution.)

@aggalex
Copy link
Owner

aggalex commented Jul 22, 2019

got it. I will try to work on it.

@aggalex
Copy link
Owner

aggalex commented Jul 22, 2019

This change kindoff completely turns the tables, so it will take sometime.

@aggalex
Copy link
Owner

aggalex commented Jul 22, 2019

Hey, I (kinda) got the reading working, can someone help me with editing? I don't really seem to manage to change any information inside a Folks individual

@aggalex
Copy link
Owner

aggalex commented Jul 23, 2019

Due to:

  • The (unnecessary) complexity of libfolks
  • The inadequate documentation on libfolks
  • The inadequate general online resources (couldn't find any questions about the matter)

Libfolks integration is postponed indefinitely, unless someone else can help on the matter meaningfully.

@aggalex
Copy link
Owner

aggalex commented Jul 23, 2019

With the code currently on the with-folks branch, I am planning to implement an import feature, so that the user can also import contacts from the evolution data server (and subsequently, Google contacts) into the app, just like importing a vcard file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed Will fix later This will be worked on later
Projects
None yet
Development

No branches or pull requests

4 participants