Dirk-Jan C. Binnema
b795242d5a
message: use html-to-text scraper for html parts
...
We were dumping the HTML-parts as-is in the Xapian indexer; however,
it's better to remove the html decoration first, and just pass the text.
We use the new built-in html->text scraper for that.
2023-07-25 21:26:36 +03:00
Dirk-Jan C. Binnema
7b38f094c4
migrate some more code to mu_format / join_paths
...
Let's modernize a bit.
2023-07-20 23:14:29 +03:00
Dirk-Jan C. Binnema
4920b56671
update to use fmt-based apis
...
Not complete, but a first big stab converting users of Mu::Error and
various g_warning & friends, format to the new libfmt-based APIs.
2023-07-05 23:10:13 +03:00
Dirk-Jan C. Binnema
026a19bcfa
message: allow extracting message parts to file
...
And add unit-test.
Fixes #2467
2023-04-06 07:19:26 +03:00
Dirk-Jan C. Binnema
bd5ae78c49
mime-object: add missing include
2023-02-23 18:38:18 +02:00
Dirk-Jan C. Binnema
bb7c8d880a
message: convert mime-parts to utf-8
...
Ensure that non-utf8 mime-parts are converted to utf8. This fixes a
problem with messages with such parts; added unit test.
Fixes #2333 .
2022-09-19 18:27:03 +03:00
Dirk-Jan C. Binnema
fc88158357
message: update references() implementation
...
Clean up the implementation at bit, and filter out 'fake' message-ids,
such as the ones from protonmail.
Update documentation.
Add Mu::Message::thread_id().
This fixes #2312 .
2022-08-11 23:01:29 +03:00
Dirk-Jan C. Binnema
cade7493fd
build: fix some compiler warnings
2022-06-18 15:21:26 +03:00
Dirk-Jan C. Binnema
40669aae49
message/mime-object: add MimeObject::headers
...
To get a list of all header values.
2022-06-10 23:28:43 +03:00
Dirk-Jan C. Binnema
4fc05261ce
message: implement rfc2047-encoding addresses
...
For address names with commas, quotes etc.
2022-05-06 22:17:53 +03:00
Dirk-Jan C. Binnema
4b56b8779d
mime-object: ensure init_gmime is called
...
Was missing in some paths
2022-05-05 01:40:17 +03:00
Dirk-Jan C. Binnema
263e122a13
contacts: expose contact type
...
Instead of the Field::Id, keep a specific Contact::Type so we can distinguish
Sender, ReplyTo as well.
Update dependents.
Some cleanup.
2022-05-05 01:38:25 +03:00
Dirk-Jan C. Binnema
55113c6d5c
message: improve API; improve extract_tags
2022-04-30 10:40:45 +03:00
Dirk-Jan C. Binnema
17d2926cd0
message: improve support for decryption
...
Found a small leak:
https://github.com/jstedfast/gmime/pull/124/commits
2022-04-18 22:26:04 +03:00
Dirk-Jan C. Binnema
de8dd048e8
message: add basic support for encrypted parts
2022-04-16 16:20:38 +03:00
Dirk-Jan C. Binnema
4e65cac631
message: mime-object: extend support for crypto
2022-04-16 16:20:38 +03:00
Dirk-Jan C. Binnema
03993b93b2
autotools: build updates
...
Ensure things build with autotools, too.
2022-03-26 17:19:10 +02:00
Dirk-Jan C. Binnema
37988b5a26
message: update implementation
...
Add more of the Message class (and various helpers), which are to replace all
the `mu-msg-*` code.
Add more tests.
2022-03-26 17:19:10 +02:00