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
c6fff6a281
all: update for API changes (config etc.)
...
Use the new & improved APIs.
2023-07-02 00:06:56 +03:00
fd7c011195
lib: update for api changes, update tests
...
With the new Sexp. And expand unit tests.
2023-06-27 00:53:23 +03:00
b41955b82a
mu-server: improve error message
2023-04-11 21:31:13 +03:00
8762ac27dc
mu: improve error numbers
...
Ensure they match what mu expects.
2023-04-11 20:47:48 +03:00
413a2564b6
server: don't encode addresses in contacts_handlers
...
Seems it doesn't always play nice with composer
2023-02-28 23:23:52 +02:00
3d4805de0c
server: small output improvement
...
For human users.
2023-02-17 10:20:14 +02:00
76fedf4d64
mu-server: make :update for mkdir optional
...
It's useful to do "opportunistic" mkdir form mu4e; don't send updates in
that case (i.e. with :update nil)
2023-02-12 11:16:47 +02:00
29dc90486b
server: find_handler: better handle sort-field-id
...
Handle invalid sort-fields correctly.
2023-01-29 10:13:29 +02:00
4271fc2fb6
really allow flags to be empty in move command
...
Without this patch, I see the following error:
;; mu> (move :docid 1 :maildir "/.Archive")
[2b](:error 32818 :message "invalid flags ''")
flags should not default to "", which is not a valid flags string.
2023-01-25 16:31:41 -05:00
201fe45edc
server: add a few stopwatches
...
For measuring performance.
2023-01-19 22:37:50 +02:00
ef2ec7d5a5
server: split off new server command 'queries'
...
Instead of being part of the ping command, create a separate
queries command, which is easier for updating. Ie. 'ping' implies "show
main screen" but we don't always want that side-effect.
2023-01-07 15:40:30 +02:00
b71751a185
mu-server: update for move_message API update
2022-12-07 18:22:29 +02:00
64f08149bc
lib: remove mu-runtime
...
Remove runtime; update the logger for that, and move the runtime-paths
stuff to utils.
2022-11-16 23:31:51 +02:00
e1dd6f10b1
server: rework for updated Sexp/CommandHandler
...
Rework for the new APIs.
2022-11-07 18:38:03 +02:00
db0d51d630
server: improve error messages
2022-11-01 18:37:31 +02:00
d8bbeb0218
mu-server: more informative error message
2022-07-05 00:11:56 +03:00
fc25bb2866
server: commit after indexing
...
So external users see the changes.
2022-06-29 22:18:15 +03:00
c4ed3e6ba7
server: fix read-mark propagation
...
Whenever a message is flagged as 'read', do the same for all the duplicates as well.
This used to work, make it work again.
Fixes #2277
2022-06-29 08:59:40 +03:00
3d3fd1aa7a
server: add some more logging for read-marking
...
See what happens with multiple messages.
2022-06-04 00:41:28 +03:00
cea3167f3e
lib: remove some dead code (mu-str/utils)
...
Remove unused library code; recycle some electrons.
2022-05-19 23:38:49 +03:00
e13dd0da98
server: Implement forwarding attachments
...
Using the new infra in Message.
2022-05-15 11:33:14 +03:00
d79d770958
store: improve error handling
...
Detect store-lock
2022-05-12 08:56:13 +03:00
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
7470a5f8ea
store/fields: Use one MaxTermLength everywhere
...
One should be enough!
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
da8489d0f6
sexp: allow for some prettified string output
...
Allow for adding newlines between list items
2022-05-06 22:17:53 +03:00
836bfc9062
mu/mu4e: implement mu4e-compose-complete-max
...
Allow limiting number of contacts for auto-completion to a specific number;
defaulting to 2000.
2022-05-06 21:58:51 +03:00
ffce3dda21
contacts: support encoding names with '"', ',' etc.
2022-05-06 09:03:11 +03:00
e0d047105b
server/message-part: restore forwarding attachments
2022-05-05 23:45:11 +03:00
2ccf703769
server: update for dealing with message/sexps
2022-05-05 01:40:17 +03:00
967e855f6b
message: add docid param to sexp
2022-04-30 10:40:45 +03:00
fccd961712
server: update mu4e server for new Message
2022-04-30 10:40:45 +03:00
4a135e70fb
server: update (mu4e) server to use Mu::Message
2022-04-30 10:40:45 +03:00
d0619b1db2
server: workaround for broken message-id
...
We cannot really _search_ for the broken message-id, but we can still view it.
Should help for issue #2232 .
2022-04-19 00:04:01 +03:00
a93685b09b
server: fix typo
2022-03-28 22:53:05 +03:00
27ebfb3b3c
lib+guile: use Mu::Option, not std::optional
...
We need the extensions, and/or let's use _one_ optional implementation everywhere.
2022-03-28 08:58:04 +03:00
03993b93b2
autotools: build updates
...
Ensure things build with autotools, too.
2022-03-26 17:19:10 +02: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
f576fc59b9
server: use mu-message-fields
2022-03-07 06:50:18 +02:00
1966dcb795
mu-server: turn off renaming for 'view' now
...
It seems to confuse mbsync, see issue #2214 .
2022-02-25 23:05:36 +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
80f947024a
server: lock run_query
...
So the query-results don't outlive the lock.
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
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
a0ec982789
mu4e/server: honor rename-move for view-message, too
...
It's technically a 'move', so apply user preference.
2022-02-13 14:33:12 +02:00
c3503ba663
server: flush the "indexing complete" message
2022-02-06 14:18:23 +02:00
4d0ecf7f85
server: make indexing asynchronous
...
Perform indexing in a background thread.
2022-02-03 23:04:18 +02:00
b6d7d142f6
server: support flushing the output
...
So we can get some progress output
2022-02-03 23:04:18 +02:00