-
-
Notifications
You must be signed in to change notification settings - Fork 123
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Release v0.7.0 #433
Merged
Release v0.7.0 #433
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
update himalaya-lib, rename remaining mbox vars add missing methods from lib update changelog
This was referenced Dec 15, 2022
Closed
* 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>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Added
account sync
command to synchronizea backend to a local Maildir backend [Implement the backend synchronizer #342].
--disable-cache
to not use the local Maildirbackend.
repository) [Implement the composer module #341].
himalaya man
command to generate man page [Add man page #419].Changed
read
,attachments
,flags
,copy
,move
,delete
accept multiple ids.ids
andfolder
for commandscopy
andmove
in order the folder not to be considered as an id.
Fixed
Removed
-a|--attachment
argument fromwrite
,reply
andforward
commands. Instead you can attach documents directly fromthe template using the syntax
<#part filename=/path/to/you/document.ext>
.-e|--encrypt
flag fromwrite
,reply
andforward
commands. Instead you can encrypt and sign parts directly from the
template using the syntax
<#part type=text/plain encrypt=command sign=command>Hello!<#/part>
.-l|--log-level
option, use instead theRUST_LOG
environment variable (see the
wiki)
himalaya-lib
v0.5.0
Added
[Set up README #20].
Backend::purge_folder
that removes all emailsinside a folder.
Backend
functions using the internal id:get_envelope_internal
: gets an envelope by its internal idadd_email_internal
: adds an email and returns its internal idget_emails_internal
: gets emails by their internal idcopy_emails_internal
: copies emails by their internal idmove_emails_internal
: copies emails by their internal iddelete_emails_internal
: copies emails by their internal idadd_flags_internal
: adds emails flags by their internal idset_flags_internal
: set emails flags by their internal idremove_flags_internal
: removes emails flags by their internal idThreadSafeBackend
trait inherit thesync
function thatsynchronizes all folders and emails with a local
Maildir
instance.Backend::sync
function and linkThreadSafeBackend::sync
toit for the IMAP and the Maildir backends.
path collisions, for eg
[Gmail]/Sent
). Also added aMaildirBackendBuilder
to facilitate the usage of theurl_encoded_folders
option.ThreadSafeBackend::sync
, this way onlyone synchronization can be performed at a time (for a same account).
Fixed
copy
andmv
.Changed
Backend
method names. Also replaced theself mut
by aRefCell
.Email
struct: there is no custom implementationwith custom fields. Now, the
Email
struct is just a wrapper aroundmailparse::ParsedMail
.Flag
structures.Backend
trait functions due to [Set up README #20]:list_envelope
=>list_envelopes
search_envelope
=>search_envelopes
get_email
=>get_emails
, takes nowids: Vec<&str>
andreturns an
Emails
structure instead of anEmail
)copy_email
=>copy_emails
, takes nowids: Vec<&str>
.move_email
=>move_emails
, takes nowids: Vec<&str>
.delete_email
=>delete_emails
, takes nowids: Vec<&str>
.add_flags
takes nowids: Vec<&str>
andflags: &Flags
.set_flags
takes nowids: Vec<&str>
andflags: &Flags
.remove_flags
takes nowids: Vec<&str>
andflags: &Flags
.Removed
email::Tpl
structure moved to its ownrepository.
email::Tpl
in its ownrepository.
Pending issues