Commit graph

134 commits

Author SHA1 Message Date
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
Clément DOUIN f26051685c
refactor output system (#74) 2021-04-09 00:15:16 +02:00
Clément DOUIN ebf1b854be
add silent flag (#74) 2021-04-08 18:44:31 +02:00
Clément DOUIN 8e6740db65
add info log for copy/move/delete cmds 2021-04-08 18:33:12 +02:00
Clément DOUIN aaedfd36b8
add wiki entry for gmail users (#58) 2021-04-08 18:07:14 +02:00
Axel Dahlberg e15acc34c1
preview mailboxes with telescope (#69)
* Preview mailboxes with telescope

* Output error message in preview

* Throw error

* Refactored himalaya#msg#list and handle errors in telescope preview

* Changes based on feedback

* Added argument should_throw to cli function
2021-04-08 17:41:13 +02:00
Clément DOUIN 402f9ef4aa
release v0.2.3 2021-04-08 14:29:04 +02:00
Clément DOUIN daaa37f3a7
fix incomplete copy/move (#75) 2021-04-08 13:55:23 +02:00
Clément DOUIN 994141f852
fix unicode issue (#71) 2021-04-08 12:59:44 +02:00
Alex Wennerberg 14d8a3fecd
remove unused clap depdenencies (#67)
* Remove unused clap depdenencies

* Add color to clap enabled features
2021-04-07 08:05:36 +02:00
Axel Dahlberg 0f1c490dad
fix elseif typo vim plugin (#68) 2021-04-06 11:59:04 +02:00
Clément DOUIN 442dc457b5
add telescope support 2021-04-05 23:57:01 +02:00