summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2024-01-01mu-init: guess maildir when --maildir is missingDirk-Jan C. Binnema
Re-instate the guessing that's in the manpage. Add unit tests. Update documentation. Fixes #2616.
2023-12-31xapian-db: handle doc-not-found error in catch handlerDirk-Jan C. Binnema
2023-12-31server: perform_move: throw when message not foundDirk-Jan C. Binnema
Warning & continuing is not the right thing...
2023-12-29compose: remove server-side handlingDirk-Jan C. Binnema
It's no longer needed: composition happens on the mu4e side only (until a message is saved).
2023-12-29xapian-db: improve some error messagesDirk-Jan C. Binnema
Correctly handle re-opening a transaction after one has finished. Recognize some database opening errors and give some better user hints. Fixes #2615.
2023-12-22lib: move transaction handling to mu-xapianDirk-Jan C. Binnema
Instead of handling transactions in the store, handle it in xapian-db. Make the code a bit more natural / cleaner-out Handle transaction automatically (with a batch-size) and add some RAII Transaction object, which makes all database interaction transactable for the duration. So, no more need for explicit parameters to add_message while indexing.
2023-12-13mu-result: small tweaksDirk-Jan C. Binnema
2023-12-06lib: debug-log moving / unlinkingDirk-Jan C. Binnema
2023-10-30mu-contacts: remove some debug loggingDirk-Jan C. Binnema
2023-10-29lib/tests: add one more foo-bar regexp testDirk-Jan C. Binnema
2023-10-14wip: xapianizer unit testsDirk-Jan C. Binnema
2023-10-09lib: query-processor: fix handling unknown flagsDirk-Jan C. Binnema
Fixes #2567.
2023-10-07expand_path: better handle paths with spacesDirk-Jan C. Binnema
I.e., work around surprising behavior of wordexp Fixes #2566.
2023-09-24maildir: improve unit testsDirk-Jan C. Binnema
And get some more info from run_command.
2023-09-24improve unit testsDirk-Jan C. Binnema
2023-09-24command-handler: more unit testsDirk-Jan C. Binnema
2023-09-24error: more unit testsDirk-Jan C. Binnema
2023-09-24utils/add: improve unit test coverageDirk-Jan C. Binnema
2023-09-24store: better handling moving messagesDirk-Jan C. Binnema
sort results (for testing) with the ChangeName flag, also apply to dup messages.
2023-09-24lib: use flags_maildir_fileDirk-Jan C. Binnema
It's a better name. And fix some typos.
2023-09-24mu-move: add new move sub commandDirk-Jan C. Binnema
Add sub-command to move messages; add tests and docs. Fixes #157
2023-09-23lib: maildir/store: more testsDirk-Jan C. Binnema
2023-09-23lib: xapian-db/config: more testsDirk-Jan C. Binnema
...and xapian-db gets a small API update, update store as well.
2023-09-23mu: log warning when exiting with errorDirk-Jan C. Binnema
2023-09-21mu-utils: improve testsDirk-Jan C. Binnema
2023-09-21mu-utils: add to_string_viewDirk-Jan C. Binnema
2023-09-21mu-maildir: use the new run_command0Dirk-Jan C. Binnema
And fix some docstrings.
2023-09-21query-parser: handle naked NOT, add testsDirk-Jan C. Binnema
We weren't correctly expanding "naked NOT" -> AND_NOT Fixes #2559.
2023-09-20server: properly delete output-stream filesDirk-Jan C. Binnema
logic inversion
2023-09-19mu-file-utils: add run_command0Dirk-Jan C. Binnema
To ensure command ran and had exit-code=0 in one go.
2023-09-19flags: add flags_mail_dir_file utilDirk-Jan C. Binnema
And some whitespace cleanup
2023-09-19utils-file: default args for canonicalize_filename / determine_dtypeDirk-Jan C. Binnema
Make a little easier to use
2023-09-19query-parser: 'not' should take unitsDirk-Jan C. Binnema
NOT should bind more tightly.
2023-09-17query: move phrasification to mu-query-parserDirk-Jan C. Binnema
Do the "phrasification" for matching fields later during query parsing; this allows for handling combination fields correctly. Also match both the normal term and the "phrase term", so we catch more cases. Update/extend unit tests. This fixes the "kata-container" issue also for body test. Fixes #2167.
2023-09-17utils: add utf8_wordbreakDirk-Jan C. Binnema
Determine if a string has wordbreaks in a mostly Xapian-compatible way. We need this to determine what strings should be considered "phrases".
2023-09-17fields: 'phrasable' instead of 'indexable'Dirk-Jan C. Binnema
'Phrasable' is probably a bit clearer description.
2023-09-16mu-index: add blocking start()Dirk-Jan C. Binnema
Useful for unit tests
2023-09-16provide end-user hints and show themDirk-Jan C. Binnema
Only a few for now.
2023-09-16mu-error: allow for adding end-user hintsDirk-Jan C. Binnema
2023-09-13utils-file: improve mu_playDirk-Jan C. Binnema
implement in terms of run_command
2023-09-13lib: unit tests: improve / better coverageDirk-Jan C. Binnema
2023-09-12Merge pull request #2552 from dme/devel/miscDirk-Jan C. Binnema
mu: Fix "expected command" server error report
2023-09-12unit tests: improveDirk-Jan C. Binnema
and add a new one for the indexer
2023-09-12mu-query: remove unnused move ctorDirk-Jan C. Binnema
2023-09-12mu: Fix "expected command" server error reportDavid Edmondson
2023-09-11lib: replace mu-bookmarks with mu-query-macrosDirk-Jan C. Binnema
And add some unit tests.
2023-09-11query-xapianizer: map empty range queries to match-nothingDirk-Jan C. Binnema
And only run Xapian tests if they are compatible with the version we have.
2023-09-11unit-tests: modernizeDirk-Jan C. Binnema
Use TempDir, join_paths etc.
2023-09-11lib/doxyfile.in: removeDirk-Jan C. Binnema
Not used any longer
2023-09-11query-processor: only phrasify indexable termsDirk-Jan C. Binnema