81689f0af3
contacts-cache: return most relevant contacts
...
Return in the contacts in *reverse* rank order, i.e. the most relevant come first.
This is useful since we only want the first maxnum contacts, and those should of
course be the most relevant.
Update mu cfind/server as well.
cfind
2022-05-09 22:25:28 +03:00
80d84bf635
store: use Result<Store> builder, add auto upgrade
...
Make it a Result type, and add auto-upgrade (not enabled yet)
Update dependents.
2022-05-09 22:25:28 +03:00
dc69505580
mu-maildir: No need for namespaced function names
...
Mu::mu_maildir_... -> Mu::maildir_...
2022-05-09 22:25:28 +03:00
d79488efdc
avoid warnings, update tests
2022-05-06 22:54:41 +03:00
ec500d3ed4
update documentation
2022-05-06 22:17:53 +03:00
4fc05261ce
message: implement rfc2047-encoding addresses
...
For address names with commas, quotes etc.
2022-05-06 22:17:53 +03:00
da8489d0f6
sexp: allow for some prettified string output
...
Allow for adding newlines between list items
2022-05-06 22:17:53 +03:00
f9550f3cb6
mu: merge flags into fields command
...
One is enough
2022-05-06 22:17:53 +03:00
62e546a4e2
autotools: fix build
2022-05-05 23:40:56 +03:00
87c122d1bc
cmd-cfind: fix the "--after" handling
...
Use the message-date
2022-05-05 01:40:17 +03:00
e6c3718253
cmd-extra: remove debug output
2022-05-05 01:40:17 +03:00
6126d7ee62
store: ensure updates update message sexp too
...
And turn all "add" into "replace" so old messages get removed.
Update tests too.
2022-05-05 01:40:17 +03:00
85fed37870
message/document: update sexp on the fly
...
Keep the sexp for the document up to date during scan / change, instead of
having a separate step.
2022-05-05 01:40:17 +03:00
8f9d1e5e60
mu: add fields/flags commands
...
Useful information for devising queries.
Directly generated from the source. Add manpages, too.
2022-05-05 01:38:25 +03:00
9dd1aaeef5
cmd: update commands and tests for Message
2022-04-30 10:40:45 +03:00
8db299ea05
commands: Updated 'find' and 'index' to use Mu::Message
2022-04-30 10:40:45 +03:00
b21263da4a
autotools: minor updates
2022-04-18 22:40:46 +03:00
374d708024
mu: update 'extract'
2022-04-18 22:26:04 +03:00
6b8f7db693
mu: update 'verify' command for message changes
2022-04-18 22:26:04 +03:00
c0fe17eb1d
test-mu-cmd: minor tweaks for message update
2022-04-18 22:26:04 +03:00
66ee2004fc
mu: extract Message::Options from command-line
2022-04-18 22:04:33 +03:00
7c51bc68d4
option: rename to to_string_opt and to_string_view_opt
...
to_option_string -> to_string_opt
to_string_view -> to_string_view_opt
2022-04-18 22:04:33 +03:00
478ef67fc6
flags: rename flags_to_string -> to_string
...
For consistency.
2022-04-16 16:20:38 +03:00
e74a84c7a2
cmd-verify: honor the auto-retrieve flag
2022-04-16 16:20:38 +03:00
d2e8cd0f34
cmd verify: rework in terms of Message
2022-04-16 16:20:38 +03:00
ad12e83eb5
cmd view/extract: rework in terms of Message
2022-04-16 16:20:38 +03:00
db963f66df
cfind: improve clang compatibility
2022-04-04 23:44:20 +03:00
4fb0e0664d
cfind: fix clang compilation (gmtime)
...
And a little code tidiness.
2022-04-04 08:41:20 +03:00
b21e5a57b8
extract: rework in terms of Mu::Message
...
Use the new message class
2022-03-28 22:36:32 +03:00
f7c84006d7
many: update for lib/message updates
...
Adapt to the new names / directory. Big commit, but mostly just very boring renaming.
2022-03-26 17:19:10 +02:00
2e3fdfaeac
mu-config: cosmetic
2022-03-07 06:50:18 +02:00
04913d8ea9
tests: update for mu-message-fields
2022-03-07 06:50:18 +02:00
65afb207d7
cmd-find: use mu-message-fields
2022-03-07 06:50:18 +02:00
45499efef8
mu/tests: update unit tests
...
CI Ubuntu seems to behave quite differently from my Fedora.
2022-02-27 11:09:15 +02:00
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
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
af87cde217
utils/mu-date: remove
...
Remove mu-date.[ch] and convert its last users to use time_to_string instead.
2022-02-22 23:07:29 +02:00
f10a7560f7
build: fix some warnings
2022-02-21 23:51:46 +02:00
4eddf4e6ba
update unit tests
2022-02-21 23:51:46 +02:00
7822d2633e
update contacts-cache users for MessageContact
...
Since contacts-cache now uses MessageContact, update its users
2022-02-21 23:51:46 +02:00
a82bd77d09
lib: rename contacts into contacts-cache
...
Plus dependents.
2022-02-21 23:22:42 +02:00
be2f91c0ad
build: update autotools build
2022-02-19 19:32:02 +02:00
c0da564bba
lib: fix clang compatibility / warnings
2022-02-18 10:49:56 +02:00
169921fd21
mu: improve help text generation
2022-02-17 23:49:17 +02:00
4eabf1a64a
*: update for for mu-maildir changes
...
Update the dependencies.
2022-02-17 23:48:59 +02:00
d2a75f600d
tickle: remove
...
Remove the hidden 'tickle' command; it wasn't really advertised so I'm sure
nobody is using it (xkcd/1172).
Well, it'd need to be reworked anyway.
2022-02-17 23:48:59 +02:00
3820118246
store: rename "metadata" into "properties"
...
properties are the constant (for the duration) values for a store; metadata may
change, so reserve that name for that.
2022-02-14 11:12:26 +02:00
23fc8bdba8
update code for Mu::MessagePriority
...
Update dependent code
2022-02-14 11:12:26 +02:00
ea3083da2e
mu: config: fix leak
2022-02-07 22:13:58 +02:00
9b77a12db7
mu: cmd-index: make signal-handler thread-safe
2022-02-07 22:01:11 +02:00