Dirk-Jan C. Binnema
15f08488d3
remove Mu::format, use mu_format
...
Use the new fmt-based formatting.
2023-08-19 20:04:50 +03:00
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
d90692e27b
tests: turn off dead test test_mu_extract_01
2023-04-09 11:17:02 +03:00
Dirk-Jan C. Binnema
0e44764702
tests: fix links tests
2023-04-09 11:03:42 +03:00
Dirk-Jan C. Binnema
39101cf583
mu-find: brush off --format=links unit test
...
Enable it by default, and modernize it a little bit
2023-03-28 22:26:56 +03:00
Dirk-Jan C. Binnema
abfa6f277c
mu: index html text as if it were plain text
...
This is a bit of hack to include html text in results.
Of course, html text is not really plain text, so this is a bit of a
hack until we introduce some html parsing step.
2023-01-31 23:41:57 +02:00
Dirk-Jan C. Binnema
f43e991468
tests: update
...
Minor updates for the new CLI
2022-11-17 11:00:06 +02:00
Dirk-Jan C. Binnema
317fe53ff7
tests: update test helpers and users
...
Move test-mu-common to mu-test-utils. Use mu_test_init as a wrapper for
g_test_init. Update users.
2022-08-11 22:55:10 +03:00
Dirk-Jan C. Binnema
907751bc7b
test: enable some more
2022-05-13 23:01:33 +03:00
Dirk-Jan C. Binnema
d79488efdc
avoid warnings, update tests
2022-05-06 22:54:41 +03:00
Dirk-Jan C. Binnema
9dd1aaeef5
cmd: update commands and tests for Message
2022-04-30 10:40:45 +03:00
Dirk-Jan C. Binnema
c0fe17eb1d
test-mu-cmd: minor tweaks for message update
2022-04-18 22:26:04 +03:00
Dirk-Jan C. Binnema
04913d8ea9
tests: update for mu-message-fields
2022-03-07 06:50:18 +02:00
Dirk-Jan C. Binnema
45499efef8
mu/tests: update unit tests
...
CI Ubuntu seems to behave quite differently from my Fedora.
2022-02-27 11:09:15 +02:00
Dirk-Jan C. Binnema
d236ed6e7f
test-mu-cmd: fix for CI
...
Seems on Ubuntu we can get back an even smaller message, which still is okay.
So loosen the check a bit.
2022-02-26 11:23:38 +02:00
Dirk-Jan C. Binnema
724e0fd03a
test-mu-cmd: better log failure
...
Some test fails on Ubuntu (in Github CI), though not locally.
2022-02-26 11:11:04 +02:00
Dirk-Jan C. Binnema
13c8879305
mu: move test sources to tests/
2021-11-02 22:12:15 +02:00