[Patch] ical improvements

Albrecht Dreß <[email protected]> Sat, 01 Feb 2020 14:11:35 +0100
Newsgroups gmane.comp.gnome.apps.balsa
Message-ID <[email protected]>
Hi all,

attached is a patch with a number of small improvements regarding libical support:

(1) Debian oldstable (stretch) comes with libical2, but seems to work flawlessly with the new code using libical, so we can reduce the requirement to libical2 instead of libical3.
(2) Apparently, M$ Exchange and/or Outlook are broken (surprise!) and do not process iCal “REPLY” messages containing exactly the fields as required by RFC 5546, sect. 3.2.3.  Needles to mention that Thunderbird, Kontact, … do /not/ show any issues with them.  After adding some optional fields, the messages are recognised…  As a positive side-effect, such messages are better readable for the recipient as they contain more (redundant) information which the receiving MUA would typically extract from the invitation.
(3) Messages containing a text/calendar part only are not really useful if the receiving MUA does not support this MIME type, but displays the “raw” format only.  As a solution, pack the text/calendar as 2nd part into a multipart/alternative, and add a text/plain part containing some human-readable information as 1st one.
(4) Store the transmitted replies in the sentbox.

The patch applies to both the master and gmime3 branches.

Opinions?

Cheers,
Albrecht.

---
Patch details:
- README, configure.ac, meson.build: require libical >= 2.0.0 instead of 3.0.0
- libbalsa/rfc2445.c: libbalsa_vevent_reply(): add several optional fields to the “REPLY” message as to work around a M$ Exchange/Outlook bug
- src/balsa-mime-widget-vcalendar.c: balsa_vevent_widget(): ref the VCal object containing the time zone data if we show the buttons for sending a reply; vevent_reply(): construct he reply as multipart/alternative, store it the the sentbox

_______________________________________________
balsa-list mailing list
[email protected]
https://mail.gnome.org/mailman/listinfo/balsa-list
ical-improvements.diff.gz (application/gzip, 3 KB) - not displayed
signature.asc (application/pgp-signature, 488 B)
-----BEGIN PGP SIGNATURE-----

iQEzBAABCgAdFiEEcCEPemLFTtyGf4zATKlvDmfn2fgFAl41eQcACgkQTKlvDmfn
2fi1HQgAy2mETMKQONq7j1Pp/2W3uULEzKu6MV0o6UNzOZkTzKAhZaxru6I2Kz1s
ggbqM10JpWf6VjMz08CqJXyRVvTLdNplZ6aXFVCtCHqQRtf+PNA93JwJMED+4W/J
buDB3mFe3E5v6mPnNv3a2dNPUqqA15QeqxAzr1JPEwM7h8iPNatxhM/0ZLygEEun
gKnJQbsm5KsSHqcdBpwzfSmlNFnVopdLOZHy7JVP3HsSDYH0AMPQsiKpk6D6aPoi
IHDbviw0YrZ5QLYRQWIG8lewPwILeWTVOAMEJAOC3LEaGpW7u2TLDNQJ+F41F3r+
uze6VnfnciBc6I9CWfG0Mfod1EAKJQ==
=Kihy
-----END PGP SIGNATURE-----