Commit Graph

86 Commits

Author SHA1 Message Date
Clément DOUIN 07078437a2 refactor: drop HIMALAYA_CONFIG support
Clap env vars are hard to customize across Pimalaya projects, and they can
always be replaced by arg or flag.
2026-06-01 18:54:57 +02:00
Clément DOUIN 662bd26eb1 refactor: remove composer and reader
Composers and readers did not work as expected. It is just not possible for
himalaya to spawn a command that spawns $EDITOR, piping and redirection cannot
satisfy all the needs. Either the $EDITOR does not spawn (hangs over), either
himalaya does not collect any output from edition. The simplest way is to use an
intermediate temp file, or use process substitution. For eg., using mml:

  mml compose >(himalaya message send)

You can also write into a file then feed himalaya with it.
2026-06-01 16:27:54 +02:00
Clément DOUIN a28f95f9db fix: raw message arg (imported from mml) 2026-05-31 20:06:36 +02:00
Clément DOUIN aff4fddfb4 feat(imap): added back auto id feature
Refs: #688
2026-05-31 19:46:48 +02:00
Bowen Ho 8030ef5c50 chore: apply clippy --fix
* Fix clippy

* cargo fmt

Refs: #689
2026-05-24 15:08:23 +02:00
Clément DOUIN 6ae09790aa chore: cargo fmt 2026-05-20 23:48:27 +02:00
Clément DOUIN 791a54ef15 style: put back color inside table 2026-05-20 20:02:41 +02:00
Clément DOUIN 9dd02da584 docs: switch to agpl license 2026-05-20 02:36:43 +02:00
Clément DOUIN 58d13804e5 re-introduce search query 2026-05-20 00:54:21 +02:00
Clément DOUIN 5500b02cfc clean part 3 2026-05-20 00:54:21 +02:00
Clément DOUIN cd27969e14 clean part 1 2026-05-20 00:54:16 +02:00
Clément DOUIN 8416a41f99 use std clients 2026-05-20 00:54:16 +02:00
Clément DOUIN c32047d4de rewrite lib without io-socket nor io-fs, and with io-email 2026-05-20 00:54:13 +02:00
Clément DOUIN 14edd94896 fix: apply #646 2026-05-20 00:54:12 +02:00
Clément DOUIN b295f159de refactor: unify command names 2026-05-20 00:54:06 +02:00
Clément DOUIN 0803320b61 tests: add smtp integration tests 2026-05-20 00:53:25 +02:00
Clément DOUIN 6cde5dfe38 refactor: clean serializers 2026-05-20 00:53:25 +02:00
Clément DOUIN 8b868f6e0e tests(imap): init fastmail and stalwart tests 2026-05-20 00:53:25 +02:00
Clément DOUIN 7a581b33b4 feat(imap): add back pagination for envelope listing 2026-05-20 00:53:24 +02:00
Clément DOUIN dd43e0e123 feat: init maildir support with message command 2026-05-20 00:53:24 +02:00
Clément DOUIN 17ec4b0fa1 refactor: replace --select by --no-select 2026-05-20 00:53:23 +02:00
Clément DOUIN b77a54e5dc refactor: use imap and smtp streams from toolbox 2026-05-20 00:53:23 +02:00
Clément DOUIN 0ad22c8630 clean implem part 1 2026-05-20 00:53:23 +02:00
Clément DOUIN eb6b721ba6 clean unused config, add id command 2026-05-20 00:53:23 +02:00
Clément DOUIN 44d2690d59 add account struct for each backend 2026-05-20 00:53:22 +02:00
Clément DOUIN fe0f5cec85 improve modules structure 2026-05-20 00:53:20 +02:00
Clément DOUIN 83be576b80 init smtp 2026-05-20 00:52:32 +02:00
Clément DOUIN 5e477f0a12 add msg get, export and read 2026-05-20 00:51:46 +02:00
Clément DOUIN 733e33559a add msg copy move delete save commands 2026-05-20 00:51:45 +02:00
Clément DOUIN fe03e2de67 use uid by default over seq 2026-05-20 00:51:45 +02:00
Clément DOUIN c953171572 decode envelope subject and addresses 2026-05-20 00:51:45 +02:00
Clément DOUIN 4992c256ca add envelope commands 2026-05-20 00:51:45 +02:00
Clément DOUIN f993bb58c9 add flag commands 2026-05-20 00:51:45 +02:00
Clément DOUIN e1854b6045 add mbox list args to filter and sort 2026-05-20 00:51:45 +02:00
Clément DOUIN 588d75f112 adjust Result::Io api 2026-05-20 00:51:45 +02:00
Clément DOUIN 1d72e59c82 add more mailbox useful commands 2026-05-20 00:51:45 +02:00
Clément DOUIN 715fdb002a re-implement old mailbox commands 2026-05-20 00:51:44 +02:00
Clément DOUIN ffa26594a4 repair mailbox table, add unix stream support 2026-05-20 00:51:44 +02:00
Clément DOUIN 297f5773aa add support for native tls 2026-05-20 00:51:44 +02:00
Clément DOUIN 0ec0159a28 rename imap folder into mailbox 2026-05-20 00:51:44 +02:00
Clément DOUIN 5a22cab781 make use of pimalaya-tui 2024-08-30 12:13:06 +02:00
Clément DOUIN 470815a227 improve imap auth mechanism selection and auto id exchange 2024-08-21 12:02:21 +02:00
Clément DOUIN d26314cd48 fix cargo features 2024-08-13 11:49:46 +02:00
Perma Alesheikh 1e448e56eb replace dialoguer with inquire
In order to reduce our dependencies, we are replacing the dependencies
that use console_rs with those that use crossterm.

This commit will completely replace dialoguer with inquire.

Signed-off-by: Perma Alesheikh <me@prma.dev>
2024-05-14 18:20:54 +02:00
Perma Alesheikh 5a0ff83a5e replace anyhow and log with color_eyre and tracing
Since Himalaya is intended to be ran as a CLI in the terminal emulator
environment, their user experience could vastly improve with better and
more colorful error messages and logging.

This change will replace more minimal libraries for error-reporting/han-
dling with their more advanced counterparts.

Since these crates have tight integrations, this commit will change both
in one shot.

Also we have don't need env_logger any more. So I also have removed that
guy as well.

Signed-off-by: Perma Alesheikh <me@prma.dev>
2024-04-15 12:17:56 +02:00
Clément DOUIN 7ee710634b bump deps, make global config option repeatable 2024-03-16 22:20:19 +01:00
Clément DOUIN 04982a4644 fix cargo features issues 2024-02-24 14:27:05 +01:00
Clément DOUIN 3e0cf0cfda refactor backend system, remove accouts flattening 2024-02-21 11:38:50 +01:00
Clément DOUIN 7d4ad9c1d9 replaced autoconfig by custom email-lib account discovery module 2024-01-18 11:59:27 +01:00
Clément DOUIN 7eba3a5186 generate one autoconfig per email address 2024-01-15 15:27:14 +01:00