From d680a5dc7bd320432ffee55211712cf3c3d7e431 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20DOUIN?= Date: Sat, 7 Dec 2024 12:14:47 +0100 Subject: [PATCH] update changelog and contributing --- CHANGELOG.md | 17 ++++++++++++++++- CONTRIBUTING.md | 13 ------------- 2 files changed, 16 insertions(+), 14 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a1267061..a627cc4e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -31,7 +31,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed -- Moved IMAP and SMTP `encryption` to `encryption.type`. - Refactored the `account configure` command: this command stands now for creating or editing account configurations from the wizard. The command requires the `wizard` cargo feature. - Improved the `account doctor` command: it now checks the state of the config, and the new `--fix` argument allows you to configure keyring, OAuth 2.0 etc. - Improved long version `--version`. [#496] @@ -90,6 +89,22 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 message.send.backend.auth.method = "xoauth2" ``` +- Moved IMAP and SMTP `encryption` to `encryption.type`. + + This change prepares the config to accept different TLS providers with their options. The `true` and `false` variant have been removed as well: + + ```toml + # before + backend.encryption = "none" # or false + backend.encryption = "start-tls" + message.send.backend.encryption = "tls" # or true + + # after + backend.encryption.type = "none" + backend.encryption.type = "start-tls" + message.send.backend.encryption.type = "tls" + ``` + ### Fixed - Fixed pre-release archives issue. [#492] diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 5976d5ca..63e206c9 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -16,16 +16,3 @@ $ cargo build # run the CLI $ cargo run --feature pgp-gpg -- envelope list ``` - -## Contributing - -Himalaya CLI supports open-source, hence the choice of using [SourceHut](https://sourcehut.org/) for managing the project. The only reason why the source code is hosted on GitHub is to build releases for all major platforms (using GitHub Actions). Don't worry, contributing on SourceHut is not a big deal: you just need to send emails! You don't need to create any account. Here a small comparison guide with GitHub: - -The equivalent of **GitHub Discussions** are: - -- The [Matrix](https://matrix.org/) chat room [#pimalaya.himalaya](https://matrix.to/#/#pimalaya.himalaya:matrix.org) -- The SourceHut mailing list. You can consult existing messages [here](https://lists.sr.ht/~soywod/pimalaya). You can "open a new discussion" by sending an email at [~soywod/pimalaya@lists.sr.ht](mailto:~soywod/pimalaya@lists.sr.ht). You can also [subscribe](mailto:~soywod/pimalaya+subscribe@lists.sr.ht) and [unsubscribe](mailto:~soywod/pimalaya+unsubscribe@lists.sr.ht) to the mailing list, so you can receive a copy of all discussions. - -The equivalent of **GitHub Issues** is the SourceHut bug tracker. You can consult existing bugs [here](https://todo.sr.ht/~soywod/pimalaya), and you can "open a new issue" by sending an email at [~soywod/pimalaya@todo.sr.ht](mailto:~soywod/pimalaya@todo.sr.ht). - -The equivalent of **GitHub Pull requests** is the SourceHut mailing list. You can "open a new pull request" by sending an email containing a git patch at [~soywod/pimalaya@lists.sr.ht](mailto:~soywod/pimalaya@lists.sr.ht). The simplest way to send a patch is to use [git send-email](https://git-scm.com/docs/git-send-email), follow [this guide](https://git-send-email.io/) to configure git properly.