pimutils / vdirsyncer

📇 Synchronize calendars and contacts.
https://vdirsyncer.pimutils.org/
Other
1.57k stars 163 forks source link

Document how to sync with Claws-mail #314

Closed gour closed 8 years ago

gour commented 8 years ago

Hello,

although in the meantime I did switch from Claws-mail to Evolution which does nice job of syncing my calendars/contacts with my Android phone via ownCloud and I left comment in Claws' bugzilla in regard, and due to @untitaker's comment on this issue, I'm filing submitting this issue if someone find it interesting to provide support for, syncing Claws-mail's contacts/calendars via vdirsyncer.

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

untitaker commented 8 years ago

Claws currently only allows read-only access to a vCard. This can be used in combination with the singlefile storage to use CardDAV contacts in Claws, but not edit them in Claws' UI.

gour commented 8 years ago

@untitaker hmm, does it mean one would be still able to e.g. edit them within khard and then still have proper syncing with Claws <---> ownCloud <--> Android phone?

untitaker commented 8 years ago

Yes, exactly.

The feature missing here is write-support for vCards in Claws-Mail. Everything else already works.

gour commented 8 years ago

Well, that would be something, at least...and possibly easier to add remaing support within Claws itself?

untitaker commented 8 years ago

Yes. Native CardDAV support for Claws would be more userfriendly, but that's a major effort.

untitaker commented 8 years ago

Concretely:

[storage foobar]
type = singlefile
path = /foo/bar.vcf

[storage foobaz]
type = carddav
url = ...
username = ...
password = ...

[pair asdf]
a = foobar
b = foobaz

In claws mail, click "Book -> New VCard", and insert /foo/bar.vcf as file.

Note that you should only sync when Claws Mail is closed, otherwise data loss may occur. Maybe I'll do some experiments in the future on whether this is really necessary, but better be safe than sorry.

gour commented 8 years ago

In claws mail, click "Book -> New VCard", and add that path.

I'll certainly try that, but wonder if you maybe tried it?

Have to re-create my old Claws setup...

untitaker commented 8 years ago

Yes, it works.

Actually since Claws doesn't write to the file, it doesn't matter whether it's open while vdirsyncer is syncing.

gour commented 8 years ago

Yes, it works.

That sounds pretty good. Thank you for support and taking time to test which I'll do as well. ;)

Any hint in regard to calendar syncing support with Claws' vCalendar plugin?

gour commented 8 years ago

Of course, another option could be to e.g. use XFCE's Orage instead of Claws' plugin, but the point is not to be fully dependent on GNOME/Evolution...

untitaker commented 8 years ago

Any hint in regard to calendar syncing support with Claws' vCalendar plugin?

Very similar vdirsyncer configuration, then "Subscribe to WebCal" and enter: "file:///foo/bar.ics". Not sure if this was an intended feature by the plugin authors.

I'd apprechiate if you could write a tutorial based on your experience, because I get related questions all the time via private email.

untitaker commented 8 years ago

On Thu, Dec 31, 2015 at 08:31:31AM -0800, Gour wrote:

Of course, another option could be to e.g. use XFCE's Orage instead of Claws' plugin, but the point is not to be fully dependent on GNOME/Evolution...

Orage has no affiliation with GNOME/Evolution and is also very easy to set up.

In contrast to Claws it can also write to the ics files, so full two-way sync is possible.

gour commented 8 years ago

Very similar vdirsyncer configuration, then "Subscribe to WebCal" and enter: "file:///foo/bar.ics". Not sure if this was an intended feature by the plugin authors.

OK, I'll do some testing.

I'd appreciate if you could write a tutorial based on your experience, because I get related questions all the time via private email.

OK. Will do. ;)

gour commented 8 years ago

Native CardDAV support for Claws would be more userfriendly, but that's a major effort.

Btw, what do you think about establishing import/export between e.g. khard & Claws' addressbook which keeps contacts in XML file?

untitaker commented 8 years ago

I'd rather not mess with Claws' internal database unless one of their devs can explain why it isn't dangerous.

On Thu, Dec 31, 2015 at 08:39:41AM -0800, Gour wrote:

Native CardDAV support for Claws would be more userfriendly, but that's a major effort.

Btw, what do you think about establishing import/export between e.g. khard & Claws' addressbook which keeps contacts in XML file?


Reply to this email directly or view it on GitHub: https://github.com/untitaker/vdirsyncer/issues/314#issuecomment-168218398

untitaker commented 8 years ago

@gour Are you still interested in writing a tutorial? If not, I'd rather close this issue than keeping it stale and open.

gour commented 8 years ago

@untitaker I must admit that after not seeing much interest from the Claws' devs, that I did solve my problem my migrating to Emacs+Gnus where, besides org-mode, I can sync my calendars via org-caldav and importing contacts into org-contacts which I synced between my Android phone and ownCloud...so, Claws is, atm, past tense here. :-(

untitaker commented 8 years ago

Alright, I'll close this for now.

ghost commented 7 years ago

I can write a tutorial if you want

untitaker commented 7 years ago

That would be nice! Did you get it to run?

ghost commented 7 years ago

Yes I did runs perfect

Von meinem iPhone gesendet

Am 15.01.2017 um 15:34 schrieb Markus Unterwaditzer notifications@github.com:

That would be nice! Did you get it to run?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

untitaker commented 7 years ago

Cool, I'd be happy to merge your PR

On 15 January 2017 15:54:47 CET, Malte Kiefer notifications@github.com wrote:

Yes I did runs perfect

Von meinem iPhone gesendet

Am 15.01.2017 um 15:34 schrieb Markus Unterwaditzer notifications@github.com:

That would be nice! Did you get it to run?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

-- You are receiving this because you modified the open/close state. Reply to this email directly or view it on GitHub: https://github.com/pimutils/vdirsyncer/issues/314#issuecomment-272700172

-- Sent from my Android device with K-9 Mail. Please excuse my brevity.

ghost commented 7 years ago

Which file must I edit

Von meinem iPhone gesendet

Am 15.01.2017 um 16:35 schrieb Markus Unterwaditzer notifications@github.com:

Cool, I'd be happy to merge your PR

On 15 January 2017 15:54:47 CET, Malte Kiefer notifications@github.com wrote:

Yes I did runs perfect

Von meinem iPhone gesendet

Am 15.01.2017 um 15:34 schrieb Markus Unterwaditzer notifications@github.com:

That would be nice! Did you get it to run?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

-- You are receiving this because you modified the open/close state. Reply to this email directly or view it on GitHub: https://github.com/pimutils/vdirsyncer/issues/314#issuecomment-272700172

-- Sent from my Android device with K-9 Mail. Please excuse my brevity. — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

untitaker commented 7 years ago

There is no proper folder structure for tutorials yet.

I'd just create a new rst file in the docs folder until I make that. The rst format is similar to markdown, if you prefer markdown, you can write that and I'll convert to rst later

On 15 January 2017 16:43:36 CET, Malte Kiefer notifications@github.com wrote:

Which file must I edit

Von meinem iPhone gesendet

Am 15.01.2017 um 16:35 schrieb Markus Unterwaditzer notifications@github.com:

Cool, I'd be happy to merge your PR

On 15 January 2017 15:54:47 CET, Malte Kiefer notifications@github.com wrote:

Yes I did runs perfect

Von meinem iPhone gesendet

Am 15.01.2017 um 15:34 schrieb Markus Unterwaditzer notifications@github.com:

That would be nice! Did you get it to run?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

-- You are receiving this because you modified the open/close state. Reply to this email directly or view it on GitHub:

https://github.com/pimutils/vdirsyncer/issues/314#issuecomment-272700172

-- Sent from my Android device with K-9 Mail. Please excuse my brevity. — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

-- You are receiving this because you modified the open/close state. Reply to this email directly or view it on GitHub: https://github.com/pimutils/vdirsyncer/issues/314#issuecomment-272703097

-- Sent from my Android device with K-9 Mail. Please excuse my brevity.

ghost commented 7 years ago

Ok I will make a markdown file But I think you must wait until tomorrow

Von meinem iPhone gesendet

Am 15.01.2017 um 16:51 schrieb Markus Unterwaditzer notifications@github.com:

There is no proper folder structure for tutorials yet.

I'd just create a new rst file in the docs folder until I make that. The rst format is similar to markdown, if you prefer markdown, you can write that and I'll convert to rst later

On 15 January 2017 16:43:36 CET, Malte Kiefer notifications@github.com wrote:

Which file must I edit

Von meinem iPhone gesendet

Am 15.01.2017 um 16:35 schrieb Markus Unterwaditzer notifications@github.com:

Cool, I'd be happy to merge your PR

On 15 January 2017 15:54:47 CET, Malte Kiefer notifications@github.com wrote:

Yes I did runs perfect

Von meinem iPhone gesendet

Am 15.01.2017 um 15:34 schrieb Markus Unterwaditzer notifications@github.com:

That would be nice! Did you get it to run?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

-- You are receiving this because you modified the open/close state. Reply to this email directly or view it on GitHub:

https://github.com/pimutils/vdirsyncer/issues/314#issuecomment-272700172

-- Sent from my Android device with K-9 Mail. Please excuse my brevity. — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

-- You are receiving this because you modified the open/close state. Reply to this email directly or view it on GitHub: https://github.com/pimutils/vdirsyncer/issues/314#issuecomment-272703097

-- Sent from my Android device with K-9 Mail. Please excuse my brevity. — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

untitaker commented 7 years ago

No problem!

On 15 January 2017 16:54:43 CET, Malte Kiefer notifications@github.com wrote:

Ok I will make a markdown file But I think you must wait until tomorrow

Von meinem iPhone gesendet

Am 15.01.2017 um 16:51 schrieb Markus Unterwaditzer notifications@github.com:

There is no proper folder structure for tutorials yet.

I'd just create a new rst file in the docs folder until I make that. The rst format is similar to markdown, if you prefer markdown, you can write that and I'll convert to rst later

On 15 January 2017 16:43:36 CET, Malte Kiefer notifications@github.com wrote:

Which file must I edit

Von meinem iPhone gesendet

Am 15.01.2017 um 16:35 schrieb Markus Unterwaditzer notifications@github.com:

Cool, I'd be happy to merge your PR

On 15 January 2017 15:54:47 CET, Malte Kiefer notifications@github.com wrote:

Yes I did runs perfect

Von meinem iPhone gesendet

Am 15.01.2017 um 15:34 schrieb Markus Unterwaditzer notifications@github.com:

That would be nice! Did you get it to run?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

-- You are receiving this because you modified the open/close state. Reply to this email directly or view it on GitHub:

https://github.com/pimutils/vdirsyncer/issues/314#issuecomment-272700172

-- Sent from my Android device with K-9 Mail. Please excuse my brevity. — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

-- You are receiving this because you modified the open/close state. Reply to this email directly or view it on GitHub:

https://github.com/pimutils/vdirsyncer/issues/314#issuecomment-272703097

-- Sent from my Android device with K-9 Mail. Please excuse my brevity. — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

-- You are receiving this because you modified the open/close state. Reply to this email directly or view it on GitHub: https://github.com/pimutils/vdirsyncer/issues/314#issuecomment-272703782

-- Sent from my Android device with K-9 Mail. Please excuse my brevity.