Commit graph

504 commits

Author SHA1 Message Date
Clément DOUIN
55f5de1803
replace reply all -a by -A 2023-02-22 14:36:31 +01:00
Clément DOUIN
fb324878fa
improve global options, add account config sync-folders-strategy 2023-02-22 13:20:58 +01:00
Clément DOUIN
22fb1b8dee
add completions and man pages to release archives #43 2023-02-21 16:07:16 +01:00
Clément DOUIN
21d8d57f72
add create and delete folder commands #54 2023-02-20 18:26:10 +01:00
Clément DOUIN
5734b30fd1
fix config unit tests 2023-02-20 17:47:40 +01:00
Clément DOUIN
3631ca714b
fix flags case sensitivity 2023-02-20 17:41:26 +01:00
Clément DOUIN
0ab652b4b6
bump himalaya-lib 8c53868 2023-02-20 11:57:41 +01:00
Clément DOUIN
4b3280cbbb
bump himalaya-lib b1a1834d 2023-02-20 10:03:55 +01:00
Clément DOUIN
bfb572acbd
fix config deserialization issues 2023-02-19 08:51:19 +01:00
Clément DOUIN
efd24251e0
bump himalaya-lib version 2023-02-18 10:08:26 +01:00
Clément DOUIN
beba35d57e
use develop branch of himalaya-lib 2023-02-16 16:15:30 +01:00
Clément DOUIN
19d8296324
add Scoop install method 2023-02-16 15:45:10 +01:00
Rashil Gandhi
7fbe39b8fb
Add Scoop install method 2023-02-16 19:44:26 +05:30
Clément DOUIN
3cc1ed7583
release v0.7.1
### Added

- Added command `folders expunge` that deletes all emails marked for
  deletion.
  
### Changed

- Changed the location of the
  [documentation](https://pimalaya.org/himalaya/docs/).

### Fixed

- Fixed broken links in README.md.

### Removed

- Removed the `maildir-backend` cargo feature, it is now included by
  default.
- Removed issues section on GitHub, now issues need to be opened by
  sending an email at
  [~soywod/pimalaya@todo.sr.ht](mailto:~soywod/pimalaya@todo.sr.ht).
2023-02-14 17:40:27 +01:00
Clément DOUIN
509b09d533
prepare v0.7.1
Those commits have been stashed then applied due to merge issue:

add ability to sync specific folders f7585eb
add expunge command 1c0b7fb
update readme links to documentation e1c8cf5
fix other doc typos 9c27165
reword title of the project 1eaac7d
reword title of the project bis a7419d6
fix broken links in changelog 26b0311
prepare v0.7.1 2b5e58e
2023-02-14 16:47:02 +01:00
Clément DOUIN
694173b534
release v0.7.0 (#433)
* update codebase with email lib changes (#431)

update himalaya-lib, rename remaining mbox vars

add missing methods from lib

update changelog

* fixed missing folder aliases #430

* improve README links

* fix README repology link

* fix README repology table

* fix README repology table 2

* center README repology table

* fix README cosmetic issues

* fix README cosmetic issues 2

* fix README title

* fix README wiki links

* fix lock file

* prepare v0.6.2

* fix ci

* try some musl builds #356

* add musl build to artifact #356

* add musl build to deployment pipeline #356

* migrate clap v4, add man command #419

* add option to choose color manually #407

* update links and badges

* update matrix badge

* add github release version badge

* update badges links

* fix code bloc type

* fix tests

* fix cargo lock

* generate all man pages for all subcommands #419

* fix query and headers arg parsers

* fix invalid flags and options due to clap v4 migration

* fix tests

* remove -l|--log-level option

* refactor contributing guide

* update lib

* fix flags string printer

* make commands read, attachments, copy, move and delete accept multiple ids

* fix ids arg parser

* fix flags subcommands conflicts between ids and flags

* flip back copy and move arguments

* add issue template (#439)

* update lib, prepare for sync feature

* update himalaya lib, fix senders and config

* update lock file himalaya lib

* fix sync enabling issues

* fix wrong imap backend init in main file

* fix notmuch backend post sync feature

* configuration wizard (#432)

* make DeserializedConfig::path more robust

With this change, himalaya uses the crate `dirs` in order to follow XDG
specifications on Unix, Known Folder on Windows and Standard Directories
on MacOS. This gives us much smoother cross-platform support. It still
has the same fallbacks (`$HOME/.config/himalaya/config.toml` and
`$HOME/.himalayarc`.)

Additionally, this commit removes a bit of in-house code-bloat.

* add wizard entrypoint and basic structure

* wip

* feat: impl Serialize for all DeserializedConfigs

* feat: select default account and write to file

* feat: add SMTP part of wizard

* build: update lockfile

* refactor: separate out multiple files for wizard

* style: friendlier and prettier messages

* feat: add maildir part of wizard

* feat: add notmuch part of wizard

* chore: clippy lints and reorder prompts

* fix: contrived solution to serializing None values

* fix: allow empty Option field when deserializing

* style: address PR review comments

* fix: utilize notmuch lib in finding database path

* fix notmuch wizard

---------

Co-authored-by: Clément DOUIN <clement.douin@posteo.net>

* add account sync progress bar

* improve sync spinner

* make the sync dry run flag show patches without applying them

* update himalaya lib, increase imap session pool size

* add disable cache flag

* add nlnet logo in readme

* update himalaya lib deps, make use of sync reports

* prepare v0.7.0

* bump rustc v1.67.0 and clap v4.1.4

* bump himalaya lib v0.5.1, fix flake lock file

---------

Co-authored-by: janabhumi <dmitriy@ideascup.me>
Co-authored-by: Knut Magnus Aasrud <km@aasrud.com>
2023-02-08 16:03:45 +01:00
Clément DOUIN
bda37ca0ed
Release v0.6.1
### Added

* Added `-s|--sanitize` flag for the `read` command.
  
### Changed

* Changed the behaviour of the `-t|--mime-type` argument of the `read`
  command. It is less strict now: if no part is found for the given
  MIME type, it will fallback to the other one. For example, giving
  `-t html` will show in priority HTML parts, but if none of them are
  found it will show plain parts instead (and vice versa).

* Sanitization is not done by default when using the `read` command,
  the flag `-s|--sanitize` needs to be explicitly provided.

### Fixed

* Fixed empty text bodies when reading html part on plain text email
  [#352].

## himalaya-lib [[v0.4.0](2425269e6d)]

### Added

* Added pipe support for `(imap|smtp)-passwd-cmd` [#373].
* Added `imap-ssl` and `smtp-ssl` options to be able to disable
  encryption [#347].
* Implemented sendmail sender [#351].
* Fixed `process` module for `MINGW*` [#254].

### Changed

* Moved `Email::fold_text_plain_parts` to `Parts::to_readable`. It
  take now a `PartsReaderOptions` as parameter:
  * `plain_first`: shows plain texts first, switch to html if empty.
  * `sanitize`: sanitizes or not text bodies (both plain and html).

### Fixed

* Fixed long subject decoding issue [#380].
* Fixed bad mailbox name encoding from UTF7-IMAP [#370].
2022-10-12 17:00:03 +02:00
Clément DOUIN
d29b227c4b
prepare v0.6.1 2022-10-12 16:47:44 +02:00
Clément DOUIN
6a15b742b0
add sanitize flag for the read command, fix #352 2022-10-12 15:36:36 +02:00
Clément DOUIN
bb8f63e4b0
update code for sendmail sender lib feature 2022-10-12 13:59:20 +02:00
Clément DOUIN
98929d687b
update himalaya-lib for smtp and imap ssl option 2022-10-12 00:23:53 +02:00
Clément DOUIN
29f2bdd931
replace badges by repology big one 2022-10-11 16:43:55 +02:00
Clément DOUIN
9630a6f108
update changelog 2022-10-11 16:37:59 +02:00
Michael Vetter
285d9d0521
add repology badge (#414)
As more distributions start to package himalaya I think this information
might be useful.

Co-authored-by: Clément DOUIN <clement.douin@posteo.net>
2022-10-11 14:50:25 +02:00
Clément DOUIN
cd4575eb5e
Merge branch 'develop' 2022-10-10 21:33:59 +02:00
Clément DOUIN
15e8a0f08f
fix changelog typos 2022-10-10 21:31:38 +02:00
Clément DOUIN
82133b30d9
update lib v0.3.1, use MIT license 2022-10-10 18:14:56 +02:00
Clément DOUIN
8125a55bbe
use himalaya-lib from develop branch instead 2022-10-07 10:24:25 +02:00
Clément DOUIN
4fe5d246f1
fix notmuch backend feature 2022-09-29 00:44:31 +02:00
Clément DOUIN
cdc0e0aa6a
remove notmuch backend from default features 2022-09-29 00:01:21 +02:00
Clément DOUIN
29aa383147
bump himalaya lib v0.2.0 2022-09-28 23:28:05 +02:00
Clément DOUIN
1dcdfa8afa
update nix flake 2022-09-28 22:28:08 +02:00
Clément DOUIN
7777eca667
remove himalaya lib path from cargo config 2022-09-28 22:09:41 +02:00
Clément DOUIN
dda90809cb
fix folder source not taken into consideration 2022-09-28 11:36:14 +02:00
Clément DOUIN
abb9f4172b
fix args typos 2022-09-27 21:42:13 +02:00
Clément DOUIN
329af51534
improve args management 2022-09-27 17:37:08 +02:00
Clément DOUIN
3feccc3225
update readme 2022-09-26 00:08:46 +02:00
Clément DOUIN
44b980c329
fix changelog typos 2022-09-22 18:16:16 +02:00
Clément DOUIN
a3686c1c44
clean config refactor 2022-09-22 16:38:38 +02:00
Clément DOUIN
82b7dfb97f
Merge branch 'development' 2022-07-14 12:24:43 +02:00
Clément DOUIN
672666734b
doc: remove announcement header 2022-07-14 12:23:39 +02:00
Clément DOUIN
ceebf643c4
doc: improve announcement about financial support 2022-07-14 12:22:21 +02:00
Clément DOUIN
7b9cfc4512
Merge branch 'development' 2022-07-14 12:15:19 +02:00
Clément DOUIN
29c731336f
doc: add announcement about financial support 2022-07-14 12:14:37 +02:00
Clément DOUIN
9bcd659af2
clean mbox lib module 2022-06-27 20:55:22 +02:00
Clément DOUIN
1e4dc0cb5a
add missing deserialized config errors 2022-06-27 20:51:12 +02:00
Clément DOUIN
c0e002ea1b
clean process and account modules (#340) 2022-06-27 01:13:55 +02:00
Clément DOUIN
a5c4fdaac6
move backend to lib folder (#340) 2022-06-26 21:47:04 +02:00
TornaxO7
3b2991ae56
bumping lettre to 0.10.0-rc.7 (#391)
* bumping lettre to 0.10.0-rc.7

* executed `cargo build`
2022-06-05 17:51:34 +02:00
Clément DOUIN
3c5379b24d
fix tests 2022-06-05 17:14:57 +02:00