Commit graph

145 commits

Author SHA1 Message Date
Clément DOUIN
fa2f93185f
improve logging, replace log-level by RUST_LOG 2021-04-28 00:47:24 +02:00
Clément DOUIN
950e57acdb
show email addr when name not available (#131) 2021-04-27 18:10:18 +02:00
Clément DOUIN
754d311a05
fix edition file format (#133) 2021-04-27 17:18:53 +02:00
Clément DOUIN
cddb7bde37
refactor table system (#132)
* init table trait

* add shrink_col_index and max_width method to Table trait

* make unicodes work when shrinking

* improve readability of the table

* replace old table system with new one

* update changelog
2021-04-27 14:54:53 +02:00
Clément DOUIN
cb296a5d98
fix stderr redirection (#130) 2021-04-26 11:32:19 +02:00
Clément DOUIN
06f628c33b
fix idle mode after network interruption (#123) 2021-04-25 16:20:24 +02:00
Clément DOUIN
e2ef1ef586
update changelog 2021-04-24 23:52:13 +02:00
Clément DOUIN
cc1311c168
release v0.2.7 2021-04-24 23:49:42 +02:00
Clément DOUIN
f1e339d720
improve mbox telescope picker sorter 2021-04-24 23:45:21 +02:00
Clément DOUIN
17df485e19
vim table containing emoji (#122) 2021-04-24 23:31:26 +02:00
Clément DOUIN
2d299e1d42
refresh email list on load buffer (#125) 2021-04-24 23:13:51 +02:00
Clément DOUIN
15c635eb1d
use env_logger for plain output fmt (#126) 2021-04-24 22:54:01 +02:00
Antonio Yang
477b7748de
add content-transfer-encoding support (#128) 2021-04-24 19:32:12 +02:00
Clément DOUIN
dd098399dc
fix broken setting vim (#120) 2021-04-23 18:05:03 +02:00
Clément DOUIN
c61ddf3ac5
add notice about hidden vim opt (#112) 2021-04-23 15:00:34 +02:00
Clément DOUIN
366e0b72ed
add idle_hook_cmds setting 2021-04-23 00:20:02 +02:00
Antonio Yang
b24ff24426
handle completions subcommand first (#116)
* handle completions subcommand first

* raise errors from comp_matches

Co-authored-by: Clément DOUIN <soywod@users.noreply.github.com>

Co-authored-by: Clément DOUIN <soywod@users.noreply.github.com>
2021-04-20 12:35:01 +02:00
Axel Dahlberg
6284b0c5a6
improve signature and template management (#114)
* Added signature seperator option plus some refactoring

* Have add_content make newline seperation to headers

* Remove signature separator as a separate argument
2021-04-20 11:23:03 +02:00
Chawye Hsu
28812eab06
improve config compatibility on windows (#111)
* fix: fix config loading compatibility on Windows

Signed-off-by: Chawye Hsu <chawyehsu@hotmail.com>

* more strictly on matching crlf chars

* use conditional assignment
2021-04-19 11:26:28 +02:00
Clément DOUIN
fb1a505cc4
add link to vim plugin in the wiki sidebar 2021-04-18 23:38:49 +02:00
Clément DOUIN
22920d794e
simplify vim readme 2021-04-18 23:14:53 +02:00
Clément DOUIN
4af2b6a0ac
refactor readme + wiki (#110)
* make readme more concise

* update wiki

* update wiki links inside readme
2021-04-18 23:08:50 +02:00
Gregory Chamberlain
82ce67f572
improve portability of install.sh (#107)
* Replace echo with printf

The echo(1) command varies among sh implementations.  Some interpret
hyphen command-line options.

It would be unusual, but in theory if $PREFIX began with a hyphen or
two then this usage of echo might cause an error or unknown behaviour
in such implementations.

The printf(1) command is consistent across shell implementations.

* Leave privilege elevation to the user

* Add die function

* Break long line
2021-04-18 11:00:06 +02:00
Clément DOUIN
c405280c92
update roadmap link readme 2021-04-18 00:29:45 +02:00
Clément DOUIN
0907683e31
split modules into mod.rs files 2021-04-18 00:21:22 +02:00
Sridhar Ratnakumar
76f9084f91
add nix support (#76)
* Add default.nix for nix support

* Convert to flake

* gitignore before building the source

* Add default.nix and shell.nix for legacy workflows

* Use https://github.com/oxalica/rust-overlay

This one works for development workflow, with a functional rust-analyzer for using with language server support in IDEs.

Also add .vscode/ for pre-configured settings.

* Add documentation

* Restore old TOC and apply TOC patch manually

* Clarify that these two commands are either-or

* Add installing from local checkout (nix-env)

* Add note about version update

* Improve Nix workflow, for zero maintenance

Use https://github.com/nmattia/naersk

This avoids having to set a sha and version in Nix scripts.

* Simplify using crate2nix

Ref: https://www.reddit.com/r/rust/comments/mmbfnj/nixifying_a_rust_project/

* Use rootCrate

* Propagate openssl deps to non-shell build

* Try the oxalica overlay

* Get rid of gitignore crate

cf. https://www.reddit.com/r/rust/comments/mmbfnj/nixifying_a_rust_project/gtsgxal/?context=3

* Configure himalaya crate under defaultCrateOverrides

* Specify openssl in buildInputs

* Make a note about a potential error when using Nix 2.4pre

* Remove PKG_CONFIG_PATH (unnecessary)

* Add cargo-watch

Co-authored-by: Alexander Bantyev <balsoft@balsoft.ru>

Co-authored-by: Alexander Bantyev <balsoft@balsoft.ru>
2021-04-18 00:06:11 +02:00
Clément DOUIN
95b99c25da
add custom config path (#86) 2021-04-17 23:19:34 +02:00
Clément DOUIN
3e0d1f704d
add default page size config (#96) 2021-04-17 22:41:10 +02:00
Clément DOUIN
2f4caaca07
fix missing link v0.2.6 changelog 2021-04-17 00:12:45 +02:00
Clément DOUIN
9b303f144e
release v0.2.6 2021-04-17 00:09:06 +02:00
Clément DOUIN
f3a67cecd5
fix idle mode notifications (#48) 2021-04-17 00:00:52 +02:00
Clément DOUIN
1c6f249ca4
update sponsoring sections 2021-04-16 22:21:24 +02:00
remche
9317e6b8a5
allow insecure tls option, second try (#105) 2021-04-16 12:33:12 +02:00
Dario Vladović
dd45b4bbc2
make install script posix compliant (#53)
* Make install script POSIX compliant

* Update installation docs

* make script more compact

Co-authored-by: Clément DOUIN <soywod@users.noreply.github.com>
2021-04-16 10:14:15 +02:00
Clément DOUIN
2f018889e0
fix panic when downloads-dir does not exist (#100) 2021-04-16 00:00:00 +02:00
Clément DOUIN
33185dba86
save msg upon error (#59) 2021-04-15 23:29:58 +02:00
remche
f4cc584716
add insecure tls option for testing purpose (#103) 2021-04-15 13:35:59 +02:00
Clément DOUIN
aad74add52
make completion cmd a subcommand of shell args 2021-04-15 13:24:18 +02:00
Clément DOUIN
f6e70a63d4
add github funding 2021-04-14 14:30:31 +02:00
Clément DOUIN
511878fbd1
remove unused smtp import 2021-04-14 10:40:33 +02:00
remche
9287846aed
add completion subcommands (#99)
* add completion subcommands

* improve error mgmt, add entry to readme

Co-authored-by: Clément DOUIN <soywod@users.noreply.github.com>
2021-04-14 10:28:23 +02:00
Axel Dahlberg
8a617c314e
add flag to enable telescope preview and to choose picker (#97)
* Flags to enable telescope preview and to choose picker

* 4 spaces -> 2 space lua

* changes to align with repo code-style
2021-04-13 17:10:42 +02:00
Sridhar Ratnakumar
647c0c25ce
fix smtp port (#94)
* Respect smtp port when sending email

(cherry picked from commit ef89cbd30296389b7d363ecbb03080081304d98e)

* smtp: remove explicit timeout

Also remove redundant variable
2021-04-13 16:44:24 +02:00
Clément DOUIN
926f476194
increase smtp timeout (#87) 2021-04-12 00:38:10 +02:00
Clément DOUIN
e8ae4b025f
release v0.2.5 2021-04-12 00:21:08 +02:00
Clément DOUIN
557c5b79bc
expunge mbox after move and delete cmds (#83) 2021-04-09 14:42:25 +02:00
Harsh Shandilya
e260823581
bump version in Cargo.lock (#82)
This needs to match Cargo.toml to prevent --frozen builds from failing

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-04-09 09:03:20 +02:00
Clément DOUIN
062108039b
release v0.2.4 2021-04-09 00:51:39 +02:00
Clément DOUIN
da15ffafd0
add wiki entry about read msg 2021-04-09 00:46:21 +02:00
Clément DOUIN
570c67a2bb
add --raw arg for read cmd (#79) 2021-04-09 00:30:18 +02:00