org-gcal.el icon indicating copy to clipboard operation
org-gcal.el copied to clipboard

[WIP] Add multiple accounts support

Open ayyess opened this issue 9 years ago • 9 comments

A solution to issue #71 where calendars on different google accounts can't be synced at the same time because they have different access tokens.

org-gcal-token-plist has been renamed to org-gcal-tokens-plist and contains each calendars plist. The calendar's url is used as the key. Each calendars plist is also saved in separate files i.e.(concat org-gcal-token-file calendar-url) All the (plist-get org-gcal-tokens-plist calendar-url) calls can be cleaned up.

ayyess avatar Nov 20 '16 14:11 ayyess

Confirming this PR works great with multiple accounts on different domains / GSuite accounts.

@andjscott do you think it should be ok to remove the [WIP] tag/tilte?

j-martin avatar Jan 08 '17 01:01 j-martin

I'm glad it works for you. I originally put the WIP in the title because emacs seemed to repeatedly write to the files holding the token for each account and didn't find the cause. I can't remove the WIP from the title but won't mind if a repo admin can and wants to change it.

ayyess avatar Jan 08 '17 17:01 ayyess

I manually applied this patch and resolved the conflicts and can confirm that it is working wonderfully for me as well. It would be awesome if we can get the merged into the project. @andyjscott would it be possible for you to resolve the merge conflict so that @myuhe can more easily accept this patch?

Thanks to everyone for this project!

blarghmatey avatar Sep 12 '17 09:09 blarghmatey

I've merged the master branch into this branch but haven't tested the *-at-point functions or looked at this code for a while so let me know how you get on.

ayyess avatar Sep 12 '17 10:09 ayyess

Thanks!

blarghmatey avatar Sep 12 '17 10:09 blarghmatey

@andyjscott are -at-point function still not working in your branch ?

bobberb avatar Jan 24 '18 01:01 bobberb

@myuhe reminder that this exists and should be merged

bqv avatar Jun 08 '19 15:06 bqv

@bqv

The community left this repo for

https://github.com/kidd/org-gcal.el/

And that repo is what MELPA currently references

bobberb avatar Jun 08 '19 16:06 bobberb

Hi everyone! This repository is obsolete - the actively developed fork is now https://github.com/kidd/org-gcal.el, which is also the "org-gcal.el" on MELPA (see #115). I'm one of the maintainers of https://github.com/kidd/org-gcal.el. I can't directly close issues or PRs on this repo, but please download https://github.com/kidd/org-gcal.el and see if your issue or PR is still applicable. If so, open an issue or PR on https://github.com/kidd/org-gcal.el. In any case, you should close your issue or PR in this repo.

telotortium avatar Jun 11 '20 18:06 telotortium