* modified gitignore
* fixing gitignore
* reomving the himalaya.iml file
* applied cargo fmt
* adding rust-toolchain
* restoring the .gitignore file
* make nix use rust-toolchain.toml
* add back rustfmt and rust-analyzer to buildInputs
I opened an issue to see if its the correct behaviour from the
overlay: https://github.com/oxalica/rust-overlay/issues/88.
* adding clippy to rust-toolchain.toml
Co-authored-by: Clément DOUIN <clement.douin@posteo.net>
* modified gitignore
* fixing gitignore
* reomving the himalaya.iml file
* applied cargo fmt
* fixed typo in .gitignore and removed an entry in it
* adding gitignore to cli/
* reducing .gitignore in cli to one line
change the id parser according to the uuid spec:
https://datatracker.ietf.org/doc/html/rfc4122#section-3
and I get this error when using the vim plugin:
Error: cannot find maildir message by short hash "0" at "/path/to/my/INBOX"
Caused by:
0: cannot find maildir message id from short hash "0"
1: the short hash "0" matches more than one hash: 030598120934103c456ce08338886728, 06edb10a55efb89de45d8560aee33c8e
Signed-off-by: Robert Günzler <r@gnzler.io>
* fix(config/imap): get first line for password
Fixes#373
* fix(config/smtp): get first line password
Co-authored-by: Clément DOUIN <soywod@users.noreply.github.com>
This is according to:
https://docs.rs/termcolor/1.1.2/termcolor/#example-using-standardstream
Not resetting the color settings on the stream will leak the style to
the shell otherwise.
This can be observed when listing mailboxes prior to this patch.
Signed-off-by: Robert Günzler <r@gnzler.io>
Co-authored-by: Clément DOUIN <soywod@users.noreply.github.com>
* Default Content-Type to text/plain for not multipart messages
Parse body of messages without subparts as text/plain if Content-Type
header is not set.
* narrow check for defaulting to `text/plain`
take message body as `text/plain` only if message has only one part
and has no `Content-Type` header
Co-authored-by: Clément DOUIN <soywod@users.noreply.github.com>
This brings it in line with how notify-query works and how the wiki
defines it to also be a global option.
Co-authored-by: Clément DOUIN <soywod@users.noreply.github.com>